March 1, 201214 yr Sickbeard itself does not like an unclean shutdown or a loss of network activity. Either of these will cause it to have issues. This does not seem to be the case for SABnzbd or CouchPotato. So don't blame plugins in general, blame the app.
March 2, 201214 yr So that being said... I really don't relish the thought of reconfiguring again and again. If there's nothing to be done regarding the cause, maybe we can minimize such a catastrophic effect. Is it possible to sync a backup copy of the config file / db etc periodically so that if it does fall over, it can be simply copied back into the appropriate directory in the case of failure? Or.. script it such that on start it is put back automatically? I am out of my depth when it comes to coding... but it seems logical. If so - which files are key? Edit: Now that I think about it - the both times I had to deal with the loss of config were due to having to hard boot the server - having lost control of the box due to Sickbeard crashing. (the power outage was separate). Are there known issues with it staying up for extended durations? I am only talking about 2 days. My box is a dual cpu dual core opteron with 16gig ram - not short of resources.
March 2, 201214 yr Mine has been up for about a month now (had taken it down to get a printer working) with SAB and SickBeard running the entire time.
March 2, 201214 yr You could write a hourly cron to backup your apps folder, so if it does happen again, you have a backup to restore to it. The key files are config.ini, sickbeard.db, and sickbeard.db.v0 . I've had to hard boot my server a couple of times and haven't had a problem with corruption. But each system is different.
March 2, 201214 yr I do appreciate all the feedback - thanks. I went through reconfiguring (again) and had all working last night. I did not yet get to copying the configs!!!! This morning I forced sickbeard to pull a few missing episodes which it did successfully, including successful post-processing as called from sabnzb. When I returned to my browser after about an hour and refreshed the sickbeard screen - I now get this: 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 1874, in index return _munge(t) File "/usr/local/sickbeard/sickbeard/webserve.py", line 100, 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 -I cannot stop Sickbeard from the Unraid web interface, nor access the sickbeard interface. Unraid reports sickbeard is running. root@Tower:~# ps aux | grep -i sick root 30091 0.0 0.0 2448 584 pts/0 S+ 10:21 0:00 grep -i sick nobody 31728 2.2 0.2 171980 36392 ? Sl Mar01 14:56 python /usr/local/sickbeard/SickBeard.py -d -p 8081 --datadir /mnt/cache/apps/sickbeard --pidfile /var/run/sickbeard/sickbeard.pid > /dev/null 2>&1 I saw some reference to the 500 errors in several forums here but nothing jumped out at me as a solution unfortunately. Any thoughts before I pull the plug? Thanks
March 2, 201214 yr Ok - that did not work but kill -9 31728 killed the process. But webconfig still indicates sickbeard running, and will not stop it. I am able to stop plex, sab and ps3 media server however. If I try to access the sickbeard interface I get a page not displayed (expected) rather than the 500 error previously. Do I need to kill cherry.py... not sure on that piece but that was in the original error?
March 2, 201214 yr I've tried killing SB and associated processes, but never had any luck. When SB crashes and burns I usually have to restart the server.
March 2, 201214 yr web interface is still seeing the .pid file more than likely in /var/run even tho you killed the process - remove the .pid file as well and the GUI will see its not running anymore Myk
March 8, 201214 yr Great script worked very well. I am only having one small problem. I cant seem to get Sabnzbd to find the scripts folder. I created /mnt/cache/.sabnzbd/scripts and put the .py and .cfg files in there (all 4) in sab under config>folders>scripts folder I put that location but when I go to the categories section and try to find the script it shows none. Any tips to get this working? Thanks
March 8, 201214 yr What are the permissions on those files? Are you sure you have the right path setup in SABnzbd?
March 11, 201214 yr I'm getting this error in sickbeard: 2012-03-11 11:42:24.084809 MAIN :: !!! Creating local cache dir failed, using system default It cant seem to be able to create the cache directory under /mnt/cache/.custom/sickbeard However, if I delete the log folder, it's able to re-create it.
March 11, 201214 yr Check the permissions of the .custom and sickbeard directories, make sure the user is set as nobody:users, and make sure sickbeard is running as nobody(which it should by default)
March 12, 201214 yr Yeah it's all nobody/users. It just weird that it's able to create /logs but not /cache. There doesn't seem to be anything else related in the logs, but I can provide it if it would help.
March 12, 201214 yr anyone know howw to add branches with this install? Maybe just change the path in the .plg file to the branch you want to use.
March 18, 201214 yr I´m having some issues when I try to turn the unraid server off (ie to replace HDD). Is there a specific process to do so? Should I go into the settings menu and pot all the PLugins as Installed: no before I turn the server off and then dont start the unraid on bootup to be able to turn the plugins on?
March 18, 201214 yr I got to each apps web admin screen and tell each one to shutdown. When that is done I then shutdown the server.
March 19, 201214 yr I have had all 3 of the apps running nicely on my unRAID box for a good while now. One thing I would like to do is have 2 installs of couchpotato running - one for kids movies and another for normal ones. This way when I add movies onto the "kids" install then it downloads and processes to a different user share. Is it just a matter of making a copy and editing some lines of code in the couchpotato .plg file? or is more complicated. Would there be any issues in trying to do this?
March 23, 201214 yr I am having a little issue that I have not been able to figure out or fix. I am running 5beta13 with sab, sickbeard, and couch addons. Everything has been running really well for months but in the last few weeks SAB has started to loose its connections after about a day. Sickbeard keeps adding things to the queue but it wont download. If I restart via the GUI nothing changes. If I restart the whole server it works for about a day give or take but than stops again. The only thing that I have found that fixes the problem is to restart the whole server. I am a linux noob so be patient with me. Thanks for any help.
March 23, 201214 yr I am having a little issue that I have not been able to figure out or fix. I am running 5beta13 with sab, sickbeard, and couch addons. Everything has been running really well for months but in the last few weeks SAB has started to loose its connections after about a day. Sickbeard keeps adding things to the queue but it wont download. If I restart via the GUI nothing changes. If I restart the whole server it works for about a day give or take but than stops again. The only thing that I have found that fixes the problem is to restart the whole server. I am a linux noob so be patient with me. Thanks for any help. Something like this started happening to me a few days ago. In this case things weren't even being found by CouchPotato, so I'm not sure they were even being sent to Sickbeard. I tried to stop and start both processes but they wouldn't close cleanly. Wonder if it's a python thing. But like you I haven't changed things in ages.
March 24, 201214 yr Im having an issue with the programs starting after a reboot. Due to the plugins installing before the array is up I moved them out of the plugin folder to /boot/custom and have this in my go: cd /boot/custom/ && find . -name '*.plg' -type f -print | sort | xargs -n1 /usr/local/sbin/installplg the plugins seem to install correctly but I need to manually start all of the plugins even though the cfg files all say enable any ideas?
April 1, 201214 yr Hi All, Finally got my setup working quite well however I've tried to update some of the shows. I keep getting these errors 2012-04-01 21:37:31.845532 SEARCHQUEUE-RSS-SEARCH :: Error while searching NZBMatrix, skipping: NZBMatrix.com RSS 2.0 en NZBMatrix.com RSS Feed - Usenet http://nzbmatrix.com Copyright 2012 NZBMatrix Sun, 01 Apr 2012 22:37:11 +0200 2012-04-01 21:37:31.851045 SEARCHQUEUE-RSS-SEARCH :: No NZB/Torrent providers found or enabled in the sickbeard config. Please check your settings. Any ideas??
Archived
This topic is now archived and is closed to further replies.