Update from SOGO 2.0.8 to 2.0.9 didn’t work

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

Are you sure that you didn’t change the owner recently?

The last SOGo release before the current one was in May, see Release 2.0.8 · NethServer/ns8-sogo · GitHub

This issue isn’t new and also occurs with other apps, see for example Updating Traefik 2.2.3 -> 2.2.5 gives error

The config files saved this way are dated May 19, 2025.

So, there was probably a slight overlap.

1 Like