Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
docker-compose up -d

Re-migration.

If you saw the error this is how you do migration manually.

  1. Chcek puppeteer and remember balance of someone.

  2. start accounting

  3. open clickhouse client, then check if the tables exist

  4. Code Block
    delete from ledgerRecords where true

  5. open logs for accounting in other terminal

    Code Block
    docker compose logs -f accounting
  6. In new windows run the marionette cli tool. ./m cli

  7. run the migration

    Code Block
    call 'accounting.migrate' 
  8. make sure it is finished, check the logs

  9. if no errors migration is done

  10. restart balances

    Code Block
    docker compose restart balances
  11. check puppeteer for balances and make sure the balances are same and there are not duplicate records