-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Behaviour
The addition of rsync -a added to resolve #68 does not work if the destination is a mounted SMB (NTFS) filesystem such as when using azure-files storage provider in kubernetes. The destination file system does not support the permissions and results in this error:
Checking Matomo js folder...
rsync: mkstemp "/data/tmp/js/.LICENSE.txt.obalbG" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.README.md.jCIKNJ" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.index.php.hdDMkl" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.piwik.js.jCnmKo" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.piwik.min.js.JpjdoJ" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.tracker.php.iMeeEC" failed: Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]
Steps to reproduce this issue
- Follow the reproduction steps detailed in TagManager container javascript not regenerated on all replicas in a load balanced environment #68 using a SMB NTFS mounted volume for /data
- Inspect container logs.
Expected behaviour
Both replicas (re)generate container javascript on archival and/or on updates to the TagManager container
Actual behaviour
Only one replica (re)generates container javascript
Logs
Checking Matomo js folder...
rsync: mkstemp "/data/tmp/js/.LICENSE.txt.obalbG" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.README.md.jCIKNJ" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.index.php.hdDMkl" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.piwik.js.jCnmKo" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.piwik.min.js.JpjdoJ" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.tracker.php.iMeeEC" failed: Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]