Path for unrar, unzip on nas
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Path for unrar, unzip on nas
I've installed sabnzbd on my netgear stora and installed unrar and unzip through ipkg but sabnzbd can't find them is there some thing I need to do to edit the file path to get sab to find them? Thanks.
Re: Path for unrar, unzip on nas
The PATH environment variable should be such that it includes the path where unrar and unzip are.
Re: Path for unrar, unzip on nas
Thanks. Not sure what's happening as SAB is clearly looking for other files.
I've copied the log below. My Stora doesn't have access to root so I have to start sab in sudo mode and if I want to run a program I always have to run it based on the folder path such as /opt/bin/unrar rarfile.rar so I'm not sure if that makes a difference or not? Any help gratefully received.
2010-09-01 07:55:41,737::INFO::[SABnzbd:1021] Starting SABnzbd.py-0.5.3
2010-09-01 07:55:41,740::DEBUG::[__init__:261] Starting postprocessor
2010-09-01 07:55:41,751::DEBUG::[__init__:264] Starting assembler
2010-09-01 07:55:41,761::DEBUG::[__init__:267] Starting downloader
2010-09-01 07:55:41,771::DEBUG::[scheduler:159] Starting scheduler
2010-09-01 07:55:41,781::DEBUG::[__init__:272] Starting dirscanner
2010-09-01 07:55:41,784::INFO::[dirscanner:367] Dirscanner starting up
2010-09-01 07:55:41,791::DEBUG::[newzbin:100] Starting msgidgrabber
2010-09-01 07:55:41,801::DEBUG::[__init__:277] Starting urlgrabber
2010-09-01 07:55:41,804::INFO::[urlgrabber:103] URLGrabber starting up
2010-09-01 07:55:41,811::INFO::[SABnzbd:386] _yenc module... found!
2010-09-01 07:55:41,814::ERROR::[SABnzbd:396] par2 binary... NOT found!
2010-09-01 07:55:41,817::WARNING::[SABnzbd:404] unrar binary... NOT found
2010-09-01 07:55:41,820::WARNING::[SABnzbd:409] unzip binary... NOT found!
2010-09-01 07:55:41,823::INFO::[SABnzbd:413] nice binary... found (/bin/nice)
2010-09-01 07:55:41,825::INFO::[SABnzbd:417] ionice binary... found (/usr/bin/ionice)
2010-09-01 07:55:41,827::INFO::[SABnzbd:422] pyOpenSSL... found (True)
2010-09-01 07:55:41,841::INFO::[SABnzbd:1119] Starting web-interface on 192.168.1.65:8085
2010-09-01 07:55:41,846::INFO::[_cplogging:55] [01/Sep/2010:07:55:41] ENGINE Bus STARTING
2010-09-01 07:55:41,901::INFO::[_cplogging:55] [01/Sep/2010:07:55:41] ENGINE Started monitor thread '_TimeoutMonitor'.
2010-09-01 07:55:42,113::INFO::[_cplogging:55] [01/Sep/2010:07:55:42] ENGINE Serving on 192.168.1.65:8085
2010-09-01 07:55:42,116::INFO::[_cplogging:55] [01/Sep/2010:07:55:42] ENGINE Bus STARTED
I've copied the log below. My Stora doesn't have access to root so I have to start sab in sudo mode and if I want to run a program I always have to run it based on the folder path such as /opt/bin/unrar rarfile.rar so I'm not sure if that makes a difference or not? Any help gratefully received.
2010-09-01 07:55:41,737::INFO::[SABnzbd:1021] Starting SABnzbd.py-0.5.3
2010-09-01 07:55:41,740::DEBUG::[__init__:261] Starting postprocessor
2010-09-01 07:55:41,751::DEBUG::[__init__:264] Starting assembler
2010-09-01 07:55:41,761::DEBUG::[__init__:267] Starting downloader
2010-09-01 07:55:41,771::DEBUG::[scheduler:159] Starting scheduler
2010-09-01 07:55:41,781::DEBUG::[__init__:272] Starting dirscanner
2010-09-01 07:55:41,784::INFO::[dirscanner:367] Dirscanner starting up
2010-09-01 07:55:41,791::DEBUG::[newzbin:100] Starting msgidgrabber
2010-09-01 07:55:41,801::DEBUG::[__init__:277] Starting urlgrabber
2010-09-01 07:55:41,804::INFO::[urlgrabber:103] URLGrabber starting up
2010-09-01 07:55:41,811::INFO::[SABnzbd:386] _yenc module... found!
2010-09-01 07:55:41,814::ERROR::[SABnzbd:396] par2 binary... NOT found!
2010-09-01 07:55:41,817::WARNING::[SABnzbd:404] unrar binary... NOT found
2010-09-01 07:55:41,820::WARNING::[SABnzbd:409] unzip binary... NOT found!
2010-09-01 07:55:41,823::INFO::[SABnzbd:413] nice binary... found (/bin/nice)
2010-09-01 07:55:41,825::INFO::[SABnzbd:417] ionice binary... found (/usr/bin/ionice)
2010-09-01 07:55:41,827::INFO::[SABnzbd:422] pyOpenSSL... found (True)
2010-09-01 07:55:41,841::INFO::[SABnzbd:1119] Starting web-interface on 192.168.1.65:8085
2010-09-01 07:55:41,846::INFO::[_cplogging:55] [01/Sep/2010:07:55:41] ENGINE Bus STARTING
2010-09-01 07:55:41,901::INFO::[_cplogging:55] [01/Sep/2010:07:55:41] ENGINE Started monitor thread '_TimeoutMonitor'.
2010-09-01 07:55:42,113::INFO::[_cplogging:55] [01/Sep/2010:07:55:42] ENGINE Serving on 192.168.1.65:8085
2010-09-01 07:55:42,116::INFO::[_cplogging:55] [01/Sep/2010:07:55:42] ENGINE Bus STARTED
Re: Path for unrar, unzip on nas
Somewhow SABnzbd receives an incomplete path.
Try starting it from a small shell script.
That way you can add an "echo $PATH" statement, so you can se what's wrong.
You should then start the script as you would normally start SABnzbd.
Try starting it from a small shell script.
That way you can add an "echo $PATH" statement, so you can se what's wrong.
You should then start the script as you would normally start SABnzbd.
Re: Path for unrar, unzip on nas
/opt/bin/python2.5 /opt/share/SABnzbd/SABnzbd.py -d -f /opt/etc/sabnzbd.ini -s $ni -s 192.168.1.65:8085
I have copied the above into a script which I use to start sab however I'm not familiar with the echo path function - do you have tips on how to include the above.
Thanks for your help.
I have copied the above into a script which I use to start sab however I'm not familiar with the echo path function - do you have tips on how to include the above.
Thanks for your help.
Re: Path for unrar, unzip on nas
Code: Select all
echo $PATH
If it starts invisible, you might need to use output redirection.
Code: Select all
echo $PATH >/tmp/debug.log
Code: Select all
PATH = $PATH:/missing/path
export PATH
Re: Path for unrar, unzip on nas
Thanks for your patience and support it that worked a treat. Copied unrar, unzip and par2 across to the outputed directory and its working perfectly now.