Zammad Docker SSL Fail to update configuration

Infos:

  • Used Zammad version: Latest
  • Used Zammad installation source: (source, package, …) Docker compose
  • Operating system: Debian 10
  • Browser + version: Google chrome latest

Expected behavior:

I am trying to edit /etc/nginx/sites-enabled/default file to copy settings from /opt/zammad/contrib/nginx/zammad_ssl.conf, but every time i edit nginx configuration.

Actual behavior:

The settings are being reverted back to its original state every time I edit the file default. Or even if I delete /etc/nginx/sites-enabled/default file and copy zammad_ssl.conf in its place, zammad_ssl.conf is being renamed and default file is brought back to its place. Unable to do any changes

Steps to reproduce the behavior:

rm -rf /etc/nginx/sites-enabled/default && rm -rf /etc/nginx/sites-available/default
cp /opt/zammad/contrib/nginx/zammad_ssl.conf /etc/nginx/sites-enabled/
nginx -t
service nginx restart

Hey it sounds like your docker container get restored to an old backup.

Not directly.
That’s how docker containers work.

Upon a restart everything inside a container that does not live in a volume that lifes outside of that container is restored to “factory”. This is one of the big advantages of containers, because if something goes wrong, you can just restart it.

You may want to have a proxy in front of the container or want to commit your container changes for that affected container until you pull the next update.

2 Likes