[SOLVED]Redis error after "brutal shutdown"

[/details]

Nextcloud version 16.0.1:
Operating system and version Armbian Linux 4.4.182-rockchip64:

Yesterday after an electric shutdown, I encoutered problems running my Nextcloud serveur. When trying to load the web interface, I had a message:

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.

On NextcloudPi console System Info told me Redis service was down. After reading threads, I changed /var/log/redis owner from root:root to redis:redis
After that, running again redis server worked, but Nextcloud check was still in error on NextcloudPi System Info, and the Nextcloud’s web access was still down…

Here I give my logs from ncp-report:

NextCloudPi diagnostics

NextCloudPi version  v1.15.3
distribution         Debian GNU/Linux 10 \n \l
automount            yes
USB devices          sda sdb 
datadir              /media/myCloudDrive/data
data in SD           no
data filesystem      btrfs
data disk usage      4,8G/466G
rootfs usage         5,8G/29G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      error
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        open
port check 443       open
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               12:55

Nextcloud configuration

An unhandled exception has been thrown:
RedisException: Redis server went away in /var/www/nextcloud/lib/private/Memcache/Redis.php:54
Stack trace:
#0 /var/www/nextcloud/lib/private/Memcache/Redis.php(54): Redis->get('ac931e8221d05c0...')
#1 /var/www/nextcloud/lib/private/App/InfoParser.php(57): OC\Memcache\Redis->get('/var/www/nextcl...')
#2 /var/www/nextcloud/lib/private/App/AppManager.php(381): OC\App\InfoParser->parse('/var/www/nextcl...')
#3 /var/www/nextcloud/lib/private/legacy/app.php(551): OC\App\AppManager->getAppInfo('files', false, NULL)
#4 /var/www/nextcloud/lib/private/AppFramework/App.php(66): OC_App::getAppInfo('files')
#5 /var/www/nextcloud/lib/private/legacy/app.php(236): OC\AppFramework\App::buildAppNamespace('files')
#6 /var/www/nextcloud/lib/private/legacy/app.php(119): OC_App::registerAutoloading('files', '/var/www/nextcl...')
#7 /var/www/nextcloud/lib/base.php(640): OC_App::loadApps(Array)
#8 /var/www/nextcloud/lib/base.php(1056): OC::init()
#9 /var/www/nextcloud/console.php(46): require_once('/var/www/nextcl...')
#10 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#11 {main}
HTTPd logs

[Fri Aug 09 12:44:20.604504 2019] [authz_host:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /js/ncp.js failed, reason: unable to get the remote host name
[Fri Aug 09 12:44:21.407020 2019] [authz_host:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:44:21.674679 2019] [authz_host:error] [pid 1459:tid 548035781008] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:44:26.659625 2019] [authz_host:error] [pid 1459:tid 548035781008] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:48:11.523470 2019] [authz_host:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Fri Aug 09 12:48:11.593800 2019] [authz_host:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Fri Aug 09 12:48:11.594618 2019] [authz_host:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:48:11.671414 2019] [authz_host:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:49:16.074024 2019] [proxy_fcgi:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01071: Got error 'PHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 238PHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 244'
[Fri Aug 09 12:49:16.669081 2019] [authz_host:error] [pid 1459:tid 548035781008] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /img/loading-small.gif failed, reason: unable to get the remote host name
[Fri Aug 09 12:49:16.669653 2019] [authz_host:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /css/ncp.css failed, reason: unable to get the remote host name
[Fri Aug 09 12:49:16.671413 2019] [authz_host:error] [pid 1459:tid 548035781008] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /img/toggle.svg failed, reason: unable to get the remote host name
[Fri Aug 09 12:49:17.020148 2019] [authz_host:error] [pid 1459:tid 548018979216] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:49:17.044730 2019] [authz_host:error] [pid 1459:tid 548035781008] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:49:24.799770 2019] [authz_host:error] [pid 1459:tid 548035781008] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:51:15.290636 2019] [authz_host:error] [pid 1459:tid 548027380112] [client 192.168.1.46:50615] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:52:06.192680 2019] [authz_host:error] [pid 1459:tid 548044181904] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Fri Aug 09 12:52:06.287651 2019] [authz_host:error] [pid 1459:tid 548044181904] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Fri Aug 09 12:52:06.288199 2019] [authz_host:error] [pid 1459:tid 548044181904] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Fri Aug 09 12:52:06.349347 2019] [authz_host:error] [pid 1459:tid 548044181904] [client 192.168.1.2:50580] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name

