Get help, report and discuss bugs.
-
hugbug
- Developer & Admin
- Posts: 7645
- Joined: 09 Sep 2008, 11:58
- Location: Germany
Post
by hugbug » 16 Nov 2017, 14:41
Edsenn wrote: ↑16 Nov 2017, 11:00
You will do much users a favor if you add the newer versions of Nzbget there!
I do not have resources to create and maintain installation packages for each NAS manufacturer and model individually. That's why there is an universal installer which works on almost any NAS.
Here is
Installation manual. If you need assistance please tell what step you have troubles with.
rxp wrote: ↑16 Nov 2017, 12:31
Whenever I input the run command (nzbget/nzbget -D) I get an error
You should use full (absolute) path to nzbget; it will start with "/".
-
cestlebon
- Posts: 21
- Joined: 11 Apr 2017, 20:01
Post
by cestlebon » 16 Nov 2017, 19:52
And I can also confirm that the generic linux installation instructions work just fine to install NZBGET on the latest synology model, the DS918+
Once installed you can easily update nzbget yourself directly from the webinterface.
-
barenaked
- Posts: 21
- Joined: 20 May 2017, 13:27
Post
by barenaked » 17 Nov 2017, 07:27
Yes just make sure you use the correct install path (/usr/local/nzbget is the one the repo version used), maybe check permissions and at last set up a task to start nzbget automatically when the diskstation is turned on (so the service is already running after a reboot or shutdown).
Worked like a charm except importing the the old configuration from the repo version. Make sure you just import server settings, the rest has to be checked properly before reloading nzbget especially the paths.
-
rxp
- Posts: 55
- Joined: 07 Mar 2014, 18:51
Post
by rxp » 17 Nov 2017, 11:27
It was me being an idiot - the error was due to not inputting a name for the task but the Synology didn't tell you that until you moved to the other tab
-
al3x
- Posts: 28
- Joined: 24 Aug 2017, 17:13
Post
by al3x » 26 Nov 2017, 02:22
I posted in another thread a few months back but I don't think anyone actually read that.
In case anyone still needs a step-by-step guide to installing NZBget on a Synology NAS, I did this myself (Synology DS916+) a while ago 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
The best about this manual installation:
NZBget can now be updated via GUI, so no more hassle with SSH or waiting for an updated DSM package.
And if you install NZBget on a USB stick (/volumeUSB1/...) instead of /volume1/@appstore you actually keep your HDD hibernation feature intact (something which won't work with Docker unfortunately).
Cheers!
*Update* You can now also use the official SynoCommunity package and save yourself some time. This installs almost the same way as described in this tutorial and NZBget is upgradable via GUI, too. No need to manually do all these steps anymore.
Last edited by
al3x on 31 Mar 2019, 22:57, edited 1 time in total.
-
Steggl
- Posts: 23
- Joined: 11 Dec 2013, 15:55
-
Contact:
Post
by Steggl » 14 Dec 2017, 14:00
Code: Select all
sudo --user=nzbget /volume1/\@appstore/nzbget/nzbget -D
Is this job supposed to run on any Synology NAS? On my DS110j it doesn't start NZBGET and I don't know why
-
al3x
- Posts: 28
- Joined: 24 Aug 2017, 17:13
Post
by al3x » 17 Dec 2017, 02:39
Well, I guess so? At least with DSM 6 it should.
Did you follow all the other steps for creating a user and so on?
Does it work if you run it in console directly with this command from step 11?
Code: Select all
sudo --user=nzbget /volume1/\@appstore/nzbget/nzbget -s
If you're on a previous DSM release (prior to 6.*) you might be out of luck. I saw a few posts that NZBget might not be supported on those platforms which is one of the main reasons why the SynoCommunity packages are still not updated.
You could give it a try nevertheless: You might need to change the command slightly as DSM 5 and earlier doesn't support sudo afaik. Try this instead:
Code: Select all
su - nzbget /volume1/\@appstore/nzbget/nzbget -D
-
northernivy
- Posts: 10
- Joined: 01 Feb 2017, 22:33
Post
by northernivy » 20 Dec 2017, 16:53
al3x wrote: ↑26 Nov 2017, 02:22
I posted in another thread a few months back but I don't think anyone actually read that.
In case anyone still needs a step-by-step guide to installing NZBget on a Synology NAS, I did this myself (Synology DS916+) a while ago 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
The best about this manual installation:
NZBget can now be updated via GUI, so no more hassle with SSH or waiting for an updated DSM package.
And if you install NZBget on a USB stick (/volumeUSB1/...) instead of /volume1/@appstore you actually keep your HDD hibernation feature intact (something which won't work with Docker unfortunately).
Cheers!
Wow, I followed your instructions and with no linux experience they worked perfectly!!!! But then I went and did something very stupid. I restored my configuration file from the old SynoCommunity package and and in server mode in my terminal window on my Mac it is saying:
ERROR Could not read configuration templates
INFO nzbget 19.1 server-mode
I went back in the steps, re-down loaded the files and did the install again. But the same errors.
Anyone that could help would be great. I know it will take effort to type out the instructions so I thank you in advance.
-
al3x
- Posts: 28
- Joined: 24 Aug 2017, 17:13
Post
by al3x » 21 Dec 2017, 17:59
It's quite easy to start fresh:
Code: Select all
01) Login and switch to root:
sudo -i
02) Switch to user nzbget:
su - nzbget
03) Stop any running NZBget session:
./nzbget -Q
04) Edit the config file to your needs (change paths for example) with:
vi ./nzbget.conf
04²) Or to start from scratch: Overwrite config file with the default template:
cp ./webui/nzbget.conf.template ./nzbget.conf
Now NZBget should be able to start again.
BTW: The template file differs in 3 settings from the default config file that comes with a new installation, you might want to change those back to this:
Code: Select all
ArticleCache=100, WriteBuffer=1024, ParBuffer=100
BTW 2: You might be able to restore your old SynoCommunity config file but you should really make sure to edit the paths in your config file before uploading it:
Mine look like this:
And also make sure to change these like this (to use the correct unrar/7z binaries instead of the system ones):
-
ronrosenfeld
- Posts: 18
- Joined: 08 Sep 2017, 02:12
Post
by ronrosenfeld » 25 Dec 2017, 18:47
Merry Xmas
As have others, I have been trying to get nzbGet installed on my 18x synology NAS. I followed the "linux install" instructions,
https://nzbget.net/installation-on-linux and it installs and runs and "almost" looks normal.
BUT, today I was going through the final installation steps and discovered that the nzbToMedia scripts, which I need in order to interact with Sickrage, require Python 2.7
And Python 2.7 is not available on my NAS yet.
Solutions?
Who is online
Users browsing this forum: No registered users and 72 guests