I'm upgrading to owncloud 9.1 from 9 and to complete the upgrade i used the following command line:
Steps to reproduce
sudo /usr/bin/php /var/www/html/owncloud/occ upgrade -v
Upgrade is not completing successfully - i suppose it should.
Unfortunately there is an error and upgrade halts. The error message is:
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO
configvalue) VALUES(?, ?, ?, ?)' with params ["KOTiS", "user_ldap", "displayName", "KOTiS"]:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
2016-09-07T12:32:04+00:00 Update failed
2016-09-07T12:32:04+00:00 Maintenance mode is kept active
2016-09-07T12:32:04+00:00 Reset log level
I tried to check and repair all mysql tables but it didn't helped. It seems to halt during the upgrade of a single ad (active directory) user - can i remove that user (from mysql)?
Can someone assist me?
Operating system: Linux centos 2.6.32-642.1.1.el6.x86_64 #1 SMP Tue May 31 21:57:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Web server: Apache version 2.2.15
Database: MySQL version 5.5.37
PHP version: PHP 5.4.27
ownCloud version (see ownCloud admin page): 9.1
Updated from an older ownCloud or fresh install: Updated from 8.x
ownCloud log (data/owncloud.log) : https://drive.google.com/file/d/0B_IcrOxs6ovQaWVrR0Z6RUxUcms/view?usp=sharing
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): external storage, active directory authentication
Integrity status for oC9+
Unable to login as admin user, owncloud is not running