Support > User Customizations

Sabnzbd unMenu package

(1/71) > >>

prostuff1:
First of all I want to give credit to mrmachine who created the first unMenu package for SABnzb.  I used what he created as the base for my modifications and updates.

Please keep the discussion in this thread dedicated to INSTALL issues related to the .conf file I created.  If you have a question about SABnzb setup or operation ask the question in the Application sub-forum or better yet, on the SABnzb forum.

So attached to this post are ALL the unMenu packages you will need.  I had to update and split out some of the packages that SABnzb uses to make it more "modular".  This makes it easier for me to keep up to date.

This package has been tested to work on unRAID 4.7 and the 5.0b6a. It should work on any of the 5.0bX installs, though I have not specifically tested it.  I believe that 5.0b9/10 introduced a new mover script so if you install this to the cache drive you will have to figure out how to keep the folder there.

Drop all the attached .conf files in this post and the next into the packages folder and then find the SABnzb install on the unMenu package manager screen.
Drop the sabnzbd .conf file in the packages folder and then find the SABnzb install on the unMenu package manager page.


If you need help because the package I created is causing problems I need and exact description of the steps you did that caused the problem and the following


--- Code: ---ps -ef | grep SABnzb
cat PACKAGE_DIRECTORY/SABnzbd-0.7.11-src.tar.gz.auto_install
cat PACKAGE_DIRECTORY/SABnzbd-0.7.11-src.tar.gz.manual_install
ls ***OF THE INSTALL DIRECTORY OF SABnzb***
cat ***OF THE sabnzbd.ini file in the INSTALL DIRECTORY OF SABnzb***
***INSTALL_DIRECTORY_HERE***/SABnzbd.py -v
cd PACKAGE_DIRECTORY && find . -type f -name "SABnzbd-*-src.tar.gz" -print0 | xargs -0 ls -tr | awk 'END{print $NF}' | awk '{split($0,a,"-"); print a[2]}'
cd PACKAGE_DIRECTORY && find . -type f -name "SABnzbd-*-src.tar.gz" -print0 | xargs -0 ls -tr | awk 'END{print  $NF}' | awk '{split($0,a,"/"); print a[2]}'
cd PACKAGE_DIRECTORY && find . -type f -name "SABnzbd-*-src.tar.gz" -print0 | xargs -0 ls -tr | awk 'END{print $NF}' | awk '{split($0,a,"-"); print a[1]"-"a[2]}' | awk '{split($0,b,"/"); print b[2]}'
cat /var/log/syslog | grep -i sabn

--- End code ---

I can not and will not guarantee compatibility with current installs of SABnzb other than ones installed by plugin previously. If you have a current install not from my package and try installing using this package then I can not guarantee that I will help fix any issues.

EDIT: 7-24-2011
Slight update to the sabnzbd-unmenu-package.conf file.  If should not really effect anything but I changed the package a little so that a check is done before kicking off the start of SABnzb.

EDIT: 7-26-2011
A quote from bjp999 so that no one gets confused:

--- Quote ---The /mnt directory typically contains mount points. But this is by convention. If you create a directory and copy files there, they will be in the base filesystem. In the case of unRaid, that means the ramdisk where Linux is loaded on every reboot. Any files you put there will be gone after a boot.

--- End quote ---
and my slightly more geeky explanation is here.
The short answer is if the cache drive does not exist DO NOT try installing the app to the cache drive.  Make sure the location you chose to install the app is a PHYSICAL hard drive or you will running the application from RAM.


EDIT: 7-26-2011
Yahoo, 2 edits in one day...
Anyway, attached is a new SABnzb .conf file PLEASE DOWNLOAD IT!!!  It fixes a problem related to the recreation of the sabnzbd.ini file.  I had left out a small check to see if the file existed before writing a new one.


EDIT: 7-27-2011
Some people appear to be having trouble upgrading to a newer package.  There are a few things to know about upgrading, that I guess I take for granted since I have to usually do a wipe and install during my testing.
1. To fake out the package and allow you to install the it again you will need to run the code below before updating:
rm /etc/rc.d/unraid.d/rc.unraid_sabnzbd
2. Now you can copy the new .conf in place
3. Make sure to set all your variables to what you need again.
4. Hit the install button.

EDIT: 8-4-2011
The update process is below:
1. copy new sabnzbd .conf file to the packages folder
2. check/change/update the install variables
3. save the new variables if need be
4. hit the install button

EDIT: 8-8-2011
The supplementary packages have now been included in unMenu's main release.  If you want to run SABnzb with the .conf attached to this post PLEASE UPDATE UNMENU FIRST!!

EDIT: 8-18-2011
updated .conf file for version 0.6.8 of SABnzbd

EDIT: 8-21-2011
updated .conf file to fix a slight fubar if the default package directory (/boot/packages) was NOT being used.

EDIT: 8-21-2011
updated .conf file to fix a slight fubar related to the previous update. That's what happens when you don't look over everything twice..

EDIT: 9-17-2011
updated the .conf to 0.6.9 (thanks hellbringer)

EDIT: 9-22-2011
updated the .conf file to check to see if drives are mounted before starting the install.  It will try up to 10 times, sleeping for 10 seconds before giving up. I am also specifying the location of the sabnzbd.ini file on the command line now to help alleviate issue with SABnzbd finding it on its own.

EDIT: 10-24-2011
Package updated to 0.6.10 thanks to p1lot

EDIT: 10-26-2011
Package updated to fix a sort issue and selecting the correct version to install.

EDIT: 11-27-2011
Another update to fix a small select issue when a previous version was installed.

EDIT: 12-31-2011
Updated to 0.6.14 and hopefully fixed an issue with some sorting stuff

EDIT: 1-06-2012
Fixed a loop counter issue

EDIT: 1-06-2012
Updated to version 0.6.15

EDIT: 06-24-2012
Updated to version 0.7

EDIT: 10-22-2012
Updated to version 0.7.4

EDIT: 01-13-2013
Updated to version 0.7.9 thanks to kuhnamatata

EDIT: 02-20-2013
Updated to version 0.7.11 thanks to kuhnamatata

prostuff1:
Next set of packages attached below

ChronoStriker1:
I seem to have an issue with folder permissions on downloaded files.  When sabnzbd downloads something it seems to change the permissions to the folder/files of the download as well as all parent folders to drwx------
When that happens I don't seem to be able to access the folder/files unless I chmod them.  Am I doing something wrong or is there a way around this?  I connect the the share as my secondary user so I understand why I'm blocked, but why is it choosing those permissions?

prostuff1:

--- Quote from: ChronoStriker1 on July 25, 2011, 10:59:11 AM ---I seem to have an issue with folder permissions on downloaded files.  When sabnzbd downloads something it seems to change the permissions to the folder/files of the download as well as all parent folders to drwx------
When that happens I don't seem to be able to access the folder/files unless I chmod them.  Am I doing something wrong or is there a way around this?

--- End quote ---
I have not had time to look through all of SABnzb's settings, but I believe there is a place to file and/or folder permissions of downloaded files.

If you are running 4.7 then the application is started and run as root, if you are on a 5.0bx version then the app is started and run as nobody.



--- Quote ---I connect the the share as my secondary user so I understand why I'm blocked, but why is it choosing those permissions?

--- End quote ---
If I had to take an educated guess it is SABnzb doing it, but you might be able to change that.

I know I am setting everything to nobody if running on 5.0bX and root on 4.7.

ChronoStriker1:
Yeah I believe its that setting in the ini
permissions = "0777"

its set to: permissions = ""
by default

Changing that looks like it worked.  Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version