I migrated fril v4 to v5 (latest version) with php 8.1 and mysql 8
I may have made a mistake by entering the new url without the /public, i entered only https://rechnung1.mysite.de the old site was https://rechnung.mysite.de/public
well, all went fine, all the data was migrated to the new version. clients, invoices, users, products… payments, all is there…
I have changed no permissions in any folder! that also may be a mistake!
my problem is that whenever I made a change, for example under my company, there is an error telling that my company is not activated, I click on that i leads me to the page to activate it, it activate and click save, i got this error message:
Error: please check that Invoice Ninja v5 is installed on the server
@david
The user has administrator rights to that database! if the server denied the access why there is a table “migrations” in the database with so many entries!
I will check all rights and let you know.
can it be a folder permission!
Can’t figure the reason why it is only that table "migrations’ that is denied access to! It contains a lot of entries! so something was written there!
Do you think that being unable to make changes (saving) has something to do with that table!
So Why it is only that table "migrations’ not other tables as well if there is a misconfiguration!
it seems as if saving is not working! maybe i did something wrong!
I used the same email and password for both v4 and v5, do you think during the migration that caused a conflict!
I run the query “show grants” on my db, and the result was this:
GRANT USAGE ON . TO svhrech@%
GRANT ALL PRIVILEGES ON svhrech.* TO svhrech@%
I restarted the sql servver and set to default! same thing!
I upgraded from v4 version v4.5.45 … (did I have to update to the latest version before upgrading to the V5)
In the new V5 installation, I can create clients, products, invoices and even users…
But if I make a change (edit) and I want to save I get that error!
I created for example a user, and then I wanted to make it admin, but when I click “save”, I got that error! Same with a client, i create it, and click save, it works and the client is added, but if I want to edit it, i click on edit, i do the changes, but when I click on “edit”, i got that error!
Should I try a new fresh installation in a different DB!
@hillel@david
I updated the v4 to the lastest one v4.5.50.
I reinstalled all from new for v5 with new database!
I got the same access denied message even if i try to save anything in the new company! how come that the error starts with “Error: please check that Invoice Ninja v5 is installed on the server”
If i try to add a new company! i can’t and I have the same error message!
I started the migration from v4 to v5! but this time I got the error 500|server error.
Any feedback!
Have you configured the first account in v5? When you configured v5 for the first time, you would have created an account with the same email/password combination that you use in v4?