Closed kulisau closed 6 months ago
Running the below script seems to have revived the functionality. Not sure if that's the proper way to deal this it, though... Another question if the column type is correct...
import sqlite3
db_path = 'bazarr.db'
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
try:
cursor.execute('''ALTER TABLE table_languages_profiles
ADD COLUMN originalFormat TEXT''')
cursor.execute('''ALTER TABLE table_languages_profiles
ADD COLUMN mustNotContain TEXT''')
conn.commit()
print("Columns added successfully!")
except sqlite3.OperationalError as e:
print(f"Error adding columns: {e}")
conn.close()
Something failed during database migration from a version older than 1.3.0. Those column should have been created automatically.
originalFormat should be an Integer. mustNotContain is fine.
Thanks for reporting. If we get other reports, I'll create a fix for that.
I upgraded linuxserver/bazarr container to the latest version (1.4.2) and started getting exception log entries in docker logs. I can't tell the exact version I've upgraded from, but it was installed probably around a year ago.
The docker logs:
Traces after the job: update_movies:
update_series:
Exception on /api/system/languages/profiles [GET]:
Software (please complete the following information):