Couchpotato wont start

Status
Not open for further replies.

i4m

Dabbler
Joined
Jan 16, 2013
Messages
11
My freenas stopped working, issue importing the my volume on reload, on 31/12/2017 a few days after i updated to 11.1.

I recently got back up and running after booting into an older version of freenas. All other plugins are unaffected, but Couchpotato won't start.
When i login to the jail on cli & do "service couchpotato start" i get a pid and status shoews its running, 5 seconds later its stopped again.

couchpotato logs show

Code:
less /var/log/messages
Jan 15 22:12:32 couchpotato_1 syslogd: exiting on signal 15

Jan 15 23:16:51 couchpotato_1 syslogd: kernel boot file is /boot/kernel/kernel

root@couchpotato_1:/ # service couchpotato restart

couchpotato not running? (check /var/run/couchpotato/couchpotato.pid).

Starting couchpotato.

root@couchpotato_1:/ # service couchpotato status

couchpotato is running as pid 21936.

root@couchpotato_1:/ # service couchpotato status

couchpotato is not running.

root@couchpotato_1:/ #
less /var/log/messages
Jan 15 23:16:51 couchpotato_1 syslogd: kernel boot file is /boot/kernel/kernel



Anyone recommend a way to get this back online?

Thanks In Advance
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
there should be a log folder in /var/db/couchpotato
maybe read/post the last few dozen lines of the latets log to see if that gives any info.
 

i4m

Dabbler
Joined
Jan 16, 2013
Messages
11
here is the error log as the Couchpotato.log is all about movies it can or can't find info for, but there are ~ 8 logs for December 30th.

-rw-r--r-- 1 media media 81K Jan 15 23:18 error.log


Code:
22:21:58 CRITICAL [				 __main__] Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

22:27:16 CRITICAL [				 __main__] Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

22:57:12 CRITICAL [				 __main__] Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

12:52:53 CRITICAL [				 __main__] Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

21:42:10 CRITICAL [				 __main__] Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

23:17:07 CRITICAL [				 __main__] Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

23:18:27 CRITICAL [				 __main__] Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists

Traceback (most recent call last):

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 135, in <module>

	l.run()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/CouchPotato.py", line 89, in run

	runCouchPotato(self.options, base_path, sys.argv[1:], data_dir = self.data_dir, log_dir = self.log_dir, Env = Env)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/couchpotato/runner.py", line 142, in runCouchPotato

	db.open()

  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_super_thread_safe.py", line 93, in open

	res = super(SuperThreadSafeDatabase, self).open(*args, **kwargs)

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/database.py", line 571, in open

	index.open_index()

  File "/usr/pbi/couchpotato-amd64/share/couchpotato/CouchPotatoServer/libs/CodernityDB/hash_index.py", line 108, in open_index

	raise IndexException("Doesn't exists")

IndexException: Doesn't exists
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
i would post that on the couchpotato github page, as a bug. it sounds like some type of database corruption to me =[
 

dir_d

Explorer
Joined
Nov 9, 2013
Messages
55
I would also look at Radarr, it does everything Coachpotato does and more. It will take a bit to get used to but when i made the switch i haven't looked back.
 
Status
Not open for further replies.
Top