MyKroFt Posted August 28, 2012 Share Posted August 28, 2012 isnt the cache disk only a option for 5.X only - not the 4.7 releases? Myk Link to comment
Influencer Posted August 28, 2012 Author Share Posted August 28, 2012 The cache drive is an option on the 4.* releases, however, plugins were implemented in 5.0 beta 1 IIRC Link to comment
mr-hexen Posted August 29, 2012 Share Posted August 29, 2012 The cache only shares are a 5.0 thing. The same can be accomplished in 4.7 by preceeding the folder name with ".". For example. \\tower\cache\.apps\ Link to comment
Influencer Posted August 29, 2012 Author Share Posted August 29, 2012 Sorry, I misread the post! I read it as isn't the cache disk "only" an option on 5.x, instead of isn't the "cache disk only" an option on 5.x Link to comment
swells Posted August 29, 2012 Share Posted August 29, 2012 Just wanted to drop a note and say thanks for all your work on this stuff. I just switched from torrents to news and managed to get all this which I have never used working with minimal effort. Link to comment
p1lot Posted August 29, 2012 Share Posted August 29, 2012 I noticed that Headphones doesn't automatically come after a reboot, it doesn't even get installed. Is this simple to fix just like for CP v2? Link to comment
dikkiedirk Posted August 29, 2012 Share Posted August 29, 2012 Can the SABNZB plugin be changed so Python gets optimized and precompiled like BRiT describes here: http://lime-technology.com/forum/index.php?topic=12188.msg115849#msg115849 Thanks for all the efforts. Link to comment
Influencer Posted August 29, 2012 Author Share Posted August 29, 2012 I noticed that Headphones doesn't automatically come after a reboot, it doesn't even get installed. Is this simple to fix just like for CP v2? Yes, source just needs to be added. I meant to do it and forgot. Will do tonight. Also will look at precompiled sab Link to comment
garion Posted August 29, 2012 Share Posted August 29, 2012 Thanks for your work and support to the community. Link to comment
PhoenixNZ Posted August 29, 2012 Share Posted August 29, 2012 I've been following this thread and reading/absorbing all the hints and tips, but I have one question. I know people are installing on a Cache drive, but as I only have the basic version of UnRaid, I was hoping to have an extra drive for apps using SNAP. Is there still an issue with delay in SNAP starting a drive before the plugins are called?? Only going to use Sabnz and Sickbeard at the mo. Want to check Couchpotatoe out later. And @Influence: Damn glad you enjoy the codeing and keep fixing the plugins. Keep up the good work! Link to comment
Influencer Posted August 29, 2012 Author Share Posted August 29, 2012 There is an issue I believe, if your willing to work with me and test stuff for me, we can try to get it resolved. Link to comment
Influencer Posted August 30, 2012 Author Share Posted August 30, 2012 I want to clarify, I have never been able to reproduce the hang when not using a cache disk, I don't know why. Because of this it has been difficult for me to diagnose or fix the issue. Link to comment
mejutty Posted August 30, 2012 Share Posted August 30, 2012 Just noticed a change in sickbeard I think (unless i was seeing things). I think my plugin version said 2.3 did an update and it went back to 2.2??? Link to comment
Influencer Posted August 30, 2012 Author Share Posted August 30, 2012 Yes, I reverted the change because it causes an issue on a user's system not being able to find git. It was a minor update and didn't fix anything with usability so I reverted so it wouldnt affect other users the same way. Link to comment
LoLig Posted August 30, 2012 Share Posted August 30, 2012 Hi everybody, I've been using your plugins for quite some time and they've been working excellent! However, since a month or so I got a problem with Sickbeard: 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/usr/local/sickbeard/cherrypy/_cprequest.py", line 660, in respond response.body = self.handler() File "/usr/local/sickbeard/cherrypy/lib/encoding.py", line 193, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/local/sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/local/sickbeard/sickbeard/webserve.py", line 2006, in index return _munge(t) File "/usr/local/sickbeard/sickbeard/webserve.py", line 119, in _munge return unicode(string).encode('utf-8', 'xmlcharrefreplace') File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1010, in __unicode__ return getattr(self, mainMethName)() File "_usr_local_sickbeard_data_interfaces_default_home_tmpl.py", line 107, in respond File "/usr/local/sickbeard/sickbeard/db.py", line 95, in select sqlResults = self.action(query, args).fetchall() File "/usr/local/sickbeard/sickbeard/db.py", line 71, in action sqlResult = self.connection.execute(query) OperationalError: no such table: tv_episodes Powered by CherryPy 3.2.0rc1 Just happened over night as far as I know... I may have updated to a newer version. When I restart from the config screen I loose all my config settings and need to redo everything -> result, just a few hours later I get the same error again. Now since a week or so I got another error, now with Headphones: 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request. Traceback (most recent call last): File "/usr/local/headphones/cherrypy/_cprequest.py", line 656, in respond response.body = self.handler() File "/usr/local/headphones/cherrypy/lib/encoding.py", line 188, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/local/headphones/cherrypy/_cpdispatch.py", line 34, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/local/headphones/headphones/webserve.py", line 56, in home artists = myDB.select('SELECT * from artists order by ArtistSortName COLLATE NOCASE') File "/usr/local/headphones/headphones/db.py", line 81, in select sqlResults = self.action(query, args).fetchall() File "/usr/local/headphones/headphones/db.py", line 59, in action sqlResult = self.connection.execute(query) OperationalError: no such table: artists Powered by CherryPy 3.2.2 Same problem here: restart -> loose settings -> same problem afterwards I both instances I've also deleted and reinstalled everything. Since yesterday I even got an error in SABnzbd, which I haven't been able to reproduce. I also lost all of my settings. Can anybody help me?? What is the correct way to reinstall everything? where should I look for files that need to be deleted? I'm still a beginner with unRaid so please be gentle Thx, LoLig Edit: Some extra info of my setup Link to comment
dikkiedirk Posted August 30, 2012 Share Posted August 30, 2012 I noticed that Headphones doesn't automatically come after a reboot, it doesn't even get installed. Is this simple to fix just like for CP v2? Yes, source just needs to be added. I meant to do it and forgot. Will do tonight. Also will look at precompiled sab Thanks, looking forward to the precompiled SAB. Link to comment
Influencer Posted August 30, 2012 Author Share Posted August 30, 2012 I noticed that Headphones doesn't automatically come after a reboot, it doesn't even get installed. Is this simple to fix just like for CP v2? Yes, source just needs to be added. I meant to do it and forgot. Will do tonight. Also will look at precompiled sab Thanks, looking forward to the precompiled SAB. From the research I did it doesn't seem that adding the precompile/optimize option will benefit us a lot, but I went ahead and added it. When you start sab, the plug-in will check to see if the optimized bytecode exists, if not, it will optimize the code. If the optimized bytecode does exist, it will drop the -OO from the command to just start the plug-in. Link to comment
Influencer Posted August 30, 2012 Author Share Posted August 30, 2012 LoLig, please do me a favor, check your /mnt/user/ directory for a directory named _apps or sickbeard Also, check the health of your cache drive. When you say you are losing your config when restarting, do you mean the page that you show in your screenshot? If so, you might want to run a checkdisk on your flash drive. Link to comment
Influencer Posted August 31, 2012 Author Share Posted August 31, 2012 Updated the OP with some info and linked to the my github wiki. If you have any ideas for something useful that can be put there let me know. If you want to contribute and add to it, let me know and I'll add you. Link to comment
spylex Posted August 31, 2012 Share Posted August 31, 2012 Influencer, great work. We like your bug-squashing and thorough monitoring of the thread, that is what makes these plugins so universal. I too keep an eye out for this thread and as Influencer has added me to his GitHub please let me know as well if i can make some basic changes/help in any way. Keep up the good work Link to comment
LoLig Posted August 31, 2012 Share Posted August 31, 2012 LoLig, please do me a favor, check your /mnt/user/ directory for a directory named _apps or sickbeard Also, check the health of your cache drive. When you say you are losing your config when restarting, do you mean the page that you show in your screenshot? If so, you might want to run a checkdisk on your flash drive. Hey Influencer, thx for the reply! After i get the error and I restart the plugin from the settings page (in the picture) the config is indeed gone. I did the checkdisk: no errors. Cache drive health status: OK I do indeed have a a folder in /mnt/user -> _apps/sickbeard, _apps/couchpotato_v2, _apps/sabnzbd and _apps/headphones I have the unraid-mover-exclude-underscore script installed and enabled (Description: Normally, unRAID will exclude any directory that begins with a "." from being moved to the protected array by the mover script from the cache drive. This package will modify the mover script so that it excludes directories whose name begins with an underscore character in addition to directories that begin with a period. The intent is to make it easier for unRAID users whose file browsers do not display directories with leading period characters.) However the copies of these folders in /mnt/cache/_apps have significantly less files in them.... I don't know if that is how it should be, I'll show you Thx, LoLig Link to comment
dikkiedirk Posted August 31, 2012 Share Posted August 31, 2012 I noticed that Headphones doesn't automatically come after a reboot, it doesn't even get installed. Is this simple to fix just like for CP v2? Yes, source just needs to be added. I meant to do it and forgot. Will do tonight. Also will look at precompiled sab Thanks, looking forward to the precompiled SAB. From the research I did it doesn't seem that adding the precompile/optimize option will benefit us a lot, but I went ahead and added it. When you start sab, the plug-in will check to see if the optimized bytecode exists, if not, it will optimize the code. If the optimized bytecode does exist, it will drop the -OO from the command to just start the plug-in. Can I just update to the latest plugin from within unraid? Link to comment
mr-hexen Posted August 31, 2012 Share Posted August 31, 2012 LoLig, please do me a favor, check your /mnt/user/ directory for a directory named _apps or sickbeard Also, check the health of your cache drive. When you say you are losing your config when restarting, do you mean the page that you show in your screenshot? If so, you might want to run a checkdisk on your flash drive. Hey Influencer, thx for the reply! After i get the error and I restart the plugin from the settings page (in the picture) the config is indeed gone. I did the checkdisk: no errors. Cache drive health status: OK I do indeed have a a folder in /mnt/user -> _apps/sickbeard, _apps/couchpotato_v2, _apps/sabnzbd and _apps/headphones I have the unraid-mover-exclude-underscore script installed and enabled (Description: Normally, unRAID will exclude any directory that begins with a "." from being moved to the protected array by the mover script from the cache drive. This package will modify the mover script so that it excludes directories whose name begins with an underscore character in addition to directories that begin with a period. The intent is to make it easier for unRAID users whose file browsers do not display directories with leading period characters.) However the copies of these folders in /mnt/cache/_apps have significantly less files in them.... I don't know if that is how it should be, I'll show you Thx, LoLig check your SHARES settings in unRAID. If you see the _apps share there, make sure it is set to "Use Cache Drive - ONLY". Link to comment
Influencer Posted August 31, 2012 Author Share Posted August 31, 2012 Dikkiedirk, yes you can. Lolig, something isn't working right with that add-on if there are shares on the array that mirror what's in the cache drive. I believe what's happening is the mover is moving your app configs to the array so the apps cannot find their settings. Also, since the database is gone, your getting those errors Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.