Bug 55240 - (norestartpolicy) XWiki: Docker restart policy missing
XWiki: Docker restart policy missing
Status: NEW
Product: UCS
Classification: Unclassified
Component: Docker
UCS 4.4
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
Depends on:
  Show dependency treegraph
Reported: 2022-10-05 15:47 CEST by Max Rößler
Modified: 2023-05-23 16:25 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022092921000421, 2023051521000532
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Max Rößler univentionstaff 2022-10-05 15:47:21 CEST
Hello Dev-Team,

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":

    restart: unless-stopped

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,
Comment 1 Dirk Wiesenthal univentionstaff 2022-10-05 15:53:44 CEST
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.
Comment 2 Mirac Erdemiroglu univentionstaff 2023-05-17 10:37:24 CEST
Customer affected Ticket#2023051521000532

UCS: 5.0-2 errata431
Installed: 4.4/xwiki=13.10.6
Comment 3 Mirac Erdemiroglu univentionstaff 2023-05-23 16:25:01 CEST
I do the workaround on my test system UCS: 5.0-3 errata668 and that solve the problem.