← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1307548] [NEW] updating from 12.04 to 14.04 causes apache to not start

 

Public bug reported:

Upgrading from 12.04 to 14.04 causes apache to not start:

 * Starting web server apache2                                                                                                                  * 
 * The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 30 of /etc/apache2/sites-enabled/mythweb.conf:
You may not use 'Options +All' or 'Options -All'.
Action 'configtest' failed.
The Apache error log may have more information.


This is because 12.04 had apache2 2.2.  14.04 has 2.4.  The supported syntax changed between apache releases.

Fixed by:

$ sudo rm /etc/apache2/sites-available/mythweb.conf
$ sudo dpkg-reconfigure mythweb
$ sudo /etc/init.d/apache2 start


I think during dist-upgrade we might want to either remove mythweb.conf so it can regenerate (easier/safer), or fix this in postinst for upgrade.

** Affects: mythbuntu
     Importance: Undecided
         Status: New

** Affects: mythtv (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: mythbuntu
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/1307548

Title:
  updating from 12.04 to 14.04 causes apache to not start

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  New
Status in “mythtv” package in Ubuntu:
  New

Bug description:
  Upgrading from 12.04 to 14.04 causes apache to not start:

   * Starting web server apache2                                                                                                                  * 
   * The apache2 configtest failed.
  Output of config test was:
  AH00526: Syntax error on line 30 of /etc/apache2/sites-enabled/mythweb.conf:
  You may not use 'Options +All' or 'Options -All'.
  Action 'configtest' failed.
  The Apache error log may have more information.

  
  This is because 12.04 had apache2 2.2.  14.04 has 2.4.  The supported syntax changed between apache releases.

  Fixed by:

  $ sudo rm /etc/apache2/sites-available/mythweb.conf
  $ sudo dpkg-reconfigure mythweb
  $ sudo /etc/init.d/apache2 start

  
  I think during dist-upgrade we might want to either remove mythweb.conf so it can regenerate (easier/safer), or fix this in postinst for upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/1307548/+subscriptions


Follow ups

References