Nextcloud container throws "access denied" error on intial startup #251
Replies: 4 comments
-
Thanks for reporting. The webserver is running as |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Here are the logs from all services that were started by docker-compose:
|
Beta Was this translation helpful? Give feedback.
-
Hi, git clone https://github.com/juliushaertl/nextcloud-docker-dev
cd nextcloud-docker-dev
./bootstrap.sh docker compose up nextcloud -d The bootstrap created all cd data/ssl
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nextcloud.local.key -out nextcloud.local.crt
# and
docker compose restart proxy Now I can access https://nextcloud.local |
Beta Was this translation helpful? Give feedback.
-
Hi,
i tried to set this up for a long time, but it always fails with the following error message:
file_put_contents(/var/www/html/.htaccess): failed to open stream: Permission denied at /var/www/html/lib/private/Setup.php#552
So i created a fresh clone in a new folder and executed the bootstrap script once again, but the result was the same unfortunately...
It's weird, because the container user should be root i guess and shouldn't have to deal with access permissions.
Docker logs if it helps...?:
Beta Was this translation helpful? Give feedback.
All reactions