Dear community,
I tried to update SOGO from 2.0.8 to 2.0.9 today - unfortunately, it didn’t work.
Excerpt from the message:
./templates/
./templates/SOGo.conf
./templates/cron.conf
./templates/sogo.conf
./update-module.d/
./update-module.d/20restart
chown: Changing the owner of ‘./templates/sogo.conf_ORIG’: The operation is not allowed
chown: Changing the owner of ‘./templates/SOGo.conf_ORIG’: The operation is not allowed
c33f77aabe17b6d3a8540ce93fdedf6871713abf9eca9a6fec62ebe8ff61f2bb
Traceback (most recent call last):
File “/usr/local/agent/actions/update-module/05pullimages”, line 81, in
).check_returncode()
^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/subprocess.py”, line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '(‘extract-image’, 'ghcr.io/nethserver/sogo:2.0.9’)’ returned non-zero exit status 1.
“SOGo.conf_ORIG” and “sogo.conf_ORIG” are backups of the original config files before I made any changes to them (a long time ago) (in “sogo.conf”, for example, regarding IMAP default folders).
The ownership of these files was root:root instead of that of the container. After correcting the ownership, the update worked.
But why was this only a problem now and not before? in previous SOGo updates?
Regards Yummiweb