Latest interface: 0.2-beta8
Latest system: 9.1-005
Pages: 1 2 3
Kriss
User

131 posts

Posted on 1 August 2011 @ 00:52edited 7 February 2012 @ 08:20
Updated Guide (06 feb 2012)

HOWTO SABnzbd, Sickbeard, Couchpotato, Headphones and Transmission v2.2

http://dl.dropbox.com/u/36835219/Howto_SABnzbd_Sickbeard_Couchpotato_on_ZFSguru.pdf



NEW!!

Lazy admin Scripted installers (LaSi) FreeBSD Edition


http://dl.dropbox.com/u/36835219/LaSi/LaSi.sh

This script presents a menu from which you can install the applications. It's forked from:
https://github.com/Mar2zz/LaSi
The_Dave
User

218 posts

Posted on 2 August 2011 @ 10:49
Awesome work! Any AMP love?
Kriss
User

131 posts

Posted on 2 August 2011 @ 23:25edited 23:35 58s
Do you mean: Apache, Mysql and PHP?
Why do you need apache? Since Lighttpd is already installed.

I'm also working on a guide to install Spotweb. http://www.spot-net.nl/spotweb/
Its already running on my ZFSguru-box with lighttpd.

Spotweb needs mysql/sqlite, PHP5 and of course a web-server. In the guide I will cover the installation of mysql and PHP5-extensions, but no apache.
The_Dave
User

218 posts

Posted on 3 August 2011 @ 21:26edited 21:26 38s
Don't really need apache just seems like its usually bunlded in one easy to install package. Really just looking at mysql for a XBMC backend and maybe phpmyadmin to manage it. I'm not familiar with SpotWeb but from looking at the website it looks like its php+sql? Anyways, seems very promising. I switched from ZFSGuru to Solaris Express 11 a little bit ago but am thinking about switching back since management is easier.

With the ability to run these services nativly and not HAVE to rely on a VM to do this, I am going to switch. Plus running these through VirtualBox in ZFSGuru, I remember I was having problems with the files wrote (touched) having permission problems from outside the VM.

Anyways, thanks for the work Kriss and keep it up!
Kriss
User

131 posts

Posted on 4 August 2011 @ 06:35
I'm just a mechanical engineer, who is interested in PC and stuff. This is why I don't know much about mysql,PHP,apache, etc. etc. I just know a little bit of everything.
Because I like to know how everything works, I gather all the information I need to get my programs running. Its becoming a lot of info and thats why I thought: lets write it down.

I'm sorry if I can't help you with all your questions. I hope you understand that's not because I don't want to, but because I don't know it either.

I will post the Spotweb guide when its finished and I hope you can use some parts of the information.

After the Spotweb guide I will start with a guide that combines all the information of all the programs I'm running. Including the configuration, because these programs can do a lot.
Sleepie
User

14 posts

Posted on 6 August 2011 @ 09:11edited 10:30 14s
I got everything working, except for two little issues with SABnzbd.

The first is, it won't let me send any emails. If I try to send a test email I get: "Email Test Result = No email templates found"
I can live without that, but just curious if it can be solved :)

The second thing is a bit more annoying.
I cannot add NZBs via the NZB pulldown menu at the right top.
If I pick a NZB from my workstation harddrive, and click Upload ... nothing seems to happen.
I would like to have this one solved if possible :)

And I'm wondering if there is a way to upgrade?
Installed version is 0.6.5 and 0.6.7 is out now :)
Kriss
User

131 posts

Posted on 6 August 2011 @ 21:44
I don't use the email function, yet.

The NZB issue may be related to permissions. I'm trying to find the install dir of SAB. Haven't found it yet.
Sleepie
User

14 posts

Posted on 6 August 2011 @ 22:16
I had the same thoughts about the NZB issue.
It probably due to the fact that the 'nfs' user doesn't have permissions on one of the SABnzbd install (sub-)folders.

Thinking of it, that might be the problem with email too (maybe 'nfs' cannot/may not read some template folder).

I was (and still am) curious if you have the same problems?
Kriss
User

131 posts

Posted on 6 August 2011 @ 22:50
Yes, I have the same problem with the NZB's. It never occurred to me, because I don't use that function. My browser(plugin) automatically sends the NZB's to SABnzbd.

Does anybody know where the SABnzbd program dir, is located?
Sleepie
User

14 posts

Posted on 6 August 2011 @ 22:54
I don't use it often, since SickBeard and/or CouchPotato will indeed send the NZBs to SABnzbd.
However, I had a mdadm raid on Linux which somehow destroyed itself after a failed drive. I lost all my data in the process :) That is the reason I am using ZFS now, even more security for my files.

