(NCP) fails to load after apt upgrade - Service unavailable

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 24.0.5.1
Operating system and version (eg, Ubuntu 20.04): Debian 11 bullseye
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.54 (Debian)
PHP version (eg, 7.4): 8.1

The issue you are facing:
NC gives me: Service Unavailable

After an apt-upgrade, my NC does not work anymore. Maybe it was triggered my the apt upgrade, maybe not. I don’t know :slight_smile:
Can anyone help me, please?

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

nextcloud.log

{"reqId":"Y0DZvncyAHV2UgauC3oOZwAAAA0","level":3,"time":"2022-10-08T02:00:30+00:00","remoteAddr":"MyIP","user":"--","app":"index","method":"GET","url":"/favicon.ico","message":"LOADING Redis is loading the dataset in memory","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","exception":{"Exception":"RedisException","Message":"LOADING Redis is loading the dataset in memory","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":48,"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":506,"function":"parse","class":"OC\\App\\InfoParser","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":595,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":74,"function":"getAppInfo","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":280,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":117,"function":"registerAutoloading","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":91,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":661,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1111,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/index.php","line":34,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":48,"CustomMessage":"--"}}
{"reqId":"Y0DZvncyAHV2UgauC3oOZwAAAA0","level":3,"time":"2022-10-08T02:00:30+00:00","remoteAddr":"MyIP","user":"--","app":"core","method":"GET","url":"/favicon.ico","message":"LOADING Redis is loading the dataset in memory","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","exception":{"Exception":"RedisException","Message":"LOADING Redis is loading the dataset in memory","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":48,"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":506,"function":"parse","class":"OC\\App\\InfoParser","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":595,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":74,"function":"getAppInfo","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":280,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":117,"function":"registerAutoloading","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":91,"function":"registerApps","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":661,"function":"runInitialRegistration","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/base.php","line":1111,"function":"init","class":"OC","type":"::"},{"file":"/var/www/nextcloud/index.php","line":34,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":48,"CustomMessage":"--"}}
{"reqId":"Y0DZvncyAHV2UgauC3oOZwAAAA0","level":3,"time":"2022-10-08T02:00:30+00:00","remoteAddr":"MyIP","user":"--","app":"core","method":"GET","url":"/favicon.ico","message":"LOADING Redis is loading the dataset in memory","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36","version":"24.0.5.1","exception":{"Exception":"RedisException","Message":"LOADING Redis is loading the dataset in memory","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":48,"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":506,"function":"parse","class":"OC\\App\\InfoParser","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":521,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":568,"function":"getAppVersion","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":891,"function":"getAppVersion","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Util.php","line":1225,"function":"shouldUpgrade","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/public/Util.php","line":579,"function":"needUpgrade","class":"OC_Util","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":116,"function":"needUpgrade","class":"OCP\\Util","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":78,"function":"initTemplateEngine","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":324,"function":"__construct","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/index.php","line":74,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":48,"CustomMessage":"--"}}
{"reqId":"Y0Ksv9BvBLYcj2EM-Kn4QAAAAMQ","level":2,"time":"2022-10-09T11:13:04+00:00","remoteAddr":"MyIP","user":"her","app":"no app in context","method":"HEAD","url":"/remote.php/dav/files/her//Photos/Nesortirano/20221008_122813.jpg","message":"File with name /Photos/Nesortirano/20221008_122813.jpg could not be located","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.20.1","version":"24.0.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\NotFound","Message":"File with name /Photos/Nesortirano/20221008_122813.jpg could not be located","Code":0,"Trace":[{"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/apps/dav/lib/DAV/ViewOnlyPlugin.php","line":75,"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":358,"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":166,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","Line":242,"message":"File with name /Photos/Nesortirano/20221008_122813.jpg could not be located","exception":{},"CustomMessage":"File with name /Photos/Nesortirano/20221008_122813.jpg could not be located"}}
{"reqId":"64HL3vlK801gciNwEKIE","level":2,"time":"2022-10-10T04:25:39+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Failed to connect to apps.nextcloud.com port 443: Connection timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json","userAgent":"--","version":"24.0.5.1","data":{"app":"appstoreFetcher"}}
{"reqId":"WRJefkrg1cjbNdQ3qqPz","level":2,"time":"2022-10-11T04:26:09+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 60000 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json","userAgent":"--","version":"24.0.5.1","data":{"app":"appstoreFetcher"}}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => 'Something',
  'secret' => 'Something',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    5 => 'nextcloudpi.local',
    7 => 'nextcloudpi',
    8 => 'nextcloudpi.lan',
    1 => '192.168.0.100',
    12 => 'MyURL',
    11 => 'MyIP',
    20 => '192.168.0.100',
    21 => 'MyURL',
    13 => 'www.MyURL',
    22 => 'MyURL',
    23 => 'www.MyURL',
    3 => 'MyURL',
    '' => 'MyURL',
    14 => 'nextcloudpi',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '24.0.5.1',
  'overwrite.cli.url' => 'https://MyURL/',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncadmin',
  'dbpassword' => 'something',
  'installed' => true,
  'instanceid' => 'something',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => 'Something',
  ),
  'tempdirectory' => '/var/www/nextcloud/data/tmp',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'admin',
  'mail_domain' => 'MyURL',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'overwriteprotocol' => 'https',
  'loglevel' => '2',
  'log_type' => 'file',
  'maintenance' => false,
  'theme' => '',
  'mail_sendmailmode' => 'smtp',
  'enable_previews' => true,
  'trusted_proxies' => 
  array (
    11 => '127.0.0.1',
    12 => '::1',
    13 => 'MyURL',
    14 => 'IP address',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

/var/log/apache2/nc-error.log

...
[Tue Oct 11 21:48:37.068571 2022] [proxy_fcgi:error] [pid 782:tid 547417485696] [client MyExternal_IP:43954] AH01067: Failed to read FastCGI header
[Tue Oct 11 21:48:37.068672 2022] [proxy_fcgi:error] [pid 782:tid 547417485696] (104)Connection reset by peer: [client MyExternal_IP:43954] AH01075: Error dispatching request to : 
[Tue Oct 11 21:48:38.944340 2022] [proxy_fcgi:error] [pid 782:tid 547417485696] [client MyExternal_IP:43954] AH01067: Failed to read FastCGI header, referer: https://MyDomain/index.php/apps/photos/service-worker.js
[Tue Oct 11 21:48:38.944398 2022] [proxy_fcgi:error] [pid 782:tid 547417485696] (104)Connection reset by peer: [client MyExternal_IP:43954] AH01075: Error dispatching request to : , referer: https://MyDomain/index.php/apps/photos/service-worker.js
[Tue Oct 11 21:49:08.057904 2022] [proxy_fcgi:error] [pid 782:tid 547417485696] [client MyExternal_IP:38428] AH01067: Failed to read FastCGI header, referer: https://MyDomain/index.php/apps/photos/service-worker.js
[Tue Oct 11 21:49:08.057985 2022] [proxy_fcgi:error] [pid 782:tid 547417485696] (104)Connection reset by peer: [client MyExternal_IP:38428] AH01075: Error dispatching request to : , referer: https://MyDomain/index.php/apps/photos/service-worker.js
[Tue Oct 11 21:59:34.045764 2022] [proxy_fcgi:error] [pid 782:tid 547417485696] [client MyExternal_IP:35046] AH01067: Failed to read FastCGI header
[Tue Oct 11 21:59:34.045873 2022] [proxy_fcgi:error] [pid 782:tid 547417485696] (104)Connection reset by peer: [client MyExternal_IP:35046] AH01075: Error dispatching request to : 
[Tue Oct 11 21:59:34.066646 2022] [proxy_fcgi:error] [pid 781:tid 547417485696] [client MyExternal_IP:35048] AH01067: Failed to read FastCGI header
[Tue Oct 11 21:59:34.066736 2022] [proxy_fcgi:error] [pid 781:tid 547417485696] (104)Connection reset by peer: [client MyExternal_IP:35048] AH01075: Error dispatching request to : 
/var/log/apache2/error.log

root@nextcloudpi:/var/log/apache2# cat error.log
[Wed Oct 12 00:00:01.979983 2022] [ssl:warn] [pid 771:tid 547615499328] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 12 00:00:01.982551 2022] [mpm_event:notice] [pid 771:tid 547615499328] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Wed Oct 12 00:00:01.982622 2022] [core:notice] [pid 771:tid 547615499328] AH00094: Command line: '/usr/sbin/apache2'
[Wed Oct 12 18:40:00.174813 2022] [authz_host:error] [pid 14302:tid 547576955264] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:19.459691 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:19.508997 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:19.509702 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:19.553856 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:21.657190 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /js/minified.js failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/?app=nc-hdd-test
[Wed Oct 12 18:43:21.674011 2022] [authz_host:error] [pid 14302:tid 547425886592] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /js/ncp.js failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/?app=nc-hdd-test
[Wed Oct 12 18:43:21.675681 2022] [authz_host:error] [pid 14302:tid 547434279296] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /css/ncp.css failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/?app=nc-hdd-test
[Wed Oct 12 18:43:21.681837 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/ncp-logo.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/?app=nc-hdd-test
[Wed Oct 12 18:43:21.690811 2022] [authz_host:error] [pid 14302:tid 547425886592] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/toggle.svg failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:21.691512 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/loading-small.gif failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/?app=nc-hdd-test
[Wed Oct 12 18:43:21.713596 2022] [authz_host:error] [pid 14302:tid 547400683904] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/defaults.svg failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:21.730679 2022] [authz_host:error] [pid 14302:tid 547400683904] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/search.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.733937 2022] [authz_host:error] [pid 14302:tid 547400683904] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/nc-button.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.741268 2022] [authz_host:error] [pid 14302:tid 547400683904] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/dashboard.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.745443 2022] [authz_host:error] [pid 14302:tid 547400683904] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/defaults-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.745507 2022] [authz_host:error] [pid 14302:tid 547434279296] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/wizard.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.745876 2022] [authz_host:error] [pid 14302:tid 547425886592] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/logs.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.746097 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.757670 2022] [authz_host:error] [pid 14302:tid 547425886592] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/poweroff.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.759003 2022] [authz_host:error] [pid 14302:tid 547425886592] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.759949 2022] [authz_host:error] [pid 14302:tid 547425886592] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.760844 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.0.100:4443/css/ncp.css
[Wed Oct 12 18:43:21.833268 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/reboot.svg failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:21.862203 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:22.027975 2022] [authz_host:error] [pid 14302:tid 547425886592] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:22.027979 2022] [authz_host:error] [pid 14302:tid 547576955264] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:26.879520 2022] [authz_host:error] [pid 14302:tid 547576955264] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:32.423147 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Oct 12 18:43:32.471818 2022] [authz_host:error] [pid 14302:tid 547585347968] [client 192.168.0.21:37828] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

