Nextcloud error 500

Hello,

i installed NC12.0.4 on a pi3 with raspbian stretch lite, following this procedure (https://soozx.fr/nextcloud12-raspberry-stretch/stretch-installation-lamp/) and everything worked well till i then tried to install wallabag (https://www.linuxbabe.com/ubuntu/install-wallabag-ubuntu-16-04) and then stopped after the install of “composer”. I’m not sure there is a link with the install of wallabag, but when i came back to NC i could not open it any more. I have a blank page with http error 500. though it seems apache is running correctly. Could you help trying to fix this issue?
thanks,

Eric

Nextcloud version (12.4)
Operating system and version (raspbian stretch lite)
Apache 2.4.2
PHP version 7.0.19-1
Is this the first time you’ve seen this error : yes

Can you reliably replicate it? (If so, please outline steps): yes

The output of your Nextcloud log in Admin > Logging:

GNU nano 2.7.4 File: nextcloud.log

{“reqId”:“VTdVMW1H7WJ4GrmweZdG”,“level”:2,“time”:“2018-01-06T20:04:30+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“DqJ5NZA5oTQ074cMZwiO”,“level”:2,“time”:“2018-01-06T20:04:37+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“LW20whBMrxjLC9fqw5bH”,“level”:2,“time”:“2018-01-06T20:05:14+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“TqL2FbwJSPfAhW93XA3H”,“level”:2,“time”:“2018-01-06T20:05:24+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“ZlZmakOC4HBsNrxPcsWv”,“level”:2,“time”:“2018-01-06T20:08:09+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“kYjSvVpfOOItZY2jMmg6”,“level”:2,“time”:“2018-01-06T20:08:13+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“lfVUgsZc82u3CMiryxe7”,“level”:2,“time”:“2018-01-06T20:08:20+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“7Kw3dOddBq6TCktjr9t5”,“level”:3,“time”:“2018-01-06T20:08:56+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“no app in context”,“method”:“POST”,“url”$
{“reqId”:“cBXTJqIv1K0d2NA7g9NZ”,“level”:2,“time”:“2018-01-06T20:10:30+00:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“RqASIsORAhwpeSGtofFV”,“level”:2,“time”:“2018-01-06T20:11:45+00:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/l$
{“reqId”:“TYmHwl0MiNTCSTImuB0A”,“level”:2,“time”:“2018-01-06T20:12:10+00:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/l$
{“reqId”:“draWEQmZfMXUOlGXqhTN”,“level”:2,“time”:“2018-01-06T20:12:27+00:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/l$
{“reqId”:“nRYChIQD5TajrmGXRdMm”,“level”:2,“time”:“2018-01-06T21:19:30+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/l$
{“reqId”:“ArpqTF6kGQOeCOf04Ds7”,“level”:2,“time”:“2018-01-06T21:20:01+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/l$
{“reqId”:“YSu0gbTTbQDxo2Jn8U7b”,“level”:3,“time”:“2018-01-06T21:29:14+01:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“core”,“method”:“POST”,“url”:"/index.php$
{“reqId”:“pbWC7DCrlu8ZtXoLHqfr”,“level”:2,“time”:“2018-01-06T22:24:56+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“sV0OnWK4qhHOwBN0AsRW”,“level”:2,“time”:“2018-01-06T22:25:03+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“WGH4CM0bj79I5VIOuuWb”,“level”:2,“time”:“2018-01-06T22:25:22+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“ogUyI5Hwieiq2K3Zz1D5”,“level”:2,“time”:“2018-01-06T22:25:50+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/",“messa$
{“reqId”:“0yOS8gx6uRRw1uu9ag65”,“level”:2,“time”:“2018-01-06T22:26:21+01:00”,“remoteAddr”:“109.9.105.61”,“user”:”–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“caLx9riLT9llZMYEipEG”,“level”:2,“time”:“2018-01-06T22:26:52+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“8mkj5QrSnuGTgnbfeKnA”,“level”:2,“time”:“2018-01-06T22:27:25+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“PrBMJUPRd25G1Lo47Tap”,“level”:2,“time”:“2018-01-06T22:27:55+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/",“messa$
{“reqId”:“dZxPYFiBGHALFEFcQ57d”,“level”:2,“time”:“2018-01-06T23:27:01+01:00”,“remoteAddr”:“109.9.105.61”,“user”:”–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“cfA3jhcshkO76FGXrhOx”,“level”:2,“time”:“2018-01-06T23:27:32+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“ZP0zSIztIoqfhiJHejZs”,“level”:2,“time”:“2018-01-06T23:28:06+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“eF4lQu61pPTUJEhhNmE3”,“level”:2,“time”:“2018-01-06T23:28:37+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“PROPFIND”,“url”:"/",“messa$
{“reqId”:“aDM4cXVwb8yjensc5aaI”,“level”:2,“time”:“2018-01-06T23:29:09+01:00”,“remoteAddr”:“109.9.105.61”,“user”:”–",“app”:“core”,“method”:“PROPFIND”,“url”:"/remote.p$
{“reqId”:“lhiHrOlWVgwsrJbLYT12”,“level”:2,“time”:“2018-01-06T23:44:01+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“OPTIONS”,“url”:"/remote.ph$
{“reqId”:“fbZtOQH0fQuIlHiQB7m4”,“level”:2,“time”:“2018-01-06T23:44:41+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“OPTIONS”,“url”:"/remote.ph$
{“reqId”:“nRVw8ykK9bgaVVKPhePO”,“level”:4,“time”:“2018-01-07T00:33:09+01:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“webdav”,“method”:“PUT”,“url”:"/remote.p$
{“reqId”:“hxNqLxLGeRhCLciOnFDC”,“level”:4,“time”:“2018-01-07T00:33:09+01:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“webdav”,“method”:“PUT”,“url”:"/remote.p$
{“reqId”:“r2X7Yz4FEZLrUYxUr0xh”,“level”:2,“time”:“2018-01-07T11:38:25+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/l$
{“reqId”:“XWuH8R4PRaheiOn6STv4”,“level”:2,“time”:“2018-01-07T11:38:54+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/l$
{“reqId”:“bFBtwxxpwVhJJvIE4v2a”,“level”:2,“time”:“2018-01-07T11:38:55+01:00”,“remoteAddr”:“109.9.105.61”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/index.php/l$
{“reqId”:“b9xQye07j9CIJqvqTF2e”,“level”:4,“time”:“2018-01-07T13:33:19+01:00”,“remoteAddr”:“109.9.105.61”,“user”:“mymly”,“app”:“webdav”,“method”:“PUT”,“url”:"/remote.p$

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

GNU nano 2.7.4 File: config.php

<?php $CONFIG = array ( 'instanceid' => 'ocbqnuc93m4f', 'passwordsalt' => 'UVCsh4HFrjiE3CeLalH+IgZQKrYuqD', 'secret' => '9EE4uHwgl1HW2/85ksbo41Frfn6r+gk4muCGtoBHo3n1wiq1', 'trusted_domains' => array ( 0 => 'XXX.duckdns.org', ), 'datadirectory' => '/var/www/data', 'overwrite.cli.url' => 'https://XXX.duckdns.org', 'dbtype' => 'mysql', 'version' => '12.0.4.3', 'dbname' => 'nextc', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'xxx', 'dbpassword' => 'yyy', 'installed' => true, 'logtimezone' => 'Europe/Paris', 'logfile' => '/var/www/data/nextcloud.log', 'loglevel' => 2, 'log_authfailip' => true, 'memcache.local' => '\OC\Memcache\APCu', 'auth.bruteforce.protection.enabled' => true, ); The output of your Apache/nginx/system log in /var/log/____: GNU nano 2.7.4 File: access.log 192.168.0.11 - - [06/Jan/2018:11:56:52 +0100] "GET /info.php HTTP/1.1" 200 24755 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0" 192.168.0.11 - - [06/Jan/2018:11:56:54 +0100] "GET /favicon.ico HTTP/1.1" 404 507 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0" 192.168.0.11 - - [06/Jan/2018:11:56:54 +0100] "GET /favicon.ico HTTP/1.1" 404 507 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0" 192.168.0.11 - - [06/Jan/2018:12:03:15 +0100] "GET /info.php HTTP/1.1" 200 23336 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0" 46.229.164.102 - - [06/Jan/2018:12:06:47 +0100] "GET /robots.txt HTTP/1.1" 404 476 "-" "Mozilla/5.0 (compatible; SemrushBot/1.2~bl; +http://www.semrush.com/bot.html)" 196.52.43.52 - - [06/Jan/2018:12:52:11 +0100] "GET / HTTP/1.0" 200 10977 "-" "Mozilla/5.0(WindowsNT6.1;rv:31.0)Gecko/20100101Firefox/31.0" 93.174.95.106 - - [06/Jan/2018:15:40:14 +0100] "GET / HTTP/1.1" 200 10958 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 S$ 93.174.95.106 - - [06/Jan/2018:15:40:15 +0100] "GET /robots.txt HTTP/1.1" 404 451 "-" "-" 93.174.95.106 - - [06/Jan/2018:15:40:15 +0100] "GET /sitemap.xml HTTP/1.1" 404 452 "-" "-" 93.174.95.106 - - [06/Jan/2018:15:40:17 +0100] "GET /favicon.ico HTTP/1.1" 404 508 "-" "python-requests/2.13.0" 164.132.91.3 - - [06/Jan/2018:18:04:05 +0100] "GET / HTTP/1.1" 200 10977 "-" "Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0" 109.9.105.61 - - [06/Jan/2018:19:06:48 +0100] "GET / HTTP/1.1" 301 578 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0" 109.9.105.61 - - [06/Jan/2018:19:06:49 +0100] "GET / HTTP/1.1" 200 7695 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0" 109.9.105.61 - - [06/Jan/2018:19:06:50 +0100] "GET /core/vendor/select2/select2.css?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 3812 "-" "Mozilla/5.0 (X11; Ubuntu$ 109.9.105.61 - - [06/Jan/2018:19:06:50 +0100] "GET /core/vendor/strengthify/strengthify.css?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1196 "-" "Mozilla/5.0 (X11$ 109.9.105.61 - - [06/Jan/2018:19:06:50 +0100] "GET /core/vendor/jquery-ui/themes/base/jquery-ui.css?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 6842 "-" "Mozilla/$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/css/jquery.ocdialog.css?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1439 "-" "Mozilla/5.0 (X11; Ubuntu; L$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/css/jquery-ui-fixes.css?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1626 "-" "Mozilla/5.0 (X11; Ubuntu; L$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/jquery.ocdialog.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 2375 "-" "Mozilla/5.0 (X11; Ubuntu; Lin$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/css/guest.css?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 5342 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_6$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/oc-dialogs.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 8272 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x8$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/l10n.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 3209 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; $ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/js.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 19628 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; r$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/octemplate.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 2073 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x8$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/eventsource.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 2419 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/public/appconfig.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1668 "-" "Mozilla/5.0 (X11; Ubuntu; Li$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/config.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1419 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/oc-requesttoken.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 840 "-" "Mozilla/5.0 (X11; Ubuntu; Linu$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/apps.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1877 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; $ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/mimetype.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1995 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/mimetypelist.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1749 "-" "Mozilla/5.0 (X11; Ubuntu; Linux $ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/oc-backbone.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 876 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x8$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/placeholder.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 2701 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/js/select2-toggleselect.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1290 "-" "Mozilla/5.0 (X11; Ubuntu$ 109.9.105.61 - - [06/Jan/2018:19:06:51 +0100] "GET /core/vendor/core.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 280075 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x8$ 109.9.105.61 - - [06/Jan/2018:19:06:52 +0100] "GET /core/js/jquery.contactsmenu.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1730 "-" "Mozilla/5.0 (X11; Ubuntu;$ 109.9.105.61 - - [06/Jan/2018:19:06:52 +0100] "GET /core/js/jquery.avatar.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 2573 "-" "Mozilla/5.0 (X11; Ubuntu; Linux$ 109.9.105.61 - - [06/Jan/2018:19:06:52 +0100] "GET /core/search/js/search.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 4225 "-" "Mozilla/5.0 (X11; Ubuntu; Linux$ 109.9.105.61 - - [06/Jan/2018:19:06:52 +0100] "GET /core/js/setup.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 2275 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64;$ 109.9.105.61 - - [06/Jan/2018:19:06:52 +0100] "GET /core/vendor/strengthify/jquery.strengthify.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 3177 "-" "Mozilla/5.$