After upgrading my nextcloud doesn’t work.
I may have made a right mess of it, or it may be something simple.
When I go to the url I get an “internal server error” with a message suggesting to view the logs. There are so many log files around the system I don’t know where to start.
Nextcloud version : 11 initially now 14.0.4.2
Operating system and version : Raspbian GNU/Linux 8 (jessie) on raspberry pi 3
Apache or nginx version : Apache 2.4.10
PHP version :7.0.30
After upgrading I get:
‘’’
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.
‘’’
Is this the first time you’ve seen this error? : N
Steps to replicate it:
- I was still at NC 11 so it really needed upgrading. I tried to upgrade via the admin login / account, which looked like it went ok but then I got the “Internal server error” when I tried to log in.
- Thinking I would re-try I ran occ upgrade from the command line. But that brought me to NC 13 without changing the problem. (this may have been a big mistake.)
- Thinking I was in trouble anyway I ran the command again ending up at version 14.something. and did the recommended db updates, which looked like they finished ok.
- I tried disabling all non essential plugins through occ, because I found various posts blaming this or the other plugin for internal server errors but to no avail.
- there are so many .log files I dont really no where to start. the section pasted below from nextcloud.log in my data directory seems to be repeating over and over again.
- I tried to do a fresh manual upgrade today, replacing /var/www/nextcloud with a freshly downloaded one and putting back the config.php (included below)
but I still get the same error message on a white screen.
One funny thing is I found a .php file that looks like it creates the error text. So I changed the text in the file, but I don’t see the change in my browser.
Any suggestions are apreciated, no problem if more logs are needed, but please include a hint to where I can find them.
Cheers,
Smitje
The last section of Nextcloud .log in my data folder (not located in www/nextcloud/):
{"reqId":"7mtNw8z5VzVbmNBxpfre","level":3,"time":"2018-12-05T22:33:27+00:00","remoteAddr":"192.168.178.1","user":"--","app":"remote","method":"GET","url":"\/nextcloud\/status.php","message":{"Exception":"OC\\HintException","Message":"Memcache \\OC\\Memcache\\APC not available for local cache","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":502,"function":"__construct","class":"OC\\Memcache\\Factory","type":"->","args":["50a3b60b9eab8f5e7729cd966ad2afc7",{"__class__":"OC\\Log"},"\\OC\\Memcache\\APC","\\OC\\Memcache\\APC",null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":165,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":1514,"function":"query","class":"OC\\ServerContainer","type":"->","args":["MemCacheFactory"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":686,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":165,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":117,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":132,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":1704,"function":"query","class":"OC\\ServerContainer","type":"->","args":["AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":342,"function":"getAppManager","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":113,"function":"getEnabledApps","class":"OC_App","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":654,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1068,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/status.php","line":36,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Factory.php","Line":99,"Hint":"Is the matching PHP module installed and enabled?","CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.0git (Nextcloud)","version":"14.0.4.2"}
{"reqId":"7mtNw8z5VzVbmNBxpfre","level":3,"time":"2018-12-05T22:33:27+00:00","remoteAddr":"192.168.178.1","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/status.php","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/var\/www\/nextcloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.0git (Nextcloud)","version":"14.0.4.2"}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => '##',
'passwordsalt' => '##',
'secret' => '##',
'trusted_domains' =>
array (
0 => 'myurl',
),
'datadirectory' => '/CloudData',
'overwrite.cli.url' => 'https://myurl/nextcloud',
'dbtype' => 'mysql',
'version' => '14.0.4.2',
'dbname' => '##',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => '##',
'dbpassword' => '##',
'logtimezone' => 'UTC',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APC',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE