February 24, 201115 yr Trying to get Sabnzbd installed Reading this post http://lime-technology.com/forum/index.php?topic=2903.msg30274#msg30274 Where exactly do I download the SABnzbd-0.5.6-i586-unRAID.tgz and SABnzbd-0.5.6-src.tar.gz files to? I just put them both onto disk 1 when using these codes: installpkg /PackageDirectory/SABnzbdDependencies-2.1-i486-unRAID.tgz python /YourSabnzbdDirectory/SABnzbd.py -d -s ServerIP:InterfacePort How exactly would is add the package directory if it is \\servername\disk1 .... the different back and forward slashes are getting me confused. I tried every combo and nothing will let it install. thanks
February 24, 201115 yr Author Actually I think it needs to be installed on the flash? if I install to the packages folder on my flash then how to I direct to it?
February 24, 201115 yr Author Actually I just followed this http://lime-technology.com/wiki/index.php?title=Install_Python_based_servers Is this ok? will these versions be alright? I got to as far as You can start each service the first time without rebooting by typing the following lines at the command prompt. but putting in that code it says # SABnzbd Dependencies (SABnzbd+ support packages bundled for unRAID) # - python-2.6.5 (Programming language) # - sqlite3-3.7.0 (Database engine) # - Cheetah-2.4.2.1 (Template engine) # - pyOpenSSL-0.10 (SSL library) # - feedparser-4.1 (RSS parser) # - infozip-6.0 (Un/zip binaries) # - unrar-3.9.6 (Unrar binary) # - par2cmdline-0.4-tbb (Par2 multithreaded binary) # - yenc-0.3 (Yenc decoder) Executing install script for SABnzbdDependencies-2.1-i486-unRAID.tgz. Package SABnzbdDependencies-2.1-i486-unRAID.tgz installed. root@jakes:~# python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d -s 0.0.0.0:8082 python: can't open file '/mnt/cache/.custom/sabnzbd/SABnzbd.py': [Errno 2] No such file or directory root@jakes:~# python /mnt/cache/.custom/sickbeard/SickBeard.py --daemon python: can't open file '/mnt/cache/.custom/sickbeard/SickBeard.py': [Errno 2] No such file or directory I do have those files in .custom but that folder actually looks like it is clear maybe meaning that it is hidden? Any ideas?
February 24, 201115 yr The SABnzbd files are installed on your cache drive. SAB is the main reason I added the cache drive. My write speeds approach 35MB/s directly to the array. Here's the page you need that has all the steps to install SABnzbd. When you get to the Then edit /boot/config/go, add the following section to the end section, DO NOT edit that file with Notepad. Use Midnight Commander. That's command mc in Putty. Use your mouse to navigate the folders until you find /boot/config/go. Click the Edit button at the bottom of the window, then paste in the script extras from the Wiki. If you see M^ at the end of any line within the go script, it's messed up. You'll probably have to reboot your server after install. Once you edit the go script in mc, you'll need to run this command: python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d -s 0.0.0.0:8082 (replace your IP where you see 0.0.0.0). There's a lot of steps, but it really is copy and paste.
February 24, 201115 yr Author The SABnzbd files are installed on your cache drive. SAB is the main reason I added the cache drive. My write speeds approach 35MB/s directly to the array. Here's the page you need that has all the steps to install SABnzbd. When you get to the Then edit /boot/config/go, add the following section to the end section, DO NOT edit that file with Notepad. Use Midnight Commander. That's command mc in Putty. Use your mouse to navigate the folders until you find /boot/config/go. Click the Edit button at the bottom of the window, then paste in the script extras from the Wiki. If you see M^ at the end of any line within the go script, it's messed up. You'll probably have to reboot your server after install. Once you edit the go script in mc, you'll need to run this command: python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d -s 0.0.0.0:8082 (replace your IP where you see 0.0.0.0). There's a lot of steps, but it really is copy and paste. I actually went through all those steps and the last steps are where I messed up. I DID edit the config/go file with notepad lol so I'll go back and fix it. Also I did not know I needed to replasce the 0's with my IP. I will try all this! thank you! Also... is that version alright? there is nothing newer? About the cache drive.... is it ok just to use my flash for now it is 4gb. I plan on getting a cache drive but not for a couple weeks edit: M^ was on every line (oops). I just deleted all of them and saved, is this ok?
February 24, 201115 yr I'm running the same version as is listed in the Wiki. Just installed it on Sunday and it runs great. The browser interface responds faster than it did when installed on my workstation. I did install the Firefox add-on for SAB. You just need the url for SAB (mine is 192.168.3.175:8082/) and API Key from Config > General in SABnzbd. It's nice to see current download progress without loading the actual page.
February 24, 201115 yr Author I'm running the same version as is listed in the Wiki. Just installed it on Sunday and it runs great. The browser interface responds faster than it did when installed on my workstation. I did install the Firefox add-on for SAB. You just need the url for SAB (mine is 192.168.3.175:8082/) and API Key from Config > General in SABnzbd. It's nice to see current download progress without loading the actual page. Do they have an add on for chrome haha alright well I think I have everything figured out just some how need to change the directory from /mnt/cache to my flash but do not know how
February 24, 201115 yr The flash drive is not involved with SAB at all, except to download and extract the packages. Everything you just installed is on the cache drive. You should make sure hidden files are visible in your file browser so you can see all directories.
February 24, 201115 yr Author The flash drive is not involved with SAB at all, except to download and extract the packages. Everything you just installed is on the cache drive. You should make sure hidden files are visible in your file browser so you can see all directories. I don't have a cache drive it actually is all installed on my flash
February 24, 201115 yr I think using the flash drive is not wise due to the amount of writes that SAB must perform. I see lots of posts where people are concerned about writing to the flash drive too much and shortening its life. Even an old IDE drive would be fine as cache. Mine's only 250gb.
February 24, 201115 yr Author I think using the flash drive is not wise due to the amount of writes that SAB must perform. I see lots of posts where people are concerned about writing to the flash drive too much and shortening its life. Even an old IDE drive would be fine as cache. Mine's only 250gb. true... plus it is only 4gb.... hmm I can probably just buy a new small HDD but in SABnzbd you can change the temporary download folder location so I can just change it to my disk 1 for now? Not sure directory for that though
February 24, 201115 yr I don't think there is anything detrimental from using disk1 as the SAB download dir. Once you get into the config page for SAB, all the settings can be adjusted to whatever you like. Make sure you set disk1 to never spin down.
February 24, 201115 yr Author I don't think there is anything detrimental from using disk1 as the SAB download dir. Once you get into the config page for SAB, all the settings can be adjusted to whatever you like. Make sure you set disk1 to never spin down. I only have one data disk (disk 1) so is having it never spin down a bad idea? I am trying to change the SAB download dir to disk 1 then a folder named sabnzbd temp then obviously incomplete or complete. What would be the correct directory for this?
February 24, 201115 yr On second thought, I don't think a disk in the array can do anything else except store data. Better let someone else chime in with an answer to be sure.
February 24, 201115 yr Author On second thought, I don't think a disk in the array can do anything else except store data. Better let someone else chime in with an answer to be sure. could be right... thanks for your help!
February 24, 201115 yr I do not recommend you use the flash drive for the install. I would recommend you install everything to the disk1. You can re-do or move it all to a cache disk when you get one. Just replace cache with disk1 in the install directions. You could change the .custom to another name it you wanted too, like custom or python. /mnt/cache/.custom/sabnzbd -> /mnt/disk1/.custom/sabnzbd or /mnt/disk1/custom/sabnzbd or /mnt/disk1/python/sabnzbd The .custom is used becauses unRAID will not move any directory to the array if it starts with a period(.). So, the .custom folder will never get moved from the cache disk to disk1. Basically, the .custom gets "hidden" from the user since it doesn't get moved and it doesn't appear as a user share. If you have the folder on disk1 then you may want a different name, it's your call. You can continue to use .custom if you want. One other thing. I recommend you edit the config.ini file for Sickbeard and put the full path for the config and log files. Otherwise, the config and log files may appear on the flash drive which also wears it out. Peter
February 24, 201115 yr Author I do not recommend you use the flash drive for the install. I would recommend you install everything to the disk1. You can re-do or move it all to a cache disk when you get one. Just replace cache with disk1 in the install directions. You could change the .custom to another name it you wanted too, like custom or python. /mnt/cache/.custom/sabnzbd -> /mnt/disk1/.custom/sabnzbd or /mnt/disk1/custom/sabnzbd or /mnt/disk1/python/sabnzbd The .custom is used becauses unRAID will not move any directory to the array if it starts with a period(.). So, the .custom folder will never get moved from the cache disk to disk1. Basically, the .custom gets "hidden" from the user since it doesn't get moved and it doesn't appear as a user share. If you have the folder on disk1 then you may want a different name, it's your call. You can continue to use .custom if you want. One other thing. I recommend you edit the config.ini file for Sickbeard and put the full path for the config and log files. Otherwise, the config and log files may appear on the flash drive which also wears it out. Peter So it is not ok to just leave the sab install on the flash but have it put the complete and incomplete download folders onto disk 1? If not do I just need to delete the sab dependicies package and .custom folders and start over?
February 24, 201115 yr Sab writes a lot of log related stuff (similar to Transmission and the resume folder) so having it on the flash drive is not recommended. It will where out the flash drive even faster than normal... not a good thing.
February 24, 201115 yr Author Sab writes a lot of log related stuff (similar to Transmission and the resume folder) so having it on the flash drive is not recommended. It will where out the flash drive even faster than normal... not a good thing. ah ok well I set it all up onto disk 1 but when going to IP:8082 for it I get this error 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/boot/packages/.custom/sabnzbd/cherrypy/_cprequest.py", line 618, in respond File "/boot/packages/.custom/sabnzbd/cherrypy/_cpdispatch.py", line 25, in __call__ File "/boot/packages/.custom/sabnzbd/sabnzbd/interface.py", line 396, in index File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1259, in __init__ self._compile(source, file, compilerSettings=compilerSettings) File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1546, in _compile self._fileMtime = os.path.getmtime(file) File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime return os.stat(filename).st_mtime OSError: [Errno 2] No such file or directory: '/boot/packages/.custom/sabnzbd/interfaces/Plush/templates/main.tmpl' Powered by CherryPy 3.2.0 do i just need to restart my server?
February 24, 201115 yr Author by the way I can go to sickbeard but just not sabnzbd and actually IP:5000 for couch potato isn't working either
February 24, 201115 yr OSError: [Errno 2] No such file or directory: '/boot/packages/.custom/sabnzbd/interfaces/Plush/templates/main.tmpl' It appears to still be running from the flash drive. I believe if you type "killall python" that will stop all the python programs and then you can re-start them in the correct locations. You know it worked if you fail to access SickBeard. Peter
February 24, 201115 yr Author OSError: [Errno 2] No such file or directory: '/boot/packages/.custom/sabnzbd/interfaces/Plush/templates/main.tmpl' It appears to still be running from the flash drive. I believe if you type "killall python" that will stop all the python programs and then you can re-start them in the correct locations. You know it worked if you fail to access SickBeard. Peter ok so I just type killall python at the main command prompt? I am doing a parity check right now will this not affect that? After I kill it how do I restart it just by typing into the browser? edit: killall python worked now how do I restart it nevermind got it working... sab and sickbeard both work now. But if I go to IP:5000 it still won't pull up couch potato
February 24, 201115 yr There should be a config file for Couchpotato. Check it out and see if there is a port or IP address problem. Overass, I'm not sure because I just unzipped the package and it ran no problem for me. Peter
Archived
This topic is now archived and is closed to further replies.