Upgrade problems --> "An unhandled exception has been thrown:"

Hi All,
im trying to upgrade a system to 10.0.10 and getting the following error, i have actually downloaded, unziped and cp’d over teh 10.0.10 files and left my data and config dir’s.

CentOS Linux release 7.6.1810 (Core)
PHP 7.2.14 (cli) (built: Jan 8 2019 14:05:15) ( NTS )
Server version: Apache/2.4.6 (CentOS)

sudo -u apache php /var/www/html/owncloud/occ upgrade

ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
PHP module zip not installed.
Please ask your server administrator to install the module.

PHP module dom not installed.
Please ask your server administrator to install the module.

PHP module XMLWriter not installed.
Please ask your server administrator to install the module.

PHP module XMLReader not installed.
Please ask your server administrator to install the module.

PHP module intl not installed.
Please ask your server administrator to install the module.

PHP module libxml not installed.
Please ask your server administrator to install the module.

PHP module mb multibyte not installed.
Please ask your server administrator to install the module.

PHP module SimpleXML not installed.
Please ask your server administrator to install the module.

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/html/owncloud/lib/private/Console/Application.php:135
Stack trace:
#0 /var/www/html/owncloud/console.php(105): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /var/www/html/owncloud/occ(11): require_once(’/var/www/html/o…’)

Ok so after upgrading all the requested modules, AND disabling a bunch of apps… and having a real PITA with php7.2 … the upgrade processed.

Hi,

maybe this can be helpful:

https://doc.owncloud.com/server/administration_manual/installation/manual_installation.html#centos-7

1 Like