In NextCloudPi Panel i get:

An unhandled exception has been thrown:
RedisException: read error on connection to /var/run/redis/redis.sock:0 in /var/www/nextcloud/lib/private/Memcache/Redis.php:48
Stack trace:
#0 /var/www/nextcloud/lib/private/Memcache/Redis.php(48): Redis->get()
#1 /var/www/nextcloud/lib/private/App/InfoParser.php(58): OC\Memcache\Redis->get()
#2 /var/www/nextcloud/lib/private/App/AppManager.php(506): OC\App\InfoParser->parse()
#3 /var/www/nextcloud/lib/private/legacy/OC_App.php(595): OC\App\AppManager->getAppInfo()
#4 /var/www/nextcloud/lib/private/AppFramework/App.php(74): OC_App::getAppInfo()
#5 /var/www/nextcloud/lib/private/legacy/OC_App.php(280): OC\AppFramework\App::buildAppNamespace()
#6 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(117): OC_App::registerAutoloading()
#7 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(91): OC\AppFramework\Bootstrap\Coordinator->registerApps()
#8 /var/www/nextcloud/lib/base.php(661): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()
#9 /var/www/nextcloud/lib/base.php(1111): OC::init()
#10 /var/www/nextcloud/console.php(48): require_once('...')
#11 /var/www/nextcloud/occ(11): require_once('...')
#12 {main}

