I’m running 4.5.39 on a Debian 10 machine. I’m trying to start a migration to v5. Since the migration doesn’t want to succeed, I tried to find out the reason for this. So I run
php artisan ninja:check-data to find out where the problem lies.
I see about 100 errors like this:
2021-06-22 08:21:29 === Company: 1 Account:1 Client:17 Balance:394.05 Actual Balance:393.32 ===
as well as 35 versions of
2021-06-22 08:21:29 sr_RS is invalid: Cross account migration is not allowed. Please read more about it here: <a href="https://invoiceninja.github.io/docs/migration/#troubleshooting">https://invoiceninja.github.io/docs/migration/#troubleshooting</a>
I saw in another post that the
[lang] is invalid errors can be ignored, but it seems that this is also preventing the --fix option, because I try to fix the incorrect balance/activities entries with --fix=true but the script doesn’t fix anything.
So, how can I proceed here? Well, besides manually fixing the balance values in the database …
P.S. The wrong balance values are a result of the required modifications last year due to the temporary tax reduction in germany, where we had 6 months with 16% tax instead of 19% tax. It seems that there was something wrong in the first month, and since then the client balance is off 3% of the first invoice.