Nextcloud version (10.0.2) upgrade to 10.0.3:
Operating system and version (Raspian last version):
Apache version (Apache 2.4.25):
PHP version (5.6):
Is this the first time you’ve seen this error?: YES
Can you reliably replicate it? (If so, please outline steps):
Erreur interne du serveur (internal serveur error)
Le serveur a rencontré une erreur interne et est incapable d'exécuter votre requête.
Veuillez contacter l'administrateur du serveur si cette erreur apparaît plusieurs fois. Veuillez joindre les détails techniques à votre rapport.
Le fichier journal du serveur peut fournir plus de renseignements.
Renseignements techniques
Adresse distante : 127.0.0.1
ID de la demande : ldV385AyNgb8O5CbqtGK
The issue you are facing:
I have upgrade nextcloud 10.0.2 to 10.0.3, everything was ok but after I click on the (+) to activate some application in the IHM. I have got this message and I can made anything. I have always this message. I don’t know why.
The output of your Nextcloud log in Admin > Logging: I can’t, but I have this in the nextcloud.log in the data folder.
{"reqId":"ldV385AyNgb8O5CbqtGK","remoteAddr":"127.0.0.1","app":"index","message":"Exception: {\"Exception\":\"Doctrine\\\\DBAL\\\\Exception\\\\DriverException\",\"Message\":\"An exception occurred while executing 'INSERT INTO \\\"oc_authtoken\\\"(\\\"uid\\\",\\\"login_name\\\",\\\"password\\\",\\\"name\\\",\\\"token\\\",\\\"type\\\",\\\"remember\\\",\\\"last_activity\\\") VALUES(?,?,?,?,?,?,?,?)' with params [\\\"baimard\\\", \\\"baimard\\\", \\\"f2837cf7f89c7b29e4e4327174d93db8|jyB\\\\\\\/MHweRgdeLK8b|aed95493db75cc488e7f340f2f1316ec1d200f59dcfd9c35fd8f34987ba3388cf1cfcd9cf92702b5cbb0779134a59c4f63d46f64ed8cf4a34c88a24bea0edbc6\\\", \\\"Mozilla\\\\\\\/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko\\\\\\\/20100101 Firefox\\\\\\\/53.0\\\", \\\"2bf4e33d2761eb28a2ee0ea12ea8dafd2d6c60f86520fef87791e0fe1e880ae74995471663a4b62bc46fcd05eaa5b67e25a8f61a0a18e37b96c6e9bec008e3ae\\\", 0, 0, 1493710545]:\\n\\nSQLSTATE[HY000]: General error: 11 database disk image is malformed\",\"Code\":0,\"Trace\":\"#0 \\\/mnt\\\/usb\\\/nextcloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/DBALException.php(128): Doctrine\\\\DBAL\\\\Driver\\\\AbstractSQLiteDriver->convertException('An exception oc...', Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOException))\\n#1 \\\/mnt\\\/usb\\\/nextcloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/Statement.php(178): Doctrine\\\\DBAL\\\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOSqlite\\\\Driver), Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOException), 'INSERT INTO \\\"oc...', Array)\\n#2 \\\/mnt\\\/usb\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Db\\\/Mapper.php(252): Doctrine\\\\DBAL\\\\Statement->execute()\\n#3 \\\/mnt\\\/usb\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Db\\\/Mapper.php(126): OCP\\\\AppFramework\\\\Db\\\\Mapper->execute('INSERT INTO
P…’, Array)\n#4 \/mnt\/usb\/nextcloud\/lib\/private\/Authentication\/Token\/DefaultTokenProvider.php(97): OCP\\AppFramework\\Db\\Mapper->insert(Object(OC\\Authentication\\Token\\DefaultToken))\n#5 \/mnt\/usb\/nextcloud\/lib\/private\/User\/Session.php(566): OC\\Authentication\\Token\\DefaultTokenProvider->generateToken(** sensitive parameters replaced )\n#6 \/mnt\/usb\/nextcloud\/core\/Controller\/LoginController.php(245): OC\\User\\Session->createSessionToken(Object(OC\\AppFramework\\Http\\Request), ‘baimard’, ‘baimard’, ‘’, 0)\n#7 [internal function]: OC\\Core\\Controller\\LoginController->tryLogin( sensitive parameters replaced ***)\n#8 \/mnt\/usb\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(160): call_user_func_array(Array, Array)\n#9 \/mnt\/usb\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(90): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Core\\Controller\\LoginController), ‘tryLogin’)\n#10 \/mnt\/usb\/nextcloud\/lib\/private\/AppFramework\/App.php(114): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Core\\Controller\\LoginController), ‘tryLogin’)\n#11 \/mnt\/usb\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\\AppFramework\\App::main(‘LoginController’, ‘tryLogin’, Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#12 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#13 \/mnt\/usb\/nextcloud\/lib\/private\/Route\/Router.php(299): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#14 \/mnt\/usb\/nextcloud\/lib\/base.php(1010): OC\\Route\\Router->match(’\/login’)\n#15 \/mnt\/usb\/nextcloud\/index.php(40): OC::handleRequest()\n#16 {main}",“File”:"\/mnt\/usb\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractSQLiteDriver.php",“Line”:85}",“level”:3,“time”:“2017-05-02T07:35:45+00:00”,“method”:“POST”,“url”:"/index.php/login?redirect_url=/index.php/apps/files/",“user”:“baimard”,“version”:“11.0.2.7”}`
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '',
1 => '',
),
'datadirectory' => '/mnt/usb/nextcloud/data',
'overwrite.cli.url' => 'https://baim.freeboxos.fr',
'dbtype' => 'sqlite3',
'version' => '11.0.2.7',
'logtimezone' => 'UTC',
'installed' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpport' => '587',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_from_address' => '',
'mail_domain' => 'gmail.com',
'mail_smtpname' => '',
'mail_smtppassword' => '',
'updater.secret' => '',
);
The output of your Apache/system log in /var/log/____
:
root@raspserver:/var/log/apache2 # tail error.log
[Tue May 02 06:25:06.968166 2017] [ssl:warn] [pid 1080] AH01906: 127.0.1.1:2443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue May 02 06:25:06.968325 2017] [ssl:warn] [pid 1080] AH01909: 127.0.1.1:2443:0 server certificate does NOT include an ID which matches the server name
[Tue May 02 06:25:06.968994 2017] [mpm_prefork:notice] [pid 1080] AH00163: Apache/2.4.10 (Raspbian) OpenSSL/1.0.1t configured -- resuming normal operations
[Tue May 02 06:25:06.969031 2017] [core:notice] [pid 1080] AH00094: Command line: '/usr/sbin/apache2'