[New Feature] Linux installer

Discuss newly added features or request new features.
neilt0
Posts: 261
Joined: 10 Sep 2008, 19:11

Re: [New Feature] Linux installer

Post by neilt0 » 10 May 2015, 09:19

unRAID (6.x x64)

Code: Select all

root@MICRO:/mnt/cache/nzbget# sh nzbget-15.0-testing-r1278-bin-linux.run
Installer for nzbget-15.0-testing-r1278
Verifying package...
Checking system...
CPU-Architecture: i686
Unpacking...
Configuring...
Installation completed

Quick help (from nzbget-directory):
   ./nzbget -s        - start nzbget in console mode
   ./nzbget -D        - start nzbget in daemon mode (in background)
   ./nzbget -C        - connect to background process
   ./nzbget -Q        - stop background process
   ./nzbget -h        - help screen with all commands

Successfully installed into /mnt/cache/nzbget/nzbget
Web-interface runs on http://localhost:6789
For support please visit http://nzbget.net/forum
root@MICRO:/mnt/cache/nzbget# ./nzbget/nzbget -D
bash: ./nzbget/nzbget: cannot execute binary file
root@MICRO:/mnt/cache/nzbget#
FYI, there's a typo in the first post in this thread:
hugbug wrote:Example terminal session:

Code: Select all

$ wget http://nzgbet.net/nzbget-15.0-testing-r1271-bin-linux.run

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

Re: [New Feature] Linux installer

Post by hugbug » 10 May 2015, 09:34

neilt0 wrote:root@MICRO:/mnt/cache/nzbget# ./nzbget/nzbget -D
bash: ./nzbget/nzbget: cannot execute binary file
What the hell :o, unRAID can't run 32 bit programs?

Please post the output of "uname -a" and "cat /proc/cpuinfo".
neilt0 wrote:FYI, there's a typo in the first post in this thread:
It was r1271 first; later the post was updated ;)

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

Re: [New Feature] Linux installer

Post by hugbug » 10 May 2015, 09:56

neilt0 wrote:root@MICRO:/mnt/cache/nzbget# ./nzbget/nzbget -D
bash: ./nzbget/nzbget: cannot execute binary file
Can you run other programs from that volume, may be it is mounted with "noexec" flag?

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

Re: [New Feature] Linux installer

Post by hugbug » 10 May 2015, 13:35

STRYKER wrote:Installer for nzbget-15.0-testing-r1279
Verifying package...
ERROR: Corrupted installer package detected: file size mismatch.
Update failed, installer terminated with error status
Must be fixed now.
Installer updated (both r1278 and r1279).

Please test again.

neilt0
Posts: 261
Joined: 10 Sep 2008, 19:11

Re: [New Feature] Linux installer

Post by neilt0 » 10 May 2015, 16:57

hugbug wrote:
neilt0 wrote:root@MICRO:/mnt/cache/nzbget# ./nzbget/nzbget -D
bash: ./nzbget/nzbget: cannot execute binary file
What the hell :o, unRAID can't run 32 bit programs?
Err... no? Dunno! Don't think so.
Obvs. I can run nzbget under unRAID x64, using a 6.0 specific build. http://lime-technology.com/wiki/index.p ... _UnRAID_v6

"All of unRAID v6 is 64 bit, and requires 64 bit tools and plugins. All previous versions and plugins were 32 bit."
hugbug wrote:Please post the output of "uname -a" and "cat /proc/cpuinfo".

Code: Select all

root@MICRO:~# uname -a
Linux MICRO 3.16.2-unRAID #10 SMP Wed Sep 10 01:50:21 PDT 2014 x86_64 AMD Turion(tm) II Neo N54L Dual-Core Processor AuthenticAMD GNU/Linux

Code: Select all

 cat /proc/cpuinfo
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 6
model name	: AMD Turion(tm) II Neo N54L Dual-Core Processor
stepping	: 3
microcode	: 0x10000c8
cpu MHz		: 1900.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate npt lbrv svm_lock nrip_save
bogomips	: 4392.53
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 6
model name	: AMD Turion(tm) II Neo N54L Dual-Core Processor
stepping	: 3
microcode	: 0x10000c8
cpu MHz		: 800.000
cache size	: 1024 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate npt lbrv svm_lock nrip_save
bogomips	: 4392.53
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
neilt0 wrote:FYI, there's a typo in the first post in this thread:
hugbug wrote:It was r1271 first; later the post was updated ;)
"$ wget http://nzgbet.net/nzbget-15.0-testing-r1271-bin-linux.run"

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

Re: [New Feature] Linux installer

Post by hugbug » 10 May 2015, 18:15

neilt0 wrote:All of unRAID v6 is 64 bit, and requires 64 bit tools and plugins. All previous versions and plugins were 32 bit.
The installer was tested on many 64 bit versions of Linux and always worked.
Even if the system doesn't have libraries for 32 bit (this is the case for unRAID, I guess) that should not be a problem for NZBGet because it is compiled and linked statically and doesn't require any libraries. The kernel itself should support 32 bit code (so I thought).

I'll send you 64 bit version for testing.

neilt0
Posts: 261
Joined: 10 Sep 2008, 19:11

Re: [New Feature] Linux installer

Post by neilt0 » 10 May 2015, 18:48

It's a custom kernel with lots of stuff removed AIUI. I'll try out the installer later.

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

Re: [New Feature] Linux installer

Post by hugbug » 11 May 2015, 11:30

Tested in unRAID 6 VM and have the same error "cannot execute binary file".
Then tested x86_64 version and it works.

I'll add x86_64 binary to the installer. It will be used on all Linux versions with 64 bit x86, not just unRAID. That means most of current NAS and desktop systems.

clintonhall
Posts: 449
Joined: 15 Dec 2012, 01:52
Location: Australia
Contact:

Re: [New Feature] Linux installer

Post by clintonhall » 11 May 2015, 12:41

Just a quick note to say I have QNAP qpkg and Asustor apkg post on QNAP and Asustor forums... feel free to test these out as these install the installer :)

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

Re: [New Feature] Linux installer

Post by hugbug » 11 May 2015, 14:13

Thanks for your work, Clinton!
Installer for installer sounds good ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest