nextcloud / nextcloud/nextcloud-docker-dev
Page not found after running docker compose up on rancher desktop
Nessuno ha ancora preso questa issue.
- Lingua principale
- PHP
- Stelle
- 190
- Fork
- 103
- Merge medio
- 4h 36m
- PR unite (30g)
- 1
Descrizione
Hi :)
I cloned the repository, ran ./bootstrap.sh groupfolders inside the repository and started everything with docker compose up -d nextcloud. Everything looks fine so far. I got no errors and can see all container up and running.
When I try to access nextcloud.local, I get a 404 Page not found. Starting nextcloud 2 with docker compose up -d nextcloud2 I get the same issue using nextcloud.local and/or nextcloud2.local. When I then use nextcloud2.local:8211, I get an login screen. I assume its because a port is exposed for nextcloud2. The PORTBASE is defined as 821 in the .env file. The DOCKER_SUBNET in .env is 192.168.21.0/24.
I haven't modified any config file in the repo.
If the content of any of the files is needed for further analysis or any other information, please say what is needed and I will post it :)
As I am not that deep into Docker Compose and Rancher Desktop, I can't find a solution to make it work. Also asking ChatGPT hasn't helped me.
What can I do or what do I have to change in the config files to make it work?
P.S. Using the standalone version (run --rm -p 8080:80 ghcr.io/juliushaertl/nextcloud-dev-php83:latest) works fine.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con i groupfolders di bootstrap.sh, i comandi docker compose per nextcloud e nextcloud2 e i valori PORTBASE e DOCKER_SUBNET in .env. Confronta la configurazione Compose con il comando autonomo che funziona, quindi riproduci il 404 su nextcloud.local e la schermata di accesso su nextcloud2.local:8211. Il lavoro è completato quando i servizi Compose sono raggiungibili tramite gli hostname documentati senza richiedere una porta imprevista.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker-compose, php
- Ambito
- devops, infrastructure
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100