When I try to start the owncloud docker container, I’m getting the following error:
/etc/owncloud.d/20-config.sh: line 39: /mnt/data/config/database.config.php: Read-only file system
It normally starts the web application, but at the moment it is keep on restarting.
root:/opt/owncloud-docker-server# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c1d8bc444dcf owncloud/server:10.0 "/usr/bin/entrypoint " 8 minutes ago Restarting (1) About a minute ago 443/tcp, 0.0.0.0:8008->80/tcp ownclouddockerserver_owncloud_1
Current permission of /mnt/data is www-data:www-data
root# ls -la /mnt/ total 12 drwxr-xr-x 3 root root 4096 Aug 22 08:09 . drwxr-xr-x 22 root root 4096 Sep 29 2016 .. drwxr-xr-x 8 www-data www-data 4096 Sep 13 08:53 data
I’m using the default owncloud installation (.yml) file from the official website