On owncloud9.1.1 import database problems

modifications

#1

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


#2

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

sudo -u www-data php occ upgrade


#3

故障已解除,谢谢!
原因是我执行数据库升级命令的时候,未正确写明php路径导致。

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