Stuck in "Keep maintenance mode active?" when update to v 10.0.2

I just update my nextcloud v 10 to 10.0.2, but when its come to Keep maintenance mode active?, I click “No” but it come like screen below. can’t continue to next update step.

I can’t click “done”.

now when I come to cloud home page. it on maintenance page. What should I do now?

Thank you

Please check the nextcloud.log-file in the data folder. If there is nothing and it’s just the maintenance mode, you can try to set maintenance mode in your config/config.php to false.

1 Like

Same issue here when updating from NC 11 beta 0 to 11 final. nextcloud.log output is:
{“reqId”:“WE-FiyUuSokAAMDBnDsAAABA”,“remoteAddr”:“”,“app”:“mysql.setup”,“message”:“Specific user creation failed: An exception occurred while executing ‘SELECT user FROM mysql.user WHERE user=?’ with params [“oc_polkillas”]:\n\nSQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user ‘polkilla_11nc’@‘localhost’ for table ‘user’”,“level”:3,“time”:“2016-12-13T09:55:24+00:00”,“method”:“POST”,“url”:"/nc11/index.php",“user”:"–",“version”:“”}
{“reqId”:“WFAjsSUuSokAAczh9tIAAAB@”,“remoteAddr”:“”,“app”:“PHP”,“message”:“file_get_contents(/home/polkilla/domains/…/…/resources/nextcloud_announcements.crt): failed to open stream: No such file or directory at /home/polkilla/domains/”,“level”:3,“time”:“2016-12-13T16:37:07+00:00”,“method”:“GET”,“url”:"/nc11/cron.php",“user”:"–",“version”:“”}

I manually changed maintenance mode to false in config/config.php and NC starts, but version is still 11.0 beta 0 and when I click the update button, there’s only a warning: Step 4 is currently in process. Please reload this page later.. It’s been running for nearly 24 hours.

Do you have access via terminal in order to run the upgrade script manually?
sudo -u www-data php /path/to/nextcloud/occ upgrade

Or report a bug at

In my case, I don’t have remote access, as this instance is hosted in a shared hosting. It was only a test but, unfortunately, it is not going well.

Then open a bugreport.

thanks tflidd, problem solved