[New Feature] Linux installer

Discuss newly added features or request new features.
hugbug
Developer & Admin
Posts: 6970
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 06 May 2015, 05:26

There are no dependencies.
Well, for most pp-scripts you need Python. But for basic functions (download, repair, unpack) only kernel is needed; everything else come with the package. That's why this installer should work on any Linux variation.

hugbug
Developer & Admin
Posts: 6970
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 06 May 2015, 23:30

Update:
  • fixed: installation failed on QNAP NAS;
  • added integrity check;
  • added commands --list, --nocheck, --tar.
Installer for r1271 updated.

andreofgyn
Posts: 5
Joined: 05 May 2015, 17:16

Re: [New Feature] Linux installer

Post by andreofgyn » 07 May 2015, 19:09

Every time I check for updates (in settings -> system) I receive a warning in nzbget messages:

WARNING - Web-Server: 404 Not Found, Resource: /package-info.json

Not important, just so you know.

hugbug
Developer & Admin
Posts: 6970
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 07 May 2015, 19:19

Yes, I know. That's normal :)
But strange, I agree, and should be fixed.

hugbug
Developer & Admin
Posts: 6970
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 09 May 2015, 15:46

Update:
  • implemented automatic updates via web-interface.
If you want to test the automatic updates feature:
  • install and start version r1278 (current is r1279 but we need an older one to test the update):

    Code: Select all

    $ killall nzbget
    $ wget http://nzbget.net/download/nzbget-15.0-testing-r1278-bin-linux.run
    $ sh nzbget-15.0-testing-r1278-bin-linux.run
    $ ./nzbget/nzbget -D
  • open NZBGet web-interface in a web-browser and go to Settings -> SYSTEM -> Check for updates.
  • click "Install";
  • after installing click on NZBGet logo to check the updated version (must be r1279 or newer).

STRYKER
Posts: 11
Joined: 30 Jul 2013, 13:08

Re: [New Feature] Linux installer

Post by STRYKER » 09 May 2015, 23:49

On my DS 413 not work.
Executing update-script /nzbget/install-update.sh
Downloading version information...
Downloading nzbget-15.0-testing-r1279-bin-linux.run...
Updating NZBGet...
...
Installer for nzbget-15.0-testing-r1279
Verifying package...
ERROR: Corrupted installer package detected: file size mismatch.
Update failed, installer terminated with error status
The 2nd Problem is the unrar not work.
syno> /nzbget/unrar

UNRAR 5.21 freeware Copyright (c) 1993-2015 Alexander Roshal

Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>

<Commands>
e Extract files without archived paths
l[t[a],b] List archive contents [technical[all], bare]
p Print file to stdout
t Test archive files
v[t[a],b] Verbosely list archive contents [technical[all],bare]
x Extract files with full path

<Switches>
- Stop switches scanning
@[+] Disable [enable] file lists
ad Append archive name to destination path
ag[format] Generate archive name using the current date
ai Ignore file attributes
ap<path> Set path inside archive
c- Disable comments show
cfg- Disable read configuration
cl Convert names to lower case
cu Convert names to upper case
dh Open shared files
ep Exclude paths from names
ep3 Expand paths to full including the drive letter
f Freshen files
id[c,d,p,q] Disable messages
ierr Send all messages to stderr
inul Disable all messages
kb Keep broken extracted files
n<file> Additionally filter included files
n@ Read additional filter masks from stdin
n@<list> Read additional filter masks from list file
o[+|-] Set the overwrite mode
ol[a] Process symbolic links as the link [absolute paths]
or Rename files automatically
ow Save or restore file owner and group
p[password] Set password
p- Do not query password
r Recurse subdirectories
sc<chr>[obj] Specify the character set
sl<size> Process files with size less than specified
sm<size> Process files with size more than specified
ta<date> Process files modified after <date> in YYYYMMDDHHMMSS format
tb<date> Process files modified before <date> in YYYYMMDDHHMMSS format
tn<time> Process files newer than <time>
to<time> Process files older than <time>
ts<m,c,a>[N] Save or restore file time (modification, creation, access)
u Update files
v List all volumes
ver[n] File version control
vp Pause before each volume
x<file> Exclude specified file
x@ Read file names to exclude from stdin
x@<list> Exclude files listed in specified list file
y Assume Yes on all queries
Aborted (core dumped)

hugbug
Developer & Admin
Posts: 6970
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 10 May 2015, 00:58

Can you please for a test download and run installer for r1279 (in a different directory), does it work?

picardtux
Posts: 71
Joined: 05 Sep 2012, 12:45
Contact:

Re: [New Feature] Linux installer

Post by picardtux » 10 May 2015, 06:57

Hello

I tested Universal Installer for Linux on two machines:
$ uname -a
Linux Ark 4.0.1-1-ARCH # 1 SMP PREEMPT Wed April 29 12:00:26 CEST 2015 x86_64 GNU / Linux
$ uname -a
Linux uberspace.de 2.6.32-504.3.3.el6.x86_64 # 1 SMP Wed Dec 17 01:55:02 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux

works in both cases
wget http://nzbget.net/download/nzbget-testi ... -linux.run
and
sh nzbget testing-latest-bin linux.run
no problems with this test
cd nzbget && ./nzbget -s

* wow * hugbug, class thing :)

STRYKER
Posts: 11
Joined: 30 Jul 2013, 13:08

Re: [New Feature] Linux installer

Post by STRYKER » 10 May 2015, 08:14

hugbug wrote:Can you please for a test download and run installer for r1279 (in a different directory), does it work?
It works in the same Directory
Unrar Aborted (core dumped)
syno> sh nzbget-15.0-testing-r1279-bin-linux.run
Installer for nzbget-15.0-testing-r1279
Verifying package...
Checking system...
CPU-Architecture: ppc500
Unpacking...
Configuring...
Installation completed
Delete 1279 and Install 1278 + Update Button
Executing update-script /nzbget/install-update.sh
Downloading version information...
Downloading nzbget-15.0-testing-r1279-bin-linux.run...
Updating NZBGet...
...
Installer for nzbget-15.0-testing-r1279
Verifying package...
ERROR: Corrupted installer package detected: file size mismatch.
Update failed, installer terminated with error status

hugbug
Developer & Admin
Posts: 6970
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Linux installer

Post by hugbug » 10 May 2015, 08:25

I've sent you an email. We may need a lot of testing attempts to fix this.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest