dirrtyjoe Posted February 15, 2011 Share Posted February 15, 2011 One related note... if you run couchpotato I don't think whatever drive you are running it from will sleep. The other two will after a few changes to the configs. What config changes are needed to allow the cache drive to sleep? Quote Link to comment
dirrtyjoe Posted February 15, 2011 Share Posted February 15, 2011 One related note... if you run couchpotato I don't think whatever drive you are running it from will sleep. The other two will after a few changes to the configs. What config changes are needed to allow the cache drive to sleep? I found the Wiki. --> http://lime-technology.com/wiki/index.php?title=Install_Python_based_servers#unRAID_Common_port_list Quote Link to comment
candre23 Posted April 23, 2011 Share Posted April 23, 2011 I followed the instructions in the OP and I still have permission issues with files downloaded by sick beard. The weird thing is, the files downloaded by couch potato are fine. Since it's actually SABnzbd doing the downloading for both, what could possibly be causing this? Quote Link to comment
spants Posted April 27, 2011 Share Posted April 27, 2011 I followed the instructions in the OP and I still have permission issues with files downloaded by sick beard. The weird thing is, the files downloaded by couch potato are fine. Since it's actually SABnzbd doing the downloading for both, what could possibly be causing this? does this work for you? http://lime-technology.com/forum/index.php?topic=11307.msg119253#msg119253 Quote Link to comment
kaiguy Posted May 15, 2011 Share Posted May 15, 2011 Bringing an old thread back to life! So I recently followed these instructions, as I have upgraded to 5.0b6a. Everything appears to be working fine, except Sab errorred out on the SickBeard autoProcessTV script. Now, no scripts are showing at all, despite the path to the scripts being correct in the config of Sab. Permissions are appropriately set to nobody:users for all files and directories. I am really quite confused here, as hours of searching later, no one else seems to have had this problem. Suggestions? Edited: Scratch that. Apparently when I ran the permissions script after installing the 5.0 beta, it removed the execute attribute to the scripts. chmod'ing it fixed me up! Quote Link to comment
dreaming.haze Posted May 16, 2011 Share Posted May 16, 2011 Hello, I have a problem coming across currently that has been causing me some headaches currently. For a brief of system set up as of current: I have moved the big three (Sab, Couch, Sick) onto my unraid server and have run into some problems relating to permissions. I today upgraded my box to beta 5.0beta6a. With this new setup I have been reading around that they have changed the permissions around on us a bit. (I upgraded from 5.0 beta 2). Now, I have Sick beard up and running well, but my problem resides with Couch Potato. I have used this threads install o make it so that the user in control of the install and movement is (nobody), but have run across an odd issue when trying to rename the movies that Couch is downloading. Here is the bit of code in the log that shows what it is trying to do. If anyone has a clue to what is up here clue me in. (And yes, I can see that the error is for changing permissions, but I am at my wits end trying to figure out how.) Thanks. -Will IOError: [Errno 2] No such file or directory: u'//TOWER/Movies/Fast Five (2011)/Fast Five.avi' fdst = open(dst, 'wb') File "/usr/lib/python2.6/shutil.py", line 53, in copyfile copyfile(src, dst) File "/usr/lib/python2.6/shutil.py", line 99, in copy2 copy2(src, real_dst) File "/usr/lib/python2.6/shutil.py", line 264, in move shutil.move(old, dest) File "/mnt/cache/.couchpotato/app/lib/cron/renamer.py", line 466, in _move if not _move(old, dest): File "/mnt/cache/.couchpotato/app/lib/cron/renamer.py", line 345, in renameFiles finalDestination = self.renameFiles(movie) File "/mnt/cache/.couchpotato/app/lib/cron/renamer.py", line 99, in doRename self.doRename() File "/mnt/cache/.couchpotato/app/lib/cron/renamer.py", line 55, in run 02:15:41 ERROR [ app.lib.cron.renamer] Traceback (most recent call last): 02:15:41 ERROR [ app.lib.cron.renamer] !!Uncought exception in renamer thread. 02:15:41 INFO [ app.lib.cron.renamer] Moving file "/mnt/cache/downloads/Movies/FAST FIVE 2011 TS XVID smoker/fast five 2011 ts xvid-smoker.avi" to //TOWER/Movies/Fast Five (2011)/Fast Five.avi. 02:15:41 INFO [ app.lib.cron.renamer] Quality Old: 0, New 711. 02:15:41 ERROR [ app.lib.cron.renamer] Failed changing permissions //TOWER/Movies/Fast Five (2011) 02:15:41 INFO [ app.lib.cron.renamer] Creating directory //TOWER/Movies/Fast Five (2011) 02:15:41 INFO [ app.lib.cron.renamer] Trying to find a home for: fast five 2011 ts xvid-smoker.avi 02:15:41 INFO [ app.lib.library] Retrieved metainfo: {u'common': [{u'duration': u'1:47:02', u'creation date': u'2009-12-20 10:41:13', u'producer': u'libebml v0.7.7 + libmatroska v0.8.1', u'endianness': u'Big endian', u'mime type': u'video/x-matroska'}], u'audio stream': [{u'language': u'English', u'title': u'DTS', u'compression': u'DTS', u'channel': 6, u'sample rate': 48000.0}, {u'language': u'English', u'title': u'Commentary w/ Kurt Wimmer', u'compression': u'AC3', u'channel': 2, u'sample rate': 48000.0}, {u'language': u'English', u'title': u'Commentary w/ Kurt Wimmer and Lucas Foster', u'compression': u'AC3', u'channel': 2, u'sample rate': 48000.0}], u'video stream': [{u'image width': 1280, u'image height': 544, u'compression': u'AVC', u'title': u'Equilibrium'}]} 02:15:41 INFO [ app.lib.library] Retrieved metainfo: {u'common': [{u'comment': u'Has audio/video index (5.2 MB)', u'mime type': u'video/x-msvideo', u'image height': 400, u'frame rate': 24.0, u'image width': 640, u'endianness': u'Little endian', u'duration': u'1:58:46', u'bit rate': 831500.0}], u'audio stream': [{u'compression rate': 11.0, u'compression': u'mp3', u'sample rate': 44100.0, u'duration': u'1:58:46', u'bit rate': 128000.0, u'channel': 2}], u'video stream': [{u'image height': 400, u'compression': u'xvid', u'image width': 640, u'bits/pixel': 24, u'duration': u'1:58:46', u'frame rate': 24.0}]} 02:15:41 INFO [ app.lib.library] Retrieved metainfo: {u'common': [{u'comment': u'Has audio/video index (3.9 MB)', u'mime type': u'video/x-msvideo', u'image height': 320, u'frame rate': 25.0, u'producer': u'VirtualDubMod 1.5.10.2 (build 2542/release)', u'image width': 720, u'endianness': u'Little endian', u'duration': u'1:44:01', u'bit rate': 1100000.0}], u'audio stream': [{u'compression rate': 8.0, u'compression': u'AC3', u'sample rate': 48000.0, u'duration': u'1:44:01', u'bit rate': 192000.0, u'channel': 2}], u'video stream': [{u'image height': 320, u'compression': u'xvid', u'image width': 720, u'bits/pixel': 12, u'duration': u'1:44:01', u'frame rate': 25.0}]} 02:15:40 INFO [ app.lib.library] Retrieved metainfo: {u'subtitle': [{u'compression': u'UTF8'}], u'common': [{u'duration': u'2:22:11', u'creation date': u'2011-05-11 13:42:29', u'producer': u'libebml v1.0.0 + libmatroska v1.0.0', u'endianness': u'Big endian', u'mime type': u'video/x-matroska'}], u'audio stream': [{u'language': u'Korean', u'compression': u'DTS', u'channel': 6, u'sample rate': 48000.0}], u'video stream': [{u'image width': 1280, u'image height': 688, u'compression': u'AVC', u'language': u'Korean'}]} 02:15:40 INFO [ app.lib.library] Retrieved metainfo: {u'common': [{u'comment': u'Has audio/video index (5.2 MB)', u'mime type': u'video/x-msvideo', u'image height': 400, u'frame rate': 24.0, u'image width': 640, u'endianness': u'Little endian', u'duration': u'1:58:46', u'bit rate': 831500.0}], u'audio stream': [{u'compression rate': 11.0, u'compression': u'mp3', u'sample rate': 44100.0, u'duration': u'1:58:46', u'bit rate': 128000.0, u'channel': 2}], u'video stream': [{u'image height': 400, u'compression': u'xvid', u'image width': 640, u'bits/pixel': 24, u'duration': u'1:58:46', u'frame rate': 24.0}]} Quote Link to comment
Chris Pollard Posted May 16, 2011 Share Posted May 16, 2011 Thanks for the guide OP Quote Link to comment
dirrtyjoe Posted May 22, 2011 Share Posted May 22, 2011 I'm getting: /bin/bash: /usr/bin/python: Permission denied when running: su nobody -c "python /path/to/file.py" Do I need to make any particular permission changes to allow it to run? Quote Link to comment
Joe L. Posted May 23, 2011 Share Posted May 23, 2011 I'm getting: /bin/bash: : Permission denied when running: su nobody -c "python /path/to/file.py" Do I need to make any particular permission changes to allow it to run? assuming it exists, you need to make it executable. chmod +x /usr/bin/python Quote Link to comment
Haenchensd Posted February 23, 2012 Share Posted February 23, 2012 Have followed everything present here but still can't get things to run, getting permission denied error root@Media:~# su nobody -c "python /path/to/SABnzbd.py -d" /bin/bash: /usr/bin/python: Permission denied Any ideas? Edit: I think I got it and here's what I had to change: Instead of: mkdir /tmp/depend cp /boot/custom/packages/SABnzbdDependencies-2.1-i486-unRAID.tgz /tmp/depend cd /tmp/depend tar -zxvf SABnzbdDependencies-2.1-i486-unRAID.tgz chown -R nobody install chown -R nobody usr tar -zcvf /boot/custom/packages/SABnzbdDependencies-2.2-i486-unRAID.tgz usr install cp SABnzbdDependencies-2.2-i486-unRAID.tgz /boot/custom/packages/ Had to do: mkdir /tmp/depend cp /boot/custom/packages/SABnzbdDependencies-2.1-i486-unRAID.tgz /tmp/depend cd /tmp/depend tar -zxvf SABnzbdDependencies-2.1-i486-unRAID.tgz chown -R nobody install chown -R nobody usr chmod -R 777 . tar -zcvf /boot/custom/packages/SABnzbdDependencies-2.2-i486-unRAID.tgz usr install cp SABnzbdDependencies-2.2-i486-unRAID.tgz /boot/custom/packages/ Not sure why the change in ownership wasn't enough but it seems to be running. Will update if it's still not working for some reason. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.