Manual Install of NZBGet... need a bit of help

Get help, report and discuss bugs.
works4me
Posts: 7
Joined: 10 Aug 2015, 11:09
Location: Germany

Re: Manual Install of NZBGet... need a bit of help

Post by works4me » 18 Jul 2017, 10:54

hugbug wrote:
18 Jul 2017, 10:00
From the Installation manual:
Default login credentials are username: nzbget, password: tegbzn6789.
Tried to login with those via Putty but "access denied" occured.

The Nzbget version on my NAS remained unchanged so far.

Hmm...not sure what´s next?!

hugbug
Developer & Admin
Posts: 6701
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: Manual Install of NZBGet... need a bit of help

Post by hugbug » 18 Jul 2017, 11:34

charsiufan wrote:
18 Jul 2017, 10:08
If we use this command line install approach rather than a package, are we still able to get an icon in package center on the NAS?
No icon as this package isn't specific to Synology.
Why do you need the icon BTW?
charsiufan wrote:
18 Jul 2017, 10:08
Or will interactions be command line based moving forward?
You will use web-interface of NZBGet. No command line needed after installation.

hugbug
Developer & Admin
Posts: 6701
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: Manual Install of NZBGet... need a bit of help

Post by hugbug » 18 Jul 2017, 11:35

works4me wrote:
18 Jul 2017, 10:54
Tried to login with those via Putty but "access denied" occured.
I suggest to follow the installation manual. After you start nzbget with

Code: Select all

<nzbget-directory>/nzbget -s
The next thing to do is to open a web-browser and connect to nzbget.

charsiufan
Posts: 13
Joined: 07 Apr 2016, 17:26

Re: Manual Install of NZBGet... need a bit of help

Post by charsiufan » 18 Jul 2017, 19:14

I guess no reason other than DSM will alert for updates. But this version seed to be much further ahead than the packaged ones so moot point.
hugbug wrote:
18 Jul 2017, 11:34
charsiufan wrote:
18 Jul 2017, 10:08
If we use this command line install approach rather than a package, are we still able to get an icon in package center on the NAS?
No icon as this package isn't specific to Synology.
Why do you need the icon BTW?
charsiufan wrote:
18 Jul 2017, 10:08
Or will interactions be command line based moving forward?
You will use web-interface of NZBGet. No command line needed after installation.

hugbug
Developer & Admin
Posts: 6701
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: Manual Install of NZBGet... need a bit of help

Post by hugbug » 18 Jul 2017, 19:23

Updates can be installed from web-interface: settings -> system -> check for updates.
Notifications about new versions are not implemented yet but you can subscribe to anouncements subforum for that.

al3x
Posts: 1
Joined: 24 Aug 2017, 17:13

Re: Manual Install of NZBGet... need a bit of help

Post by al3x » 24 Aug 2017, 17:21

In case anyone still needs a step-by-step guide to installing NZBget on a Synology NAS, I recently did this myself (Synology DS916+) and wrote down every step in detail, so here you go:

Code: Select all

01) Uninstall any currently installed NZBget packages.
Make sure to save your config (and scripts), but I highly recommend starting from scratch because of changed paths to unrar/7z binaries and other folders.

02) SSH to your Synology NAS with your username / password

03) Get root by entering "sudo -i" and confirm your password

04) Create a new user "nzbget" and group "sc-download" by editing these config files.
Change userid "101" and/or group-id "65536" to something not already in use if necessary.

vi /etc/passwd - add this line:
nzbget:x:101:100:NZBget User:/usr/local/nzbget/var:/bin/sh

vi /etc/group - add this line (or modify to include nzbget user):
sc-download:x:65536:nzbget

vi /etc/shadow - add this line:
nzbget:*:10933:0:99999:7:::

05) Rebuild the Synology user cache to make config changes permanent:
synouser --rebuild all
synogroup --rebuild all

06) Change directory to /volume1/@appstore, create new directories and change permissions to your new user:
cd /volume1/\@appstore
mkdir nzbget
mkdir nzbget/var
chown -R nzbget:root nzbget

07) Set a symbolic link from /usr/local/nzbget to your new NZBget directory:
cd /usr/local
ln -s /volume1/\@appstore/nzbget nzbget

08) Switch to your new user "nzbget" and change directory:
su - nzbget
cd /volume1/\@appstore/nzbget

09) Download the official Linux installer for NZBget and set executable flag:
wget https://nzbget.net/download/nzbget-latest-bin-linux.run
chmod u+x nzbget-latest-bin-linux.run

10) Install NZBget:
./nzbget-latest-bin-linux.run --destdir /volume1/\@appstore/nzbget

11) Give it a test spin to see if any errors occur:
./nzbget -s
This starts NZBget in console-mode so you can actually see what's going on. If no errors occur, quit NZBget with "Q".

12) Create a new task in the DSM Task Scheduler to autostart NZBget on system boot:
Create > Triggered Task > User-defined Script
Task: NZBget / User: root / Event: Boot-up
Run command: sudo --user=nzbget /volume1/\@appstore/nzbget/nzbget -D

13) Run your task manually once - and that's it!
Default login credentials for the web interface (port 6789):
username: nzbget / password: tegbzn6789
I also posted this in the Synology Forum here.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests