Skip to content

e-minguez/nextcloud-container-nfs-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using nextcloud in containers with NFS as backend storage for /var/www/html (with proper anonuid=82 and anongid=0 to match www-data:root ownership), the rsync process complains:

rsync: chown "/var/www/html/whatever" failed: Operation not permitted (1)

Using the NFS flags already mentioned ensures the ownership so there is no need to change it (and if you want to do it, it fails).

I guess having an environment variable that is used by the entrypoint.sh script can be good enough (?)

See nextcloud/docker#1344

Meanwhile, I keep my own entrypoint.sh fork.

Also, a few manual tweaks are needed:

The image is already available at https://quay.io/repository/e_minguez/nextcloud-container-nfs-fix

podman pull quay.io/eminguez/nextcloud-container-fix-nfs

Latest version: 30.0.2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published