Closed telepath closed 3 weeks ago
Sorry for this, maybe it is caused by actions from our side(we are moving all Ecosystem stuff) to the Nextcloud organization.
Can you try again please?
I have tried this many times over the last few weeks with the same result. I have tried again, still Error 504.
Can you say which error you get when executing docker pull ghcr.io/nextcloud/test-deploy:release
?
pulling the image on the host works as expected:
# docker pull ghcr.io/nextcloud/test-deploy:release
release: Pulling from nextcloud/test-deploy
a480a496ba95: Pull complete
d9b4e23c98f2: Pull complete
ab2906373223: Pull complete
6dd877cc33d7: Pull complete
15b53132258e: Pull complete
4f4fb700ef54: Pull complete
1dd355e265d6: Pull complete
ec46c8979f01: Pull complete
2b62913d2b21: Pull complete
5b8d0b28d4a4: Pull complete
Digest: sha256:fbf0f1e36bfc21ea9137d5588a9c286867c3adb5ef39348bd94b348e2b036119
Status: Downloaded newer image for ghcr.io/nextcloud/test-deploy:release
ghcr.io/nextcloud/test-deploy:release
It looks like for some reason the deployment is just really slow. I increased the timeouts in HA proxy from 10s to 60s and now it works.
defaults
timeout connect 60s
timeout client 60s
timeout server 60s
I'll look into the performance of my setup, but since nextcloud is working OK, maybe the timeouts are just too tight? I'd suggest increasing them, or maybe make them configurable.
will 30
seconds be enough for connect_timeout on your setup, could you check?
I have already created a PR to raise the default value from 10s to 30s, - I wonder if 30s is enough or do we still need 60s? (I really wouldn't want to set such a high timeout for the connection process)
30s seems to work ok.
Describe the bug
I have a fresh install of NC30i (all-in-one) with some minimal configuration (oidc login). When I try to test the AppAPI deployment, it always fails, either with the error "500 Internal Server Error" or "504 Gateway Time-out"
Steps/Code to Reproduce
Expected Results
Successful deployment.
Actual Results
nextcloud.log:
journalctl -feu docker.service:
Setup configuration
compose.yaml:
/etc/docker/daemon.json