[FreeNAS 9 Plugins] - SAB / SB / CP / HP / Maraschino / HTPC / Mylar / LL / Gamez

Status
Not open for further replies.

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
have the updates to SB fixed the issue where the tvshow artwork doesn't show up in coming episodes?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
have the updates to SB fixed the issue where the tvshow artwork doesn't show up in coming episodes?
yeah, I think I fixed that in 1.2
 

srtviperjr

Dabbler
Joined
Jan 30, 2013
Messages
20
Hey Joshua,

It's me again. I tried updating my CouchPotato pbi to the version 2 to see if it would resolve the update problem I was having (I have the manual work-around).

Same jail (shared with Sickbeard and Sabnzbd) but deleted the pbi from the FreeNas web gui and did a clean install. Then restored the contents of the /etc/couchpotato directory and started couchpotato - all is well.

Click the update now button and it does the same as before. Says it's updating but just spins endlessly.

Not sure where to troubleshoot this, doesn't make any sense to me - any ideas?? Thanks for your help!

Logs say the below :

03-14 18:57:19 DEBUG [hpotato.core.plugins.file] Cleaning up unused files
03-14 18:57:19 ERROR [chpotato.core.plugins.log] API log: {'line': u'104', 'message': u"chrome 33: \nUncaught TypeError: Cannot read property 'length' of undefined", 'page': u'http://HOST/couchpotato/', 'file': u'http://HOST/couchpotato/static/plugin/suggestion/suggest.js?1390071272'}
03-14 18:57:27 INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/updater/?repo=RuudBurger&name=CouchPotatoServer&branch=master, data: []
03-14 18:57:28 DEBUG [hpotato.core.plugins.base] Setting cache 784a458e7025561ddf227670b232d04699914b932bd37a50b983c5e7c90ae93b
03-14 18:57:28 INFO [hpotato.core.plugins.base] Opening url: get https://codeload.github.com/RuudBurger/CouchPotatoServer/zip/master, data: []
03-14 18:57:30 DEBUG [o.core.notifications.core] Cleaning messages
03-14 18:57:30 DEBUG [o.core.notifications.core] Done cleaning messages
03-14 18:57:45 DEBUG [o.core.notifications.core] Cleaning messages
03-14 18:57:45 DEBUG [o.core.notifications.core] Done cleaning messages
03-14 18:57:52 DEBUG [hpotato.core.plugins.base] /usr/pbi/couchpotato-amd64/etc/couchpotato/cache/version already exists, overwriting file with new version
03-14 18:57:52 INFO [chpotato.core._base._core] Restarting
03-14 18:57:52 DEBUG [tato.core._base.scheduler] Stopping scheduler
03-14 18:57:52 INFO Shutting down thread pool
03-14 18:57:52 DEBUG [tato.core._base.scheduler] Scheduler stopped
03-14 18:57:52 DEBUG [chpotato.core._base._core] Every plugin got shutdown event
03-14 18:57:52 DEBUG [chpotato.core._base._core] Asking who is running
03-14 18:57:52 DEBUG [chpotato.core._base._core] Still running: []
03-14 18:57:52 DEBUG [chpotato.core._base._core] Safe to shutdown/restart
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hey Joshua,

It's me again. I tried updating my CouchPotato pbi to the version 2 to see if it would resolve the update problem I was having (I have the manual work-around).

Same jail (shared with Sickbeard and Sabnzbd) but deleted the pbi from the FreeNas web gui and did a clean install. Then restored the contents of the /etc/couchpotato directory and started couchpotato - all is well.

Click the update now button and it does the same as before. Says it's updating but just spins endlessly.

Not sure where to troubleshoot this, doesn't make any sense to me - any ideas?? Thanks for your help!

Logs say the below :

