If you are upgrading from Unomaly version 3.3.8 or earlier, and use a custom configuration for syslog-ng, you will need to migrate the configuration manually.
In earlier versions of Unomaly, the syslog-ng config is stored in /etc/syslog-ng/ on the host that runs Unomaly. In 3.4.0 and later, the config is stored in a persistent docker volume, and will not be accessible from the host file system any more.
After upgrading, syslog-ng will start up with default config - your existing syslog-ng config on disk will not be touched. You will need to insert that config into the docker volume.
- Inspecting the config running in the syslog-ng container:
sudo docker run --net=host --rm -i -v=syslogng:/etc/syslog-ng busybox head /etc/syslog-ng/syslog-ng.conf
- List config files for the container. Your changes will most likely be to files in /etc/syslog-ng/conf.d/
sudo docker run --net=host --rm -i -v=syslogng:/etc/syslog-ng busybox find /etc/syslog-ng
- Move your existing config to the container volume.
unomaly stop syslogng sudo docker cp /etc/syslog-ng/syslog-ng.conf syslogng:/etc/syslog-ng/ sudo docker cp /etc/syslog-ng/conf.d/ syslogng:/etc/syslog-ng/ unomaly start syslogng