Owncloud reinstallation


#1

I needed to reinstall owncloud.I encountered following error:


I tried to solve it by following instructions given @ https://doc.owncloud.org/server/9.0/admin_manual/maintenance/upgrade.htmlbut it keeps throwing error:"This version of ownCloud is not compatible with PHP 7.1.
You are currently running 7.1.2-2+deb.sury.org~xenial+1. Please use at least ownCloud 10.0.0".I'm attaching screenshot for reference:
Please help me in finding out problem.THX


#2

Hi,

as the message is telling you ownCloud is not compatible with PHP 7.1 yet (only oC 10 will be compatible as the message is also telling you). You need to downgrade your PHP version to 7.0 to get this to work again.


#3

I uninstalled php7.1,and system got its original php7.0 automatically.
and then i turned off maintenance mode by:
sudo -u www-data php occ maintenance:mode --off
It worked.thanks for help.


#4

Had the same problem, thanks for the solution:)