03-14 18:57:19 DEBUG [hpotato.core.plugins.file] Cleaning up unused files
03-14 18:57:19 ERROR [chpotato.core.plugins.log] API log: {'line': u'104', 'message': u"chrome 33: \nUncaught TypeError: Cannot read property 'length' of undefined", 'page': u'http://HOST/couchpotato/', 'file': u'http://HOST/couchpotato/static/plugin/suggestion/suggest.js?1390071272'}
03-14 18:57:27 INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/updater/?repo=RuudBurger&name=CouchPotatoServer&branch=master, data: []
03-14 18:57:28 DEBUG [hpotato.core.plugins.base] Setting cache 784a458e7025561ddf227670b232d04699914b932bd37a50b983c5e7c90ae93b
03-14 18:57:28 INFO [hpotato.core.plugins.base] Opening url: get https://codeload.github.com/RuudBurger/CouchPotatoServer/zip/master, data: []
03-14 18:57:30 DEBUG [o.core.notifications.core] Cleaning messages
03-14 18:57:30 DEBUG [o.core.notifications.core] Done cleaning messages
03-14 18:57:45 DEBUG [o.core.notifications.core] Cleaning messages
03-14 18:57:45 DEBUG [o.core.notifications.core] Done cleaning messages
03-14 18:57:52 DEBUG [hpotato.core.plugins.base] /usr/pbi/couchpotato-amd64/etc/couchpotato/cache/version already exists, overwriting file with new version
03-14 18:57:52 INFO [chpotato.core._base._core] Restarting
03-14 18:57:52 DEBUG [tato.core._base.scheduler] Stopping scheduler
03-14 18:57:52 INFO Shutting down thread pool
03-14 18:57:52 DEBUG [tato.core._base.scheduler] Scheduler stopped
03-14 18:57:52 DEBUG [chpotato.core._base._core] Every plugin got shutdown event
03-14 18:57:52 DEBUG [chpotato.core._base._core] Asking who is running
03-14 18:57:52 DEBUG [chpotato.core._base._core] Still running: []
03-14 18:57:52 DEBUG [chpotato.core._base._core] Safe to shutdown/restart
it looks like it is updating the version and restarting properly from the log, though there is an error there. so when you check the version, you aren't on the latest master branch available from github. what pbi did you originally start with?
 

srtviperjr

Dabbler
Joined
Jan 30, 2013
Messages
20
hrm... I don't know, I may have had a different pbi a long time ago, would the master branch be in the config somewhere ?

But the PBI I am using now is your couchpotato-2.0-amd64 one.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
hrm... I don't know, I may have had a different pbi a long time ago, would the master branch be in the config somewhere ?

But the PBI I am using now is your couchpotato-2.0-amd64 one.
mind installing a new couchpotato instance (you can try it on another jail first)
then you can restore your etc/couchpotato dir, delete the version file, set ownership, and start it?

the current branch is stored in the source files, checking your log this isn't an issue.
 

srtviperjr

Dabbler
Joined
Jan 30, 2013
Messages
20
I just did a new instance of couchpotato (i.e. deleted it from freenas webgui and re-uploaded your v2 file) and had the problem as described above.

Giving it a shot in a new jail now
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I just did a new instance of couchpotato (i.e. deleted it from freenas webgui and re-uploaded your v2 file) and had the problem as described above.

where is the version file?
if you don't restore your etc/couchpotato directory do you end up with the latest version? (this will rule out network issues as CP updates to the latest during install)

log says 'etc/couchpotato/cache/version'
 

srtviperjr

Dabbler
Joined
Jan 30, 2013
Messages
20
Hrm... Can't recall as I normally restore before starting. Ok giving that a whirl. What are the minimum files I need to keep in order to maintain my settings? just the config.ini and couchpotato.db?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hrm... Can't recall as I normally restore before starting. Ok giving that a whirl. What are the minimum files I need to keep in order to maintain my settings? just the config.ini and couchpotato.db?
I'm asking you don't restore anything as a test. if that works we can then try restoring the folder again, maybe skipping the version file.
 

srtviperjr

Dabbler
Joined
Jan 30, 2013
Messages
20
Deleted it again and clean install, started and it seems to be on the current version. After config.ini restore still is happy. Can't restore db though. What files are required for it? just the .db?

How can I get it to perform an update now that it's on the latest to see if it works? Just delete the version file?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Deleted it again and clean install, started and it seems to be on the current version. After config.ini restore still is happy. Can't restore db though. What files are required for it? just the .db?

