NZBget new stable 17.1

The discussion lounge for third-party packages.
Forum rules
Please note the Disclaimer before modifying your Synology Product.
sincarne
Distinguished
Distinguished
Posts: 852
Joined: Wed Feb 15, 2017 9:57 pm

Re: NZBget new stable 17.1

Postby sincarne » Tue Jun 27, 2017 11:41 pm

manwald wrote:Hi,

I tried to install NZBget 18.0 from here: http://www.jadahl.com/synology6.1/?arch=avoton

But when I try to install it manually on my DS416play with DSM 6.1.1-15101 Update 4 I get the message, that this package is not supported on the platform of my DS or that it's not compatible with the running DSM-version.

Can anybody help me out?

I have to older version running, BTW, it's a freshly installed DS416play.

Best regards
Mischa


Why not use Docker and then not worry about some random guy on a forum updating the application? Download APK from Synology website to use on that model
jokk3l
I'm New!
I'm New!
Posts: 4
Joined: Tue Mar 14, 2017 2:14 pm

Re: NZBget new stable 17.1

Postby jokk3l » Wed Jun 28, 2017 3:51 pm

jadahl wrote:
jokk3l wrote:
jadahl wrote:
NZBGet v18.1
DS416play use arch-braswell, not arch-avoton.
Try this version: http://www.jadahl.com/synology6.1/?arch=braswell
DS416play is added in my list: http://www.jadahl.com/synology6.1/

Regards
Jadahl



Great work. Thank you very much!

Any chance this will be updated to version 19? :D


Sure 8)
Download here:
NZBGet v19.0 for DSM6.1 http://www.jadahl.com/synology6.1/index ... llist=true



Thank you :!: 8)
nilsoli
I'm New!
I'm New!
Posts: 3
Joined: Tue Aug 01, 2017 2:49 pm

Re: NZBget new stable 17.1

Postby nilsoli » Tue Aug 01, 2017 2:54 pm

Hi,

@Jadahl: your links are all 404 dead. Is that permanent? Also do you have a nzbget 19.1 package compatible with ds116?

Thanks for your help in the community.
jadahl
Sharp
Sharp
Posts: 159
Joined: Tue Dec 16, 2014 6:55 pm

Re: NZBget new stable 17.1

Postby jadahl » Tue Aug 01, 2017 4:09 pm

nilsoli wrote:Hi,

@Jadahl: your links are all 404 dead. Is that permanent? Also do you have a nzbget 19.1 package compatible with ds116?

Thanks for your help in the community.


Yes, I have closed the servers, as I do not have much time for this project anymore ..
By the way, I have accidentally compiled nzbget 19.1 armada38x for DSM 6.1.
It has not been tested by me, but you can test and see if it works.
Edit: link removed.
Last edited by jadahl on Wed Aug 02, 2017 10:55 am, edited 1 time in total.
nilsoli
I'm New!
I'm New!
Posts: 3
Joined: Tue Aug 01, 2017 2:49 pm

Re: NZBget new stable 17.1

Postby nilsoli » Wed Aug 02, 2017 8:09 am

Thanks a lot, testing it right now ans seems to work fine!
nilsoli
I'm New!
I'm New!
Posts: 3
Joined: Tue Aug 01, 2017 2:49 pm

Re: NZBget new stable 17.1

Postby nilsoli » Wed Aug 02, 2017 8:28 am

Well, it works, but I can't find any new option introduced in v19:
- directunpack
- directrename
- reorderfiles
- etc
Any thoughts why?
jadahl
Sharp
Sharp
Posts: 159
Joined: Tue Dec 16, 2014 6:55 pm

Re: NZBget new stable 17.1

Postby jadahl » Wed Aug 02, 2017 10:58 am

nilsoli wrote:Well, it works, but I can't find any new option introduced in v19:
- directunpack
- directrename
- reorderfiles
- etc
Any thoughts why?


Sorry...Don't use this package.
There is why I have stopped build these packages, Have no time to test them.
User avatar
al3x
Trainee
Trainee
Posts: 10
Joined: Wed Feb 01, 2017 11:54 pm

Manual installation of NZBget via SSH

Postby al3x » Sun Aug 20, 2017 10:49 pm

