AppAPI Daemon Host for AIO setup

Hi there,
I am trying to get AppAPI to work on my Nextcloud 10 setup (31.0.0) on linux.

However, I struggle to figure out what the Daemon host is. I tried /var/run/docker.sock and also localhost and the ip addresses from nextloud-aoi-nextclud and nextcloud-aio-mastercontainer, it all doesn’t work.

Here’s the error message:
Image pull

Check if the image is successfully pulled

Failed to pull image via “/var/run/docker.sock”, GuzzleException occur: cURL error 7: Failed to connect to localhost port 80 after 0 ms: Could not connect to server (see libcurl - Error Codes) for http://localhost/v1.41/images/create?fromImage=ghcr.io%2Fnextcloud%2Ftest-deploy%3Arelease

Thank you,
Daniel

Hi, did you enable the docker-socket-proxy via the aio interface?

Thank you for your help, that solved my problem! I just have an issue with the heart beat beat now while testing the daemon deploy. I’m not sure how to change the “test-deploy” url.

Failed heartbeat on http://test-deploy:23000 for 60 times. Most recent status=0, error: cURL error 7: Failed to connect to test-deploy port 23000 after 3094 ms: Could not connect to server (see libcurl - Error Codes) for http://test-deploy:23000/heartbeat

it mentions for Nextcloud AIO to set this parameter, but not sure if that’s the correct one and how to do that:
OVERRIDE_APP_HOST

I’m also not sure if this needs to work as it’s just a test container is my understanding.

Any thoughts, please let me know. Thank you again!

BTW, on the back of your suggestion I ran this command to get the ipaddress to enter for the daemon host, for this example: 172.18.0.8:2375 (the port always seems to be 2375). Just in case someone has a similar question.

sudo docker inspect nextcloud-aio-docker-socket-proxy | grep IPAddress

        "SecondaryIPAddresses": null,
        "IPAddress": "",
                "IPAddress": "172.18.0.8",

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