Page 1 of 1

7-Zip downloading from Linux

Posted: Tue Apr 03, 2007 5:35 pm
by xtress
Hello,

I've just installed the 4.0 version on a Linux server (gentoo)
Almost everything works, except the downloading from All tracks list, I get always a blank page, but I get it working when I browse in album list.
I there already a working string for 7za downloading?

Posted: Mon Apr 16, 2007 9:05 am
by wbartels
Sorry I don't have a Linux setup to test it.
When the next version of 7-Zip arrives (4.44) I will make a virtual machine and see if I can get it working.
If you find it out yourself in the meantime, please send me your solution.

Posted: Mon Apr 16, 2007 10:45 pm
by wp180
i tried it very often to run 7za, but until now 7za isn't working here under linux.

regards

michael

Re: 7-Zip downloading from Linux

Posted: Sat Aug 06, 2011 6:40 pm
by wbartels
With netjukebox 5.29 and later on Ubuntu 10.04 this should work:

Code: Select all

sudo apt-get install p7zip-full
And set:

Code: Select all

$cfg['bin_dir']                     = 'nice -n 20 /usr/bin/';
or

Code: Select all

$cfg['bin_dir']                     = '/usr/bin/';

Re: 7-Zip downloading from Linux

Posted: Tue Aug 09, 2011 5:18 pm
by charliego
To make it work on a QNAP nas server:
Download and install the QPKG Plugin Optware http://www.qnap.com/QPKG_detail.asp?qp_id=1 and enable it.
Login on your QNAP with a telnet client like putty http://www.putty.org/

Type from prompt:

Code: Select all

ipkg install p7zip
Modify config.inc.php and set:

Code: Select all

$cfg['bin_dir']                     = '/opt/bin/';
Works fine on QNAP TS-119.

Re: 7-Zip downloading from Linux

Posted: Tue Aug 09, 2011 11:17 pm
by wbartels
charliego thanks for your QNAP solution!
Willem

Re: 7-Zip downloading from Linux

Posted: Sun Aug 14, 2011 3:39 am
by ix6tech
I am running into a similar issue with downloading albums as stated in previous posts.

I have checked and verified that cache is chmoded to 777.
Verified codecs for Linux exist (i.e. lame codec)
Verified functions are working for "nice" command.
Verified p7zip has been installed.


Linux Distribution Version: CentOS 5.6
netjukebox version 5.29.5

Just wondering if there is anything I am missing.

Here is the error output I usually get:

Destination file not created or filsize to small
File: /opt/lampp/htdocs/stream/cache/d/2/d2deed6672643340b312ff17266f6482dc1a2db8/ca19fhu6l9_cbe6ad441e9f8585aa3d14991fe8438a.zip
Command: nice -n 20 /usr/bin/7za a -tzip -mx0 -- "/opt/lampp/htdocs/stream/cache/d/2/d2deed6672643340b312ff17266f6482dc1a2db8/ca19fhu6l9_cbe6ad441e9f8585aa3d14991fe8438a.zip" @"/opt/lampp/htdocs/stream/cache/d/2/d2deed6672643340b312ff17266f6482dc1a2db8/ca19fhu6l9.txt"

I'm pretty sure it is something simple I am missing, but I just want to make sure I haven't.


Side Note:

When I run the following:

/usr/bin/7za a -tzip -mx0 -- "/opt/lampp/htdocs/stream/cache/d/2/d2deed6672643340b312ff17266f6482dc1a2db8/ca19fhu6l9_cbe6ad441e9f8585aa3d14991fe8438a.zip" @"/opt/lampp/htdocs/stream/cache/d/2/d2deed6672643340b312ff17266f6482dc1a2db8/ca19fhu6l9.txt"

or

nice -n 20 /usr/bin/7za a -tzip -mx0 -- "/opt/lampp/htdocs/stream/cache/d/2/d2deed6672643340b312ff17266f6482dc1a2db8/ca19fhu6l9_cbe6ad441e9f8585aa3d14991fe8438a.zip" @"/opt/lampp/htdocs/stream/cache/d/2/d2deed6672643340b312ff17266f6482dc1a2db8/ca19fhu6l9.txt"


It will compress in terminal without issue.

Re: 7-Zip downloading from Linux

Posted: Sun Aug 14, 2011 11:44 am
by wbartels
Strange, if it runs from the terminal it must be some security policy.
Does transcoding a single track work?
For example; When you have a flac file and download it with profile MP3 @ Portable.

PS
Check your netjukebox version, when running netjukebox 5.29.4 and up you should get another error message.

Re: 7-Zip downloading from Linux

Posted: Mon Sep 05, 2011 1:15 pm
by wp180
Hello.

I updated my system after a long time. And now the 7-zip is working really good :)

Nice job.

Micha