App store still broken on one NC32 instance - works fine on others

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

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:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.0
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu Server 24.04
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx 1.24
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After update to NC 32
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • NC install via Cloudron on Netcup Root server
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

This is the exact same on all my NC instances.

Summary of the issue you are facing:

As per many reported case I experienced issues with the app store being down. All issues got resolved on all of my instances that upgraded to NC32 except one where many apps are still running in their older version (the version compatible with NC31 - see for example calendar and groupfolders in the list below) and the whole app store seems broken. Discover page displays “Nothing to show”, I see no update available and I cannot install any new apps (neither from the web interface or via terminal with the occ app command).

If I disable an outdated app and try to re-enable it via the web interface, it throws an error (Error: This app cannot be enabled because it makes the server unstable) and then the whole instance breaks (cannot starts any longer). Weirdly, several apps running outdated version are active and running fine (e.g. Calendar), others are not (e.g. Group folders).

I have tried to disable all outdated apps, restarted the instance but still the app store seems broken and does not update anything. Running occ app:update --all from console also shows no update. As per some other forum threads I tried disabling the AppAPI app but that has no effect.

The internet connection seems fine on the server, files are syncing normally with desktop/mobile client and I can see no obvious errors in Security & setup warnings in Administration settings > Overview.

Any help would be greatly appreciated at this stage. I’m ran out of ideas.

Log entries

Nextcloud

I cannot see any errors in the log which relates to this. Only when Nextcloud starts I can see:

==> Installing and enabling spreed, if needed
Oct 02 16:36:13 Error: Could not download app spreed, it was not found on the appstore
Oct 02 16:36:14 Could not download app spreed, it was not found on the appstore

Implying the App Store is somehow not reach/checked properly.

The only log error I can see is this:

