I recently upgraded my mythbuntu installation from 12.04 to 14.04. For some reason the distribution upgrade tool failed on me. I had to upgrade manually by updating everything in /etc/apt/sources* to point to trusty instead of precise.
After a reboot I was surprised to find out that everything upgraded beautifully except for one thing – mythweb. When I tried to start Apache I was greeted with this lovely message:
* The apache2 configtest failed. Output of config test was: AH00526: Syntax error on line 30 of /etc/apache2/sites-enabled/mythweb.conf: Illegal option AllowAll Action 'configtest' failed. The Apache error log may have more information.
It turns out Ubuntu 14.04 uses a different version of Apache with different syntax, which breaks the configuration. Thanks to this post I found the fix to be relatively easy:
sudo rm /etc/apache2/sites-available/mythweb.conf sudo dpkg-reconfigure mythweb sudo /etc/init.d/apache2 start
After that was done, all was well and upgraded.
Nicholas, thank you for this 2 year old write up. I have FINALLY upgraded to Mythbuntu 14.04.5 and ran into the same problem (as well as a few others). This worked like a charm and now I am up and running.
I’m glad these old write ups are still of use to someone!
Oh, you would not believe… I know for a fact by now that every time I touch anything on a computer countless things WILL break, and I will spend half of eternity to get _maybe_ half of them simply back where they used to be, never managing to fix the rest… so I usually just don’t bother if I can. I’m currently dragging my 12.04 up the upgrade ladder (which of course worked flawlessly so far, it’s just incompatible with a new Kodi front end I just got), snapshotting the whole partition fully expecting it to completely fall apart on one of the upgrades, and one of the things that belly-flopped on 12 -> 14 was of course Mythweb. Without your advice I would have been at a complete loss as to where to get a working config file and what to point where in it. Thanks a lot…!
Haha I’m glad this was still helpful to someone!