I cant update Error 500

Hi,

i ran sudo -u www-data composer install --no-dev -o anf now the update run with out problem update
but after the update the version does not change update available , I restarted the server again and executed the following commands
sudo php artisan optimize
sudo php artisan queue:flush
sudo php artisan queue:restart

but I am still in the old version
and storage/logs/laravel.log just shows

2021-06-04 14:56:02] production.INFO: latest version = 5.1.70
[2021-06-04 15:01:02] production.INFO: latest version = 5.1.70
[2021-06-04 15:05:02] production.INFO: latest version = 5.1.70
[2021-06-04 15:11:02] production.INFO: latest version = 5.1.70

Hi @Gustavo,

I had this problem a couple of versions back so I ended up simply unzipping the newest version from Github to overwrite the old version and then I loaded the app with adding /update?secret= at the end of the URL. That should fix the “update available” loop.

1 Like