After update I got the message "Nextcloud is in maintenance mode - no apps have been loaded" in a Snap installation

Hello

After upgrading via “sudo snap refresh nextcloud --channel=13/edge” I got the message “Nextcloud is in maintenance mode - no apps have been loaded” and if I want to deactivate with “sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off” I get the message " php: command not found"

What’s wrong?

Thank you

Use this command for nextcloud-snap:
sudo nextcloud.occ maintenance:mode --off

EDIT: for future reference - here is the wiki of nextcloud-snap with all available cli commands:

Thank you very much, it works

1 Like