I just ran the update and it failed with the error message:
Some extensions was missing /PHP was required to upgrade to latest version - which I did. But now it wants to install the whole system from scratch:
![image|690
which is definitely not something that I want. I just wanted to upgrade the existing system…
the config env. with the correct information inlducing DB, DBuser and password etc. is still there in the website directory. But Invoice Ninja seem to ignore it?
Any ideas on how to fix this @david so we can keep our data?
We do not wish to do a new installation obviously.
Just note that you need to change the version number out with 8.1: sudo apt install php8.1-bcmath php8.1-gmp php8.1-fileinfo php8.1-gd php8.1-json php8.1-mbstring php8.1-pdo php8.1-xml php8.1-curl php8.1-zip php8.1-gmp php8.1-mysqlnd
Note: For some reason json is trolling there when you run it as " php8.1-json". Maybe David has an explanation to that?
I found an unrelated post somewhere that said “Version 8 has moved json into core code and it is no longer a separate module.” Some of the php modules are rolled into common so I used the following which worked. netspeario’s post helps with the rest of it, thanks!