Hi - I am having a problem connecting desktop client from my ubuntu 18TLS
some investigation lead me to beleive the problem might be connection failiure with redis
some folk from the ncp telegram group where helping and requested my output to check what further what the problem might be.
@Pantelis here it is: ncp-reporter
<--! Paste this in GitHub report -->
NextCloudPi diagnostics
NextCloudPi version v0.59.0
NextCloudPi image NextCloudPi_02-06-18
distribution Raspbian GNU/Linux 9 \n \l
automount no
USB devices none
datadir /var/www/nextcloud/data
data in SD yes
data filesystem ext2/ext3
data disk usage 6.7G/30G
rootfs usage 6.7G/30G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 13.0.0.14
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 192.168.1.130
gateway 192.168.1.254
interface eth0
certificates sherab.ddns.net
NAT loopback yes
uptime 39min
Nextcloud configuration
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"1": "192.168.1.130",
"3": "sherab.ddns.net",
"2": "sherab.ddns.net",
"4": "sherab.ddns.net"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/sherab.ddns.net",
"dbtype": "mysql",
"version": "13.0.0.14",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"mail_smtpmode": "php",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"overwriteprotocol": "https",
"loglevel": "2",
"log_type": "file",
"maintenance": false
}
}
HTTPd logs
[Thu Sep 06 14:52:14.451716 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:52:17.808306 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:52:17.815190 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:52:23.199997 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:52:23.205986 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:52:27.749051 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:52:27.755974 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:53:01.268787 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:53:01.274918 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:53:11.404924 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:53:11.410965 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:53:13.525693 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:53:13.532786 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:53:21.251878 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:53:21.257725 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:53:35.035268 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:53:35.042789 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 14:54:00.313546 2018] [authz_host:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Thu Sep 06 14:54:00.320362 2018] [proxy_fcgi:error] [pid 679:tid 1733936176] [client 192.168.1.64:40626] AH01071: Got error 'PHP message: PHP Warning: fclose(): supplied resource is not a valid stream resource in /var/www/ncp-web/L10N.php on line 166\n'
[Thu Sep 06 15:00:37.545258 2018] [core:error] [pid 682:tid 1463809072] [client 185.10.68.252:60000] AH00126: Invalid URI in request GET @research.aegis.network/ HTTP/1.0
Database logs
2018-09-06 14:27:46 1638634304 [Note] /usr/sbin/mysqld: Shutdown complete
2018-09-06 14:28:14 1988341760 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-09-06 14:28:14 1988341760 [Note] InnoDB: The InnoDB memory heap is disabled
2018-09-06 14:28:14 1988341760 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-09-06 14:28:14 1988341760 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-09-06 14:28:14 1988341760 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-09-06 14:28:14 1988341760 [Note] InnoDB: Using Linux native AIO
2018-09-06 14:28:14 1988341760 [Note] InnoDB: Using generic crc32 instructions
2018-09-06 14:28:14 1988341760 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-09-06 14:28:14 1988341760 [Note] InnoDB: Completed initialization of buffer pool
2018-09-06 14:28:14 1988341760 [Note] InnoDB: Highest supported file format is Barracuda.
2018-09-06 14:28:15 1988341760 [Note] InnoDB: 128 rollback segment(s) are active.
2018-09-06 14:28:15 1988341760 [Note] InnoDB: Waiting for purge to start
2018-09-06 14:28:15 1988341760 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.35-80.0 started; log sequence number 590294623
2018-09-06 14:28:15 1442837312 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-09-06 14:28:15 1988341760 [Note] Plugin 'FEEDBACK' is disabled.
2018-09-06 14:28:15 1988341760 [Note] Server socket created on IP: '127.0.0.1'.
2018-09-06 14:28:15 1988341760 [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":"W5E3fX8AAQEAAAKcZYAAAABV","level":2,"time":"2018-09-06T14:19:41+00:00","remoteAddr":"86.177.218.49","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/dav\/files\/ncp\/Books","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '86.177.218.49')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E4638AAQEAAAKcZbYAAABU","level":2,"time":"2018-09-06T14:25:47+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E47H8AAQEAAAKcZbcAAABY","level":2,"time":"2018-09-06T14:25:48+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E47X8AAQEAAAKcZbkAAABX","level":2,"time":"2018-09-06T14:25:49+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"HEAD","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E47n8AAQEAAAKcZbsAAABG","level":2,"time":"2018-09-06T14:25:50+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E4738AAQEAAAKcZbwAAABC","level":2,"time":"2018-09-06T14:25:51+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"GET","url":"\/ocs\/v1.php\/cloud\/capabilities?format=json","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E48H8AAQEAAAKcZb0AAABI","level":2,"time":"2018-09-06T14:25:53+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"GET","url":"\/ocs\/v1.php\/cloud\/user?format=json","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E48X8AAQEAAAKb4rgAAAAM","level":2,"time":"2018-09-06T14:25:54+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/dav\/files\/ncp\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E48X8AAQEAAAKcZb4AAABH","level":2,"time":"2018-09-06T14:25:54+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"GET","url":"\/ocs\/v1.php\/cloud\/activity?page=0&pagesize=100&format=json","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E48X8AAQEAAAKb4rgAAAAI","level":2,"time":"2018-09-06T14:25:54+00:00","remoteAddr":"192.168.1.64","user":"--","app":"core","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '192.168.1.64')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"RFoAVuIO3slKH1vG5olX","level":3,"time":"2018-09-06T14:28:18+00:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Redis::connect(): connect() failed: No such file or directory at \/var\/www\/nextcloud\/lib\/private\/RedisFactory.php#84","userAgent":"--","version":"13.0.0.14"}
{"reqId":"W5E5gX8AAQEAAAKnFQ4AAAAB","level":3,"time":"2018-09-06T14:28:18+00:00","remoteAddr":"88.109.102.137","user":"--","app":"remote","method":"GET","url":"\/status.php","message":"Exception: {\"Exception\":\"RedisException\",\"Message\":\"Redis server went away\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Memcache\\\/Redis.php(54): Redis->get('4d190f1a36075e9...')\\n#1 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/App\\\/InfoParser.php(57): OC\\\\Memcache\\\\Redis->get('\\\/var\\\/www\\\/nextcl...')\\n#2 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(619): OC\\\\App\\\\InfoParser->parse('\\\/var\\\/www\\\/nextcl...')\\n#3 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(62): OC_App::getAppInfo('files')\\n#4 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(211): OC\\\\AppFramework\\\\App::buildAppNamespace('files')\\n#5 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(119): OC_App::registerAutoloading('files', '\\\/var\\\/www\\\/nextcl...')\\n#6 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/base.php(661): OC_App::loadApps(Array)\\n#7 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/base.php(1080): OC::init()\\n#8 \\\/var\\\/www\\\/nextcloud\\\/status.php(36): require_once('\\\/var\\\/www\\\/nextcl...')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Memcache\\\/Redis.php\",\"Line\":54}","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.3.3 (build 84) (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E5gX8AAQEAAAKnFQ4AAAAB","level":3,"time":"2018-09-06T14:28:18+00:00","remoteAddr":"88.109.102.137","user":"--","app":"PHP","method":"GET","url":"\/status.php","message":"Redis::connect(): connect() failed: No such file or directory at \/var\/www\/nextcloud\/lib\/private\/RedisFactory.php#84","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.3.3 (build 84) (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E9ZH8AAQEAAAKnFTAAAAAN","level":2,"time":"2018-09-06T14:44:53+00:00","remoteAddr":"86.177.218.49","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '86.177.218.49')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E9Zn8AAQEAAAKnFTEAAAAO","level":2,"time":"2018-09-06T14:44:54+00:00","remoteAddr":"86.177.218.49","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '86.177.218.49')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E9bX8AAQEAAAKnFTIAAAAP","level":2,"time":"2018-09-06T14:45:02+00:00","remoteAddr":"86.177.218.49","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '86.177.218.49')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E91H8AAQEAAAKnFTUAAAAC","level":2,"time":"2018-09-06T14:46:45+00:00","remoteAddr":"86.177.218.49","user":"--","app":"core","method":"HEAD","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '86.177.218.49')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E91n8AAQEAAAKnFTcAAAAS","level":2,"time":"2018-09-06T14:46:46+00:00","remoteAddr":"86.177.218.49","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '86.177.218.49')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E9138AAQEAAAKnFTgAAAAT","level":2,"time":"2018-09-06T14:46:48+00:00","remoteAddr":"86.177.218.49","user":"--","app":"core","method":"GET","url":"\/ocs\/v1.php\/cloud\/capabilities?format=json","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '86.177.218.49')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}
{"reqId":"W5E92H8AAQEAAAKnFTkAAAAU","level":2,"time":"2018-09-06T14:46:49+00:00","remoteAddr":"86.177.218.49","user":"--","app":"core","method":"GET","url":"\/ocs\/v1.php\/cloud\/user?format=json","message":"Login failed: 'wisdomlight@protonmail.com' (Remote IP: '86.177.218.49')","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.3.3 (Nextcloud)","version":"13.0.0.14"}