✓ redis is configured
✓ push server is receiving redis messages
✓ push server can load mount info from database
🗴 push server can't connect to the Nextcloud server
Invalid response when getting test cookie


This was upgraded:
APT history.log

Start-Date: 2022-10-09  13:12:00
Commandline: apt upgrade
Requested-By: pi (1000)
Install: python3-toml:arm64 (0.10.1-1, automatic)
Upgrade: php8.1-bcmath:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), rpi-eeprom:arm64 (13.16-1, 13.17-2), tzdata:arm64 (2021a-1+deb11u5, 2021a-1+deb11u6), libpcre3:arm64 (2:8.39-13, 2:8.44-2+0~20210301.9+debian11~1.gbpa278ad), raspi-config:arm64 (20220907, 20220920), php8.1-opcache:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-mysql:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-curl:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-intl:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), libxml2:arm64 (2.9.10+dfsg-6.7+deb11u2, 2.9.14+dfsg-0+0~20220524.12+debian11~1.gbpc5dc45), php8.1-mbstring:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), libpcre2-16-0:arm64 (10.36-2+deb11u1, 10.40-1+0~20220713.16+debian11~1.gbpb6cec5), php8.1-common:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-readline:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-gd:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), libgtk-3-0:arm64 (3.24.24-4+rpt4+deb11u2, 3.24.24-4+rpt6+deb11u2), gtk-update-icon-cache:arm64 (3.24.24-4+rpt4+deb11u2, 3.24.24-4+rpt6+deb11u2), libgtk-3-common:arm64 (3.24.24-4+rpt4+deb11u2, 3.24.24-4+rpt6+deb11u2), libgtk-3-bin:arm64 (3.24.24-4+rpt4+deb11u2, 3.24.24-4+rpt6+deb11u2), php8.1-bz2:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-cli:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-fpm:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-ldap:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-gmp:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), php8.1-xml:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce), raspberrypi-sys-mods:arm64 (20220901, 20220915), php8.1-zip:arm64 (8.1.10-2+0~20220918.26+debian11~1.gbp595f64, 8.1.11-1+0~20220929.27+debian11~1.gbpe414ce)
End-Date: 2022-10-09  13:13:18

