I am using a raspberry pi 4 with Bullseye OS and I loaded nextcloud using docker. I get the famous “Error Can’t write into config directory! This can usually be fixed by giving the webserver write access to the config directory.”
Despite all what I have read, I a still stuck. Can somebody tell me which command I need to run (I am not an expert at all…) in order to resolve that issue.
Below is the portion of docker-compose.yml file that installs NV:
nextcloud:
container_name: nextcloud
image: nextcloud
restart: unless-stopped
environment:
- MYSQL_HOST=nextcloud_db
- MYSQL_PASSWORD=IOtSt4ckmySqlDbPw
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
ports:
- “9321:80”
volumes:
- /media/pi/TEYADI/mariadb/config:/var/www/html
depends_on:
- nextcloud_db
networks:
- default
- nextcloud
Thanks much !