Closed leochoo closed 1 month ago
Can you try to disable Traefik from the Rancher settings and see if that makes a difference?
https://docs.rancherdesktop.io/faq/
Q: Can I disable Traefik, and will doing so remove Traefik resources? A: Yes, you can disable Traefik in order to free up port 80 and 443 for alternate ingress configuration. Disabling Traefik will not delete existing resources. By default, the Enable Traefik feature is selected under Kubernetes Settings; uncheck this box to disable it.
Otherwise maybe you can try adding the following to the docker-compose file for the nextcloud container and recreate the containers:
diff --git a/docker-compose.yml b/docker-compose.yml
index 28b560a..7a46185 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -99,6 +99,10 @@ services:
- ${PROXY_SERVICE:-proxy}
extra_hosts:
- host.docker.internal:host-gateway
+ labels:
+ - "traefik.enable=true"
+ - "traefik.http.routers.whoami.rule=Host(`nextcloud.local`)"
+ - "traefik.http.routers.whoami.entrypoints=web"
nextcloud2:
image: ghcr.io/juliushaertl/nextcloud-dev-php${PHP_VERSION:-81}:latest
Disabling Traefik solved the problem ✅ @juliushaertl Thank you very much.
I clicked on update and it successfully updated and redirected me to the login page.
(Oh wow, I definitely disabling Traefik before, but I could have messed it up somewhere. Apparently it worked!)
I am following this tutorial.
using Rancher Desktop.
However, as show in the below screenshot, the port is not shown for
master-nextcloud-1
. Also there is noopen with browser
button.Therefore, accessing
http://nextcloud.local/
is not possible.I read #322 , but it still did not have any answer.
Can anyone please help? Thanks.