Bug 45893 - Apache does not start at UCS 4.3 installation
Apache does not start at UCS 4.3 installation
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Apache
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Florian Best
Felix Botner
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-19 10:42 CET by Florian Best
Modified: 2018-03-14 14:38 CET (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 Florian Best univentionstaff 2017-12-19 10:42:10 CET
root@unassigned-hostname:~# /etc/init.d/apache2 restart
[FAIL] Restarting Apache httpd web server: apache2 failed!
[warn] The apache2 configtest failed. ... (warning).
Output of config test was:
AH00526: Syntax error on line 14 of
/etc/apache2/conf-enabled/univention-web.conf:
Invalid command 'ExpiresActive', perhaps misspelled or defined by a
module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
root@unassigned-hostname:~#
Comment 1 Florian Best univentionstaff 2017-12-19 11:00:34 CET
The (post)installation of univention-web shows:
ERROR: Module expires does not exists!
Comment 2 Florian Best univentionstaff 2017-12-19 11:06:44 CET
The following things have been done:
* the postinst of univention-web-js restarts apache2 on a new installation of the package.
* univention-web explicit depends on univention-apache
* univention-apache explicit depends on apache2

univention-web (2.0.0-2)
be085ffea1f5 | Bug #45893: fix starting of apache during Installation

univention-apache (10.0.0-3)
6af50552b67f | Bug #45893: add explicit dependency on apache2

The new packages are currently building.
Comment 3 Florian Best univentionstaff 2017-12-19 13:11:22 CET
I tested it and it works.
Comment 4 Stefan Gohmann univentionstaff 2017-12-20 06:39:43 CET
Yes, it works. Please add a changelog entry.
Comment 5 Florian Best univentionstaff 2017-12-20 13:11:19 CET
Changelog has been added.
Comment 6 Felix Botner univentionstaff 2017-12-21 15:16:28 CET
OK - apache/UMC works during installation
OK - changelog
Comment 7 Felix Botner univentionstaff 2018-01-18 18:28:34 CET
univention-web-js (2.0.0-4A~4.3.0.201801171728) wird eingerichtet ...
File: /usr/share/univention-web/js/umc/hooks.json
File: /var/www/univention/languages.json
File: /etc/apache2/conf-available/univention-web.conf
Conf univention-web already enabled
Module expires already enabled
Not updating ucs/server/languages/en_US
Not updating ucs/server/languages/de_DE
Not updating ucs/server/languages/en_GB
Not updating ucs/server/languages/de_AT
Not updating ucs/server/languages/de_CH
Not updating umc/web/hooks/univention-web-js
/var/lib/dpkg/info/univention-web-js.postinst: Zeile 51: [: Fehlende `]'


-if [ "$1" = "configure" && -z "$2" ]; then
+if [ "$1" = "configure" -a -z "$2" ]; then
Comment 8 Florian Best univentionstaff 2018-01-18 18:39:17 CET
Thanks, fixed in d49141d0.
Comment 9 Felix Botner univentionstaff 2018-01-18 19:25:54 CET
OK
Comment 10 Stefan Gohmann univentionstaff 2018-03-14 14:38:47 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

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