Can't access after updating to 30.0.11 - update still needed

hello

when I Launch UI, I land on a page with the following message:

Update needed

Please use the command line updater because updating via browser is disabled in your config.php.

how did i get there ?

try upgrading from <28 to 30. Failed.
follow instruction, upgrade to 28. Success, can access the files
try upgrading from 28 to 30. Failed.
follow instruction, upgrade to 29. Success, but
land on “Maintenance Mode”
disable it via Actions menu
Land on “Update Needed”… oh well
upgrade to 30. Success, but
land on “Maintenance Mode”
disable it via Actions menu
Land on “Update Needed”.
and here i am…

any suggestions on how to fix ?
thx

Hi,

I’m assuming you’re referring to the Nextcloud service. Next time, please provide a bit more basic information about the issue so I can assist you more effectively.

I’ve encountered this situation before. To resolve it, access your server via SSH and run the following commands:

sudo podman exec -it nextcloud.embassy bash    # to get inside the container, 
sudo -E -u www-data php ./occ upgrade    # run the upgrade

This solved this issue for other users. Let us know if this did the trick.

Thx for the reply,

I thought the tag would be enough, but you’re right, should have mention Nextcloud.

I tried the command above but it didn’t work.
As a single entry, it only brings to:

root@nextcloud:/var/www/html#

If i then go for the second part:

sudo: unable to send audit message: Operation not permitted

and without the sudo

bash: -E: command not found

am i missing something ?
thx again

Hi
Try running this command inside NC container:

php occ upgrade