Cannot load and install apps

Nextcloud version (eg, 18.0.2): 20.0.4
Operating system and version (eg, Ubuntu 20.04): Linux 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.2 (fpm-fcgi)
PHP version (eg, 7.1): 7.3.25-1+0~20201130.73+debian9~1.gbp042074

The issue you are facing:

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

Steps to replicate it:

  1. Entering app store as a admin
  2. trying to load and install an app like Calendar or Contacts

The output of your Nextcloud log in Admin > Logging:

empty

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

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
        "nextcloud.art1-consult.de"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "20.0.4.0",
    "overwrite.cli.url": "http:\/\/localhost",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "installed": true,
    "mail_smtpmode": "smtp",
    "mail_smtpsecure": "ssl",
    "mail_sendmailmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "theme": "",
    "loglevel": 0,
    "encryption.legacy_format_support": false,
    "encryption.key_storage_migrated": false,
    "mysql.utf8mb4": true
}

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

2021/01/11 17:52:39 [error] 14204#14204: *1348 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.5.89.137, server: nextcloud.art1-consult.de, request: "POST /settings/apps/enable HTTP$
2021/01/11 17:53:49 [error] 14204#14204: *1348 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.5.89.137, server: ***, request: "POST /settings/apps/enable HTTP$
2021/01/11 17:55:10 [error] 14204#14204: *1348 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.5.89.137, server: ***, request: "POST /settings/apps/enable HTTP$
2021/01/11 18:08:30 [error] 14204#14204: *1630 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.62.27.25, server: ***, request: "POST /settings/apps/enable HTTP$
2021/01/11 18:09:37 [error] 14204#14204: *1630 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.62.27.25, server: ***, request: "POST /settings/apps/enable HTTP$
2021/01/11 18:11:03 [error] 14204#14204: *1672 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.5.89.137, server: ***, request: "POST /settings/apps/enable HTTP$
2021/01/11 18:11:17 [error] 14204#14204: *1630 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.62.27.25, server: ***, request: "POST /settings/apps/enable HTTP$
2021/01/11 18:13:49 [error] 14204#14204: *1672 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.5.89.137, server: ***, request: "POST /settings/apps/enable HTTP$
2021/01/11 18:15:34 [error] 14204#14204: *1630 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.62.27.25, server: ***, request: "POST /settings/apps/enable HTTP$
2021/01/11 18:21:54 [error] 605#605: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.62.27.25, server: ***, request: "POST /settings/apps/enable HTTP/2.0", $
2021/01/11 18:24:59 [error] 605#605: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.62.27.25, server: ***, request: "POST /settings/apps/enable HTTP/2.0", $
2021/01/11 18:31:55 [error] 605#605: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 91.62.27.25, server: ***, request: "GET /settings/apps/update/calendar HTT$

Hope this is a known issue and someone can assist us with this.

Kind regards
//neph

@nephilim write this in your config.php : “appstoreenabled” => true,
and try if is it ok
if not you can remove this line

I gave it a shot. Unfortunately it didn’t make a difference. Sorry, but thank you.

Any other ideas?

Kind regards
//neph

@nephilim
I did not find any solution…
you should make a backup of your server (user data, database ,config.php and other important files).
see this link : Backup — Nextcloud latest Administration Manual latest documentation
then reinstall nextcloud server and restore your backup : Restoring backup — Nextcloud latest Administration Manual latest documentation

I already did, twice. No difference. :frowning:

Just an idea because I had similar problems. Is your ISP DTAG/Telekom? The issue might be described here: https://telekomhilft.telekom.de/t5/Telefonie-Internet/Amazon-AWS-S3-Github-downloads-sehr-langsam-nicht-nutzbar/td-p/4910937/page/120