Steps to reproduce
- ownCloud 10.5.0 run as docker service
- external mySQL 5.7 database
- /mnt/data from container mounted on GlusterFS volume on host
Expected behaviour
While ownCloud files are located on GlusterFS volume, after login I can see list of files.
Actual behaviour
After login ownCloud interface is loaded, but there is loader image instead of files list. Firefox network console say that there is no response to /remote.php/dav/files/admin/. Requestes is still waiting, no any http error. Response is 0 bytes.
On volume in docker host, default files are created and exists in /files/admin/files.
After switching LOG_LEVEL to DEBUG owncloud.log didn’t indicate to any errors.
In UI admin -> Settings is also stucking on loader, docker desktop client is starting synchronization but is unable to get any files.
Switching mount of /mnt/data to standard filesystem directory (instead of GlusterFS volume) resolves any problems.
Server configuration
Ubuntu server 18.04
Docker 19.03.12 in swarm mode
GlusterFS 6.9, issue tested with Distributed volume and Replicated volume - same effect.
docker command to run service:
docker service create --replicas 1 --network masext --with-registry-auth \ --name owncloud \ --publish 8080:8080 \ --env OWNCLOUD_DB_TYPE=mysql \ --env OWNCLOUD_DB_NAME=my_database_name \ --env OWNCLOUD_DB_USERNAME=my_user \ --env OWNCLOUD_DB_PASSWORD=my_password \ --env OWNCLOUD_DB_HOST=my_databse_host \ --env OWNCLOUD_ADMIN_USERNAME=admin \ --env OWNCLOUD_ADMIN_PASSWORD=admin_pass \ --env OWNCLOUD_MYSQL_UTF8MB4=true \ --env OWNCLOUD_LOG_LEVEL=0 \ --mount type=bind,source=/mnt/volumes/owncloud,destination=/mnt/data \ owncloud/server:10.5.0
Any help would be appreciated.