Not able to update from v5.1.25

Hi there,

I hope all is well. I am not able to figure out how to update from v5.1.25. I understand the updater has changed since but how do I get to that latest version?

I am running invoice ninja on a shared hosting (all-inkl). I am getting {“message”:“Command 'git pull ’ failed (exit-code 1).”}.

Any suggestions?

Thank you so much!

Hi,

I suggest copying over the latest zip.

Note: please backup your database and .env file first.

Do you mean basically creating a new folder, replacing the .env file and pointing the url to the new folder?

You’d want to copy the zip file over the existing folder.

Thank you. I just tried that and when I attempt to login I am just getting 500: Server Error. Unfortunately there is nothing in the logs. Not sure how to proceed. Do you might have any suggestion?

Replying to my own question :slight_smile: I created a php file in the public folder and added <?php system('php ../artisan migrate --force'); ?>. Now I am able to login.

Glad to hear it, thanks for the update!