How can I get it to perform an update now that it's on the latest to see if it works? Just delete the version file?
I think deleting the version file would confuse it. you could then do an update and it would just redownload the latest source files. want to try restoring your entire etc/couchpotato directory but delete the version file/folder? also I assume you know the stop the service whenever you do this stuff, and always set ownership after moving files about
 

srtviperjr

Dabbler
Joined
Jan 30, 2013
Messages
20
Yep. I have done that and it worked. Just going to ditch the version file and try an update now.

Nope. It didn't want to update, knows it's on the current version. I'll wait till there is another update and try again. =(

Really appreciate your help! This gremlin will be found!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yep. I have done that and it worked. Just going to ditch the version file and try an update now.

Nope. It didn't want to update, knows it's on the current version. I'll wait till there is another update and try again. =(

Really appreciate your help! This gremlin will be found!
Hope we can stomp this issue out
 

srtviperjr

Dabbler
Joined
Jan 30, 2013
Messages
20
Boo.... Update this am failed like before. :( I don't get it, is there some way to turn up the logging level to see where it's failing / aborting?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Boo.... Update this am failed like before. :( I don't get it, is there some way to turn up the logging level to see where it's failing / aborting?
General > Show Advanced Settings > Development
You could try figuring out what the one error in the log means

Or, you could always try starting over. (But keep you backup just in case).
- install fresh CP, restore your config.ini only, set ownership
- rescan your movies using the manage feature, this takes me 15 minutes for 350 movies if I remember
- add backup all your wanted
- change movie information (quality) for any movies CP was still looking for a better quality for
- this won't account for downloads that failed which are marked as failed, though this will automatically work itself out
 

srtviperjr

Dabbler
Joined
Jan 30, 2013
Messages
20
This is the log exerpts :

03-15 08:50:08 INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/updater/?repo=RuudBurger&name=CouchPotatoServer&branch=master, data: []
03-15 08:50:09 DEBUG [hpotato.core.plugins.base] Setting cache 784a458e7025561ddf227670b232d04699914b932bd37a50b983c5e7c90ae93b
03-15 08:50:09 INFO [hpotato.core.plugins.base] Opening url: get https://codeload.github.com/RuudBurger/CouchPotatoServer/zip/master, data: []
03-15 08:50:32 DEBUG [o.core.notifications.core] Getting messages with id: 75008ee3-6272-4c64-a692-4693fc0a1e8a
03-15 08:50:32 DEBUG [o.core.notifications.core] Returning for 75008ee3-6272-4c64-a692-4693fc0a1e8a 1 messages
03-15 08:50:33 DEBUG [o.core.notifications.core] Getting messages with id: a572db51-ce21-4d60-be30-aae1e12d4319
03-15 08:50:33 DEBUG [o.core.notifications.core] Returning for a572db51-ce21-4d60-be30-aae1e12d4319 0 messages
03-15 08:50:36 DEBUG [hpotato.core.plugins.base] /usr/pbi/couchpotato-amd64/etc/couchpotato/cache/version already exists, overwriting file with new version
03-15 08:50:36 INFO [chpotato.core._base._core] Restarting
03-15 08:50:36 DEBUG [tato.core._base.scheduler] Stopping scheduler
03-15 08:50:36 INFO Shutting down thread pool
03-15 08:50:36 DEBUG [tato.core._base.scheduler] Scheduler stopped
03-15 08:50:36 DEBUG [chpotato.core._base._core] Every plugin got shutdown event
03-15 08:50:36 DEBUG [chpotato.core._base._core] Asking who is running
03-15 08:50:37 DEBUG [chpotato.core._base._core] Still running: []
03-15 08:50:37 DEBUG [chpotato.core._base._core] Safe to shutdown/restart

No errors... Boo.... maybe someone has a log of a successful update so I can see what step / entry is missing?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I see some plugins are v2.2 now.

What would be the best way to update your plugins?
This has been covered. I believe the consensus was the update button works, though I recommend a snapshot of you jail before doing it to have a backup of your /usr/pbi/plugin-amd64/etc/plugin directory.
 

Savell Martin

Contributor
Joined
Jun 10, 2013
Messages
164
I dont see an update button?

I see within Apps that some report new updates and they update fine.
Just not that PBI's.
 
Status
Not open for further replies.
Top