I try to run the latest version(12.0.4) on my vps for the first time, the system is CentOS6.5,LNMP
when I visit the host, and create admin ,click finish
I got this internal server error:
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Technical details
Remote Address: 221.226.92.66
Request ID: 2qrxNDGPBFpgZ0Y61k7w
The service log as follow:
{“reqId”:“SlwVpDWVR73hkVSKbYvk”,“level”:3,“time”:“2018-01-01T08:53:23+00:00”,“remoteAddr”:“58.217.142.75”,“user”:"–",“app”:“index”,“method”:“POST”,“url”:"/index.php",“message”:“Exception: {“Exception”:“Doctrine\\DBAL\\Exception\\DriverException”,“Message”:“An exception occurred while executing ‘CREATE TABLE oc_addressbooks
(id
BIGINT UNSIGNED AUTO_INCREMENT NOT NULL, principaluri
VARCHAR(255) DEFAULT NULL, displayname
VARCHAR(255) DEFAULT NULL, uri
VARCHAR(255) DEFAULT NULL, description
VARCHAR(255) DEFAULT NULL, synctoken
INT UNSIGNED DEFAULT 1 NOT NULL, UNIQUE INDEX addressbook_index (principaluri
, uri
), PRIMARY KEY(id
)) DEFAULT CHARACTER SET utf8 COLLATE utf8_bin ENGINE = InnoDB’:\n\nSQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes”,“Code”:0,“Trace”:”#0 \/usr\/local\/nginx\/html\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(128): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException(‘An exception oc…’, Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/usr\/local\/nginx\/html\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php(964): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), ‘CREATE TABLE o...')\\n#2 \\\/usr\\\/local\\\/nginx\\\/html\\\/nextcloud\\\/lib\\\/private\\\/DB\\\/MDB2SchemaManager.php(162): Doctrine\\\\DBAL\\\\Connection->query('CREATE TABLE
o…’)\n#3 \/usr\/local\/nginx\/html\/nextcloud\/lib\/private\/DB\/MDB2SchemaManager.php(72): OC\\DB\\MDB2SchemaManager->executeSchemaChange(Object(Doctrine\\DBAL\\Schema\\S
What can I do now?