March 5, 2023 at 12:23 pm #12764LeinAdParticipant
Hi Alex.. I run migration again and most coins match but i have some errors with LTC for examble. Look in thte Picture. This TX was never been created or deposit. How can i correct them best?
Attachments:You must be logged in to view attached files.March 6, 2023 at 7:51 am #12766alexgKeymaster
From the title of the transaction in the screenshot, it looks like you have selected to transfer “Addresses and Balances” only, not “Addresses and Transactions”.
In this mode, the migration will look at each user’s balance and create a new deposit, giving to the user the balance that they had in the old ledger. The transactions are not migrated. This is the recommended way because the time this takes scales with the number of users on your system, not with the number of transactions. The obvious downside to this is that transaction history is not preserved.
If it is important for you to preserve all the transactions, you can:
1. Revert the migration. This will remove all Currencies, Addresses and Transactions with the
migratedtag, effectively letting you start again. Reverting will take a few cron runs, but not too many.
2. Ensure that all the currencies are created. The migration process will try to guess currencies by their ticker symbol, but it’s better if you do it manually so that there won’t be any problems. Also, if you are using any currencies that are not on CoinGecko, then you should definitely define them yourself.
3. Finally choose to migrate “Addresses and transactions” instead. This will take longer. It is also possible that some transactions may not be migrated for whatever reason, in which case all the admins (users with the
manage_walletscapability) will receive emails about these transactions.
For more information, please check the documentation: https://github.com/dashed-slug/wallets/blob/6.0.0/docs/migration.md#which-one
If, while migrating transactions, you do get any errors in your emails, please let me know, so we can see what’s wrong.
If, after all transactions are migrated, the sums of user balances on the old custom SQL ledger and on the new CPT ledger will be the same, then migration was successful.
Hope this makes things a little more clear. Please let me know if you have any more questions.
AlexApril 7, 2023 at 10:01 am #12837LeinAdParticipant
This will take longer
is there a way to speed this up?April 7, 2023 at 11:03 am #12839alexgKeymaster
I have since developed this stand-alone script.
Please study the instructions in the script carefully. If you decide to use it, take a backup of your site first.
The script will migrate balances only, not transactions. There is currently no way to migrate transactions quickly. If you have any questions, please let me know.
- You must be logged in to reply to this topic.