Bug 41478 - Setup and update of latest docker images via setup wizard leads to broken apache configuration
Setup and update of latest docker images via setup wizard leads to broken apa...
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Docker
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-4-errata
Assigned To: Erik Damrose
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-06 16:02 CEST by Alexander Kläser
Modified: 2017-05-23 14:24 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.343
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
Screenshot of the setup wizard session (60.33 KB, image/png)
2016-06-06 16:02 CEST, Alexander Kläser
Details
updater.log (395.02 KB, text/plain)
2016-06-06 16:04 CEST, Alexander Kläser
Details
setup.log (286.12 KB, text/plain)
2016-06-06 16:04 CEST, Alexander Kläser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2016-06-06 16:02:12 CEST
Created attachment 7719 [details]
Screenshot of the setup wizard session

I started the setup wizard along with performing the update. I ended up with the attached screenshot. If I try to restart apache, I get the following error:

> root@dockertest:/# service apache2 restart
> Syntax error on line 19 of /etc/apache2/sites-enabled/default-ssl:
> SSLCertificateFile: file '/tmp/tmp.0vAurXUVpg' does not exist or is empty
> Action 'configtest' failed.
> The Apache error log may have more information.
>  failed!

This error can also be found in the log files. The SSLCertificateFile is empty. I started my docker instance with:

> docker run -d --name ucs41 --hostname=dockertest \
>   -e domainname=testdomain.local -e nameserver1=8.8.8.8 \
>   -e rootpwd=univention -p 8015:80 univention/ucs-generic-amd64 /sbin/init
Comment 1 Alexander Kläser univentionstaff 2016-06-06 16:04:31 CEST
Created attachment 7720 [details]
updater.log
Comment 2 Alexander Kläser univentionstaff 2016-06-06 16:04:42 CEST
Created attachment 7721 [details]
setup.log
Comment 3 Erik Damrose univentionstaff 2017-04-25 16:49:31 CEST
I tested with the latest docker image, which is currently UCS 4.1-3 e234. I noticed that
* The online repository is active, so updated packages might be installed right away
* That docker image has the univention-ssl issue from bug 24094, errata 213, that was fixed in bug 42837 errata 361. That error is therefore to be expected in the docker image.

-> We should create a new docker image
Comment 4 Erik Damrose univentionstaff 2017-04-25 17:00:19 CEST
wontfix: A new docker image should be created -> Bug #44468
Comment 5 Stefan Gohmann univentionstaff 2017-05-23 14:24:15 CEST
OK
Comment 6 Stefan Gohmann univentionstaff 2017-05-23 14:24:50 CEST
Nothing to release