As I am starting to pull my hair out now, I am seeking your help for the first time ever. I am a happy subscriber to InvoiceNinja whitelabeling for 2 years now.
I am self-hosting InvoiceNinja via cloudron, which means that the newest v4 available to me is 4.5.45 (newest v5 is 5.3.44).
My login credentials match on both installs. Two additional (archived) accounts exist on v4.
I intent to migrate from v4 to v5 using the supplied step-by-step guide.
After starting the migration process on my v4 instance âsuccessfullyâ, I get this e-mail seconds later:
Migration failed
Looks like something went wrong with the migration for the following company: Untitled Company
{âsettingsâ:[âpayment_terms is not a valid string ( 30 )â]}
{âsettingsâ:[âpayment_terms is not a valid string ( 30 )â]}
Two things seem fishy to me:
My company certainly is not called âUntitled Companyâ - in neither installs.
â30â should be a valid string - better yet, there aren´t any options to choose from at */settings/payment_terms, but there are plenty to choose from at */settings/company_details:
Thank you (and nebulon!) for working together. They pushed out an update very quickly.
Sadly, my issue persists even after updating to v4.5.47.
It seems to be an issue isolated to my specific âpayment_termsâ string. I can´t remember ever changing it manually.
Invoice Ninja v5 5.3.48 fixes my issue (sort of).
I had to manually add every user, not just the initial user as suggested here. Otherwise the migration would fail with the following output:
SQLSTATE[HY000] [2002] No such file or directory (SQL: select exists(select * from users where (email = info@domain.tld)) as exists)
SQLSTATE[HY000] [2002] No such file or directory (SQL: select exists(select * from users where (email = info@domain.tld)) as exists)
Anyway, I can happily continue to use Invoice Ninja. Thank you all.