On owncloud9.1.1 import database problems



Owncloud new installation, access mysql database, the database into the original database backup. Web access owncloud, suggesting that "need to upgrade, please use the command to upgrade." What can I do?

System prompt reference (https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/occ_command.html#command-line-upgrade) But this page, the order is invalid. Do not know how to use it

My system environment, CentOS 6.6
PHP Version: 5.5
MySQL: 5.6


Try the link again. Its working fine for me.
What you sre looking for is

sudo -u www-data php occ upgrade



Fault has been lifted, thank you!
The reason is that when I execute the database upgrade command, the php path is not correctly stated.