Univention Bugzilla – Bug 55240
XWiki: Docker restart policy missing
Last modified: 2023-05-23 16:25:01 CEST
the installation from XWiki works fine. I reproduced this on a totally freshly build up 4.4-9 errata1279.
The installation works and also the first initial call from the App is fine, but after a reboot from the UCS where the App is installed it never comes automatically back again.
"docker ps" shows that there are no containers started for XWiki
I changed the directory and was gone to: "/var/lib/univention-appcenter/apps/xwiki/compose"
Tried then a "docker-compose up -d", which gives us the following error message:
"Creating network "compose_appcenter_net" with the default driver
ERROR: Pool overlaps with other one on this address space"
Then the following workaround worked for starting up XWiki:
"docker system prune -f"
"vim docker-compose.yml" (within /var/lib/univention-appcenter/apps/xwiki/compose) and add the restart policy for the "web" and "db" container with adding this line directly after the "container-name":
Then a start is executed with:
"docker-compose up -d"
Then do a reboot with "reboot" was proceeded. XWiki now starts fine with his belonging DB as container with the docker-service.
TL;DR: /var/lib/univention-appcenter/apps/xwiki/compose/docker-compose.yml missing the "restart: unless-stopped" for "web" and "db".
Thanks & Regards,
Thanks for the detailed report. The App Provider for XWiki is XWiki SAS, though: https://www.univention.com/products/univention-app-center/app-catalog/xwiki/
They are responsible for the App and for the YAML file. At least I know of no other agreement.
Customer affected Ticket#2023051521000532
UCS: 5.0-2 errata431
I do the workaround on my test system UCS: 5.0-3 errata668 and that solve the problem.