Issue after upgrade: starting sickrage gives error

This is the error I get:
17:45:17 INFO::CORE::Migrating cache database using c:\SickRage\Data\cache.codernitydb
Traceback (most recent call last):
File “c:\sickrage\sickrage-git\sickrage_init_.py”, line 345, in main
app.start()
File “c:\sickrage\sickrage-git\sickrage\core_init_.py”, line 267, in start
db.migrate()
File “c:\sickrage\sickrage-git\sickrage\core\databases_init_.py”, line 229, in migrate
if table in migration_table_column_mapper[self.name]:
KeyError: ‘cache’

I’m using this command:
c:\python\python372\python c:\sickrage\sickrage-git\sickrage.py --nolaunch --datadir=c:\SickRage\Data --config=c:\SickRage\Data\config.ini

What did I try already:

  • Latest Python 3.7.3 installed
  • started, upgrades stuff (main database tables: tv_shows and tv_episodes) and fail with above error.
  • Removed the data directory -> it starts, do a restore of my backup, restart fails with the same error
  • Removed the data directory -> it starts, do a restore of my backup without cache, restart fails with the same error

So I’m bit stuck now, can think about anything else I can try.

Can you email me your backup please

On it’s way with wetransfer

Pushing fix now, please test and confirm this issue has been resolved.

1 Like

It works again. Tnx a lot for the quick fix!

1 Like