June 1, 201214 yr the updater on CP or SAB don't seem to work at all... any body have any idea why? The updater on both works, BUT it wasn't replacing the version file so the plug-in didn't KNOW it was working. I've fixed it, will up in just a little bit. Sab I unfortunately cannot test as I am at the latest version, but I updated to get it there.... Try running /etc/rc.d/rc.sabnzbd update and post the output here
June 1, 201214 yr Thats good news! So something happened with the flash drive, either age or otherwise, and the file became corrupted, sounds likely that you changing the file and then Samba acting up was coincidental. Ok, what'd I'd do is go ahead and back up the flash drive to your PC in case anything worsens, you know you have a good backup of your settings(also, I recommend doing this every week or so anyway), if you can get rid of the secrets.tdb file, do that, as that file is whats causing issues with samba, its trying to start, see's the secrets.tdb, and tries to read it. If it doesn't see the file on start, it will create a new one and keep on going like nothing ever happened. Obviously, since the files corrupt, it can't read it, making samba freak out and not work.
June 1, 201214 yr Needed to reboot my server so I put the newest version of the couchpotato v2 plugin in and now Im having the same issue as before only changing the permissons isnt helping this time Traceback (most recent call last): File "/usr/local/couchpotato_v2/CouchPotato.py", line 119, in <module> l = Loader() File "/usr/local/couchpotato_v2/CouchPotato.py", line 43, in __init__ os.makedirs(self.data_dir) File "/usr/lib/python2.6/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/.couchpotato' Traceback (most recent call last): File "/usr/local/couchpotato_v2/CouchPotato.py", line 119, in <module> l = Loader() File "/usr/local/couchpotato_v2/CouchPotato.py", line 43, in __init__ os.makedirs(self.data_dir) File "/usr/lib/python2.6/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/.couchpotato'
June 1, 201214 yr Grab the version off of the "Influencer" branch, give that a try. You don't have to restart the server to install it, simply replace the old plugin, and run: installplg /boot/config/plugins/couchpotato_v2_mod.plg
June 1, 201214 yr yup that one worked. saw it in the other post right after I posted it and was just going to post that it worked... Thanks for the update
June 1, 201214 yr Good, also added a couple lines to change the owner and permission of the Data Dir just in case, they should always be writable (as they are created by CP) but just in case,
June 1, 201214 yr Thats good news! So something happened with the flash drive, either age or otherwise, and the file became corrupted, sounds likely that you changing the file and then Samba acting up was coincidental. Ok, what'd I'd do is go ahead and back up the flash drive to your PC in case anything worsens, you know you have a good backup of your settings(also, I recommend doing this every week or so anyway), if you can get rid of the secrets.tdb file, do that, as that file is whats causing issues with samba, its trying to start, see's the secrets.tdb, and tries to read it. If it doesn't see the file on start, it will create a new one and keep on going like nothing ever happened. Obviously, since the files corrupt, it can't read it, making samba freak out and not work. I removed the file and now unRAID is working.. I'll replace the flashdrive later. Is there a version of the sab plugin that is best? That is the original problem I was trying to fix.
June 1, 201214 yr Users only need to worry about the master branch. The other branch is simply to make it easier for me to have people test a change before the changes are "released". Its one of the reasons for branches, . This way i can make a change and either have the user that is having an issue test it, or let WW test it, all without the worry a new user downloads the plugin right after a new bug-ridden or typo commit. You must remember, some of these issues dont affect me or my setup so a "fix" can sometimes be a bit of a shot in the dark, best to let those affected test it before making the change official. Of course i could make the changes and upload to dropbox or somewhere for a user to test, but with the git repository in place its simpler to use it. My reasoning make sense?
June 1, 201214 yr I removed the file and now unRAID is working.. I'll replace the flashdrive later. Is there a version of the sab plugin that is best? That is the original problem I was trying to fix. The version at the link in my sig is the current version, I've ran it with no problems. I think the problem is with this: The cache drive is technically not a part of the array, and is of course treated differently from unraid. I think when plug-ins data directory is set as a user share(if you are putting it in the array instead of on a cache drive), the plug-in tries to start, locking the disk as busy, and unraid can't start properly as unraid is waiting for the disk to be available to initialize the array. The plug-in keeps trying to start, and unraid keeps waiting, getting it stuck on "starting....". Once things calm down at the house I'm going to move one of the plug-in data directories to a user share and restart to see if it happens to me, if it does, I'll try to put in a fix for that, . I believe it should be as simple as making the plug-in wait so many seconds after the disks_mounted event to start, but only in the case of the data directory being on the array.
June 2, 201214 yr hello guys. I just install the latest 5 RC3 and I got some problem with the sabnzb plg. I manually install it (installplg sabnzbd...). I'm trying to change the configuraiton on the network services page. Each time i hit the done button all the settings are reverted back to default values any idea ? btw how do you mount a outside of the array drive ? thank you
June 2, 201214 yr I'm trying to change the configuraiton on the network services page. Each time i hit the done button all the settings are reverted back to default values You can only change values in the webinterface, if the plugin is disabled. BUT those changes are only saved, when enabling the plugin. so to change a value, first set Enable to "no", hit apply. then change the settings, then set Enable to "yes" and then hit apply. Sickbeard (or the plugin you changed the settings for) will start with the new settings. btw how do you mount a outside of the array drive ? Mount Any Drive Plugin: http://lime-technology.com/forum/index.php?topic=14742.msg138819#msg138819
June 3, 201214 yr I'm trying to change the configuraiton on the network services page. Each time i hit the done button all the settings are reverted back to default values You can only change values in the webinterface, if the plugin is disabled. BUT those changes are only saved, when enabling the plugin. so to change a value, first set Enable to "no", hit apply. then change the settings, then set Enable to "yes" and then hit apply. Sickbeard (or the plugin you changed the settings for) will start with the new settings. I plan on looking at this to change it, or rather make it more "automatic". Simply put the app has to be restarted for changes to be applied, thats why its currently designed to be disabled, and save changes when enabled. But I'm thinking of allowing changes to be made while enabled, and just invoke a restart of the app when settings change.
June 3, 201214 yr If I want to migrate from prostuff's SAB/SB/CP packages to these plugins, without losing my history. database etc, is there any trick to doing so ?
June 3, 201214 yr I'm not sure where the unmenu script saves everyything, but I believe it puts everything in the install directory, if not it will require a little more investigation. IF everything is in the install directory, you should backup the following: SAB: admin folder Logs folder Scripts Folder(only need to save this if you added a script to the folder, otherwise it will be recreated on install) sabnzbd.ini sabnzbd.ini.bak Couchpotato: Note: This is from my data for Couchpotato V2, I believe most of the files are the same for V1 but DO NOT hold me to it cache folder db_backup folder logs folder couchpotato.db couchpotato.db-shm couchpotato.db-wal settings.conf(this file I know doesn't exist in V1, so look for your settings file, it should be in the same directory will everything else) The db-shm and db-wal files you shouldn't need, but if you want to back them up just in case CP doesn't like not having them, go ahead Sickbeard: cache folder logs folder cache.db config.ini sickbeard.db sickbeard.db.v0 You can back up these files and put them in their own folders, so a sabnzbd folder containing all the files listed above, etc. After installing the plug-ins and setting up your data directory, enable the plug-ins to start them, then after making sure everything is running, disable them. Go to the directory you specified in the Data Directory part of the plug-in configuration and place all the files I listed in the root of that directory. It should have to overwrite files of the same name. SO, if your data directory for sabnzbd is /mnt/cache/.apps/sabnzbd/(again, this is configurable via the plug-in), you would place all the files you backed up for sabnzbd in that directory. You should then have: /mnt/cache/.apps/sabnzbd/admin/ /mnt/cache/.apps/sabnzbd/logs/ /mnt/cache/.apps/sabnzbd/scripts/ /mnt/cache/.apps/sabnzbd/sabnzbd.ini /mnt/cache/.apps/sabnzbd/sabnzbd.ini.bak Once you have these files in the data directories, you may need to change ownership. I believe the unmenu versions run as root, whereas with the plug-ins you can run as nobody(which is suggested). To check this, run: ls -l /mnt/cache/.apps/sabznbd/ obviously change the path if thats not where your data directory is. If they are owned by root and you have the plug-ins running as nobody, you'll need to change ownership. To do this: chown -R /mnt/cache/.apps/sabnzbd You may need to check this for each app. You can keep your unmenu installs of the apps in place, just shut them down or disable them while installing/configuring the plug-ins so there are no problems with trying to bind to the same port. Once you have the plug-in versions installed and happy you haven't lost anything, you can uninstall the unmenu version. As long as you don't install to the same install directory or point the data directory to the same directory, your old install will not be affected, so you'll have your info intact in case something did go wrong. That was really long-winded but it should have answered almost any question you should have(unless I missed something)
June 3, 201214 yr holly crap after hours of fugging with sab I have a web gui... first off I ran it off port 88 on 4.7 and have several apps all configured to that port, so as soon as I got into the settings I changed the port from 8081 to 88... all hell broke loose... the array wouldn't come online... I tried to uninstall removed directory's etc. then it was giving some permissions error about not being able to create the *.ini file in /mnt/cache/.apps/sabnzbd turns out that folder was root:root I finally have it up and going... but is there any way to copy my setting from my old install to the new one or will it mess everything up again? -=Jason=-
June 4, 201214 yr It shouldn't mess anything up. Did you create the sabnzbd folder yourself or let the plug-in do it? The plug-in would have created it using the same user you set sabnzbd to run under. You can copy the files needed to the new data directory and restart sabnzbd, it should pick up all of the changes.
June 4, 201214 yr its been one big headache... im trying to set everything up from scratch... right now Sab is NOT saving any of the changes I am making in the settings.... example... download directories, scripts folders, etc categories. getting a little burnt out and disappointed and frustrated. -=Jason=- EDIT:... I have CP and SAB setup, or I shall see in about 30 minutes when my movie is done, but SickBeard... im having trouble getting my Tv show folder imported. I go to "home" add show > add existing and navigate to /mnt/user/Tv.Shows and it just sits there with a status bar thing animated. how long should it take? I don't see it making any progress and its been sitting for a good little bit.
June 4, 201214 yr I'm sorry the setup has not been very friendly towards you. Post the output of this commands: ls -l /path/to/your/data/directory/ It would be helpful if you posted that for the files inside the data directory, and for the parent folder, so for example if your data directory was located at /mnt/cache/.apps/sabnzbd/ ls -l /mnt/cache/.apps/ ls -l /mnt/cache/.apps/sabnzbd/ If sabnzbd is not able to save configurations, its most likely a permissions error. Also, please report back with the exact settings you have for the plugin: Enable: Install Directory: Data Directory: Port: Run As User: Of course from your previous post I can see what your directory is but just to double check, And also, I know most examples show putting the data directory in /mnt/cache/, but you do have a cache drive, correct? You could still make that directory, but it would reside in ram if the cache drive actually doesn't exist. Never done it myself so not sure if it would create access or permission issues, shouldn't but never know til you try, so just wanting to cross that one off too Anything else I'm glad to help with, if you want a quicker response PM me with a instant messenger and I can help you that way as well(for a while anyway, 4 AM mornings come early, so bed does too)
June 4, 201214 yr looks like my cache drive was root:root I changed it to nobody:users and I was able to save SAB settings, however Sickbeard is not playing so nicely. root@Tower:~# ls -l /usr/local/sickbeard/ total 72 -rw-rw-r-- 1 nobody users 35132 2012-04-26 23:28 COPYING.txt -rwxrwxr-x 1 nobody users 10599 2012-04-26 23:28 SickBeard.py* drwxr-xr-x 2 nobody users 0 2012-06-03 16:21 autoProcessTV/ drwxr-xr-x 5 nobody users 0 2012-06-03 16:22 cherrypy/ drwxr-xr-x 6 nobody users 0 2012-06-03 16:21 data/ -rwxrwxr-x 1 nobody users 2042 2012-04-26 23:28 init.fedora* -rwxrwxr-x 1 nobody users 2562 2012-04-26 23:28 init.freebsd* -rw-rw-r-- 1 nobody users 2334 2012-04-26 23:28 init.solaris11 -rwxrwxr-x 1 nobody users 1967 2012-04-26 23:28 init.ubuntu* drwxr-xr-x 14 nobody users 0 2012-06-03 16:22 lib/ -rw-rw-r-- 1 nobody users 2461 2012-04-26 23:28 readme.md drwxr-xr-x 7 nobody users 0 2012-06-03 16:22 sickbeard/ drwxr-xr-x 2 nobody users 0 2012-06-03 16:21 tests/ -rw------- 1 nobody users 40 2012-06-03 16:21 version.txt root@Tower:~# ls -l /mnt/cache/.apps/sickbeard/ total 464 drwxr-xr-x 2 nobody users 80 2012-06-03 15:41 Logs/ drwxrwx--- 2 nobody users 280 2012-06-03 16:55 autoProcessTV/ drwxr-xr-x 2 nobody users 48 2012-06-03 15:41 cache/ -rw-r--r-- 1 nobody users 50176 2012-06-03 17:01 cache.db -rw------- 1 nobody users 185081 2012-06-03 17:01 cherrypy.log -rw-r--r-- 1 nobody users 3899 2012-06-03 17:16 config.ini -rw-r--r-- 1 nobody users 10240 2012-06-03 17:01 sickbeard.db -rw-r--r-- 1 nobody users 9216 2012-06-03 15:41 sickbeard.db.v0 -rw------- 1 nobody users 202233 2012-06-03 17:51 sickbeard.log -=Jason=-
June 4, 201214 yr Go ahead and change permissions on that directory: chmod -R 777 /mnt/cache/.apps/sickbeard/ See if that makes a difference(from looking at it, it shouldn't but best to go ahead and remove permissions from being the culprit) Are you having the same difficulties with sickbeard as you were with sabnzbd?
June 4, 201214 yr Go ahead and change permissions on that directory: chmod -R 777 /mnt/cache/.apps/sickbeard/ See if that makes a difference(from looking at it, it shouldn't but best to go ahead and remove permissions from being the culprit) Are you having the same difficulties with sickbeard as you were with sabnzbd? I changed the settings on that directory... no problems other than trying to add my existing shows. it doesn't even open into that directory for me to pick a show folder. -=Jason=-
June 4, 201214 yr So your going into sickbeard and adding existing shows, and I presume navigating to /mnt/user/TV/ or something similar. Its not letting you enter that directory?
June 4, 201214 yr So your going into sickbeard and adding existing shows, and I presume navigating to /mnt/user/TV/ or something similar. Its not letting you enter that directory? exactly, its getting hung up.. I deleted my log and restarted sickB I shall try it again and post my log. -=Jason=-
June 4, 201214 yr here is my log of sickbeard after a restart and attempting to add my /mnt/user/Tv.Shows directory http://pastebin.com/zwC3Ki5G -=Jason=- EDIT: I am now trying to copy the old database into the new location. *crossing fingers* Edit>EDIT: OMG it worked... I copyed sickbeard.db cache.db and the cache folder into the new location and restarted SB and Bam I have a working SB.. maybe... haven't tried to download anything with it yet. I do know my CP mover script is NOT working. it seems it can't create folder on /mnt/user/Movies. guess its owned by root|root as well.
Archived
This topic is now archived and is closed to further replies.