Im curently running 4.5.34 and really want to upgrade to the latest version (curently v4.5.44). According to the doc a download and replace the files should be the way. It says: Do not be afraid to overwrite the files, the configuration file for connections such as mysql are stored in the .env file.
After doing so downloading https://download.invoiceninja.com i start by replacing the files through FTP to make sure the correct owner of the files so i dont have to do a chown. After this and going to /update to run the database migrations im getting the error:
SQLSTATE[HY000] [1045] Access denied for user ‘MYUSERNAME’@‘WRONGHOST’ (using password: YES) (SQL: SELECT engine FROM information_schema.TABLES WHERE TABLE_NAME=‘clients’ AND TABLE_SCHEMA=‘ninja’)
Strangely enough it picked up the correct username from the env file but using the wrong host even though the correct host is defined in the env file.
going to login it says: Error: app is already configured, backup then delete the .env file to re-run the setup
So after replacing the files im going through this loop. I was very happy i run daily backups