How to upgrade OwnCloud when it’s stuck on maintenance message ?

Par défaut

The message :

This ownCloud instance is currently being updated, which may take a while.

This page will refresh itself when the ownCloud instance is available again.

Contact your system administrator if this message persists or appeared unexpectedly.

Thank you for your patience.

Solution :

If you have a console access, go to your owncloud directory (eg. /var/www/owncloud/)

Execute the following command :

# su -c "php occ upgrade" www-data

If you don’t have a console access, the only bad solution is to edit the configuration file config/config.php and to change the value of maintenance to false

'maintenance' => true,

Become :

'maintenance' => false,

2 réflexions au sujet de « How to upgrade OwnCloud when it’s stuck on maintenance message ? »

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Time limit is exhausted. Please reload CAPTCHA.

https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_bye.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_good.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_negative.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_scratch.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_wacko.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_yahoo.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_cool.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_heart.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_rose.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_smile.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_whistle3.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_yes.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_cry.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_mail.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_sad.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_unsure.gif 
https://root.sx/wp-content/plugins/wp-monalisa/icons/wpml_wink.gif