I use the Confluence server running on Synology in Docker for many months without any problem. For upgrading all docker container (Confluence server included) I use the watchtower. Unfortunately, yesterday the watchtower upgraded confluence to a new version andI can't connect to the confluence anymore.
I dont have a backup file for restoring form a clean install, but I back up every day the home folder. Pointing Confluence container to home, confing and install folder (synology volume) is ignored by Confluence. Restart of the container triggers an installation process that ends with a message "Database Contains Existing Confluence Data (Confluence tables already exist in the selected database)".
My question: Is there a way how to run confluence connected to existing folders and database? My data are stored in MySql server (connect via connection string).
My external folders:
Note: All folders are backed up every day.
My docker compose file:
Thank you in advance for any help
Hi, I was having a similar if not the same issue as you.
Anyway after the update the config file "confluence.cfg.xml" was overwritten with a new one that triggered the setup mode.
It was my bad that I didn't keep the old image after the update, I should have tagged it before replacing it with the new one.
To resolve I recovered that config file from a previous backup (make sure it is the same version) and switched the image to an unofficial one from cptactionhank/atlassian-confluence (you will need to change the env vars and the volumes mapping)
Hm, I downgraded container to version 6.15.5 and restored confluence.cfg.xml + server.xml files. The Confluence starts without any problem. But both new version 6.15.6 and 6.15.7 always clear the confluence.cfg.xml file and Confluence wants to start a clean installation. It is really bad.
Xbb, thanks for the tip the cptactionhank/atlassian-confluence works well, but I would expect this from the official image. However, I prefer the official one, so I'll wait for a fix or other solution. I am also considering clean installation and recover from last backup.
I performed a clean installation of the latest version (6.15.7) and succesfuly restored all data from a backup. Everything worked fine until I restarted the docker container. After restarting the Confluence container, the confluence.cfg.xml file was reset again.
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events