SOGo new features: configuration template and access/configure button

Hey everyone! :wave:

We’re looking for testers for two exciting SOGo updates that could make configuring and accessing SOGo even smoother:

SOGo: Template Layers for Custom Configuration - Test it here
SOGo Access & Configuration Button - Test it here
Your feedback will be super valuable! Feel free to dive in and share any thoughts or bugs you encounter. Let’s make SOGo even better together! :raised_hands:

Thanks a lot for helping out! :rocket:

5 Likes

Stephen

How can i update an existing Sogo installation ?

  • Install the ghcr.io/nethserver/sogo:2.0.3.dev-1 image.
    add-module ghcr.io/nethserver/sogo:2.0.3.dev-1

Add an extra module and not updates the existing

2 Likes

api-cli run update-module --data '{"module_url":"ghcr.io/nethserver/mymodule:latest","instances":["mymodule1"],"force":true}'

1 Like

please ask for any questions

I just found it and did the following

api-cli run update-module --data '{"module_url":"ghcr.io/nethserver/sogo:2.0.3-dev.1","instances":["sogo1"],"force":true}'

Only i see no “Go to Web Application” button

SOGo: Template Layers for Custom Configuration

I’ve tested the local configuration and it works

In sogo.conf.local i added the following line:

SOGoUIAdditionalJSFiles = (js/custom_theme.js);

Made a file custom_theme.js with a different theme and placed in the docker directories
After restart i had the different theme

The next question is where to placed this files because I imaging it will be overwritten by an update or so
Can i place this in the templates directory ? and which path must i use ?

1 Like

Yep sorry it is ‘open sogo’

Does it work ?

Yes. The link works

Theme looks great :wink: Better then green

What is the path of the folder where you want to store your js/css trick

I prefer the template dir

Now i copied into
/home/sogo1/.local/share/containers/storage/vfs/dir/661b62c19e8c22ab77cedae46b49293ec276badc67dd352773c5c48e776c3559/usr/lib/GNUstep/SOGo/WebServerResources/js/theme.js

But that is overwritten by an update and the path changes

Something like this
SOGoUIAdditionalJSFiles = (templates/custom_theme.js);
same dir as the .conf.local files now

But if you have another solutution i fine with it
Or maybe a map that copies the files over the docker after a restart or update

Search inside the container what is the path

runagent -m sogo1
podman exec -ti sogo-app bash
find / -iname theme.js

1 Like

Maybe out of the topic but the admin of sogo can change the css of sogo, by default it is administrator then you have in the upper right menu an icon to modify the css

IIRC

/usr/lib/GNUstep/SOGo/WebServerResources/js/theme.js

But this is not working
SOGoUIAdditionalJSFiles = (/usr/lib/GNUstep/SOGo/WebServerResources/js/custom_theme.js);

I have seen that, but can not change the css
Only view

in that case you need to mount a file to your container

inside the sogo-app systemd service add

--volume %S/state/custom_theme.js:/usr/lib/GNUstep/SOGo/WebServerResources/js/custom_theme.js:Z
custom_theme.js must be in the state of the user /home/sogo1/.config/state

few chances that we add it to everybody

then if you want to be persistent to updates, create a custom systemd service

systemctl --user edit sogo-app

1 Like

Thanks.
I’ll try it out

I also see cron.conf in the templates for sogo-backup.sh

Is this acutally running ? and where is the backup placed ?

in the state/backups folder

1 Like

Thanks

Sorry for asing, but i’m a nono on docker

Is this cronjob running ? or how can i start it

I did the following

runagent -m sogo1
podman exec -ti sogo-app bash
cd /usr/lib/sogo/scripts/
sh sogo-backup.sh

There is a backup created in /etc/sogo/backups
Only the size is the backup is very small.
image

IIRC it is only the backups of the mysql data of the users, for example the
addressbook, the calendar