Bug 44071 - systemctl daemon-reload before starting container with /etc/init.d/... start
systemctl daemon-reload before starting container with /etc/init.d/... start
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Stefan Gohmann
Felix Botner
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-24 14:29 CET by Felix Botner
Modified: 2017-04-04 18:30 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-03-24 14:29:53 CET
I cant install a docker in 4.2

Could not login to nextcloud. You may not be able to pull the image from the repository!
11.0.2-0: Pulling from nextcloud/univention-app-image
Digest: sha256:9262b29f8954fc48392283e53a7b2df7448aa3abab2296f8c2d5559913bce931
Status: Image is up to date for nextcloud/univention-app-image:11.0.2-0
Initializing app image
Preconfiguring container d7bc97973a9a290b2282acfbeb4b36613e1fa52808b488103b8ec72e15041f2a
Failed to start docker-app-nextcloud.service: Unit docker-app-nextcloud.service failed to load: No such file or directory.
Starting docker-app-nextcloud (via systemctl): docker-app-nextcloud.service failed!
Unable to start the container!
Aborting...

-> /etc/init.d/docker-app-nextcloud
Failed to start docker-app-nextcloud.service: Unit docker-app-nextcloud.service failed to load: No such file or directory.

But after a 

-> systemctl daemon-reload 

it works. So we have to "systemctl daemon-reload" before starting the container with the init script during the installation.
Comment 1 Stefan Gohmann univentionstaff 2017-03-24 16:00:11 CET
r78299 (univention-appcenter 6.0.5-1A~4.2.0.201703241542):
* Call 'systemctl daemon-reload' after adding a new init script
  (Bug #44071)

r78301:
* Added Bug #44071 to existing changelog entry
Comment 2 Felix Botner univentionstaff 2017-03-27 13:05:46 CEST
OK
Comment 3 Stefan Gohmann univentionstaff 2017-04-04 18:30:00 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".