{"reqId":"UFp0k3Zxnqpj3SqIHwxS","level":3,"time":"2025-10-02T15:59:00+00:00","remoteAddr":"109.151.151.189","user":"ggn","app":"index","method":"GET","url":"/core/preview?fileId=598347&x=250&y=250","message":"Could not create folder \"/appdata_ocah64r2wpg3/preview/c/0/d/f/9/6/6/598347\"","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"32.0.0.13","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder \"/appdata_ocah64r2wpg3/preview/c/0/d/f/9/6/6/598347\"","Code":0,"Trace":[{"file":"/app/code/lib/private/Files/AppData/AppData.php","line":129,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/app/code/lib/private/Preview/Storage/Root.php","line":56,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/app/code/lib/private/Preview/Generator.php","line":591,"function":"newFolder","class":"OC\\Preview\\Storage\\Root","type":"->"},{"file":"/app/code/lib/private/Preview/Generator.php","line":107,"function":"getPreviewFolder","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/code/lib/private/Preview/Generator.php","line":87,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/code/lib/private/PreviewManager.php","line":161,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->"},{"file":"/app/code/core/Controller/PreviewController.php","line":166,"function":"getPreview","class":"OC\\PreviewManager","type":"->"},{"file":"/app/code/core/Controller/PreviewController.php","line":128,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->"},{"file":"/app/code/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->"},{"file":"/app/code/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/code/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/code/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/code/lib/base.php","line":1061,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/code/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/code/lib/private/Files/Node/Folder.php","Line":133,"message":"Could not create folder \"/appdata_ocah64r2wpg3/preview/c/0/d/f/9/6/6/598347\"","exception":[],"CustomMessage":"Could not create folder \"/appdata_ocah64r2wpg3/preview/c/0/d/f/9/6/6/598347\""},"id":"68dea14c25c82"}

Weird that this would show up given I have disabled the Preview Generator app.

Configuration

Nextcloud

The output of occ config:list system:

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "files.chourmo.net"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "32.0.0.13",
        "overwrite.cli.url": "https:\/\/files.chourmo.net\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "5432",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forcessl": "1",
        "mail_smtpmode": "smtp",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "2525",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "files.chourmo.net",
        "overwriteprotocol": "https",
        "updatechecker": false,
        "updater.release.channel": "cloudron",
        "lost_password_link": "https:\/\/my.chourmo.net\/api\/v1\/session\/password\/resetRequest.html",
        "logfile": "\/run\/nextcloud\/nextcloud.log",
        "loglevel": 3,
        "debug": false,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "6379",
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "integrity.check.disabled": true,
        "htaccess.RewriteBase": "\/",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "ldapIgnoreNamingRules": false,
        "maintenance": false,
        "simpleSignUpLink.shown": false,
        "app_install_overwrite": [
            "drawio",
            "carnet"
        ],
        "default_phone_region": "US",
        "mail_sendmailmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpsecure": "",
        "has_rebuilt_cache": true,
        "maintenance_window_start": 1,
        "log_type": "file",
        "localstorage.allowsymlinks": true,
        "trashbin_retention_obligation": "7,30",
        "dns_pinning": false,
        "user_oidc": {
            "login_label": "Log in with Chourmo"
        }

Apps

The output of occ app:list:

Enabled:
  - activity: 5.0.0-dev.0
  - admin_audit: 1.22.0
  - app_api: 32.0.0
  - bruteforcesettings: 5.0.0-dev.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contactsinteraction: 1.13.1
  - dav: 1.34.2
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_external: 1.24.0
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.0
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0-dev.0
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - nextcloud_announcements: 4.0.0-dev.0
  - notifications: 5.0.0-dev.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0-dev.0
  - privacy: 4.0.0-dev.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - recommendations: 5.0.0-dev.0
  - related_resources: 3.0.0-dev.0
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - support: 4.0.0-dev.0
  - survey_client: 4.0.0-dev.0
  - systemtags: 1.22.0
  - text: 6.0.0-dev.0
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - updatenotification: 1.22.0
  - user_oidc: 7.4.0
  - user_status: 1.12.0
  - viewer: 5.0.0-dev.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - workflowengine: 2.14.0
Disabled:
  - accessibility: 1.10.0
  - appointments: 2.4.6 (installed 2.4.6)
  - calendar: 5.5.3 (installed 5.5.3)
  - carnet: 0.25.6 (installed 0.25.6)
  - collectives: 3.1.2 (installed 3.1.2)
  - contacts: 7.3.0 (installed 7.3.0)
  - cookbook: 0.11.3 (installed 0.11.3)
  - dashboard: 7.12.0 (installed 7.1.0)
  - deck: 1.15.2 (installed 1.15.2)
  - drawio: 3.1.0 (installed 3.1.0)
  - encryption: 2.20.0 (installed 2.8.1)
  - end_to_end_encryption: 1.17.0 (installed 1.17.0)
  - event_update_notification: 2.6.1 (installed 2.6.1)
  - files_rightclick: 1.6.0 (installed 1.6.0)
  - files_videoplayer: 1.13.0
  - fileslibreofficeedit: 2.0.1 (installed 2.0.1)
  - forms: 5.1.2 (installed 5.1.2)
  - groupfolders: 19.1.3 (installed 19.1.3)
  - integration_whiteboard: 0.0.14 (installed 0.0.14)
  - mail: 5.4.0 (installed 5.4.0)
  - notes: 4.12.3 (installed 4.12.3)
  - notify_push: 1.2.0 (installed 1.2.0)
  - passwords: 2025.7.20 (installed 2025.7.20)
  - photos: 5.0.0-dev.1 (installed 5.0.0-dev.1)
  - polls: 8.4.6 (installed 8.4.6)
  - previewgenerator: 5.10.0 (installed 5.10.0)
  - quicknotes: 0.8.30 (installed 0.8.30)
  - richdocuments: 8.7.4 (installed 8.7.4)
  - richdocumentscode: 25.4.403 (installed 25.4.403)
  - sharebymail: 1.22.0 (installed 1.22.0)
  - suspicious_login: 10.0.0-dev.0 (installed 10.0.0-dev.0)
  - twofactor_nextcloud_notification: 6.0.0-dev.0
  - twofactor_totp: 14.0.0
  - user_ldap: 1.23.0 (installed 1.21.0)

That sounds indeed weird. Can you post the output of „occ config:list appstore“?

Thanks for the reply. Here is the output.

occ config:list appstore
{
    "apps": {
        "appstore": []
    }
}

Also if I try to say reload the Discover page on the App Store, here is the kind of log I get when monitoring the app:

 109.151.151.189 - - [02/Oct/2025:16:52:22 +0000] "GET /settings/apps/discover HTTP/1.1" 200 8678 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /dist/core-files_fileinfo.js?v=3aaae873-0 HTTP/1.1" 200 479 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/firstrunwizard/js/firstrunwizard-about.mjs?v=3aaae873-0 HTTP/1.1" 200 539 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/firstrunwizard/l10n/en_GB.js?v=3aaae873-0 HTTP/1.1" 200 3194 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/notifications/l10n/en_GB.js?v=3aaae873-0 HTTP/1.1" 200 1441 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/notifications/js/notifications-main.mjs?v=3aaae873-0 HTTP/1.1" 200 480 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/theming/l10n/en_GB.js?v=3aaae873-0 HTTP/1.1" 200 2884 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/settings/l10n/en_GB.js?v=3aaae873-0 HTTP/1.1" 200 20917 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/user_status/l10n/en_GB.js?v=3aaae873-0 HTTP/1.1" 200 645 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/theming/js/theming.js?v=3aaae873-0 HTTP/1.1" 200 172 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /dist/files_sharing-main.js?v=3aaae873-0 HTTP/1.1" 200 247 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/files_sharing/l10n/en_GB.js?v=3aaae873-0 HTTP/1.1" 200 6605 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:23 109.151.151.189 - - [02/Oct/2025:16:52:23 +0000] "GET /apps/theming/img/background/jo-myoung-hee-fluid.webp HTTP/1.1" 200 101012 "https://files.chourmo.net/core/css/server.css?v=3aaae873-0" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:24 109.151.151.189 - - [02/Oct/2025:16:52:24 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/1.1" 200 148 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:24 109.151.151.189 - - [02/Oct/2025:16:52:24 +0000] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 148 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:24 109.151.151.189 - - [02/Oct/2025:16:52:24 +0000] "GET /settings/apps/categories HTTP/1.1" 200 22 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:24 109.151.151.189 - - [02/Oct/2025:16:52:24 +0000] "GET /settings/apps/categories HTTP/1.1" 200 22 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:24 109.151.151.189 - - [02/Oct/2025:16:52:24 +0000] "GET /settings/api/apps/discover HTTP/1.1" 200 22 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:24 109.151.151.189 - - [02/Oct/2025:16:52:24 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1119 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:26 109.151.151.189 - - [02/Oct/2025:16:52:24 +0000] "GET /settings/apps/list HTTP/1.1" 200 26747 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:26 - - - [02/Oct/2025:16:52:26 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.58 (Ubuntu) (internal dummy connection)"
Oct 02 17:52:26 109.151.151.189 - - [02/Oct/2025:16:52:24 +0000] "GET /settings/apps/list HTTP/1.1" 200 26747 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0"
Oct 02 17:52:27 - - - [02/Oct/2025:16:52:27 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.58 (Ubuntu) (internal dummy connection)"

Also to demonstrate with a screenshot the inconsistencies where some outdated app as not detected as incompatible (e.g. calendar) where others are (Nextcloud Office):

While Calendar was working, now that I have disabled it, most likely re-enabling it will throw an error that will break the instance (so I’m not doing it).

Thank to @SysKeeper the issue is now solved.

Somehow the ownership on many directories inside the Nextcloud app directory have been changed during the update from the usual www-data to the admin user on the server. The change affected the data/appdata_{instanceid}/appstore/ directory as you can see here:

drwxr-xr-x  3 yellowtent yellowtent 4.0K Oct  2 12:55 .
drwxr-xr-x 19 www-data   www-data   4.0K Oct  2 12:55 ..
-rw-r--r--  1 yellowtent yellowtent  87K Oct  1 11:19 appapi_apps.json
drwxr-xr-x  5 yellowtent yellowtent 4.0K Oct  1 11:19 app-discover-cache
-rw-r--r--  1 yellowtent yellowtent 2.8M Oct  1 11:19 apps.json
-rw-r--r--  1 yellowtent yellowtent 161K Oct  1 11:19 categories.json
-rw-r--r--  1 yellowtent yellowtent 7.2K Oct  1 11:19 discover.json 

Changing the permissions/ownership back to www-data for all content inside that directory made the App Store work again right away.

Again big thank to @SysKeeper :rocket:

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.