GUI for CouchPotato isn't loading anymore.

Status
Not open for further replies.

Supa

Patron
Joined
Jan 10, 2014
Messages
204
nJxC6dm.png


Just getting a blank browser. The plugin is running and everything.

Where do I view if the log shows anything again?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Did you update the plugin through the Plugins > Installed tab? This has been happening to alot of people =/

Logs are somewhere under /var/db/couchpotato
 

Supa

Patron
Joined
Jan 10, 2014
Messages
204
Did you update the plugin through the Plugins > Installed tab? This has been happening to alot of people =/

Logs are somewhere under /var/db/couchpotato


02-03 22:19:48 ERROR [31m[chpotato.core.plugins.log] API log: {'file': u'http://HOST/static/scripts/combined.plugins.min.js?1453697902', 'message': u"chrome 48: \nUncaught TypeError: Cannot read property 'allow_3d' of null", 'line': u'3348', 'page': u'http://HOST/#home/', '_request': <couchpotato.api.ApiHandler object at 0x80c808a90>}[0m


Probably that right?

I don't remember actually if I updated it via the plugins tab.. It could have been there. Did they ever remedy it?

Are we not supposed to update there?



Here's a suggestion on CP forums:



Now stop CouchPotato, make a backup of your data_directory (second directory listed under settings, about), then delete the database folder from within this directory and then restart CouchPotato...
if that works it means there was a problem with your database....
Just rebuild your profiles and categoies, do a manage scan (to rebuild your library) and then use the backup and restore tool to re-add your wanted list.."
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
02-03 22:19:48 ERROR [31m[chpotato.core.plugins.log] API log: {'file': u'http://HOST/static/scripts/combined.plugins.min.js?1453697902', 'message': u"chrome 48: \nUncaught TypeError: Cannot read property 'allow_3d' of null", 'line': u'3348', 'page': u'http://HOST/#home/', '_request': <couchpotato.api.ApiHandler object at 0x80c808a90>}[0m


Probably that right?

I don't remember actually if I updated it via the plugins tab.. It could have been there. Did they ever remedy it?

Are we not supposed to update there?



Here's a suggestion on CP:

"You can use my Backup and restore tool (3rd party tools sub-forum) to create a backup of your wanted list before the following test...

Now stop CouchPotato, make a backup of your data_directory (second directory listed under settings, about), then delete the database folder from within this directory and then restart CouchPotato...
if that works it means there was a problem with your database....
Just rebuild your profiles and categoies, do a manage scan (to rebuild your library) and then use the backup and restore tool to re-add your wanted list.."
Honestly I'm not sure. It might be good if someone posted a bug on the Couchpotato github page so that we can get a solution to it. I haven't been able to reproduce it myself at the moment.

##EDIT##
Looks like someone already posted it.
https://github.com/RuudBurger/CouchPotatoServer/issues/6042

I just installed 9.3 then updated to 9.4 and couldn't reproduce the issue. Not sure what triggers it.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
so wait what are the paths of the folders i need to backup? I'll probably just reinstall.
/var/db/couchpotato
But I think if you reinstall your data-directory the issue will be there again. At least that's what I remember people saying.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
commenting out that offending line actually worked.. oh g00d.
great! I'm guessing there's something wrong with FreeNAS user's data-directory caused by the recent update. Hopefully we'll find a proper solution soon.
 

Jimmy G.

Dabbler
Joined
Jun 17, 2015
Messages
10
I believe you have a typo there. The line is 3348, not 3448.

I tried 3448 first and it didnt work, then after going on GitHub I saw the 3348, I commented that one out and it works fine.

Thanks!

hmmm they said commentting 3448 on file combined.plugins.min.js would do a temp fix but .. it just seems like a random line...

[/QUOTE
 

Ray Milyard

Patron
Joined
Aug 8, 2014
Messages
262
hmmm they said commentting 3448 on file combined.plugins.min.js would do a temp fix but .. it just seems like a random line...

8xlfzyf.png

Tried both lines and still getting black screen!

Looks like line 3348 comments out with // works.
 
Last edited:

bmcclure937

Contributor
Joined
Jul 13, 2012
Messages
110
This fix seems pretty fragile and the CP dev closed the issue on Github and just said "reinstall".

I just did a fresh install but kept my data directory in place. Don't really want to lose my library, wanted list, etc..
 

bmcclure937

Contributor
Joined
Jul 13, 2012
Messages
110
This fix is not working for me. My error log is as follows:

Code:
ERROR ^[[31m[chpotato.core.plugins.log] API
log: {'file': u'http://HOST/couchpotato/', 'message':
u'chrome 48: \nUncaught ReferenceError: Quality is not
defined', 'line': u'55', 'page':
u'http://HOST/couchpotato/', '_request':                                                                         <couchpotato.api.ApiHandler object at 0x80e4399d0>}
 

Jimmy G.

Dabbler
Joined
Jun 17, 2015
Messages
10
This fix is not working for me. My error log is as follows:

Code:
ERROR ^[[31m[chpotato.core.plugins.log] API
log: {'file': u'http://HOST/couchpotato/', 'message':
u'chrome 48: \nUncaught ReferenceError: Quality is not
defined', 'line': u'55', 'page':
u'http://HOST/couchpotato/', '_request':                                                                         <couchpotato.api.ApiHandler object at 0x80e4399d0>}

That looks like a different error and different line, and from what I can tell even a different file... if a file at all. It seems to be pointing to a directory which is a bit weird.

Is this error after you commented out 3348?
 

bmcclure937

Contributor
Joined
Jul 13, 2012
Messages
110
I am definitely having a different issue than others in this thread but experiencing the same end result (black screen via Web GUI). My upgrade went awry and did not complete so maybe my database is corrupted. I commented out line 3348 and checked error log and get the error above. If I remove the comment then I still get the same error.

From the error logs, it appears that the problem has something to do with the quality profiles within CP being missing. I wonder if there is a way I can blow away the database and then restore everything except the profiles that are generated.

I will try some steps this evening to remedy the situation. In the meantime, anyone who has blown away their DB and backed up/restored the WANTED list able to comment?

I plan to follow this thread: https://couchpota.to/forum/viewtopic.php?t=4070

1. Stop CouchPotato
2. Make a backup of your data_directory (already done)
3. Delete the database folder from within this directory
4. Restart CouchPotato

If that works it means there was a problem with your database....

Just rebuild your profiles and categories, do a manage scan (to rebuild your library) and then use the backup and restore tool to re-add your wanted list.

EDIT -
I ran the above steps and am now back in business. Thanks all.
 
Last edited:

MelaGo

Dabbler
Joined
May 9, 2015
Messages
12
I'm having the same issue. Suddenly, I got a black page when accessing the webGUI.
I tried a fresh install of the plugin and then copied over the data directory (/var/db/couchpotato), but to no avail..

I guess I'll try a reinstall with just a copy of my settings.conf file?
I really don't want to configure everything again...
 

bmcclure937

Contributor
Joined
Jul 13, 2012
Messages
110
I'm having the same issue. Suddenly, I got a black page when accessing the webGUI.
I tried a fresh install of the plugin and then copied over the data directory (/var/db/couchpotato), but to no avail..

I guess I'll try a reinstall with just a copy of my settings.conf file?
I really don't want to configure everything again...

You do not need to do a fresh install. Instead, stop CouchPotato, delete the database directory, then restart CouchPotato. Your settings.conf file will remain intact and contains your configuration data but you will lose wanted list, quality profiles, cached images (for the site), and your media library (not your actual media files).

To remedy, you can backup/restore wanted list (though I have never done this). You can re-scan your media (Manage Scan) to re-populate the media library tab (Manage).
 

MelaGo

Dabbler
Joined
May 9, 2015
Messages
12
You do not need to do a fresh install. Instead, stop CouchPotato, delete the database directory, then restart CouchPotato. Your settings.conf file will remain intact and contains your configuration data but you will lose wanted list, quality profiles, cached images (for the site), and your media library (not your actual media files).

To remedy, you can backup/restore wanted list (though I have never done this). You can re-scan your media (Manage Scan) to re-populate the media library tab (Manage).

Thanks, that worked! Deleted the database folder.
Settings were fine, just had to redo the quality profiles.
Scanning the movie folder now.
 

bmcclure937

Contributor
Joined
Jul 13, 2012
Messages
110
Thanks, that worked! Deleted the database folder.
Settings were fine, just had to redo the quality profiles.
Scanning the movie folder now.

Great, glad that worked for you! Did you have anything in your wanted list that needed to be backed up/restored?
 

MelaGo

Dabbler
Joined
May 9, 2015
Messages
12
Great, glad that worked for you! Did you have anything in your wanted list that needed to be backed up/restored?

Yeah, my wanted list was gone. Doesn't really matter, as it only had 3 movies in it.
Thanks again for the help!
 
Status
Not open for further replies.
Top