I couldn't find any updated packages for NZBget so I installed it manually via SSH on my DS916+.
In case anyone wants to try this out, here's what I did:

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 thing about this manual installation:
NZBget can now be updated via GUI, so no more hassle with SSH or waiting for an updated DSM package.

You're welcome ;)
jimmysmalls
I'm New!
I'm New!
Posts: 1
Joined: Wed Sep 06, 2017 1:34 am

Re: Manual installation of NZBget via SSH

Postby jimmysmalls » Wed Sep 06, 2017 1:40 am

al3x wrote:I couldn't find any updated packages for NZBget so I installed it manually via SSH on my DS916+.
In case anyone wants to try this out, here's what I did:

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 thing about this manual installation:
NZBget can now be updated via GUI, so no more hassle with SSH or waiting for an updated DSM package.

You're welcome ;)


I was following your tutorial and everything was going great until I got to step 8. It keeps telling me the directory doesn't exist but I went through your steps twice to make sure I did everything. Any idea what I'm doing wrong?
User avatar
al3x
Trainee
Trainee
Posts: 10
Joined: Wed Feb 01, 2017 11:54 pm

Re: NZBget new stable 17.1

Postby al3x » Wed Sep 06, 2017 8:54 pm

That's odd. Are you sure you created the directories in step 6? If you list the directories it should look something like this:

Code: Select all

root@NAS:/# cd /volume1/\@appstore/
root@NAS:/volume1/@appstore# mkdir nzbget
root@NAS:/volume1/@appstore# mkdir nzbget/var
root@NAS:/volume1/@appstore# ls -al
total 20
drwxr-xr-x 1 root            root            176 Sep  6 21:41 .
drwxr-xr-x 1 root            root            404 Aug 27 12:59 ..
[...]
drwxr-xr-x 1 root            root              6 Sep  6 21:41 nzbget
[...]
Also:
- In step 8, could you actually switch to user "nzbget"? Check with "whoami" after using "su - nzbget"
- If that went well and you're now on user nzbget, could you try "ls -al /volume1/\@appstore" to see if there's still a "nzbget" directory?
- Are the permissions set correctly so you can actually enter the nzbget-directory with user "nzbget"? Permissions were set in step 6 with "chown"...
sincarne
Distinguished
Distinguished
Posts: 852
Joined: Wed Feb 15, 2017 9:57 pm

Re: NZBget new stable 17.1

Postby sincarne » Wed Sep 06, 2017 9:15 pm

al3x wrote:That's odd. Are you sure you created the directories in step 6? If you list the directories it should look something like this:

Code: Select all

root@NAS:/# cd /volume1/\@appstore/
root@NAS:/volume1/@appstore# mkdir nzbget
root@NAS:/volume1/@appstore# mkdir nzbget/var
root@NAS:/volume1/@appstore# ls -al
total 20
drwxr-xr-x 1 root            root            176 Sep  6 21:41 .
drwxr-xr-x 1 root            root            404 Aug 27 12:59 ..
[...]
drwxr-xr-x 1 root            root              6 Sep  6 21:41 nzbget
[...]
Also:
- In step 8, could you actually switch to user "nzbget"? Check with "whoami" after using "su - nzbget"
- If that went well and you're now on user nzbget, could you try "ls -al /volume1/\@appstore" to see if there's still a "nzbget" directory?
- Are the permissions set correctly so you can actually enter the nzbget-directory with user "nzbget"? Permissions were set in step 6 with "chown"...


if you have DS916+ then use docker it far easier and not break thing in command line or require command line
User avatar
al3x
Trainee
Trainee
Posts: 10
Joined: Wed Feb 01, 2017 11:54 pm

Re: NZBget new stable 17.1

Postby al3x » Wed Sep 06, 2017 9:19 pm

sincarne wrote:if you have DS916+ then use docker it far easier and not break thing in command line or require command line

Well, I don't use Docker because I still want my HDDs to be able to go to sleep if not in use. So I installed NZBget on a USB stick. But in general you're right, Docker would be an alternative. Would require Docker container updates with new releases of NZBget though afaik.

Return to “Third-party Packages”

Who is online

Users browsing this forum: No registered users and 3 guests