Nextcloud instance crashed on normal use

Hello,

My NC instance running NCPi crashed today (or maybe before, my last sync item on my desktop log is from the 17th (ie, yesterday), I don’t know why, since I was not doing anything particular.

I restarted the instance but it still doesn’t work. I can connect through ssh though, and it seems that it comes from the redis service that is down. Here is the output of ncp-report

NextCloudPi diagnostics

Cannot load Zend OPcache - it was already loaded
NextCloudPi version  v0.46.6
NextCloudPi image    NextCloudPi_12-04-17
distribution         Raspbian GNU/Linux 9 \n \l
automount            yes
USB devices          sda 
datadir              /media/myCloudDrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      327G/932G
rootfs usage         3.3G/3.6G
swapfile             /var/swap
Nextcloud check      error
HTTPD service        down
PHP service          up
MariaDB service      up
Redis service        down
Postfix service      down
internet check       ok
port check 80        closed
port check 443       closed
IP                   xxx.xxx.x.xxx
gateway              xxx.xxx.x.xxx
interface            eth0
certificates         nc.instance.com 
certs due            50 days 
NAT loopback         no
uptime               2min

Nextcloud configuration
Cannot load Zend OPcache - it was already loaded
?X?n?? ?N????/
< skip random characters >
Yk;????,o??????-?YX?O?o???"???
HTTPd logs

[Wed Oct 17 06:25:04.112727 2018] [ssl:warn] [pid 12021:tid 1991942144] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 17 06:25:05.001201 2018] [mpm_event:notice] [pid 12021:tid 1991942144] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Wed Oct 17 06:25:05.001362 2018] [core:notice] [pid 12021:tid 1991942144] AH00094: Command line: '/usr/sbin/apache2'

Database logs

2018-10-18 23:01:06 1639437120 [Note] /usr/sbin/mysqld: Shutdown complete

2018-10-18 23:01:38 1988603904 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-10-18 23:01:38 1988603904 [Note] InnoDB: The InnoDB memory heap is disabled
2018-10-18 23:01:38 1988603904 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-10-18 23:01:38 1988603904 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-10-18 23:01:38 1988603904 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-10-18 23:01:38 1988603904 [Note] InnoDB: Using Linux native AIO
2018-10-18 23:01:38 1988603904 [Note] InnoDB: Using generic crc32 instructions
2018-10-18 23:01:38 1988603904 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-10-18 23:01:38 1988603904 [Note] InnoDB: Completed initialization of buffer pool
2018-10-18 23:01:38 1988603904 [Note] InnoDB: Highest supported file format is Barracuda.
2018-10-18 23:01:39 1988603904 [Note] InnoDB: 128 rollback segment(s) are active.
2018-10-18 23:01:39 1988603904 [Note] InnoDB: Waiting for purge to start
2018-10-18 23:01:39 1988603904 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.35-80.0 started; log sequence number 4352345522
2018-10-18 23:01:40 1447031616 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-10-18 23:01:40 1988603904 [Note] Plugin 'FEEDBACK' is disabled.
2018-10-18 23:01:40 1988603904 [Note] Server socket created on IP: '127.0.0.1'.
2018-10-18 23:01:40 1988603904 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.23-MariaDB-9+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Raspbian 9.0

Nextcloud logs

{"reqId":"h3mTWKjMeW26815h0UBg","level":3,"time":"2018-10-18T20:45:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"h3mTWKjMeW26815h0UBg","level":3,"time":"2018-10-18T20:45:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"2RDIw6Ys3X60nXJ87DhY","level":3,"time":"2018-10-18T21:00:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"2RDIw6Ys3X60nXJ87DhY","level":3,"time":"2018-10-18T21:00:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"lQ5Jm8zJWouik5F1H83i","level":3,"time":"2018-10-18T21:15:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"lQ5Jm8zJWouik5F1H83i","level":3,"time":"2018-10-18T21:15:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"cZ1aCr7NjxqX9Xmma14f","level":3,"time":"2018-10-18T21:30:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"cZ1aCr7NjxqX9Xmma14f","level":3,"time":"2018-10-18T21:30:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"J7TFHc2JxcKwhCFcCOTL","level":3,"time":"2018-10-18T21:45:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"J7TFHc2JxcKwhCFcCOTL","level":3,"time":"2018-10-18T21:45:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"0W53k3mTwGGFIsn8JYZa","level":3,"time":"2018-10-18T22:00:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"0W53k3mTwGGFIsn8JYZa","level":3,"time":"2018-10-18T22:00:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"UWFQFZv4Sgj62YjUT9Px","level":3,"time":"2018-10-18T22:15:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"UWFQFZv4Sgj62YjUT9Px","level":3,"time":"2018-10-18T22:15:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"53nKHdKxIEWlJDLi4xjb","level":3,"time":"2018-10-18T22:30:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"53nKHdKxIEWlJDLi4xjb","level":3,"time":"2018-10-18T22:30:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"H6rchhFAMTWLHKyWojaJ","level":3,"time":"2018-10-18T22:45:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"H6rchhFAMTWLHKyWojaJ","level":3,"time":"2018-10-18T22:45:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}
{"reqId":"JCDct8voaeNZDxl3L8LK","level":3,"time":"2018-10-18T23:00:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","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":["235fa131bd505f42d47e0b3479c5e460\/core.appinfo\/var\/www\/nextcloud\/apps\/files\/appinfo\/info.xml1538468817"]},{"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.xml1538468817"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":380,"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":65,"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":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\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"--","version":"14.0.1.1"}
{"reqId":"JCDct8voaeNZDxl3L8LK","level":3,"time":"2018-10-18T23:00:02+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","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":"--","version":"14.0.1.1"}

And here is the output of systemctl status redis-server.service

● redis-server.service - Advanced key-value store
   Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-10-18 23:01:30 UTC; 6min ago
     Docs: http://redis.io/documentation,
           man:redis-server(1)
  Process: 701 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=1/FAILURE)
  Process: 697 ExecStartPre=/bin/run-parts --verbose /etc/redis/redis-server.pre-up.d (code=exited, status=0/SUCCESS)

Oct 18 23:01:29 nextcloudpi systemd[1]: Failed to start Advanced key-value store.
Oct 18 23:01:29 nextcloudpi systemd[1]: redis-server.service: Unit entered failed state.
Oct 18 23:01:29 nextcloudpi systemd[1]: redis-server.service: Failed with result 'exit-code'.
Oct 18 23:01:30 nextcloudpi systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Oct 18 23:01:30 nextcloudpi systemd[1]: Stopped Advanced key-value store.
Oct 18 23:01:30 nextcloudpi systemd[1]: redis-server.service: Start request repeated too quickly.
Oct 18 23:01:30 nextcloudpi systemd[1]: Failed to start Advanced key-value store.
Oct 18 23:01:30 nextcloudpi systemd[1]: redis-server.service: Unit entered failed state.
Oct 18 23:01:30 nextcloudpi systemd[1]: redis-server.service: Failed with result 'exit-code'.

Here is another log if it matter:

$ sudo cat /var/log/redis/redis-server.log
fe2e7371ee0b89cf40b13da5ec143a55  usr/lib/arm-linux-gnueabihf/apr-util-1/apr_crypto_openssl-1.so
00bba19d4e502a413d9241659c65be0b  usr/lib/arm-linux-gnueabihf/apr-util-1/apr_dbm_db-1.so
4be8529e72ec29cd764e1f3aa9f1ffbb  usr/lib/arm-linux-gnueabihf/apr-util-1/apr_dbm_gdbm-1.so
6bfdf378d73a15bcc0128e646e1ca0f7  usr/lib/arm-linux-gnueabihf/libaprutil-1.so.0.5.4
cff2374c79779430a6e9217ae710c73d  usr/share/doc/libaprutil1/changelog.Debian.gz
e9690e923b3bdeeef3ceab8b7e19708a  usr/share/doc/libaprutil1/changelog.gz
2568f2df7b9bb44393b66a2e98333b30  usr/share/doc/libaprutil1/copyright
d48e63d631f91ae4bc6829562725dd5c  usr/share/lintian/overrides/libaprutil1

Any help is welcome. @nachoparker, if you have some time ! :slight_smile:

Thanks

Hi & thanks for reporting.
You should remove certificates name from above diagnostics.
There have been some issues with some (apps)upgrades from 13 to 14.
Did you check github?
The /var/log/ncp.log might hold more info on what went wrong.

Thanks for your reply.

Do you think I should post this error on github as well ? I did not find similar error.

Also I don’t have any /var/log/ncp.log file.

Github, only if sure it is a bug :beetle:, and not hardware or other problem.
No ncp.log is strange…Did you update manually or have automatic updates enabled for both NCP and NC?
And please share output of:
df -h

and

uname -a

Yes but I don’t know if it’s a bug or not !

I update NC with their updater with the web interface and it worked well. I updated it a few weeks ago I think.
I update NCP with the web interface also, but did not recall having using it lately. So I don’t think there is automatic update.

The output you asked are:

$ df -h 
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.6G  3.3G  183M  95% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M  6.2M  458M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1   41M   21M   21M  52% /boot
/dev/sda1       932G  327G  604G  36% /media/myCloudDrive
tmpfs            93M     0   93M   0% /run/user/1000

$ uname -a
Linux nextcloudpi 4.9.66-v7+ #1059 SMP Fri Dec 1 15:38:42 GMT 2017 armv7l GNU/Linux

Output seems fine, apart from earlier log and redis-server failing to start…
I presume you have tried re-starting the redis-server manually?
You could try running update again, but this time use nc-update-nextcloud from ncp-config/ncp-web.
Do you have backups of data, config and db?
One should always make backups before making changes or upgrading, and/or use ncp’s tools to automate backups.

Yes I think I tried to restart the redis server manually (I’ll show you the command I used later when I’m back home), but it failed again.

As for the backup, I have a single HD on the instance, and backup of the config and db is made, I think, when I update NC.
I was planning to dig into the ncp backup tool at one point. But so far it’s ok, my data are backed up on the different computers linked to this instance.

sudo systemctl start redis-server.service :wink:

I used sudo systemctl restart redis-server, is this different ?

Same thing

How should I proceed for updating ? I don’t have access to ncp-web, it doesn’t load.
And how to check if I have backup of db and config ?

Thanks

sudo ncp-config

Will give you access to all ncp functions you find in ncp-web.

The backup&restore wiki
The latest on backup strategies

You can also manually backup your database and nc installation directories.
If you dont know where your backups are, probably means you didnt make them. If not the path will be saved and visible in the form when you run nc-backup or nc-snap.

So I ran nc-backup, and it created a tar file. It went well, apart from random characters that usually appear when you read a binary file.

Then I ran nc-update (Update NextcloudPi). But now it’s worst, but I thinks it’s because the installation did not go well as I had this kind of error: You don't have enough free space in /var/cache/apt/archives/.

End of update stdout
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'php-redis' instead of 'php7.2-redis'
The following additional packages will be installed:
  libpcre2-8-0 php-igbinary php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-phpdbg php7.3-readline
Suggested packages:
  php-pear
The following NEW packages will be installed:
  libpcre2-8-0 php-igbinary php-redis php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-phpdbg php7.3-readline
0 upgraded, 9 newly installed, 0 to remove and 525 not upgraded.
Need to get 3441 kB of archives.
After this operation, 13.3 MB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libfile-copy-recursive-perl update-inetd
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libjansson4 libldb1 libsmbclient libwbclient0 python-ldb python-samba python-talloc samba samba-common samba-common-bin samba-libs
Suggested packages:
  python-gpgme bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools winbind heimdal-clients
Recommended packages:
  attr samba-dsdb-modules samba-vfs-modules
The following NEW packages will be installed:
  libjansson4 libsmbclient php-smbclient
The following packages will be upgraded:
  libldb1 libwbclient0 python-ldb python-samba python-talloc samba samba-common samba-common-bin samba-libs
9 upgraded, 3 newly installed, 0 to remove and 516 not upgraded.
Need to get 8555 kB of archives.
After this operation, 4259 kB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'php7.2-common' instead of 'php7.2-exif'
E: Unable to locate package php7.2-imagick
E: Couldn't find any package by glob 'php7.2-imagick'
E: Couldn't find any package by regex 'php7.2-imagick'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_MEASUREMENT = "fr_FR.UTF-8",
	LC_PAPER = "fr_FR.UTF-8",
	LC_MONETARY = "fr_FR.UTF-8",
	LC_NAME = "fr_FR.UTF-8",
	LC_CTYPE = "en_US.UTF-8",
	LC_ADDRESS = "fr_FR.UTF-8",
	LC_NUMERIC = "fr_FR.UTF-8",
	LC_TELEPHONE = "fr_FR.UTF-8",
	LC_IDENTIFICATION = "fr_FR.UTF-8",
	LC_TIME = "fr_FR.UTF-8",
	LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
Enabling conf php7.2-fpm.
To activate the new configuration, you need to run:
  systemctl reload apache2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
./update.sh: line 260: ncc: command not found
./update.sh: line 280: ncc: command not found
./update.sh: line 281: ncc: command not found
./update.sh: line 288: ncc: command not found
./update.sh: line 289: ncc: command not found
NextCloudPi updated to version v0.64.7
Done. Press any key...

Here is the NCP info:

NextCloudPi version  v0.64.7
NextCloudPi image    NextCloudPi_12-04-17
distribution         Raspbian GNU/Linux 9 \n \l
automount            no
USB devices          sda 
datadir              /media/myCloudDrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      328G/932G
rootfs usage         3.5G/3.6G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      error
HTTPD service        down
PHP service          up
MariaDB service      down
Redis service        down
Postfix service      down
internet check       ok
port check 80        closed
port check 443       closed
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               3days

How should I proceed now ?

Your sd card is full, is why you can not proceed.:persevere:
Get a bigger card and do a fresh install, maybe!?

Assuming backup is on external media you should be able to restore it to any installed instance of ncp. :smiley:

Hello,
Turns out the backup of the DB appear to be corrupted (I may have backed up something corrupted). I have lots of random character appearing (like in the Nextcloud configuration above), and the nextcloud check is “error”, the rest is ok.
I still have my data though, how can I proceed ? Do I need to create a fresh install an mv the data between the old datadir and the new one under the new users (2 users) ?

Thanks

Did you ever find a solution. I have the exact same problem now. I can access it via ssh as well.

Hello, I think I bought a new and bigger sd card. I don’t recall much I must say.

Thanks, it’s just weird, because there hadn’t been an issue in months, and now suddenly.
I’ll check the space on the SD card.