Most likely your issue is caused by apt upgrade :frowning: .
ncp shouldn’t be updated via apt. Always update via the WebUI (IP:4443) or ncp-config.
See also: Staying up to date

Thanks for your answer. I see that now.
But is there a way to fix it?

There are for sure some experienced people out there.
From my point of knowledge there is only the hope that you have a current backup :frowning: .
Sorry for that.

Edit: my bad, NC 24 is compatible with PHP 8.1 :pray: I got it wrong, it’s 23 that isn’t.


The easiest way to recover would for sure be to use a backup if you have one

Thanks for the reply ZendaiOwl, in the meantime i installed all php8.0 modules that got upgraded to 8.1. After that i did:

sudo a2dismod php7.4 php8.1


Now, enable PHP 8.0 module in Apache server.

sudo a2enmod php8.0


sudo service apache2 restart


* **For Command Line Interface:-**

sudo update-alternatives --set php /usr/bin/php8.0


sudo update-alternatives --set phar /usr/bin/phar8.0


sudo update-alternatives --set phar.phar /usr/bin/phar.phar8.0


sudo update-alternatives --set phpize /usr/bin/phpize8.0


sudo update-alternatives --set php-config /usr/bin/php-config8.0

But the result is the same...
Any other suggestions (other than backup)?

Thanks :)

Hmm, I see

I don’t know :pray: but there are a couple things that might be pointing to the cause in the logs you provided, I parsed them through jq so they’re a little bit easier to read

NC Logs parsed/formatted through jq
{
  "reqId": "Y0DZvncyAHV2UgauC3oOZwAAAA0",
  "level": 3,
  "time": "2022-10-08T02:00:30+00:00",
  "remoteAddr": "MyIP",
  "user": "--",
  "app": "index",
  "method": "GET",
  "url": "/favicon.ico",
  "message": "LOADING Redis is loading the dataset in memory",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
  "version": "24.0.5.1",
  "exception": {
    "Exception": "RedisException",
    "Message": "LOADING Redis is loading the dataset in memory",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/Memcache/Redis.php",
        "line": 48,
        "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": 506,
        "function": "parse",
        "class": "OC\\App\\InfoParser",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
        "line": 595,
        "function": "getAppInfo",
        "class": "OC\\App\\AppManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 74,
        "function": "getAppInfo",
        "class": "OC_App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
        "line": 280,
        "function": "buildAppNamespace",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
        "line": 117,
        "function": "registerAutoloading",
        "class": "OC_App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
        "line": 91,
        "function": "registerApps",
        "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 661,
        "function": "runInitialRegistration",
        "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 1111,
        "function": "init",
        "class": "OC",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/index.php",
        "line": 34,
        "args": [
          "/var/www/nextcloud/lib/base.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/Memcache/Redis.php",
    "Line": 48,
    "CustomMessage": "--"
  }
}
{
  "reqId": "Y0DZvncyAHV2UgauC3oOZwAAAA0",
  "level": 3,
  "time": "2022-10-08T02:00:30+00:00",
  "remoteAddr": "MyIP",
  "user": "--",
  "app": "core",
  "method": "GET",
  "url": "/favicon.ico",
  "message": "LOADING Redis is loading the dataset in memory",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
  "version": "24.0.5.1",
  "exception": {
    "Exception": "RedisException",
    "Message": "LOADING Redis is loading the dataset in memory",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/Memcache/Redis.php",
        "line": 48,
        "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": 506,
        "function": "parse",
        "class": "OC\\App\\InfoParser",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
        "line": 595,
        "function": "getAppInfo",
        "class": "OC\\App\\AppManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 74,
        "function": "getAppInfo",
        "class": "OC_App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
        "line": 280,
        "function": "buildAppNamespace",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
        "line": 117,
        "function": "registerAutoloading",
        "class": "OC_App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
        "line": 91,
        "function": "registerApps",
        "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 661,
        "function": "runInitialRegistration",
        "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 1111,
        "function": "init",
        "class": "OC",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/index.php",
        "line": 34,
        "args": [
          "/var/www/nextcloud/lib/base.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/Memcache/Redis.php",
    "Line": 48,
    "CustomMessage": "--"
  }
}
{
  "reqId": "Y0DZvncyAHV2UgauC3oOZwAAAA0",
  "level": 3,
  "time": "2022-10-08T02:00:30+00:00",
  "remoteAddr": "MyIP",
  "user": "--",
  "app": "core",
  "method": "GET",
  "url": "/favicon.ico",
  "message": "LOADING Redis is loading the dataset in memory",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
  "version": "24.0.5.1",
  "exception": {
    "Exception": "RedisException",
    "Message": "LOADING Redis is loading the dataset in memory",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/Memcache/Redis.php",
        "line": 48,
        "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": 506,
        "function": "parse",
        "class": "OC\\App\\InfoParser",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/App/AppManager.php",
        "line": 521,
        "function": "getAppInfo",
        "class": "OC\\App\\AppManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
        "line": 568,
        "function": "getAppVersion",
        "class": "OC\\App\\AppManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
        "line": 891,
        "function": "getAppVersion",
        "class": "OC_App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_Util.php",
        "line": 1225,
        "function": "shouldUpgrade",
        "class": "OC_App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/public/Util.php",
        "line": 579,
        "function": "needUpgrade",
        "class": "OC_Util",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_Template.php",
        "line": 116,
        "function": "needUpgrade",
        "class": "OCP\\Util",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_Template.php",
        "line": 78,
        "function": "initTemplateEngine",
        "class": "OC_Template",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_Template.php",
        "line": 324,
        "function": "__construct",
        "class": "OC_Template",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/index.php",
        "line": 74,
        "function": "printExceptionErrorPage",
        "class": "OC_Template",
        "type": "::"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/Memcache/Redis.php",
    "Line": 48,
    "CustomMessage": "--"
  }
}
{
  "reqId": "Y0Ksv9BvBLYcj2EM-Kn4QAAAAMQ",
  "level": 2,
  "time": "2022-10-09T11:13:04+00:00",
  "remoteAddr": "MyIP",
  "user": "her",
  "app": "no app in context",
  "method": "HEAD",
  "url": "/remote.php/dav/files/her//Photos/Nesortirano/20221008_122813.jpg",
  "message": "File with name /Photos/Nesortirano/20221008_122813.jpg could not be located",
  "userAgent": "Mozilla/5.0 (Android) Nextcloud-android/3.20.1",
  "version": "24.0.5.1",
  "exception": {
    "Exception": "Sabre\\DAV\\Exception\\NotFound",
    "Message": "File with name /Photos/Nesortirano/20221008_122813.jpg could not be located",
    "Code": 0,
    "Trace": [
      {
        "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/apps/dav/lib/DAV/ViewOnlyPlugin.php",
        "line": 75,
        "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": 358,
        "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": 166,
        "args": [
          "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php",
    "Line": 242,
    "message": "File with name /Photos/Nesortirano/20221008_122813.jpg could not be located",
    "exception": {},
    "CustomMessage": "File with name /Photos/Nesortirano/20221008_122813.jpg could not be located"
  }
}
{
  "reqId": "64HL3vlK801gciNwEKIE",
  "level": 2,
  "time": "2022-10-10T04:25:39+00:00",
  "remoteAddr": "",
  "user": "--",
  "app": "appstoreFetcher",
  "method": "",
  "url": "--",
  "message": "Could not connect to appstore: cURL error 28: Failed to connect to apps.nextcloud.com port 443: Connection timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json",
  "userAgent": "--",
  "version": "24.0.5.1",
  "data": {
    "app": "appstoreFetcher"
  }
}
{
  "reqId": "WRJefkrg1cjbNdQ3qqPz",
  "level": 2,
  "time": "2022-10-11T04:26:09+00:00",
  "remoteAddr": "",
  "user": "--",
  "app": "appstoreFetcher",
  "method": "",
  "url": "--",
  "message": "Could not connect to appstore: cURL error 28: Operation timed out after 60000 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json",
  "userAgent": "--",
  "version": "24.0.5.1",
  "data": {
    "app": "appstoreFetcher"
  }
}

A file that couldn’t be located, seemingly a typo in the url path? I don’t know

  "reqId": "Y0Ksv9BvBLYcj2EM-Kn4QAAAAMQ",
  "level": 2,
  "time": "2022-10-09T11:13:04+00:00",
  "remoteAddr": "MyIP",
  "user": "her",
  "app": "no app in context",
  "method": "HEAD",
  "url": "/remote.php/dav/files/her//Photos/Nesortirano/20221008_122813.jpg",
  "message": "File with name /Photos/Nesortirano/20221008_122813.jpg could not be located",
  "userAgent": "Mozilla/5.0 (Android) Nextcloud-android/3.20.1",
  "version": "24.0.5.1",
  "exception": {
    "Exception": "Sabre\\DAV\\Exception\\NotFound",
    "Message": "File with name /Photos/Nesortirano/20221008_122813.jpg could not be located",

A failure to connect to apps.nextcloud.com

  "reqId": "64HL3vlK801gciNwEKIE",
  "level": 2,
  "time": "2022-10-10T04:25:39+00:00",
  "remoteAddr": "",
  "user": "--",
  "app": "appstoreFetcher",
  "method": "",
  "url": "--",
  "message": "Could not connect to appstore: cURL error 28: Failed to connect to apps.nextcloud.com port 443: Connection timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json",
  "userAgent": "--",
  "version": "24.0.5.1",
  "data": {
    "app": "appstoreFetcher"

There’s also a couple error messages from the app manager in the stack-trace

Maybe you could try and disable all your apps? :pray:

See if that helps

1 Like

Maaaan, you did it!

This was it! I remember installing two apps a couple of days before the fasilure:
-Notes
-Quicknotes

Now i removed both of them with:
sudo -u www-data php occ app:disable notes
sudo -u www-data php occ app:disable quicknotes
reboot

And it works!
I can’t express how thankful i am :smiley:
Thank you very very much ZendaiOwl !

1 Like

Unfortunately, it doesn’t work anymore… :sleepy:

I bit the sour apple and restored from backup (disk image). Thanks anyway.