Database logs


Nextcloud logs

{"reqId":"XU1EtLrHeMxCoJrl9T5bJwAAAFQ","level":3,"time":"2019-08-09T10:02:28+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1EwrrHeMxCoJrl9T5bKAAAAFY","level":3,"time":"2019-08-09T10:02:42+00:00","remoteAddr":"109.217.84.124","user":"--","app":"remote","method":"GET","url":"\/status.php","message":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":54,"function":"get","class":"Redis","type":"->","args":["ac931e8221d05c03c06af9cb8b5cf225\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/InfoParser.php","line":57,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":381,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":551,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["files",false,null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":66,"function":"getAppInfo","class":"OC_App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":236,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::","args":["files","\/var\/www\/nextcloud\/apps\/files"]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":640,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1056,"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\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1ExLrHeMxCoJrl9T5bKQAAAFc","level":3,"time":"2019-08-09T10:02:44+00:00","remoteAddr":"109.217.84.124","user":"--","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/core\/navigation\/apps?absolute=true&format=json","message":"RedisException: Redis server went away at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php#54","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1E0rrHeMxCoJrl9T5bKgAAAEI","level":3,"time":"2019-08-09T10:02:58+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1E4rrHeMxCoJrl9T5bKwAAAEU","level":3,"time":"2019-08-09T10:03:14+00:00","remoteAddr":"109.217.84.124","user":"--","app":"remote","method":"GET","url":"\/status.php","message":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":54,"function":"get","class":"Redis","type":"->","args":["ac931e8221d05c03c06af9cb8b5cf225\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/InfoParser.php","line":57,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":381,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":551,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["files",false,null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":66,"function":"getAppInfo","class":"OC_App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":236,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::","args":["files","\/var\/www\/nextcloud\/apps\/files"]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":640,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1056,"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\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1E5LrHeMxCoJrl9T5bLAAAAEc","level":3,"time":"2019-08-09T10:03:16+00:00","remoteAddr":"109.217.84.124","user":"--","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/core\/navigation\/apps?absolute=true&format=json","message":"RedisException: Redis server went away at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php#54","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1E8LrHeMxCoJrl9T5bLQAAAEg","level":3,"time":"2019-08-09T10:03:28+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FArrHeMxCoJrl9T5bLgAAAE0","level":3,"time":"2019-08-09T10:03:46+00:00","remoteAddr":"109.217.84.124","user":"--","app":"remote","method":"GET","url":"\/status.php","message":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":54,"function":"get","class":"Redis","type":"->","args":["ac931e8221d05c03c06af9cb8b5cf225\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/InfoParser.php","line":57,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":381,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":551,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["files",false,null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":66,"function":"getAppInfo","class":"OC_App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":236,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::","args":["files","\/var\/www\/nextcloud\/apps\/files"]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":640,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1056,"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\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FBDQS9cMiAAjF8NA6@QAAAA0","level":3,"time":"2019-08-09T10:03:48+00:00","remoteAddr":"109.217.84.124","user":"--","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/core\/navigation\/apps?absolute=true&format=json","message":"RedisException: Redis server went away at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php#54","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FDrrHeMxCoJrl9T5bLwAAAE8","level":3,"time":"2019-08-09T10:03:58+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FErrHeMxCoJrl9T5bMAAAAFA","level":3,"time":"2019-08-09T10:04:02+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications?format=json","message":"RedisException: Redis server went away at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php#54","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FIjQS9cMiAAjF8NA6@gAAABA","level":3,"time":"2019-08-09T10:04:18+00:00","remoteAddr":"109.217.84.124","user":"--","app":"remote","method":"GET","url":"\/status.php","message":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":54,"function":"get","class":"Redis","type":"->","args":["ac931e8221d05c03c06af9cb8b5cf225\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/InfoParser.php","line":57,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":381,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":551,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["files",false,null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":66,"function":"getAppInfo","class":"OC_App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":236,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::","args":["files","\/var\/www\/nextcloud\/apps\/files"]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":640,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1056,"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\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FJDQS9cMiAAjF8NA6@wAAABI","level":3,"time":"2019-08-09T10:04:20+00:00","remoteAddr":"109.217.84.124","user":"--","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/core\/navigation\/apps?absolute=true&format=json","message":"RedisException: Redis server went away at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php#54","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FLLrHeMxCoJrl9T5bMQAAAFQ","level":3,"time":"2019-08-09T10:04:28+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FQjQS9cMiAAjF8NA6-AAAABY","level":3,"time":"2019-08-09T10:04:50+00:00","remoteAddr":"109.217.84.124","user":"--","app":"remote","method":"GET","url":"\/status.php","message":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":54,"function":"get","class":"Redis","type":"->","args":["ac931e8221d05c03c06af9cb8b5cf225\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/InfoParser.php","line":57,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":381,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":551,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["files",false,null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":66,"function":"getAppInfo","class":"OC_App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":236,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::","args":["files","\/var\/www\/nextcloud\/apps\/files"]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":640,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1056,"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\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FRDQS9cMiAAjF8NA6-QAAABg","level":3,"time":"2019-08-09T10:04:52+00:00","remoteAddr":"109.217.84.124","user":"--","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/core\/navigation\/apps?absolute=true&format=json","message":"RedisException: Redis server went away at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php#54","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FSjQS9cMiAAjF8NA6-gAAAAI","level":3,"time":"2019-08-09T10:04:58+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FYrrHeMxCoJrl9T5bMgAAAFY","level":3,"time":"2019-08-09T10:05:22+00:00","remoteAddr":"109.217.84.124","user":"--","app":"remote","method":"GET","url":"\/status.php","message":{"Exception":"RedisException","Message":"Redis server went away","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":54,"function":"get","class":"Redis","type":"->","args":["ac931e8221d05c03c06af9cb8b5cf225\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/InfoParser.php","line":57,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1557931172"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":381,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":551,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["files",false,null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":66,"function":"getAppInfo","class":"OC_App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":236,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::","args":["files"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::","args":["files","\/var\/www\/nextcloud\/apps\/files"]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":640,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1056,"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\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FZLrHeMxCoJrl9T5bMwAAAFc","level":3,"time":"2019-08-09T10:05:24+00:00","remoteAddr":"109.217.84.124","user":"--","app":"PHP","method":"GET","url":"\/ocs\/v2.php\/core\/navigation\/apps?absolute=true&format=json","message":"RedisException: Redis server went away at \/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php#54","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.2git (build 20190319) (Nextcloud)","version":"16.0.1.1"}
{"reqId":"XU1FaDQS9cMiAAjF8NA6-wAAAAQ","level":3,"time":"2019-08-09T10:05:28+00:00","remoteAddr":"192.168.1.1","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Error: Class 'OCA\\DAV\\Connector\\Sabre\\ExceptionLoggerPlugin' not found at \/var\/www\/nextcloud\/remote.php#57","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.1.1"}

I don’t have huge skills, so tell me if any other informations or logs are needed (and where to find it :wink: !
Thx a lot

PS : I’ve added new HTTPd logs as the first was empty… there seems to be a problem with hostname ?

Has it to do with apache server ? Shall I look somewhere else ?

Was everything running perfectly fine before the shutdown? I had an outage kill my Pi once and replacing the Pi solved my issue. I wasn’t having the same errors as you are, but I was also experiencing weird anomalies in my software and OS after the power issues

Yes, everything worked like a charm for months… No system errors in logs before that.

Reading HTTPd logs reveals something seems to fails with host name… but I really don’t know where to look…

DNS issue? Hard to tell without extra log info here. Make sure your DNS records, /etc/hosts information, and such is accurate there and in your apache configs

Happend again yesterday evening after electric shutdown…
Read some threads on Github, and tried this

`sudo chown - R redis:redis /var/log/redis/`

and restarted redis server… and everything was working again, like a charm… don’t understand what happend !