Influencers Plug-ins-[UNPLUGGED] Support & Download-Sab, CP, Sickbeard, + more!!


Recommended Posts

Im up for testing, let us know when 'dev' branch is safe. I use CP, SAB, SB and HP.

 

They should be safe for testing now, I just wasn't sure last night because after installing them I tried accessing the sabnzbd plug-in and couldn't, thought I might have broke something major, but it must have been the parity check because this morning everything worked as expected.

Link to comment
  • Replies 2.6k
  • Created
  • Last Reply

Top Posters In This Topic

Hoping someone can help on what I'm sure is a simple request.  How can I access the install directory of Sickbeard?  I'm trying to modify the autoProcessTV file and can get to the location via telnet and Midnight Commander, but cannot find a way to access it through my Mac.

 

Thanks.

Link to comment

You will want to copy the autoProcessTV script to your data directory, so any changes you make to it will survive a reboot.

 

If your install directory is the default /usr/local/sickbeard, this should work for you:

 

#If your data directory for sabnzbd is /mnt/cache/apps/sabnzbd
cp /usr/local/sickbeard/autoProcessTV/* /mnt/cache/apps/sabnzbd/scripts/
chown -R nobody:users /mnt/cache/apps/sabnzbd/scripts/

 

After you get done editing the scripts, chown it again, and chmod as well(just to make sure there are no permission issues)

chmod -R /mnt/cache/apps/sabnzbd/scripts/
chown -R nobody:users /mnt/cache/apps/sabnzbd/scripts

Link to comment

I just took a look at SickBeard this morning, and it was showing me a bunch of errors.  i un-enabled it, then re-enabled it, and it's not giving me any errors any more, but it's not showing any of my TV shows either, it's blank :(

 

Justinchase, looks like your DB was corrupted or the new version of sickbeard required a change in the DB. Not entirely sure what to say there... Can you check that the DB file is read/write accessible to sickbeard?

ls -l /path/to/your/data/directory

 

I ran these 2 commands on the /mnt/cache/plugins directory

 

chmod -R 777 /mnt/cache/plugins/
chown nobody:users /mnt/cache/plugins/

 

then copied the old .db files over the ones on the cache drive (which had gone to zero values), and it worked fine again.  it worked fine for several hours.

 

However, this morning, it was errored out again, and not working.  The main page says...

 

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

 

both the cache.db and sickbeard.db files have a file size of 0kb now, again

 

I just ran this on the old data directory: ls -l /mnt/user/backup/plugins

 

and got this...

total 0

drwxrwxrwx 1 nobody users 128 2012-07-04 17:36 couchpotato_v2/

drwxrwxrwx 1 nobody users 128 2012-07-04 11:02 sabnzbd/

drwxrwxrwx 1 nobody users 216 2012-07-04 17:22 sickbeard/

 

I ran this on the new data directory also: ls -l /mnt/cache/plugins

 

and got this...

total 0

drwxrwxrwx 5 nobody users 240 2012-07-08 06:22 couchpotato_v2/

drwxrwxrwx 4 nobody users 160 2012-07-07 20:49 headphones/

drwxrwxrwx 5 nobody users 192 2012-07-07 16:51 sabnzbd/

drwxrwxrwx 5 nobody users 184 2012-07-09 10:15 sickbeard/

 

I really need to figure out why it keeps erroring out.  Any suggestions?

 

Unfortunately, my syslog shows only this, repeated for 14 1/2 hours...

 

Jul  9 19:21:57 media shfs/user: duplicate object: /mnt/disk4/plugins/sickbeard/cache.db
Jul  9 19:21:57 media shfs/user: duplicate object: /mnt/disk4/plugins/sickbeard/sickbeard.db
Jul  9 19:21:57 media shfs/user: duplicate object: /mnt/disk4/plugins/sickbeard/Logs/sickbeard.log
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk5/music/Verified covers/Led Zeppelin/Complete Studio Recordings/Physical Grafitti.jpg
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/Kool & The Gang - Pure Disco 2 - 06 - Ladies Night - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/Irene Cara - Pure Disco 2 - 06 - What a Feeling - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/K.C. & The Sunshine Band - Pure Disco 2 - 02 - (Shake, Shake, Shake) Shake Your Booty - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/Carl Carlton - Pure Disco 2 - 08 - Everlasting Love - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/Wild Cherry - Pure Disco 2 - 13 - Play That Funky Music Whiteboy - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/Sister Sledge - Pure Disco 2 - 05 - We Are Family - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/Andy Gibb - Pure Disco 2 - 07 - I Just Want to Be Your Everything - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/Ohio Players - Pure Disco 2 - 11 - Love Rollercoaster - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk4/music/Verified covers/(Multiple Artists)/Pure Disco 2/Silver Convention - Pure Disco 2 - 17 - Fly, Robin, Fly - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk5/music/Verified covers/(Multiple Artists)/Pure Disco 2/The Weather Girls - Pure Disco 2 - 19 - It's Raining Men - Disco.ape
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk5/music/Verified covers/(Multiple Artists)/Pure Disco 2/Hues Corporation - Pure Disco 2 - 10 - Rock the Boat - Pop.m4a
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk5/music/Verified covers/(Multiple Artists)/Pure Disco 2/Barry White - Pure Disco 2 - 09 - Can't Get Enough of Your Love, Babe - Pop.m4a
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk5/music/Verified covers/(Multiple Artists)/Pure Disco 2/Abba - Pure Disco 2 - 16 - Gimme! Gimme! Gimme! (A Man After Midnight) - Pop.m4a
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk5/music/Verified covers/(Multiple Artists)/Pure Disco 2/The Love Unlimited Orchestra - Pure Disco 2 - 15 - Love's Theme - Pop.m4a
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk5/music/Verified covers/(Multiple Artists)/Pure Disco 2/Vicki Sue Robinson - Pure Disco 2 - 03 - Turn the Beat Around - Pop.m4a
Jul  9 19:22:09 media shfs/user: duplicate object: /mnt/disk5/music/Verified covers/(Multiple Artists)/Pure Disco 2/Diana Ross - Pure Disco 2 - 12 - Upside Down - Pop.m4a
Jul  9 19:22:10 media shfs/user: duplicate object: /mnt/disk4/plugins/sickbeard/cache.db
Jul  9 19:22:10 media shfs/user: duplicate object: /mnt/disk4/plugins/sickbeard/sickbeard.db
Jul  9 19:22:10 media shfs/user: duplicate object: /mnt/disk4/plugins/sickbeard/Logs/sickbeard.log

Link to comment

Ok, I think I know whats happening here, but I may be wrong, bear with me here  :-X

 

You need to remove the backup of the sickbeard.db from the server, you can locate it on the pc but I believe unraid is finding the duplicate and might be messing with it (this has to do with shfs and the way unraid collects all the files for user shares).

 

Try moving it to your mac, and then copy it to the new data directory, making sure its removed from the old location. Then lets see if it continues to corrupt the db

Link to comment

Ok, I think I know whats happening here, but I may be wrong, bear with me here  :-X

 

You need to remove the backup of the sickbeard.db from the server, you can locate it on the pc but I believe unraid is finding the duplicate and might be messing with it (this has to do with shfs and the way unraid collects all the files for user shares).

 

Try moving it to your mac, and then copy it to the new data directory, making sure its removed from the old location. Then lets see if it continues to corrupt the db

 

You seem to be onto something here.  I un-enabled the sickbeard plugin, and it shows stopped, and won't open, so I believe it's really stopped.

 

I tried moving the whole /mnt/user/backup/plugins directory to my PC, but it left behind a folder called sickbeard, but it was locked, and prevented me from even opening it.  I removed the folder in Putty, but it got recreated within about a minute or 2.

 

I then took a look at what was in there in putty and saw the autoProcessTV folder, and realized that I still had that path set in SABnzbd.  I just fixed that now.

 

I'm going to remove the install directory, then reboot the server, then make sure it's running again, then copy the .db files back over, and we'll see how that goes.

 

Thanks for the help.

Link to comment

Same problem today.  i didn't check this morning, but at lunch, the failure message is back on Sickbeard.  This is running your latest version of the plugin.

 

I'm not positive it's the plugin causing this, but I have no idea what else it might be.  here is the end of the sickbeard.log file...

 

Jul-10 09:49:55 DEBUG    CP Server Thread-4 :: Processing folder /mnt/user/backup/newsgroups/The.Big.Bang.Theory.S05E24.720p.WEB-DL.DD5.1.H.264-CtrlHD
Jul-10 09:49:55 DEBUG    CP Server Thread-4 :: sickbeard.db: SELECT * FROM tv_shows
Jul-10 09:49:55 ERROR    CP Server Thread-4 :: DB error: no such table: tv_shows
Jul-10 09:55:24 DEBUG    SEARCH :: Starting new thread: SEARCH
Jul-10 09:55:24 DEBUG    FINDPROPERS :: Starting new thread: FINDPROPERS
Jul-10 09:55:24 DEBUG    FINDPROPERS :: Checking proper time
Jul-10 09:55:25 INFO     SEARCHQUEUE-RSS-SEARCH :: Changing all old missing episodes to status WANTED
Jul-10 09:55:25 DEBUG    SEARCHQUEUE-RSS-SEARCH :: sickbeard.db: SELECT * FROM tv_episodes WHERE status = ? AND airdate < ? with args [1, 734694]
Jul-10 09:55:25 ERROR    SEARCHQUEUE-RSS-SEARCH :: DB error: no such table: tv_episodes
Jul-10 09:55:25 DEBUG    SHOWUPDATER :: Starting new thread: SHOWUPDATER
Jul-10 09:55:25 DEBUG    SHOWUPDATER :: Checking update interval
Jul-10 09:55:53 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 10:05:54 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 10:15:54 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 10:25:55 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 10:35:56 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 10:45:56 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 10:55:19 DEBUG    BACKLOG :: Starting new thread: BACKLOG
Jul-10 10:55:19 DEBUG    BACKLOG :: Retrieving the last check time from the DB
Jul-10 10:55:19 DEBUG    BACKLOG :: sickbeard.db: SELECT * FROM info
Jul-10 10:55:19 ERROR    BACKLOG :: DB error: no such table: info
Jul-10 10:55:19 ERROR    BACKLOG :: Exception generated in thread BACKLOG: no such table: info
Jul-10 10:55:19 DEBUG    BACKLOG :: Traceback (most recent call last):
  File "/usr/local/sickbeard/sickbeard/scheduler.py", line 71, in runAction
    self.action.run()
  File "/usr/local/sickbeard/sickbeard/searchBacklog.py", line 197, in run
    self.searchBacklog()
  File "/usr/local/sickbeard/sickbeard/searchBacklog.py", line 82, in searchBacklog
    self._get_lastBacklog()
  File "/usr/local/sickbeard/sickbeard/searchBacklog.py", line 146, in _get_lastBacklog
    sqlResults = myDB.select("SELECT * FROM info")
  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: info

Jul-10 10:55:20 DEBUG    CHECKVERSION :: Starting new thread: CHECKVERSION
Jul-10 10:55:20 INFO     CHECKVERSION :: Checking if source needs an update
Jul-10 10:55:21 DEBUG    CHECKVERSION :: newest: b7cf06e059d6c808fe11b2d7612c197418736852 and current: b7cf06e059d6c808fe11b2d7612c197418736852 and num_commits: 0
Jul-10 10:55:21 DEBUG    CHECKVERSION :: After checking, cur_commit = b7cf06e059d6c808fe11b2d7612c197418736852, newest_commit = b7cf06e059d6c808fe11b2d7612c197418736852, num_commits_behind = 0
Jul-10 10:55:21 INFO     CHECKVERSION :: No update needed
Jul-10 10:55:22 DEBUG    CHECKVERSION :: cache.db: SELECT * FROM scene_exceptions WHERE tvdb_id = ? with args [72194]
Jul-10 10:55:22 ERROR    CHECKVERSION :: DB error: no such table: scene_exceptions
Jul-10 10:55:22 ERROR    CHECKVERSION :: Exception generated in thread CHECKVERSION: no such table: scene_exceptions
Jul-10 10:55:22 DEBUG    CHECKVERSION :: Traceback (most recent call last):
  File "/usr/local/sickbeard/sickbeard/scheduler.py", line 71, in runAction
    self.action.run()
  File "/usr/local/sickbeard/sickbeard/versionChecker.py", line 54, in run
    scene_exceptions.retrieve_exceptions()
  File "/usr/local/sickbeard/sickbeard/scene_exceptions.py", line 95, in retrieve_exceptions
    existing_exceptions = [x["show_name"] for x in myDB.select("SELECT * FROM scene_exceptions WHERE tvdb_id = ?", [cur_tvdb_id])]
  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 74, in action
    sqlResult = self.connection.execute(query, args)
OperationalError: no such table: scene_exceptions

Jul-10 10:55:24 DEBUG    FINDPROPERS :: Starting new thread: FINDPROPERS
Jul-10 10:55:24 DEBUG    FINDPROPERS :: Checking proper time
Jul-10 10:55:25 DEBUG    SEARCH :: Starting new thread: SEARCH
Jul-10 10:55:26 DEBUG    SHOWUPDATER :: Starting new thread: SHOWUPDATER
Jul-10 10:55:26 DEBUG    SHOWUPDATER :: Checking update interval
Jul-10 10:55:27 INFO     SEARCHQUEUE-RSS-SEARCH :: Changing all old missing episodes to status WANTED
Jul-10 10:55:27 DEBUG    SEARCHQUEUE-RSS-SEARCH :: sickbeard.db: SELECT * FROM tv_episodes WHERE status = ? AND airdate < ? with args [1, 734694]
Jul-10 10:55:27 ERROR    SEARCHQUEUE-RSS-SEARCH :: DB error: no such table: tv_episodes
Jul-10 10:55:56 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 11:05:57 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 11:15:57 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 11:25:58 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 11:35:58 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 11:45:58 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 11:55:24 DEBUG    FINDPROPERS :: Starting new thread: FINDPROPERS
Jul-10 11:55:24 DEBUG    FINDPROPERS :: Checking proper time
Jul-10 11:55:25 DEBUG    SEARCH :: Starting new thread: SEARCH
Jul-10 11:55:26 INFO     SEARCHQUEUE-RSS-SEARCH :: Changing all old missing episodes to status WANTED
Jul-10 11:55:26 DEBUG    SEARCHQUEUE-RSS-SEARCH :: sickbeard.db: SELECT * FROM tv_episodes WHERE status = ? AND airdate < ? with args [1, 734694]
Jul-10 11:55:26 ERROR    SEARCHQUEUE-RSS-SEARCH :: DB error: no such table: tv_episodes
Jul-10 11:55:26 DEBUG    SHOWUPDATER :: Starting new thread: SHOWUPDATER
Jul-10 11:55:26 DEBUG    SHOWUPDATER :: Checking update interval
Jul-10 11:55:59 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 12:06:00 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER
Jul-10 12:13:13 DEBUG    CP Server Thread-2 :: sickbeard.db: SELECT showid, COUNT(*) FROM tv_episodes WHERE (status IN (4,3276804,204,404,3204,1604,104,804,6) OR (status IN (2,3276802,202,402,3202,1602,102,802,9,3276809,209,409,3209,1609,109,809) AND location != '')) AND season != 0 and episode != 0 AND airdate <= 734694 GROUP BY showid
Jul-10 12:13:13 ERROR    CP Server Thread-2 :: DB error: no such table: tv_episodes
Jul-10 12:15:15 DEBUG    CP Server Thread-6 :: sickbeard.db: SELECT showid, COUNT(*) FROM tv_episodes WHERE (status IN (4,3276804,204,404,3204,1604,104,804,6) OR (status IN (2,3276802,202,402,3202,1602,102,802,9,3276809,209,409,3209,1609,109,809) AND location != '')) AND season != 0 and episode != 0 AND airdate <= 734694 GROUP BY showid
Jul-10 12:15:15 ERROR    CP Server Thread-6 :: DB error: no such table: tv_episodes
Jul-10 12:16:00 DEBUG    POSTPROCESSER :: Starting new thread: POSTPROCESSER

 

the only thing I can think of is that when I install sickbeard fresh, it gives me the message along the top saying it doesn't know what version I have, and to click here to upgrade, which I've always done.  maybe that's getting something into the wrong 'state' or something.

 

Otherwise, I'm really confused.  I wonder if going back to an earlier plg might help.  I'll have to look and see which ones have worked for me in the past, and give it a try.

 

I've already tried removing the installation and data folders, then rebooting to start from scratch, but then I copied my .db files from the old install.  Maybe I'll try again, but only copy the sickbeard.db file, and not the cache.db file.  There are also 2 other files in the main folder upon fresh install, but they are not there now (on the cache/data drive).  config.ini and sickbeard.db.v0 are both missing.

 

Okay, progress.  It seems to be caused by the mover script.  I just double-checked that the "plugins" share is set to use Cache ONLY.  I also had it set to exclude all of my drives, just to be sure.  I have just now removed all them, so it's not including, nor excluding any discs.

 

i also looked at the last file that was processed fine, and it finished 10 minutes after the mover was scheduled to run.  The next one was 'finished' about 30 minutes later, telling me that the one that finished started 30 minutes before it finished, which was before the mover script kicked in.  Coupled with the fact that some files are missing from the sickbeard, i think I've found a smoking gun.

 

Also, i just checked and there is a "plugins" folder on disk4, with (only) a sickbeard folder, then a cache and logs folders, along with the missing files, and the good .db files.  Why did they get moved to disk4?  Seems a mover error, I suppose I need to report that as a bug.

 

Now, if the change to not exclude other drives doesn't fix it, what will?  How do I get the mover script to leave the cache only folder completely alone?  Is there maybe a permissions error?

 

(Or, am I mistaken about it being caused by the mover script?)

Link to comment

It won't go away, right now its always there. If I can figure a way to reliably check for a update I'll change it, but for now its there to stop you from having to manually update. Not sure if I can have git check on the file level, each commit changes the entire repositories SHA-1, which is what we use for the actual apps to know if there is an update. So if I change one plug-in, and had the plug-ins set to check the SHA-1, they all would think there is an update. I'll see if I can check this on a file only level.

 

It definitely sounds like the mover script, I've never had that issue, might be the excludes disk that caused it, or the fact that there was previously an identical directory on the array. Will require some testing to figure out. I'll hopefully be able to do some testing tomorrow, been at work since 7 am this morning(6:30 pm now) and about to head back in til around midnight, will be back in tomorrow morning at 5 am, :) !

 

Don't worry though, I will find time to investigate this. I do not believe its the plug-in(as the db is being corrupted, which the plug-in doesn't mess with at all), but it would be nice to get to the bottom of this!

Link to comment

When ever I start sickbeard, for some reason I can no longer access unRAID's web gui.  Is there a way to restart it?

 

That is normally caused by the startup not finishing.  If you are good with BASH, try this:

 

ps -auxx | grep sickbeard

 

That should list processes that have sickbeard in the name...the one that sometimes hangs if options are not set properly is rc.sickbeard. 

Link to comment

When ever I start sickbeard, for some reason I can no longer access unRAID's web gui.  Is there a way to restart it?

 

That is normally caused by the startup not finishing.  If you are good with BASH, try this:

 

ps -auxx | grep sickbeard

 

That should list processes that have sickbeard in the name...the one that sometimes hangs if options are not set properly is rc.sickbeard.

 

This is what I get

 

root@Tower:/usr/local/sbin# ps -auxx | grep sickbeard
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
nobody   18430 22.2  1.6 209696 32872 ?        Sl   18:29   4:50 python /usr/loc
al/sickbeard/SickBeard.py --daemon --port 8081 --datadir /mnt/cache/.programs/si
ckbeard --pidfile /var/run/sickbeard/sickbeard.pid > /dev/null 2>&1
root     20071  0.0  0.0   2452   588 pts/0    S+   18:51   0:00 grep sickbeard

 

I've also tried restarting the emhttp process, but that hangs at:

 

root@Tower:/usr/local/sbin# nohup emhttp &
[2] 20058
root@Tower:/usr/local/sbin# nohup: ignoring input and appending output to `nohup
.out'
^C
[2]-  Segmentation fault      nohup emhttp

 

And i have to break out of it.

 

Link to comment

...try this:

 

ps -auxx | grep sickbeard

 

Whoops, Tybio fat fingered  :P

 

Type this (with just 1 x)...

 

ps -aux | grep sickbeard

 

You should get a list of at least 2 instances of sickbeard.  the first one is usually the one that needs to be killed.  you'll see a PID number, type "kill [that PID]" (no quotes) and it will kill the process that is hung, and the GUI should return in about 5 to 10 seconds.  If there are 3 instances of sickbeard, it seems the middle/second one is usually the one to kill, but i kill the first 2 in that case, just to be sure.  The final instance is the grep command you just ran, so you can ignore that always.

Link to comment

Can you access sickbeard when this happens? You can also copy a syslog and see if anything is happening there as well

cp /var/log/syslog /boot/syslog.txt

 

You can then go to your "flash" share and get the syslog to post here if you are unsure. If sickbeard isn't starting then it is the command not finishing causing your issue. If it IS running, and you can access it, there may be something else going on.

Link to comment

It SHOULD download the plug-in and then install it. Is there a pluginname.plg.old there as well? Which plug-in are you trying to update?

 

SABnzbd and SickBeard. However I fixed it, after updating both of them manually it is now putting .old files in both and seems to be working correctly. :)

 

Thanks for the feature, makes updating much easier.

Link to comment

No problem, was a good idea and I'm glad I got it in. I added the version number so its easier to know if you have a newer version, but since I haven't pushed any new changes I haven't had a chance to make sure it works correctly(deleting old version file and writing new one) but it should work fine.

 

Hopefully next week things will settle down at work and ill be able to get more accomplished! Its looking like I'm going to spend every waking hour at work this week. 18 hours today, its 12:39 am and I'm back in at 5 am. Plus side is I'm 3 days into the work week and already on overtime.

 

Sent from my HTC Vivid

Link to comment

Just install the new versions of sickbeard and couchpotato and that worked find but having trouble with sabnzbd. It isn't showing up in the setting tab of the GUI.

 

When I telnet in and try to manually install I get a HEAP of errors to do with parsing the xml:

Jul 11 21:46:10 Tower logger: installing plugin: sabnzbd_unplugged
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:48: parser error : Opening and ending tag mismatch: link line 36 and head in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():    in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():          ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:90: parser error : Specification mandate value for attribute itemscope in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():             
name in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():                                     ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:177: parser error : Opening and ending tag mismatch: input line 171 and form in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():    in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():          ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:178: parser error : Opening and ending tag mismatch: form line 170 and div in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): 
in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():       ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:206: parser error : Specification mandate value for attribute data-filterable in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): class="js-navigation-enable" placeholder="Filter branches/tags" data-filterable  in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():                                                                                ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:214: parser error : AttValue: " or ' expected in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): ches" data-filterable-for="context-commitish-filter-field" data-filterable-type= in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():                                                                                ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:214: parser error : attributes construct error in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): ches" data-filterable-for="context-commitish-filter-field" data-filterable-type= in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():                                                                                ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:214: parser error : Couldn't find end of Start Tag div line 214 in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): ches" data-filterable-for="context-commitish-filter-field" data-filterable-type= in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():                                                                                ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:230: parser error : AttValue: " or ' expected in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): none" data-filterable-for="context-commitish-filter-field" data-filterable-type= in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():                                                                                ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:230: parser error : attributes construct error in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): none" data-filterable-for="context-commitish-filter-field" data-filterable-type= in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():                                                                                ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:230: parser error : Couldn't find end of Start Tag div line 230 in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): none" data-filterable-for="context-commitish-filter-field" data-filterable-type= in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():                                                                                ^ in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file(): /boot/config/plugins/sabnzbd_unplugged.plg:234: parser error : Opening and ending tag mismatch: li line 190 and div in /usr/local/sbin/installplg on line 13
Jul 11 21:46:10 Tower logger: 
Jul 11 21:46:10 Tower logger: Warning: simplexml_load_file():

 

Any ideas? Grabbed the latest sabnzbd_unplugged from the master branch.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.