Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

2018-02-16 Thread Marc Gilliatt
Also, I checked the Apache log for every time I reload the GUI, and the error 
I'm getting is...


==> /var/log/apache2/error.log <==
[Fri Feb 16 09:12:41.868457 2018] [cgid:error] [pid 65501:tid 140267832579968] 
(13)Permission denied: AH01241: exec of '/usr/share/backuppc/cgi-bin/index.cgi' 
failed
[Fri Feb 16 09:12:41.869199 2018] [cgid:error] [pid 65386:tid 140267625625344] 
[client 10.16.5.21:22444] End of script output before headers: index.cgi

==> /var/log/apache2/access.log <==
10.16.5.21 - backuppc [16/Feb/2018:09:12:41 +] "GET 
/backuppc/index.cgi?action=summary HTTP/1.1" 500 809 "-" "Mozilla/5.0 (Windows 
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/64.0.3282.140 Safari/537.36"


From: Marc Gilliatt 
Sent: 16 February 2018 09:05:19
To: Michael Stowe
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


I've just tried the /configure.pl --batch --cgi-dir /var/www/cgi-bin/BackupPC 
--data-dir /var/lib/backuppc --backuppc01 backuppc  --html-dir 
/var/www/html/BackupPC' command, and it hasn't worked I'm afraid, I tried 
reinstalling the Bakcuppc-41.3 tar file again, and gave it the full correct 
paths, and when I try to restart the service I'm still getting Job for 
backuppc.service failed because the control process exited with error code. See 
"systemctl status backuppc.service" and "journalctl -xe" for details. With 
regards to the SCGI port number, do I set it to -1 or give it a port number?


And I'm still getting the internal error in the GUI. I don't understand why 
this has happened, all I did was upgraded the software, it looks like I'm going 
to have to re-raid my server and start fresh!!!


Is there any way to roll back to my previous version of BackupPC please?


From: Michael Stowe 
Sent: 15 February 2018 06:23:19
To: Marc Gilliatt
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


FROM: Michael Stowe  SENT: 13 February 2018 
09:01 TO: Marc Gilliatt CC: General list for user discussion, questions and 
support SUBJECT: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

On 2018-02-13 00:34, Marc Gilliatt wrote:

So can I just install the tar file again then, and when it asks me for the 
_Full path to existing main config.pl []? _should I put what you had mentioned?

My suggestion is yes, give it a whirl.

More accurately, I'd suggest saving a copy of your current config.pl, so you 
can try again if anything goes awry. Also, depending on what procedure or 
script you're using, you may want to examine it to see if it has options to 
update your config.pl or assume you need a new one, as the one from which that 
command line came. It doesn't need to be done at the same time as the tar 
installation, but it won't hurt to go through the steps again, either.

On 2018-02-14 04:18, Marc Gilliatt wrote:

When I try and give it the full path to the config.pl path and I press enter. 
It's just repeating the path I have given it, it's not moving on to the next 
step of the installation?

Example:

--> Full path to existing main config.pl []? /configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC The file ‘/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC’ doesn't exist.

Is this a new installation or upgrade for BackupPC? If this is an upgrade 
please tell me the full path of the existing BackupPC configuration file (eg: 
/etc/BackupPC/config.pl). Otherwise, just hit return.

--> Full path to existing main config.pl [/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC]? The file ‘/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC’ doesn't exist.

Is this a new installation or upgrade for BackupPC? If this is an upgrade 
please tell me the full path of the existing BackupPC configuration file (eg: 
/etc/BackupPC/config.pl). Otherwise, just hit return.

It just keeps repeating itself?

I believe I misunderstood what you were asking. When it asks for the full path, 
just give it the full path to your config.pl, which is likely to be something 
like /etc/BackupPC/config.pl — I'm not sure what the Ubuntu convention is, so 
you might need to locate it first. What I provided was a command line that 
would process a config.pl in the current directory, that you may need to tailor 
to your current paths. Sorry about the confusion.


--

Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

2018-02-16 Thread Marc Gilliatt
I've just tried the /configure.pl --batch --cgi-dir /var/www/cgi-bin/BackupPC 
--data-dir /var/lib/backuppc --backuppc01 backuppc  --html-dir 
/var/www/html/BackupPC' command, and it hasn't worked I'm afraid, I tried 
reinstalling the Bakcuppc-41.3 tar file again, and gave it the full correct 
paths, and when I try to restart the service I'm still getting Job for 
backuppc.service failed because the control process exited with error code. See 
"systemctl status backuppc.service" and "journalctl -xe" for details. With 
regards to the SCGI port number, do I set it to -1 or give it a port number?


And I'm still getting the internal error in the GUI. I don't understand why 
this has happened, all I did was upgraded the software, it looks like I'm going 
to have to re-raid my server and start fresh!!!


Is there any way to roll back to my previous version of BackupPC please?


From: Michael Stowe 
Sent: 15 February 2018 06:23:19
To: Marc Gilliatt
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


FROM: Michael Stowe  SENT: 13 February 2018 
09:01 TO: Marc Gilliatt CC: General list for user discussion, questions and 
support SUBJECT: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

On 2018-02-13 00:34, Marc Gilliatt wrote:

So can I just install the tar file again then, and when it asks me for the 
_Full path to existing main config.pl []? _should I put what you had mentioned?

My suggestion is yes, give it a whirl.

More accurately, I'd suggest saving a copy of your current config.pl, so you 
can try again if anything goes awry. Also, depending on what procedure or 
script you're using, you may want to examine it to see if it has options to 
update your config.pl or assume you need a new one, as the one from which that 
command line came. It doesn't need to be done at the same time as the tar 
installation, but it won't hurt to go through the steps again, either.

On 2018-02-14 04:18, Marc Gilliatt wrote:

When I try and give it the full path to the config.pl path and I press enter. 
It's just repeating the path I have given it, it's not moving on to the next 
step of the installation?

Example:

--> Full path to existing main config.pl []? /configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC The file ‘/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC’ doesn't exist.

Is this a new installation or upgrade for BackupPC? If this is an upgrade 
please tell me the full path of the existing BackupPC configuration file (eg: 
/etc/BackupPC/config.pl). Otherwise, just hit return.

--> Full path to existing main config.pl [/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC]? The file ‘/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC’ doesn't exist.

Is this a new installation or upgrade for BackupPC? If this is an upgrade 
please tell me the full path of the existing BackupPC configuration file (eg: 
/etc/BackupPC/config.pl). Otherwise, just hit return.

It just keeps repeating itself?

I believe I misunderstood what you were asking. When it asks for the full path, 
just give it the full path to your config.pl, which is likely to be something 
like /etc/BackupPC/config.pl — I'm not sure what the Ubuntu convention is, so 
you might need to locate it first. What I provided was a command line that 
would process a config.pl in the current directory, that you may need to tailor 
to your current paths. Sorry about the confusion.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/