Apache 2.4 transition broke the web interface

Bug #1243476 reported by MDill
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
backuppc (Debian)
Fix Released
Unknown
backuppc (Ubuntu)
Fix Released
High
Unassigned

Bug Description

The 13.04 to 13.10 upgrade updates apache2 to version 2.4 which no longer reads configurations from the /etc/apache2/conf.d directory. backuppc now needs to symlink /etc/backuppc/apache.conf to /etc/apache2/conf-enabled/backuppc.conf instead of /etc/apache2/conf.d/backuppc.conf as it currently does.

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This was fixed in Debian 3.3.0-1 and needs a merge.

summary: - ubuntu 13.04 to 13.10 upgrade breaks web interface
+ Apache 2.4 transition broke the web interface
Changed in backuppc (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Robie Basak (racb) wrote :

A workaround is available but on second thoughts this seems like essential package functionality to me.

Changed in backuppc (Ubuntu):
importance: Medium → High
Changed in backuppc (Debian):
status: Unknown → Fix Released
Revision history for this message
matt (matthiasgies) wrote :

Problem also occurs on my freshly installed ubuntu server 13.10 amd64.

Revision history for this message
odror (ozdror) wrote :

I have just installed backuppc on AMD64. (fresh install of 13.10)

There is still a problem or the fix is not in the repository. What is the version of the fix|?

Revision history for this message
Paul Thompson (whpaul-thompson) wrote :

A temporary workaround is to create a symbolic link in the /etc/apache2/conf-enabled directory to the existing configuration file in /etc/apache2/conf.d directory:

sudo ln -s /etc/apache2/conf.d/backuppc.conf /etc/apache2/conf-enabled/backuppc.conf

restarting the apache2 webserver should re-enable web access to backuppc

Revision history for this message
matt (matthiasgies) wrote :

Workaround did not work for me on a freshly installed system. Getting the following error on restart of apache2:

 * Restarting web server apache2
   ...fail!
 * The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf-enabled/backuppc.conf: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.

Revision history for this message
matt (matthiasgies) wrote :

Instead this workaround worked (like MDill described in the original Bug Description):

ln -s /etc/backuppc/apache.conf /etc/apache2/conf-enabled/backuppc.conf

Revision history for this message
Jonathan Pasquier (jonathan-pasquier) wrote :

Same problem here (Ubuntu Gnome 13.10)
matt workaround did work for me though.

When installing backuppc, I got these 3 errors (that looks unrelated, but hey, who knows):
adduser : Attention ! Le répertoire personnel « /var/lib/backuppc » n'appartient pas à l'utilisateur que vous êtes en train de créer.
chown: impossible d'accéder à «/var/lib/backuppc/log/*»: Aucun fichier ou dossier de ce type
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

Thanks matt for the workaround!

Revision history for this message
Simon Déziel (sdeziel) wrote :

This is fixed in Xenial.

Changed in backuppc (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.