CGI interface does not work after installation
Bug #1835929 reported by
Xander
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backuppc |
Fix Released
|
Unknown
|
|||
backuppc (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Bionic |
Triaged
|
High
|
Unassigned | ||
Disco |
Won't Fix
|
Undecided
|
Unassigned | ||
Eoan |
Won't Fix
|
Medium
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
System Information:
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Clean install, sudo apt update, sudo apt upgrade then sudo apt install backuppc
Package installed from ubuntu repository: Backuppc 3.3.1-4ubuntu1
After installing the package, navigating to http://<hostname>/backuppc prompts firefox to download the page instead of viewing it.
To rectify this I had to input the following two commands:
sudo a2disconf serve-cgi-bin
sudo service apache2 restart
This was also reported on the github page:
https:/
Has this already been fixed?
Changed in backuppc: | |
status: | Unknown → New |
tags: | removed: server-next |
Changed in backuppc: | |
status: | New → Fix Released |
Changed in backuppc (Ubuntu Disco): | |
status: | New → Won't Fix |
To post a comment you must log in.
$ lxc exec bionic-19-032-1 -- bash RELEASE= 18.04 CODENAME= bionic DESCRIPTION= "Ubuntu 18.04.2 LTS"
$ uname -a
Linux bionic-19-032-1 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ apt-get -y install backuppc
$ apt-get -y install lynx
### Reset password to 'password' or whatever htpasswd backuppc
$ htpasswd /etc/backuppc/
$ lynx bionic-19-032-1
This prompts for basic auth, entered:
username: backuppc
password: password
This then shows binary garbage, starting with "ELF>@@8 @@@@88 8@..."
Opening the lxc container's network in firefox also prompts for auth, and then displays a dialog:
------- ------- ------- ------- -
"You have chosen to open:
which is: application/ octet-stream (6.0 KB) nn.nnn. nn.nnn ------- ------- ------- -
from: http://
Would you like to save this file?
-------
Then performing the suggested workaround:
$ a2disconf serve-cgi-bin
Conf serve-cgi-bin disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
$ service apache2 restart
This brings up a BackupPC Server Status page.
In firefox, bringing up "http:// 10.208. 83.246/ backuppc/ index.cgi? action= summary" then works as well.