Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2017 22:29:24 +0200
From:      David Marec <david.marec@davenulle.org>
To:        freebsd-ports@freebsd.org
Subject:   Owncloud upgrade failure
Message-ID:  <91931afa-9a39-d0e9-8809-8db95e61acff@davenulle.org>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91931afa-9a39-d0e9-8809-8db95e61acff>