Re: [BackupPC-users] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-09 Thread Filipe

Holger Parplies wrote:

Hi,

Filipe Silva wrote on 08.03.2007 at 12:13:04 [[BackupPC-users] anyone running 
version 3.0.0 in DEBIAN with no problems?]:
  

I have updated from 2.1.1 deb package, to 3.0.0 tar.gz



I hope you at least did that by removing the package and then reinstalling?
It's always a bad idea to take something which is under the control of your
package management system and randomly change file contents, paths etc.

  

should I install the unstable .deb package?



Yes. As far as I can figure out without actually installing apache et al. on
my not-really-so-test system it doesn't pull in any dependencies not
satisfiable within sarge. If you don't want an entry for sid in your
sources.list, download the package (eg. 'rsync
ftp.de.debian.org::debian/pool/main/b/backuppc/backuppc_3.0.0-2_all.deb /tmp'
- you could have used wget, but we all love rsync, don't we? ;-), install it
with 'dpkg -i /tmp/backuppc_3.0.0-2_all.deb' and, if that should complain
about failed dependencies, install those with 'apt-get -f install' (which
should then also configure the backuppc package and exit successfully).

Of course, if you updated your 2.1.1 deb to 3.0.0 with the tar installer,
things may be more difficult. Apparently you've moved around your
configuration, so that's probably the case. For a clean package *update*,
everything should probably look exactly like it does with the version you're
updating *from* cleanly installed before you attempt the update (that's 2.1.1
in your case).

Hint: have a look at /var/lib/dpkg/info/backuppc.list ...

Regards,
Holger

  

Excellent explanation!
after making a minor changes in config.pl and httpd.conf, dir name, 
backuppc 3.0.0 finally fully functional!

Thanks a lot for the help.
After all it wasn't permissions problems or suid stuff.
this time I didn't even have to look at this issue. it wen smoothly :)

many thanks

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-08 Thread Filipe Silva

I have already talked about this in some posts, some things were solved
other don't...

I have updated from 2.1.1 deb package, to 3.0.0 tar.gz

Why the is no index.cgi in the source cgi-bin dir? I found out that my
index.cgi is the same from the 2.1.1 package...

almost everything is working now except the buttons in webif to start
full/incr backups, and edit config files...

I think now I discovered why. it's not permissions, it is locations...
I have config.pl in /etc/BackupPC/ and per pc config in
/etc/BackupPC/pc/$host.pl
it is the normal setup right?

so why do I see this in EditConfig.pm (line 348):

sub action
{
   my $pc_dir = $TopDir/pc;
   my($content, $contentHidden, $newConf, $override, $mainConf, $hostConf);
   my $errors = {};

   my $host = $In{host};
   my $menu = $In{menu} || server;
   my $hosts_path = $Hosts;
   my $config_path = $host eq  ? $TopDir/conf/config.pl
 : $TopDir/pc/$host/config.pl;


I investigate more and I found that there is a deb package of version 3.0.0.
so I looked inside the various files and compared to mine... also I saw the
diff.gz but i don't know how to read it and it is really big. :o
there is a index.cgi in this .deb package but none in tar.gz...

what should I do now?
I moved my host config files from TopDIr to /etc/backuppc some tima ago,
then I moved to /etc/BackupPC/pc/* will I nedd to move them again?
should I install the unstable .deb package?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-08 Thread Nils Breunese (Lemonbit)

Filipe Silva wrote:


I have updated from 2.1.1 deb package, to 3.0.0 tar.gz

Why the is no index.cgi in the source cgi-bin dir? I found out that  
my index.cgi is the same from the 2.1.1 package...


There is no index.cgi in the source distribution, that was something  
added by the Debian packager. The normal location to reach the  
BackupPC web interface is /cgi-bin/BackupPC_Admin.


Nils Breunese.


PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-08 Thread Holger Parplies
Hi,

Filipe Silva wrote on 08.03.2007 at 12:13:04 [[BackupPC-users] anyone running 
version 3.0.0 in DEBIAN with no problems?]:
 I have updated from 2.1.1 deb package, to 3.0.0 tar.gz

I hope you at least did that by removing the package and then reinstalling?
It's always a bad idea to take something which is under the control of your
package management system and randomly change file contents, paths etc.

 should I install the unstable .deb package?

Yes. As far as I can figure out without actually installing apache et al. on
my not-really-so-test system it doesn't pull in any dependencies not
satisfiable within sarge. If you don't want an entry for sid in your
sources.list, download the package (eg. 'rsync
ftp.de.debian.org::debian/pool/main/b/backuppc/backuppc_3.0.0-2_all.deb /tmp'
- you could have used wget, but we all love rsync, don't we? ;-), install it
with 'dpkg -i /tmp/backuppc_3.0.0-2_all.deb' and, if that should complain
about failed dependencies, install those with 'apt-get -f install' (which
should then also configure the backuppc package and exit successfully).

Of course, if you updated your 2.1.1 deb to 3.0.0 with the tar installer,
things may be more difficult. Apparently you've moved around your
configuration, so that's probably the case. For a clean package *update*,
everything should probably look exactly like it does with the version you're
updating *from* cleanly installed before you attempt the update (that's 2.1.1
in your case).

Hint: have a look at /var/lib/dpkg/info/backuppc.list ...

Regards,
Holger

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/