unable to start cp after db copy

CouchPotato is an automatic NZB and torrent downloader.
You can keep a "want to watch"-list and it will search for NZBs/torrents of these items every X hours. Once a correct release is found, matching the correct quality, it will send it to SABnzbd or download the .nzb or .torrent to a specified directory.

Moderator: Lillian.W@AST

bostoneric
Posts: 45
youtube meble na wymiar Warszawa
Joined: Thu Aug 29, 2013 2:36 am

unable to start cp after db copy

Post by bostoneric »

Not sure exactly how I screwed this one up. I copied the couchpotato.db file from an old Nas to new Asustor.
copied it to:
/volume1/.@plugins/AppCentral/couchpotato/config

after copy CP wont start. removed the CP APP, double checked there are no CP dir in APPCentral folder.

reinstalled CP. same problem, CP wont start.
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: unable to start cp after db copy

Post by clinton.hall »

via ssh

Code: Select all

/usr/local/AppCentral/couchpotato/CONTROL/start-stop.sh restart
post the output here.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
bostoneric
Posts: 45
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Post by bostoneric »

ok logged into my asustor tonight noticed the CP app wasnt installed. guess it just took time to delete.


Can i copy the "wanted" db from another computer to the CP install on my Asustor?

thanks for all the hard work!
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: unable to start cp after db copy

Post by clinton.hall »

You can copy the CouchPotato.db, into the data_dir, but you will need to delete any manage movies first/afterwards since the paths won't be valid.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
bostoneric
Posts: 45
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Post by bostoneric »

clinton.hall wrote:You can copy the CouchPotato.db, into the data_dir, but you will need to delete any manage movies first/afterwards since the paths won't be valid.
Can you direct me where the "data_dir" is? I dont see it with the CouchPotato dirs.

/volume1/.@plugins/AppCentral/couchpotato/CouchPotato
or
/usr/local/AppCentral/couchpotato/config
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: unable to start cp after db copy

Post by clinton.hall »

/volume1/.@plugins/AppCentral/couchpotato/config
or
/usr/local/AppCentral/couchpotato/config

(These are both the same).

This location can be verified in CouchPotato, settings, about. This page lists the data_dir location.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
bostoneric
Posts: 45
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Post by bostoneric »

data_dir='/usr/local/AppCentral/couchpotato/config

got it thanks. I'll ssh copy the .db file over tonight see what happens.

I'm guessing I should stop/retart cp after copy?
bostoneric
Posts: 45
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Post by bostoneric »

ok copied the db file. restarted CP. checked the logs found this.

Code: Select all

02-14 23:57:05 WARNING [ couchpotato.runner] <type 'exceptions.DeprecationWarning'> the sha module is deprecated; use the hashlib module instead /volume1/.@plugins/AppCentral/couchpotato/CouchPotato/libs/xmpp/auth.py line:24
02-14 23:57:05 WARNING [ couchpotato.runner] <type 'exceptions.DeprecationWarning'> the md5 module is deprecated; use hashlib instead /volume1/.@plugins/AppCentral/couchpotato/CouchPotato/libs/xmpp/auth.py line:26
bostoneric
Posts: 45
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Post by bostoneric »

also noticed a few of these...

Code: Select all

[otato.core.providers.base] Failed to parsing NzbIndex: Traceback (most recent call last):
  File "/volume1/.@plugins/AppCentral/couchpotato/CouchPotato/couchpotato/core/providers/base.py", line 89, in getRSSData
    data = XMLTree.fromstring(ss(data))
  File "/usr/local/AppCentral/python/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
    parser.feed(text)
  File "/usr/local/AppCentral/python/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
    self._raiseerror(v)
  File "/usr/local/AppCentral/python/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
    raise err
ParseError: mismatched tag: line 6, column 2
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: unable to start cp after db copy

Post by clinton.hall »

yeah... those warnings are standard (annoying, but standard).

The issues with nzbIndex are related to that site... either unstable, or returning junk... try other providers...
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
Post Reply

Return to “CouchPotato”