Trying to get NZBget installed on FreeNAS

smokechaser

Dabbler
Joined
Jan 6, 2016
Messages
19
Hello all, My first post on these forums, I've been reading them a long time. I've done many searches for this NZBget plugin/jail with useful steps to try to get it installed and no luck. I even emailed the creator of it and he gave me this link: https://github.com/nzbget/nzbget/wiki which provides a little bit of information but not enough for some newbie like me. Could someone put a short command line guide together that would allow me to install and use nzbget on FreeNAS? I think other people would find it useful as well.

First, how would one install?:
Second, how would one go about getting this installed? Every command described on that website fails.

I would appreciate any help. Thanks.
 
D

dlavigne

Guest
Nope, it's supposed to work in a jail. Do not install software on the freenas system itself.
 

smokechaser

Dabbler
Joined
Jan 6, 2016
Messages
19
I was in the jail when I ran it. Maybe there is another command that has to be ran first?
 
D

dlavigne

Guest
Post a screenshot of the command you ran and the error message.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
can confirm: pkg install nzbget worked for me to install in a jail a few months ago.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I was in the jail when I ran it. Maybe there is another command that has to be ran first?
DId you even try?

Code:
[root@freenas-test] ~# jls

  JID  IP Address      Hostname                      Path

    1  -               nsbget-test                   /mnt/tubby/jails/nsbget-test

[root@freenas-test] ~# jexec 1 csh

root@nsbget-test:/ # pkg install nzbget

Updating FreeBSD repository catalogue...
...
...
...
The following 13 package(s) will be affected (of 0 checked):


New packages to be INSTALLED:

nzbget: 16.4

libxml2: 2.9.3

unrar: 5.30,5

p7zip: 15.09

libgcrypt: 1.6.4_3

libgpg-error: 1.20_1

gnutls: 3.3.17.1

nettle: 2.7.1

gmp: 5.1.3_2

libtasn1: 4.7

p11-kit: 0.23.2

trousers-tddl: 0.3.10_7

libidn: 1.31


The process will require 41 MiB more space.

8 MiB to be downloaded.


Proceed with this action? [y/N]:  y
...
...
To run tcsd automatically, add the following line to /etc/rc.conf


tcsd_enable="YES"


You might want to edit /usr/local/etc/tcsd.conf to reflect your setup.


To use TPM, add your_account to '_tss' group like following:


# pw groupadd _tss -m your_account
 

rsquared

Explorer
Joined
Nov 17, 2015
Messages
81
On a new jail, you'll want to run pkg update and pkg upgrade before any installs.
 

smokechaser

Dabbler
Joined
Jan 6, 2016
Messages
19
nzbget.conf(70): Invalid value for option "TempDir" (/downloads/tmp/): could not create directory : No such file or directory
nzbget.conf(67): Invalid value for option "QueueDir" (/downloads/queue/): could not create directory : No such file or directory
nzbget.conf(61): Invalid value for option "NzbDir" (/downloads/nzb/): could not create directory : No such file or directory
/downloads/dst/nzbget.log: No such file or directory
/downloads/dst/nzbget.log: No such file or directory
/downloads/dst/nzbget.log: No such file or directory
/downloads/dst/nzbget.log: No such file or directory
/downloads/dst/nzbget.log: No such file or directory
 

smokechaser

Dabbler
Joined
Jan 6, 2016
Messages
19
I've managed to get it starting using service nzbget onestart, how do I get it to start automatically when I boot my freenas?

Also, when I try to get to the web interface ip:6789 it wants a username/password. What is the default for this?

The documentation is absolutely nowhere to be seen so have to ask.
 

smokechaser

Dabbler
Joined
Jan 6, 2016
Messages
19
Ok. So searching thru the nzbget.conf file it shows a nzbget/tegbzn6789 but that doesn't work. When I enter those login details in the browser I get an error: Error 503 Service unavailable
 

smokechaser

Dabbler
Joined
Jan 6, 2016
Messages
19
I used the default username and password but when I try to access it in the browser from another computer: Error 503 Service Unavailable.
 

smokechaser

Dabbler
Joined
Jan 6, 2016
Messages
19
Now I get another error:
Shared object "libffi.so.6" not found, required by "libp11-kit.so.0"

I would appreciate a step by step guide.
 

smokechaser

Dabbler
Joined
Jan 6, 2016
Messages
19
Thats not the problem. The web interface gives me an error 503 service unavailable. Why is this?
 
Top