Upgrading to 10.0.9 maintenance mode


#1

Hi Everyone,

I updated 10.0.8.5 to 10.0.9 The update process doesnt gave me any error (web updater) but when i want to enter to owncloud a screen with maintenance mode appears…
I search in the forum for this error but appears commands for linux and i have my owncloud in a vps with centos 7 and i dont know how to write the exact command to put maintenance mode off. (i ve just know a few commands, im a rookie user). Can anybody tellme the exact command for centos 7 to put maintenance mode off?
Sorry about my english but im a spanish speaker.

I take a snapshot (its in spanish)


Cannot Login After Upgrade to 10.0.0.9
#2

If you can access the command line of your server - simply perform a manual upgrade by entering

sudo -u www-data php occ upgrade -vvv

in your owncloud directory. This is either

/var/www/owncloud

or

/var/www/html/owncloud

Either way you need to navigate there before executing the command to upgrade.

You can do this by:

cd /var/www/owncloud


#3

Dimitry that command it is not working…
Remember the server is centos 7
This is the error message

owncloud%202


#4

Then your webserver is running with another user than www-data.
Try this:

ps aux | grep apache


#5

i write the command you give me and this is the result


#6

Maybe it helps you to understand how the commands needs to be run if you have a look at CentOS related Apache tutorials where it might be explained which user CentOS is using to run Apache.

Additionally it seems the ownCloud documentation already contains the required information about the user on CentOS:

https://doc.owncloud.org/server/latest/admin_manual/configuration/server/occ_command.html#run-occ-as-your-http-user

where you get redirected by another documentation about the “maintenance” mode:

https://doc.owncloud.org/server/latest/admin_manual/maintenance/enable_maintenance.html

So it seems to me everything required is already there in the documentation and could be found by using the search function of doc.owncloud.org with a query similar to the following which i had used to find the links:

https://doc.owncloud.org/server/latest/admin_manual/search.html?q=maintenance


#7

Same effectss here, but I’m not allowed to execute commands on the server of my webspace. Any chances to fix that ?


#8

Please perform a forum search with “10.0.8 to 10.0.9”.


#9

Please i need somebody with centos 7 knowledge to fix my problem (it is for a public school). I will pay.


#10

what problem do you need help with?

You need to upgrade you server, right?

The command I gave you does not fit - your web server user is not www-data but apache.

so replace www-data with apache in my command and execute it.

sudo -u apache php occ upgrade -vvv


#12

Hey, could you please have a look at my previously posted links which is also include the info how to disable the maintenance mode without having access to the occ command.