The VERSION.txt file still shows the original version of 5.2.16. There is now a new update of 5.2.18, and running the update from the website again downloads the update to the /tmp folder, but does not properly upgrade.
Am I able to manually copy the upgrade files from /tmp/v5.2.18 into my install directory and overwrite everything?
EDIT: I manually copied everything from /tmp/v5.2.18 into my install directory, ran “php artisan optimize” and the update completed successfully. If the update is a manual process for me, it’s not the end of the world.
I didn’t. My “fix” was to start the update in Invoice Ninja, let it fail, and then manually move all the files from /tmp/v5.x.x into my install directory, and then from that directory run “php artisan optimize”. Note: Commands need to be run as the web user, not root. I created a Shell-User in ISPConfig with access to do this.
That’s essentially what I have been doing for updates. Download the zip, expand and overwrite files, and then run “php artisan optimize”. Ironically however, the most recent update to v5.3.79 was successful using the built-in update feature. I’m not sure what changed in order for this to work, but it could also be just a one off. Waiting until the next update to see how that goes.
And then ran the update again and the checks now pass.
So I guess the problem is that it checks everything in the web directory and not just the files/folders that need to be edited.
Maybe it could skip ‘stats’ and ‘error’ which get added by a few different systems?
Before I found that problem, I also updated the default php-cli version and then composer (It was showing errors when running manually so probably out of date) as I thought that might be a problem as well.
UPDATE: Switching php-cli version broke ispconfig’s corn so I had to put it back sudo update-alternatives --set php /usr/bin/php7.4
I’ll just need to remember to change it again before updating IN.