nextcloud / nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
https://nextcloudpi.com
2.49k stars 295 forks source link

NCP is configured to autologin with deactivated user `root` #1837

Open Matthionine opened 11 months ago

Matthionine commented 11 months ago

Setting up the NextCloudPi using the web interface according to the tutorial resulted in a deactivated root user (/usr/sbin/nologin option in /etc/passwd) Despite deactivating root, various configuration files of the getty service are configured to autologin root. The files I was able to locate are:

Both files contain:

ExecStart=-/sbin/agetty --noissue --autologin root %I $TERM

This leads to repeated attempts to login root (every 10-12s in my case) which all get logged in the journal:

Oct 07 00:24:23 nextcloudpi nologin[1233533]: Attempted login by root (UID: 0) on /dev/ttyAML0

In my opinion this should be prevented by removing --autologin root or setting it to a active standard user.

See my thread in the nextcloud community about this issue.

I am running NextCloudPi on an Odroid-HC4 and currently have NextCloudPi 1.52.54 (which is the newest version installed by the automatic updates)

System information

NextcloudPi diagnostics ``` NextcloudPi version v1.52.4 NextcloudPi image OS Armbian 23.02.2 Bullseye \l . 6.1.11-meson64 (aarch64) automount no USB devices none datadir /mnt/data/ncdata/data data in SD no data filesystem ext2/ext3 data disk usage 14G/3.6T rootfs usage 3.3G/29G swapfile /mnt/swappart/swap dbdir /mnt/data/mysql/ Nextcloud check ok Nextcloud version 27.0.1.2 HTTPD service up PHP service up MariaDB service up Redis service up HPB service down Postfix service up Internet check ok Public IPv4 ***REMOVED SENSITIVE VALUE*** Public IPv6 ***REMOVED SENSITIVE VALUE*** Port 80 open Port 443 open IP ***REMOVED SENSITIVE VALUE*** Gateway ***REMOVED SENSITIVE VALUE*** Interface eth0 Certificates ***REMOVED SENSITIVE VALUE*** NAT loopback no Uptime 40min ```
Nextcloud configuration ``` { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "7": "nextcloudpi", "5": "nextcloudpi.local", "8": "nextcloudpi.lan", "3": "***REMOVED SENSITIVE VALUE***", "11": "***REMOVED SENSITIVE VALUE***", "1": "192.168.0.88", "14": "nextcloudpi" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "27.0.1.2", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "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***" }, "tempdirectory": "\/mnt\/data\/ncdata\/data\/tmp", "mail_smtpmode": "sendmail", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "preview_max_x": "2048", "preview_max_y": "2048", "jpeg_quality": "60", "overwriteprotocol": "https", "maintenance": false, "logfile": "\/mnt\/data\/ncdata\/data\/nextcloud.log", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "default_phone_region": "SE", "loglevel": "2", "log_type": "file" } } ```
HTTPd logs ``` [Sat Oct 07 11:29:08.830313 2023] [mpm_event:notice] [pid 2050:tid 281473583644688] AH00492: caught SIGWINCH, shutting down gracefully [Sat Oct 07 11:29:17.485796 2023] [ssl:warn] [pid 1583:tid 281473229877264] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Sat Oct 07 11:29:17.755698 2023] [ssl:warn] [pid 2108:tid 281473229877264] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name [Sat Oct 07 11:29:17.765950 2023] [mpm_event:notice] [pid 2108:tid 281473229877264] AH00489: Apache/2.4.56 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations [Sat Oct 07 11:29:17.766237 2023] [core:notice] [pid 2108:tid 281473229877264] AH00094: Command line: '/usr/sbin/apache2' ```
Database logs ``` tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory ```
Nextcloud logs ``` {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Remove old dashboard app config data","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add job to cleanup the bruteforce entries","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Queue a one-time job to check for user uploaded certificates","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Repair DAV shares","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add background job to set the lookup server share state for users","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add token cleanup job","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Clean up abandoned apps","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add possibly missing system config","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:28+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:40+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:40+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"27.0.1.2","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:40+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"--","version":"27.0.1.2","data":{"app":"updater"}} {"reqId":"9xt7qpnr166hI59z15pj","level":1,"time":"2023-10-01T19:56:40+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"27.0.1.2","data":{"app":"updater"}} {"reqId":"ZRrFvaW9SxfRLWvdxAwMPwAADxg","level":2,"time":"2023-10-02T13:29:35+00:00","remoteAddr":"84.216.128.96","user":"--","app":"no app in context","method":"POST","url":"/index.php/login","message":"Login failed: ncp (Remote IP: 84.216.128.96)","userAgent":"Mozilla/5.0 (Android 12; Mobile; rv:109.0) Gecko/118.0 Firefox/118.0","version":"27.0.1.2","data":[]} {"reqId":"ZRyMpb8ba3rI0pHnr43JhgAAABc","level":3,"time":"2023-10-03T21:50:29+00:00","remoteAddr":"192.168.0.212","user":"--","app":"remote","method":"PUT","url":"/remote.php/dav/files/kanwal/Photos/Camera/Camera/20230522_171148.jpg","message":"read error on connection to /var/run/redis/redis.sock:0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"27.0.1.2","exception":{"Exception":"RedisException","Message":"read error on connection to /var/run/redis/redis.sock:0","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":72,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/InfoParser.php","line":58,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":732,"function":"parse","class":"OC\\App\\InfoParser","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":434,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":71,"function":"getAppInfo","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":155,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":703,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1180,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":119,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":72,"message":"read error on connection to /var/run/redis/redis.sock:0","exception":{},"CustomMessage":"read error on connection to /var/run/redis/redis.sock:0"}} {"reqId":"ZRyMpb8ba3rI0pHnr43JhQAAAAE","level":4,"time":"2023-10-03T21:50:29+00:00","remoteAddr":"192.168.0.212","user":"kanwal","app":"no app in context","method":"HEAD","url":"/remote.php/dav/files/kanwal/Photos/Camera/Camera/20230525_161534.jpg","message":"Could not boot notify_push: read error on connection to /var/run/redis/redis.sock:0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"27.0.1.2","exception":{"Exception":"RedisException","Message":"read error on connection to /var/run/redis/redis.sock:0","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/RedisFactory.php","line":143,"function":"auth","class":"Redis","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/RedisFactory.php","line":178,"function":"create","class":"OC\\RedisFactory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php","line":62,"function":"getInstance","class":"OC\\RedisFactory","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":171,"function":"OCA\\NotifyPush\\AppInfo\\{closure}","class":"OCA\\NotifyPush\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":122,"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":138,"function":"offsetGet","class":"Pimple\\Container","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":488,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":466,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":97,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"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":116,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":494,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":466,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":65,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":49,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"function":"OC\\AppFramework\\Bootstrap\\{closure}","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":66,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->"},{"file":"/var/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php","line":70,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\NotifyPush\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":437,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":216,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":126,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":157,"function":"loadApps","class":"OC_App","type":"::"}],"File":"/var/www/nextcloud/lib/private/RedisFactory.php","Line":143,"message":"Could not boot notify_push: read error on connection to /var/run/redis/redis.sock:0","exception":{},"CustomMessage":"Could not boot notify_push: read error on connection to /var/run/redis/redis.sock:0"}} {"reqId":"ZRyMpb8ba3rI0pHnr43JhQAAAAE","level":4,"time":"2023-10-03T21:50:29+00:00","remoteAddr":"192.168.0.212","user":"kanwal","app":"no app in context","method":"HEAD","url":"/remote.php/dav/files/kanwal/Photos/Camera/Camera/20230525_161534.jpg","message":"Could not boot workflowengine: Connection lost","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"27.0.1.2","exception":{"Exception":"RedisException","Message":"Connection lost","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":72,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/apps/workflowengine/lib/Manager.php","line":160,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"file":"/var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php","line":73,"function":"getAllConfiguredEvents","class":"OCA\\WorkflowEngine\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":66,"function":"registerRuleListeners","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->"},{"file":"/var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php","line":65,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":437,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":216,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":126,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":157,"function":"loadApps","class":"OC_App","type":"::"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":72,"message":"Could not boot workflowengine: Connection lost","exception":{},"CustomMessage":"Could not boot workflowengine: Connection lost"}} {"reqId":"ZRyMpb8ba3rI0pHnr43JhgAAABc","level":3,"time":"2023-10-03T21:50:29+00:00","remoteAddr":"192.168.0.212","user":"--","app":"core","method":"PUT","url":"/remote.php/dav/files/kanwal/Photos/Camera/Camera/20230522_171148.jpg","message":"read error on connection to /var/run/redis/redis.sock:0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"27.0.1.2","exception":{"Exception":"RedisException","Message":"read error on connection to /var/run/redis/redis.sock:0","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":72,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/InfoParser.php","line":58,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":732,"function":"parse","class":"OC\\App\\InfoParser","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":434,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":71,"function":"getAppInfo","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":155,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":119,"function":"registerAutoloading","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":90,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":703,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1180,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":119,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":72,"CustomMessage":"--"}} {"reqId":"ZRyMpb8ba3rI0pHnr43JhgAAABc","level":3,"time":"2023-10-03T21:50:29+00:00","remoteAddr":"192.168.0.212","user":"--","app":"core","method":"PUT","url":"/remote.php/dav/files/kanwal/Photos/Camera/Camera/20230522_171148.jpg","message":"Redis server /var/run/redis/redis.sock:0 went away","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"27.0.1.2","exception":{"Exception":"RedisException","Message":"Redis server /var/run/redis/redis.sock:0 went away","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":72,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/InfoParser.php","line":58,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":732,"function":"parse","class":"OC\\App\\InfoParser","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":747,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":407,"function":"getAppVersion","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":711,"function":"getAppVersion","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Util.php","line":1208,"function":"shouldUpgrade","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/public/Util.php","line":570,"function":"needUpgrade","class":"OC_Util","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":113,"function":"needUpgrade","class":"OCP\\Util","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":77,"function":"initTemplateEngine","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":321,"function":"__construct","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":88,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/remote.php","line":174,"function":"handleException"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":72,"CustomMessage":"--"}} {"reqId":"ZRyR_zSOxCIWA6Tkte69cAAAAEQ","level":3,"time":"2023-10-03T22:13:19+00:00","remoteAddr":"192.168.0.212","user":"kanwal","app":"webdav","method":"HEAD","url":"/remote.php/dav/files/kanwal/Photos/Camera/Camera/20220710_140759.jpg","message":"read error on connection to /var/run/redis/redis.sock:0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.26.0","version":"27.0.1.2","exception":{"Exception":"RedisException","Message":"read error on connection to /var/run/redis/redis.sock:0","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":72,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/SetupManager.php","line":485,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/SetupManager.php","line":399,"function":"fullSetupRequired","class":"OC\\Files\\SetupManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Mount/Manager.php","line":95,"function":"setupForPath","class":"OC\\Files\\SetupManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Filesystem.php","line":306,"function":"find","class":"OC\\Files\\Mount\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":216,"function":"resolvePath","class":"OC\\Files\\Filesystem","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1826,"function":"resolvePath","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":215,"function":"verifyPath","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":78,"function":"getChild","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":73,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":73,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":73,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/DAV/ViewOnlyPlugin.php","line":73,"function":"getNodeForPath","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"checkViewOnly","class":"OCA\\DAV\\DAV\\ViewOnlyPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpHead","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":364,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":72,"message":"read error on connection to /var/run/redis/redis.sock:0","exception":{},"CustomMessage":"read error on connection to /var/run/redis/redis.sock:0"}} ```