Error loading apps version 26.0.2

***[details=“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:

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:

[/details]

Nextcloud version (eg, 20.0.5): `26.0.2
Operating system and version (eg, Ubuntu 20.04): nextcloudpi 1.52.0
Apache or nginx version (eg, Apache 2.4.25): Apache2
PHP version (eg, 7.4): 8.1

The issue you are facing:

I have a problem after my update to 26.0.2. When I try to load an app from the store, nothing happens.

I tried using wget … and curl to reach the AppStore. This works without problems and I get a result back.

Is this the first time you’ve seen this error? (Y/N): N (also not working at one point in 26.0.1)

Steps to replicate it:

  1. Click on your profile
  2. Click on App
  3. Select a App (any)

The output of your Nextcloud log in Admin > Logging:

Fehler	integration_libretranslate	Exception: en is not an available language.		2023-05-26T09:44:06+0200
Fehler	PHP	foreach() argument must be of type array|object, null given at /var/www/nextcloud/apps/integration_libretranslate/vendor/jefs42/libretranslate/src/LibreTranslate.php#119		2023-05-26T09:44:06+0200
Warnung	suspicious_login	Could not predict suspiciousness: No models found		2023-05-26T09:43:55+0200
Warnung	no app in context	Login failed: Andreas Besier (Remote IP: 147.161.137.84)		2023-05-26T09:43:45+0200
Warnung	suspicious_login	Could not predict suspiciousness: No models found		2023-05-26T09:40:16+0200
Fehler	integration_libretranslate	Exception: en is not an available language.		2023-05-26T09:39:25+0200
Fehler	PHP	foreach() argument must be of type array|object, null given at /var/www/nextcloud/apps/integration_libretranslate/vendor/jefs42/libretranslate/src/LibreTranslate.php#119		2023-05-26T09:39:25+0200
Fehler	integration_libretranslate	Exception: en is not an available language.		2023-05-26T09:39:14+0200
Fehler	PHP	foreach() argument must be of type array|object, null given at /var/www/nextcloud/apps/integration_libretranslate/vendor/jefs42/libretranslate/src/LibreTranslate.php#119		2023-05-26T09:39:13+0200
Warnung	suspicious_login	Could not predict suspiciousness: No models found		2023-05-26T09:38:58+0200
Fehler	integration_libretranslate	Exception: en is not an available language.		2023-05-26T09:37:52+0200
Fehler	PHP	foreach() argument must be of type array|object, null given at /var/www/nextcloud/apps/integration_libretranslate/vendor/jefs42/libretranslate/src/LibreTranslate.php#119		2023-05-26T09:37:51+0200
Fehler	integration_libretranslate	Exception: en is not an available language.		2023-05-26T09:34:13+0200
Fehler	PHP	foreach() argument must be of type array|object, null given at /var/www/nextcloud/apps/integration_libretranslate/vendor/jefs42/libretranslate/src/LibreTranslate.php#119		2023-05-26T09:34:13+0200
Warnung	suspicious_login	Could not predict suspiciousness: No models found		2023-05-26T09:32:35+0200
Warnung	suspicious_login	Could not predict suspiciousness: No models found		2023-05-26T09:30:57+0200
Fehler	no app in context	OC\AppFramework\Utility\QueryNotFoundException: Could not resolve listener! Class "listener" does not exist		2023-05-26T09:06:41+0200
Fehler	no app in context	OC\AppFramework\Utility\QueryNotFoundException: Could not resolve externalMountProvider! Class "externalMountProvider" does not exist		2023-05-26T09:06:41+0200
Fehler	no app in context	OC\AppFramework\Utility\QueryNotFoundException: Could not resolve rootProvider!		2023-05-26T09:06:41+0200
Fehler	no app in context	OCP\AppFramework\QueryException: Could not resolve OCA\Files_Versions\Versions\IVersionManager! Class can not be instantiated		2023-05-26T09:06:41+0200
Fehler	no app in context	OC\AppFramework\Utility\QueryNotFoundException: Could not resolve trashManager! Class "trashManager" does not exist		2023-05-26T09:06:41+0200
Fehler	index	RedisException: read error on connection to /var/run/redis/redis.sock:0		2023-05-26T09:06:39+0200
Warnung	appstoreFetcher	Could not connect to appstore: cURL error 28: Operation timed out after 60054 milliseconds with 3317760 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json		2023-05-26T09:03:26+0200
Fehler	no app in context	GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 120039 milliseconds with 39719616 out of 39834513 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://objects.githubusercontent.com/github-production-release-asset-2e65be/377448625/e6b28ac8-d428-4864-aad3-a055e5acbb66?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230526%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230526T065840Z&X-Amz-Expires=300&X-Amz-Signature=3d268c143a50b49f3cbfde2c242bf00b34c7aae5c25d7b9bf739485225a2116b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=377448625&response-content-disposition=attachment%3B%20filename%3Dspreed-v16.0.4.tar.gz&response-content-type=application%2Foctet-stream		2023-05-26T09:00:42+0200
Warnung	appstoreFetcher	Could not connect to appstore: cURL error 28: Operation timed out after 60001 milliseconds with 3031034 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json		2023-05-26T08:43:22+0200
Fehler	settings	GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 120040 milliseconds with 25929920 out of 28285559 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://objects.githubusercontent.com/github-production-release-asset-2e65be/377449093/6c0e1dbe-5ab2-419d-a285-1a3e11d21a67?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230526%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230526T064103Z&X-Amz-Expires=300&X-Amz-Signature=7290357df2e8e146e5e6fe605660309f7c9152599671332f0c2b52552dc4a396&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=377449093&response-content-disposition=attachment%3B%20filename%3Dmail-v3.1.1.tar.gz&response-content-type=application%2Foctet-stream

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

$CONFIG = array (
  'passwordsalt' => 'WA/47laYhPKY4ZrtHmqw9VtR4kslys',
  'secret' => '/4xcsLC2gRkhg5KtaJqmSu4wPAGNG360EEjGEcByGkyINwQn',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    7 => 'nextcloudpi',
    5 => 'nextcloudpi.local',
    8 => 'nextcloudpi.lan',
    3 => 'endosurf.ddns.net',
    11 => '84.180.70.190',
    1 => '192.168.2.238',
    14 => 'nextcloudpi',
    20 => 'endosurf.ddns.net',
    21 => '127.0.0.1',
  ),
  'datadirectory' => '/media/clouddata/ncdata/data',
  'dbtype' => 'mysql',
  'version' => '26.0.2.1',
  'overwrite.cli.url' => 'https://endosurf.ddns.net/',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncadmin',
  'dbpassword' => 'dgLMM61tUBopcEMfUtel/szhMUQVO0He6+DLWhK5rUI=',
  'installed' => true,
  'instanceid' => 'ocgejiz3g7nb',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => '5om3W9RV3NPaPdOYDXlIbVKzLgAuH2kdclCCt0QgqP4=',
  ),
  'tempdirectory' => '/media/clouddata/ncdata/data/tmp',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'overwriteprotocol' => 'https',
  'maintenance' => false,
  'logfile' => '/media/clouddata/ncdata/data/nextcloud.log',
  'trusted_proxies' =>
  array (
    0 => '192.168.2.238',
    11 => '127.0.0.1',
    12 => '::1',
    13 => 'endosurf.ddns.net',
    14 => '84.180.70.190',
  ),
  'loglevel' => 0,
  'log_type' => 'file',
  'htaccess.RewriteBase' => '/',
  'default_phone_region' => 'DE',
  'mail_sendmailmode' => 'pipe',
  'mail_smtphost' => 'smtp.ionos.de',
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'cloud@besier.me',
  'mail_smtppassword' => '***',
  'mail_from_address' => 'cloud',
  'mail_smtpmode' => 'smtp',
  'mail_domain' => 'besier.me',
  'app_install_overwrite' =>
  array (
    0 => 'files_fulltextsearch_tesseract',
  ),
  'updater.secret' => '$2y$10$YjAyBy7bkV9THvzhbnSsU.PYNHAThj7hVa.5O0OueZrwUGcKe9/4u',
  'theme' => '',
);

[Fri May 26 08:26:57.025300 2023] [authz_host:error] [pid 1004:tid 548510679424] [remote 192.168.2.57:62249] AH01753: access check of 'localhost' to /img/toggle.svg failed, reason: unable to get the remote host name
[Fri May 26 08:26:57.025300 2023] [authz_host:error] [pid 1004:tid 548502270336] [remote 192.168.2.57:62249] AH01753: access check of 'localhost' to /img/defaults.svg failed, reason: unable to get the remote host name
[Fri May 26 08:26:57.026973 2023] [authz_host:error] [pid 1004:tid 548443406720] [remote 192.168.2.57:62249] AH01753: access check of 'localhost' to /img/poweroff.svg failed, reason: unable to get the remote host name
[Fri May 26 08:26:57.028033 2023] [authz_host:error] [pid 1004:tid 548577886592] [remote 192.168.2.57:62249] AH01753: access check of 'localhost' to /img/reboot.svg failed, reason: unable to get the remote host name
[Fri May 26 08:26:57.063389 2023] [authz_host:error] [pid 1004:tid 548434997632] [remote 192.168.2.57:62249] AH01753: access check of 'localhost' to /img/search.svg failed, reason: unable to get the remote host name, referer: https://192.168.2.238:4443/css/ncp.css
[Fri May 26 08:26:57.064336 2023] [authz_host:error] [pid 1004:tid 548544315776] [remote 192.168.2.57:62249] AH01753: access check of 'localhost' to /img/nc-button.svg failed, reason: unable to get the remote host name, referer: https://192.168.2.238:4443/css/ncp.css
[Fri May 26 08:26:57.065176 2023] [authz_host:error] [pid 1004:tid 548569493888] [remote 192.168.2.57:62249] AH01753: access check of 'localhost' to /img/dashboard.svg failed, reason: unable to get the remote host name, referer: https://192.168.2.238:4443/css/ncp.css
[Fri May 26 08:26:57.065934 2023] [authz_host:error] [pid 1004:tid 548426588544] [remote 
[Fri May 26 08:27:05.054593 2023] [authz_host:error] [pid 1004:tid 548460224896] [remote 192.168.2.57:62249] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: 
[Fri May 26 08:29:11.963909 2023] [authz_host:error] [pid 36175:tid 548594672000] [remote 192.168.2.57:62599] AH01753: access check of 'localhost' to /img/green-circle.svg failed, reason: unable to get the remote host name, referer: https://192.168.2.238:4443/css/ncp.css
[Fri May 26 08:30:37.793424 2023] [http2:warn] [pid 36175:tid 548136804736] [client 192.168.2.57:62599] h2_stream(36175-0-15,CLEANUP): started=1, scheduled=1, ready=0, out_buffer=0

You get this error as well when you go on the app page? If yes, I’d try to disable this app and check if that prevents the connection to the app store.