Owncloud upgrade failure

David Marec david.marec at davenulle.org
Tue May 30 20:37:04 UTC 2017


Hi,

After updating owncloud from the early 10.0.1 package, the upgrading 
process failed on the following:

root:/<1>local/www/owncloud#sudo -u www php occ upgrade
The process control (PCNTL) extensions are required in case you want to 
interrupt long running commands - see 
http://php.net/manual/en/book.pcntl.php
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
Set log level to debug
Updating database schema
Doctrine\DBAL\Exception\DriverException: An exception occurred while 
executing 'CREATE TABLE oc_account_terms (id BIGINT UNSIGNED 
AUTO_INCREMENT NOT NULL, account_id BIGINT UNSIGNED NOT NULL, term 
VARCHAR(256) NOT NULL, INDEX account_id_index (account_id), INDEX 
term_index (term), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE 
utf8_bin ENGINE = InnoDB':

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key 
was too long; max key length is 767 bytes
Update failed
Maintenance mode is kept active
Reset log level


Any clue to get this working again ?

-- 
David Marec
https://lapinbilly.eu/


More information about the freebsd-ports mailing list