Recommend best way to make InvoiceNinja upgrades sustainable self-hosted

Version 5.9.4 C160

Environment: Ubuntu Server - un-tared TAR file and set up directly on host OS

What is the recommended way to get InvoiceNinja running on a self-hosted system in such a way that future upgrades are not a complete disaster? Every time I try to upgrade everything goes horribly wrong. I saw there’s a new version but Force Update ends in an Error 500 followed by IN no longer working. I tried untar-ing the new tar file over all the old code files but that also failed spectacularly.

Is there some easy way to upgrade the software?

Hi,

The built-in updater works reliably however it can require a large amount of RAM (ie. 2GB). Manually copying the tar should work, are there details about the 500 error in /storage/logs?

This was developed by a community member, you may find it helpful.

Greetings! Thanks for the response. I was able to find the log file, pasted below. Also, when the site loads without having an existing user logged in, it presents a popup saying that I should refresh the application.




After this, the website becomes completely inaccessible.

Log file here:

Try running php artisan migrate

Instead of the ‘force upgrade’ button? Will php artisan migrate replace other upgrade methods?

This command should be auto-run as part of the upgrade, from the error it looks like it either failed to run or wasn’t run at all.