How to update CouchPotato

Status
Not open for further replies.

Thorep

Dabbler
Joined
Nov 1, 2016
Messages
13
Hello!
Im pretty new to freenas but have manage to set it up, with zpools and plugins and jails.
On my ubuntu system i just use "git pull" to update couchpotato and edit files in the providers/torrent for enditing the provider files.

How do i do this in a freebsd jail?
 

Thorep

Dabbler
Joined
Nov 1, 2016
Messages
13
Tried to update via the web interface, but now im getting errors in the log:

11-05 22:11:22 ERROR[ couchpotato.core.event] Error in event "app.load", that wasn't caught: Traceback (most recent call last): File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/event.py", line 15, in runHandler return handler(*args, **kwargs) File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/media/movie/providers/info/themoviedb.py", line 57, in config languages.remove(self.default_language) ValueError: list.remove(x): x not in list encoding=UTF-8 debug=False args=['--data_dir', '/var/db/couchpotato', '--pid_file', '/var/run/couchpotato/couchpotato.pid', '--daemon'] app_dir=/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer data_dir=/var/db/couchpotato desktop=None options=Namespace(config_file='/var/db/couchpotato/settings.conf', console_log=False, daemon=True, data_dir='/var/db/couchpotato', debug=False, pid_file='/var/run/couchpotato/couchpotato.pid', quiet=False)
11-05 22:11:22 INFO[tato.core._base.scheduler] Scheduling updater.check, interval: hours = 24, minutes = 0, seconds = 0
11-05 22:11:22 INFO[potato.core._base.updater] === VERSION source:(CouchPotato:CouchPotatoServer master) 4a0999d9 (2016-09-06 10:53:22), using SourceUpdater ===
11-05 22:11:22 INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/messages/?last_check=1384713000, data: []
11-05 22:11:31 INFO[hpotato.core.plugins.base] Opening url: get https://api.github.com/repos/CouchPotato/CouchPotatoServer/commits?per_page=1&sha=master, data: []
11-05 22:11:42 INFO[hpotato.core.plugins.base] Opening url: get http://www.blu-ray.com/rss/newreleasesfeed.xml, data: []
11-05 22:11:43 ERROR[ couchpotato.core.event] Error in event "automation.get_chart_list", that wasn't caught: Traceback (most recent call last): File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/event.py", line 15, in runHandler return handler(*args, **kwargs) File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/media/movie/providers/automation/base.py", line 44, in _getChartList return self.getChartList() File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/media/movie/providers/automation/bluray.py", line 129, in getChartList movie = self.search(name, year) File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/media/movie/providers/automation/base.py", line 49, in search cached_imdb = Env.prop(prop_name, default = False) File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/environment.py", line 82, in prop v = s.getProperty(identifier) File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/core/settings.py", line 422, in getProperty propert = db.get('property', identifier) File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database_super_thread_safe.py", line 43, in _inner res = f(*args, **kwargs) File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 940, in get l_key, _unk, start, size, status = ind.get(key) File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 382, in get return self._find_key(self.make_key(key)) File "<Index: /var/db/couchpotato/database/_indexes/07property.py", line 33, in make_key UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 19: ordinal not in range(128) encoding=UTF-8 debug=False args=['--data_dir', '/var/db/couchpotato', '--pid_file', '/var/run/couchpotato/couchpotato.pid', '--daemon'] app_dir=/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer data_dir=/var/db/couchpotato desktop=None options=Namespace(config_file='/var/db/couchpotato/settings.conf', console_log=False, daemon=True, data_dir='/var/db/couchpotato', debug=False, pid_file='/var/run/couchpotato/couchpotato.pid', quiet=False)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
CouchPotato updates itself by default.
Settings > General to modify its behavior.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
post your errors to the couchpotato forum
 
Status
Not open for further replies.
Top