It is currently Mon Apr 22, 2019 10:47 pm
All times are UTC + 8 hours

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.

Moderators: JohnnyFive, clinton.hall

unable to start cp after db copy

Postby bostoneric » Wed Feb 12, 2014 5:02 pm

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.
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Postby clinton.hall » Wed Feb 12, 2014 6:42 pm

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
User avatar
clinton.hall
 
Posts: 838
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: unable to start cp after db copy

Postby bostoneric » Thu Feb 13, 2014 12:46 pm

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!
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Postby clinton.hall » Fri Feb 14, 2014 5:47 am

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
User avatar
clinton.hall
 
Posts: 838
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: unable to start cp after db copy

Postby bostoneric » Fri Feb 14, 2014 11:41 am

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
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Postby clinton.hall » Sat Feb 15, 2014 4:35 am

/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
User avatar
clinton.hall
 
Posts: 838
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: unable to start cp after db copy

Postby bostoneric » Sat Feb 15, 2014 8:01 am

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: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Postby bostoneric » Sat Feb 15, 2014 4:02 pm

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: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Postby bostoneric » Sun Feb 16, 2014 3:04 pm

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
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: unable to start cp after db copy

Postby clinton.hall » Sun Feb 16, 2014 7:20 pm

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
User avatar
clinton.hall
 
Posts: 838
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Next

Return to CouchPotato

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest