App Store "Could not load apps list. Please try again later" error

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 34.0.1
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04.4 LTS
  • Web server and version (e.g, Apache 2.4.25):
    • apache2 2.4.58-1ubuntu8.1
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • none
  • PHP version (e.g, 8.3):
    • 8.3.6
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After update from 33.0.6 to 34.0.1
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

After upgrading to 34.0.1 the Apps Store is empty. It shows an error “Could not load apps list. Please try again later.”.

Steps to replicate it (hint: details matter!):

  1. Upgrade from 33.0.6 to 34.0.1.

  2. Run db:add-missing-indices.

Log entries

{
  "reqId": "C5iIR5S8WzveYqu94If2",
  "level": 3,
  "time": "2026-07-04T10:19:03+00:00",
  "remoteAddr": "2a00:1e:e102:5301:4563:81ce:7f2e:7934",
  "user": "admin",
  "app": "no app in context",
  "method": "GET",
  "url": "/nextcloud/ocs/v2.php/apps/appstore/api/v1/apps",
  "scriptName": "/nextcloud/ocs/v2.php",
  "message": "Value (skynettechnologiesallinoneaccessibility) for app is too long (32)",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko/20100101 Firefox/152.0",
  "version": "34.0.1.2",
  "exception": {
    "Exception": "InvalidArgumentException",
    "Message": "Value (skynettechnologiesallinoneaccessibility) for app is too long (32)",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud2/lib/private/AppConfig.php",
        "line": 511,
        "function": "assertParams",
        "class": "OC\\AppConfig",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/lib/private/AppConfig.php",
        "line": 388,
        "function": "getTypedValue",
        "class": "OC\\AppConfig",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/apps/appstore/lib/Controller/ApiController.php",
        "line": 437,
        "function": "getValueString",
        "class": "OC\\AppConfig",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/apps/appstore/lib/Controller/ApiController.php",
        "line": 331,
        "function": "getAppsForCategory",
        "class": "OCA\\Appstore\\Controller\\ApiController",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/apps/appstore/lib/Controller/ApiController.php",
        "line": 362,
        "function": "fetchApps",
        "class": "OCA\\Appstore\\Controller\\ApiController",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/apps/appstore/lib/Controller/ApiController.php",
        "line": 92,
        "function": "getAllApps",
        "class": "OCA\\Appstore\\Controller\\ApiController",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 165,
        "function": "listApps",
        "class": "OCA\\Appstore\\Controller\\ApiController",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 78,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/lib/private/AppFramework/App.php",
        "line": 137,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/lib/private/Route/Router.php",
        "line": 324,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud2/ocs/v1.php",
        "line": 63,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud2/ocs/v2.php",
        "line": 10,
        "args": [
          "/var/www/nextcloud2/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud2/lib/private/AppConfig.php",
    "Line": 1351,
    "message": "Value (skynettechnologiesallinoneaccessibility) for app is too long (32)",
    "exception": "{\"class\":\"InvalidArgumentException\",\"message\":\"Value (skynettechnologiesallinoneaccessibility) for app is too long (32)\",\"code\":0,\"file\":\"/var/www/nextcloud2/lib/private/AppConfig.php:1351\",\"trace\":\"#0 /var/www/nextcloud2/lib/private/AppConfig.php(511): OC\\AppConfig->assertParams()\\n#1 /var/www/nextcloud2/lib/private/AppConfig.php(388): OC\\AppConfig->getTypedValue()\\n#2 /var/www/nextcloud2/apps/appstore/lib/Controller/ApiController.php(437): OC\\AppConfig->getValueString()\\n#3 /var/www/nextcloud2/apps/appstore/lib/Controller/ApiController.php(331): OCA\\Appstore\\Controller\\ApiController->getAppsForCategory()\\n#4 /var/www/nextcloud2/apps/appstore/lib/Controller/ApiController.php(362): OCA\\Appstore\\Controller\\ApiController->fetchApps()\\n#5 /var/www/nextcloud2/apps/appstore/lib/Controller/ApiController.php(92): OCA\\Appstore\\Controller\\ApiController->getAllApps()\\n#6 /var/www/nextcloud2/lib/private/AppFramework/Http/Dispatcher.php(165): OCA\\Appstore\\Controller\\ApiController->listApps()\\n#7 /var/www/nextcloud2/lib/private/AppFramework/Http/Dispatcher.php(78): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#8 /var/www/nextcloud2/lib/private/AppFramework/App.php(137): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#9 /var/www/nextcloud2/lib/private/Route/Router.php(324): OC\\AppFramework\\App::main()\\n#10 /var/www/nextcloud2/ocs/v1.php(63): OC\\Route\\Router->match()\\n#11 /var/www/nextcloud2/ocs/v2.php(10): require_once('...')\\n#12 {main}\"}",
    "CustomMessage": "Value (skynettechnologiesallinoneaccessibility) for app is too long (32)"
  }
}

Seems to be a bug. See from today:

Thanks for the report, we remove the app for now from App Store.

-edit: /var/www/nextcloud/lib/private/AppConfig.php

    edit APP_MAX_LENGTH = 32; ----->  APP_MAX_LENGTH = 64; 

Save file

  • edit /var/www/nextcloud/config/config.php
    add this after :
             'integrity.excluded.files' =>                          
             array (
               0 => 'lib/private/AppConfig.php',
             ),

This bug is currently affecting everyone. This guy should have come up with an even longer name:

The name app name skynettechnologiesallinoneaccessibility is with 37 characters above the set limit of 32 characters.

For those running nc 34+ in a docker - here the patch:

docker exec -it nextcloud_app sed -i ‘s/private const APP_MAX_LENGTH = 32;/private const APP_MAX_LENGTH = 64;/g’ /var/www/html/lib/private/AppConfig.php

clear the error cache

docker exec --user www-data -it nextcloud_app php occ config:app:delete core appstorenotavailable

and restart your docker container

But remember - just a patch - no fix!!!

Should work again.

As @rakekniven mentioned and to Issue #61798 the problem has been resolved. If the issue persists, wait until the local cache expire, or manually delete the apps.json from cache.


Just as a note for future readers, in case something like this happens again and someone stumbles upon this thread via a Google or other search engine:

That’s probably AI generated nonsense, right?! Because the string appstorenotavailable does not exist in the Nextcloud codebase. Please do not post misinformation on GitHub [1][2] and this forum. If it’s correct and not AI spam, then my bad… I’m sorry! :waving_hand:

Maybe I am wrong but this is how in my humble opinion I understand lib/private/App/AppStore/Fetcher/Fetcher.php or AppFetcher.php and how it translates to a database value creating a runtime db core entry - at least it showed in our instance 34.0.0.12.

By combining servicenam (appstore) and configkey (notavailable) to an sql statement down the line you end up with a db entry appstorenotavailable (oc_appconfig).

So I removed it to avoid restarting the db server as well.

And yes - it is not in the codebase as it is dynamically generated. Hope that helps!

Hhm, okay, then sorry for my comment and thanks for the explanation!

I sometimes work in tech support, and the amount of information out there that is simply made up has become enormous. That’s why I’m a little more sensitive :sweat_smile:

Fully understandable, especially as I am a new member to the forum. But I was so pissed by this bug today which took me more than two hours to understand - I thought people would care more about a fix than complaining about philosophical design concepts and why that shouldn’t happen in the first place :wink: Just wanted to add an app!

Hold my beer :beer_mug: