After Upgrading Manual Install to NC 32 I get "AppAPI default deploy daemon is not set"

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):
    • Debian 13
  • Web server and version (e.g, Apache 2.4.25):
    • 2.4.65-2
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • None
  • PHP version (e.g, 8.3):
    • PHP-FPM 8.4+96
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After upgrading to 32
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare Metal/Archive
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

After upgrading my (many years old at this point) instance to NC 32 I can install, but cannot enable apps with the web interface. I can enable them with the OCC CLI. When trying to enable any apps with the GUI I get a notification message:

Error: This app cannot be enabled because it makes the server unstable

Despite the fact the apps work fine when using OCC to manually enable them. This also happens when I disable an app that’s already installed and working, then try to re-enable it.

I also have a new error I’ve never seen before in the Nextcloud Overview labeled “AppAPI Deploy Daemon” with the message:

AppAPI default deploy daemon is not set. Please register a default deploy daemon in the settings to install External Apps (Ex-Apps).

I’m guessing, though not totally certain, that the inability to enable apps in the GUI is somehow related to this, but I have never had to mess with AppAPI before and am unsure what requirements I need to meet to solve this error and be able to manage my apps via the GUI again. I found some guidance here:

Which recommends this:

But despite the recommended docker image launching successfully, Nextcloud seems unable to connect to it. Since I’ve used Docker “very” little in the past and haven’t seen this issue before, I’m sure I’m just missing something, I just don’t know what exactly. Is “docker-socket-proxy” supposed to connect to something else, like the Nextcloud instance or database, or some other piece of software? Do I need to configure it before launching it? The instructions on the page for it don’t have much other than how to get it running, but not really how to get it and Nextcloud to talk to one another, and I’m sure manually editing files related to it in /var/lib/docker is not the correct way forward.

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

  1. Be running Nextcloud 31.x via a manual install

  2. Upgrade to NC 32

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.marcusandash.net"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "32.0.0.13",
        "overwrite.cli.url": "https:\/\/cloud.marcusandash.net",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "app_install_overwrite": {
            "0": "spgverein",
            "1": "dicomviewer",
            "2": "files_external_onedrive",
            "3": "keeweb",
            "4": "tasks",
            "5": "duplicatefinder",
            "6": "audioplayer",
            "7": "socialsharing_facebook",
            "8": "onlyoffice",
            "9": "talk_matterbridge",
            "10": "twofactor_totp",
            "11": "qownnotesapi",
            "12": "documentserver_community",
            "13": "metadata",
            "14": "bruteforcesettings",
            "15": "files_antivirus",
            "16": "music",
            "17": "phonetrack",
            "19": "socialsharing_email",
            "20": "richdocumentscode",
            "21": "socialsharing_twitter",
            "22": "files_retention",
            "23": "files_rightclick",
            "24": "facerecognition",
            "26": "camerarawpreviews",
            "27": "deck",
            "28": "forms",
            "29": "news"
        },
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "maintenance": false,
        "maintenance_window_start": 1,
        "theme": "",
        "loglevel": 0,
        "memcache-distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "updater.release.channel": "stable",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "mail_smtpauthtype": "LOGIN",
        "trashbin_retention_obligation": "30, 60",
        "versions_retention_obligation": "30, 180",
        "default_phone_region": "US",
        "enforce_theme": "",
        "allowed_admin_ranges": [
            "127.0.0.1\/8",
            "10.1.1.0\/24",
            "10.2.65.0\/24",
            "fd00::\/8"
        ]
    }
}

Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 5.0.0-dev.0
  - admin_audit: 1.22.0
  - app_api: 32.0.0
  - audioplayer: 3.5.1
  - bruteforcesettings: 5.0.0-dev.0
  - calendar: 6.0.0
  - camerarawpreviews: 0.8.7
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contacts: 8.0.2
  - contactsinteraction: 1.13.1
  - dashboard: 7.12.0
  - dav: 1.34.2
  - deck: 1.15.2
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_accesscontrol: 3.0.0
  - files_antivirus: 6.0.5
  - files_automatedtagging: 3.0.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_retention: 3.0.0
  - files_sharing: 1.24.0
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0-dev.0
  - forms: 5.2.0
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - metadata: 0.22.0
  - music: 2.3.0
  - news: 26.1.0
  - nextcloud_announcements: 4.0.0-dev.0
  - notes: 4.12.3
  - notifications: 5.0.0-dev.0
  - notify_push: 1.2.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0-dev.0
  - phonetrack: 0.9.1
  - photos: 5.0.0-dev.1
  - privacy: 4.0.0-dev.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - qownnotesapi: 25.8.0
  - recommendations: 5.0.0-dev.0
  - related_resources: 3.0.0-dev.0
  - richdocuments: 9.0.0
  - richdocumentscode: 25.4.504
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - socialsharing_email: 3.3.0
  - spreed: 22.0.0
  - support: 4.0.0-dev.0
  - survey_client: 4.0.0-dev.0
  - suspicious_login: 10.0.0-dev.0
  - systemtags: 1.22.0
  - tasks: 0.16.1
  - text: 6.0.0-dev.0
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - twofactor_nextcloud_notification: 6.0.0-dev.0
  - twofactor_totp: 14.0.0
  - updatenotification: 1.22.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:
  - bookmarks: 15.2.0 (installed 15.2.0)
  - dicomviewer: 2.3.1 (installed 2.3.1)
  - encryption: 2.20.0
  - epubviewer: 1.8.0 (installed 1.8.0)
  - files_external: 1.24.0 (installed 1.15.0)
  - user_ldap: 1.23.0

Edit: I would have included logs, but I clicked enable on an app to trigger the error then immediately opened the log file and started reading it and I really can’t seem to find anything related to apps, just normal status messages about files being synced and such.

2 Likes

Figured out the issue. The “metadata” app, despite not getting auto-disabled during the upgrade, had broken the files app and caused some other issues. I have removed it for the time being and everything seems to be working properly again.

2 Likes

I have the same problem. However, no “metadata” app is installed

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
  • dashboard: 7.12.0
  • 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
  • photos: 5.0.0-dev.1
  • privacy: 4.0.0-dev.0
  • profile: 1.1.0
  • provisioning_api: 1.22.0
  • related_resources: 3.0.0-dev.0
  • serverinfo: 4.0.0-dev.0
  • settings: 1.15.1
  • sharebymail: 1.22.0
  • support: 4.0.0-dev.0
  • survey_client: 4.0.0-dev.0
  • suspicious_login: 10.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_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:
  • encryption: 2.20.0
  • external: 5.4.0 (installed 5.4.0)
  • recommendations: 5.0.0-dev.0 (installed 2.1.0)
  • twofactor_nextcloud_notification: 6.0.0-dev.0
  • twofactor_totp: 14.0.0
  • user_ldap: 1.23.0

Same issue here :frowning:

I initially enabled groupfolders which, was still on V19 and it crashed the entire frontend.
Removed the folder and manually deleted the app keys to get it to work again.
Unfortunately now app discovery seems to be gone :frowning:

Update: seems apps.nextcloud.com/api/v1/apps.json is down at the moment (can’t reach it from via my ISP or via mobile phone)

1 Like

I solved it by disabling the AppAPI app (obviously). At 3 instances I had to open Apps 3 times (it timed out twice), but eventually it opened the third time and I could disable AppAPI.

1 Like

That get’s rid of the API Deamon error (which I think is not related to the inbuild apps but a new way of deploying apps in external containers) but did not bring my “discovery” or app update check back. It still times out in the discovery page for me :frowning:

This is a separate error mentioned here:

1 Like

Thanks a lot

I was not able to get this working through manual-install, but thankfully i have docker on the same machine, if you do as well, You can use these configs to get it to work.

Docker Config:

docker run -d \
  --name nextcloud-appapi-dsp \
  --restart unless-stopped \
  -p 2375:2375 \
  -e CONTAINERS=1 \
  -e POST=1 \
  -e DELETE=1 \
  -e IMAGES=1 \
  -e INFO=1 \
  -e BUILD=1 \
  -e VOLUMES=1 \
  -e EXEC=1 \
  -e AUTH=0 \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  tecnativa/docker-socket-proxy

Daemon Config through occ (run this in your nextcloud dir /var/www/nextcloud or whatever you have it as.

Make sure to edit <your-nextcloud-domain> appropriately and leave /index.php at the end.

sudo -u www-data php occ app_api:daemon:register \
    dsp_docker \
    "Docker Socket Proxy (Volumes Enabled)" \
    docker-install \
    http \
    127.0.0.1:2375 \
    https://<your-nextcloud-domain>/index.php \
    --net host \
    --set-default

Then go to nextcloud, admin settings, appapi and run a test deploy. It should work for you.

This isn’t using the manual-install but I couldn’t get that working for the life of me.

1 Like

I appreciate the info. I don’t care to run this specific thing in Docker if I need to. I’ll have do some reading though but these “ExApps”, are they “external apps” as in outside the store that’s built in, or is this going to eventually be the way all apps are installed? If it’s just for handling external apps from outside the store I may not bother with it as my instance is one I’ve just been running for myself, wife and kids for, gosh, 7 years or so now, and we use very few optional apps, let alone anything that wouldn’t be in the built-in store. Having third party apps containerized within a docker process though “would” be kinda nice, though I guess it depends on how or whether we’re actually able to leverage any advantages of running a native executable within a docker container that has access to all Nextcloud data. Like, will we be able to restrict specific apps’ access to files or folders and such?

Anyway, I’m rambling now, I just need to do some reading on how this will all work.

2 Likes

As far as I know, it’s mainly the AI-related apps, along with the Nextcloud Assistant, that use the AppAPI at the moment. And yes, ExApps are available through the store as well and can be installed just like any other app once the Docker Deploy daemon is set up.

As I said above, ExApps are also available through the store, and more apps will certainly start using the AppAPI over time. However, I don’t think the ‘normal’ PHP apps are going away anytime soon, and you definitely don’t need to worry about core apps like Calendar, Contacts, or Mail suddenly requiring the AppAPI today or tomorrow.

The AppAPI is not specifically designed for third-party apps. Its main purpose is to provide a standardised way of installing and integrating non-PHP apps. So ExApps that use the AppAPI and PHP apps that are directly integrated will likely continue to coexist for a long time.

And again, the vast majority of popular apps, whether first- or third-party, do not currently use the AppAPI, and this is not going to change overnight. :slight_smile:

1 Like

I’m facing the exact same Problem with my NextCloud Instanz installed as App on a TrueNas Scale System.

If I try to test the connection to the deamon it fails. The logfile only says:

2025-10-01 08:17:23.618533+00:00[Wed Oct 01 08:17:23.618401 2025] [php:notice] [pid 568:tid 568] [client 81.200.197.162:0] cURL error 7: Failed to connect to localhost port 8780 after 0 ms: Could not connect to server (see libcurl - Error Codes ) for http://localhost:8780/exapps/app_api/v1.41/_ping

Does anyone have a solution to this problem?

“After Upgrading Manual Install to NC 32 I get “AppAPI default deploy daemon is not set”

If you just want to get rid of the message, simply disable the “AppAPI” app, and the message will disappear.

If you intend to use it, set it up according to the documentation: ExApps management — Nextcloud latest Administration Manual latest documentation

4 Likes

I freely admit I’m an idiot, but when I go to Nextcloud > Admin settings > appapi I don’t see how to run a test deploy. I’m sure I’m just missing something obvious!

I told you I was an idiot! After I refreshed the page everything’s working as advertised.