And since I have a copy of a lot of the nzb-files the Upload NZB function is very handy, since you can assign a catagory there too.
NZBBlackhole dir works (that's what I'm using now), but you have to set the category for each and every download :(

I have read somewhere that a lot of the SABnzbd files/libraries are stored in the python directory, haven't had time to check that yet.
Kriss
User

131 posts

Posted on 6 August 2011 @ 23:15
Sleepie wrote:
I have read somewhere that a lot of the SABnzbd files/libraries are stored in the python directory, haven't had time to check that yet.

Yes there it is:

/usr/local/lib/python2.7/site-packages/sabnzbd/
/usr/local/share/sabnzbdplus

I changed the permissions of the second folder to 775 but that doesn't help.
Sleepie
User

14 posts

Posted on 6 August 2011 @ 23:22
It might just be a problem in SABnzbd 0.6.5 of course.
But I checked the changelog of 0.6.6 and didn't see a fix for this problem.

Now we know where the files are, I'm gonna install a Ubuntu server as a VM, maybe I can spot some differences.

No time for that now though, will be later today or tomorrow.
Kriss
User

131 posts

Posted on 7 August 2011 @ 00:52
I just ran SABnzbd as user:root, group:wheel and still nothing happens. There might be another problem, like you said.
Jason
Developer

684 posts

Posted on 7 August 2011 @ 01:08
Hey Kriss, thanks for writing your guide! I hope I can use it to help creating the official SABnzbd/Sickbeard/Couchpotato service addon when the time comes. Until then, I hope people can use your guide to get something working in the meantime.

I know little problems like permissions can spoil the fun; but it does give me a heads-up about potential issues when creating the official add-on. Hope you guys can make this work!
Sleepie
User

14 posts

Posted on 7 August 2011 @ 09:56edited 09:56 49s
Nice looking new guide Kriss!

Just a thing I noticed when I installed everything.
When I started sabnzbd for the first time, I pointed my browser of my workstation to the NAS IP (or hostname), port 8080 and got nothing.

Problem was that in sabbznd's settings file the hostname was set to "localhost".
So if someone faces this problem:
- cd /usr/home/nfs/sabnzbd
- ee sabnzbd.ini
- look for the line 'host = localhost' and change it to 'host = 0.0.0.0'
- press esc key ----> leave editor ----> save

I guess this might be handy to include in the guide, maybe in a 'Troubleshooting' section at the end?
You could then probably also include how to check if sabnzbd is actually running when you start it (for people that haven't got any linux/bsd experience) with 'ps -aux | grep SABnzbd'

Just thinking out loud and trying to help with your nice work! :)

Kriss
User

131 posts

Posted on 7 August 2011 @ 19:13
Thank you, for this info. I will ad it to the guide.

About uploading nzb's with SAB. I'm using Firefox with the nzbdStatus plugin which automatically sends the nzb's to SAB, but this also doesn't work.

Bedankt
MvL
User

5 posts

Posted on 7 August 2011 @ 19:25
Kriss, maybe it's a owner thing? Is sabnzbd owner of usr/local/lib/python2.7/site-packages/sabnzbd/
/usr/local/share/sabnzbdplus?
Kriss
User

131 posts

Posted on 7 August 2011 @ 19:40edited 19:42 25s
MvL wrote: Kriss, maybe it's a owner thing? Is sabnzbd owner of usr/local/lib/python2.7/site-packages/sabnzbd/
/usr/local/share/sabnzbdplus?

Root is the owner of these directories, but I've tried to run SAB as user:root, group:wheel and then the same thing happens. Nothing.

I addressed the issue at the SABnzbd-forum:

http://forums.sabnzbd.org/viewtopic.php?f=3&t=8542

Hope they find a solution.
Sleepie
User

14 posts

Posted on 7 August 2011 @ 22:37edited 8 August 2011 @ 02:13
I managed to fix the E-mail errors :)

Turned out, the email templates were completely missing (seems they don't get installed with the package).
So, I downloaded the sabnzbd source code (version 0.6.7 doesn't really matter) to my workstation. Unzipped the sources and uploaded the 'email' folder to some share on my NAS box.

Then moved that 'email' folder to /usr/local/share/sabnzbd
Changed ownership according to the other files there:
cd /usr/local/share/sabnzbd
chown -R root:wheel email

And mail is working :)

En graag gedaan Kriss ;)
nickaaai
User

13 posts

Posted on 9 August 2011 @ 03:16edited 03:26 40s
When I do this step : 4. Install ports tree:
# portsnap fetch extract

I get

[root@zfsguru /]# portsnap fetch extract
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... done.
Snapshot appears to have been created more than one day into the future!
(Is the system clock correct?)
Cowardly refusing to proceed any further.

Anyone got suggestions?

EDIT:

Ok, I have to change the time but I dont know how to do that?
danswartz
User

243 posts

Posted on 9 August 2011 @ 04:05
portsnap command doesn't have any kind of '-f' (force) option?
Kriss
User

131 posts

Posted on 9 August 2011 @ 04:06edited 04:08 44s
Change it in your BIOS or

Display the date/time:
# date

Set the date/time:
# date yymmddhhMM

yy : Year (01-12)
mm : Month (01-12)
dd : Day (01-31)
hh : Hour (00-23)
MM : Minute (01-59)
Jason
Developer

684 posts

Posted on 9 August 2011 @ 04:10
You need to have an internet connection and run:
ntpdate

That will receive the date/time from internet NTP server.
Kriss
User

131 posts

Posted on 9 August 2011 @ 04:19
Sleepie wrote: It might just be a problem in SABnzbd 0.6.5 of course.
But I checked the changelog of 0.6.6 and didn't see a fix for this problem.

This seams to be a problem with the FreeBSD package of SABnzbd. The package creator removed some important files from the original source package.
Kriss
User

131 posts

Posted on 9 August 2011 @ 06:20
Jason wrote: Hey Kriss, thanks for writing your guide! I hope I can use it to help creating the official SABnzbd/Sickbeard/Couchpotato service addon when the time comes. Until then, I hope people can use your guide to get something working in the meantime.
Maybe you can take a look at this: http://mediafrontpage.net/
Looks very promising.
Next Page »

Valid XHTML 1.1