Update to 16.0.1 issues

Nextcloud version (eg, 12.0.2): 15.0.7
Operating system and version (eg, Ubuntu 17.04): ubuntu 16.04
Apache or nginx version (eg, Apache 2.4.25): apache2.4.18
PHP version (eg, 7.1): php7.2

The issue you are facing:
Database errors

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:
N/A this seems to be specific to my install. Installed it manually not through snap

Error log: from web updater:
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘CREATE TABLE oc_login_flow_v2 (id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL, timestamp BIGINT UNSIGNED NOT NULL, started SMALLINT UNSIGNED DEFAULT 0 NOT NULL, poll_token VARCHAR(255) NOT NULL, login_token VARCHAR(255) NOT NULL, public_key TEXT NOT NULL, private_key TEXT NOT NULL, client_name VARCHAR(255) NOT NULL, login_name VARCHAR(255) DEFAULT NULL, server VARCHAR(255) DEFAULT NULL, app_password VARCHAR(1024) DEFAULT NULL, UNIQUE INDEX poll_token (poll_token), UNIQUE INDEX login_token (login_token), INDEX timestamp (timestamp), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin ENGINE = InnoDB ROW_FORMAT = compressed’: SQLSTATE[HY000]: General error: 1709 Index column size too large. The maximum column size is 767 bytes.

Please read this:

Solved it for me.

3 Likes

Just stumbled accross it myself too, worked fine and got everything back up and running.

Thank you very much!

2 years after, you’ve save me! thank very much!!!