Thursday, July 31, 2008

BackupPC on FreeNAS - Part 2

As I've written in my first posting about running BackupPC on FreeNAS, I was not able to get the Web-GUI running after a reboot. But... I've found the solution :-)

And I have to say, it is a very easy one...

Here we go:

Save the original /etc/rc.d/lighttpd

freenas:/etc/rc.d# cp lighttpd /root/lighttpd.orig

And change the following row

cgi.assign = (".php" => "/usr/local/bin/php")

to this

cgi.assign = (".php" => "/usr/local/bin/php",
"/BackupPC_Admin" => "")


Thats it! The Web-Gui should also work after a reboot...

3 comments:

Anonymous said...

Hello I was wondering if youwouldn't mind taking a stab at getting torrentflux to work on FreeNAS?

harryd said...

Currently I don't want to use my FreeNAS for downloading torrents. Sorry... But there is a lot of information about how to install a bit-torrent client on FreeNAS available. Look at the FreeNAS Forums on sourceforge.net

Regards, harryd71

slaphead99 said...

Thank you so much for your post. I never would have attempted it without this. I just wanted to add this: my advice to anyone else to ensure that they configure their FreeNAS with SWAP space. I didn't and tit took me a while to figure out why backups were always failing. Cheers!

(Also - using 'pkg_add' may work better when adding packages as it will always use the appropriate versions)