Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/commit/5d642ce2e6e1c126bdf5b2fbb1596ef7ced9d6e3
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
8 additions and
9 deletions
@ -1,10 +1,8 @@
import os
import atexit
from get_args import args
from peewee import *
from playhouse . sqliteq import SqliteQueueDatabase
from playhouse . reflection import generate_models
from helper import path_replace , path_replace_movie , path_replace_reverse , path_replace_reverse_movie
@ -168,11 +166,6 @@ class TableSettingsNotifier(BaseModel):
table_name = ' table_settings_notifier '
@atexit.register
def _stop_worker_threads ( ) :
database . stop ( )
def database_init ( ) :
database . start ( )
database . connect ( )
@ -190,3 +183,8 @@ def database_init():
System . configured : 0
}
) . execute ( )
def database_close ( ) :
if not database . is_closed ( ) :
database . close ( )
@ -22,8 +22,8 @@ import operator
from get_args import args
from init import *
from database import database_init , TableEpisodes, TableShows , TableMovies , TableHistory , TableHistoryMovie , \
Table SettingsLanguages, TableSettingsNotifier , System
from database import database_init , database_close, TableEpisodes, TableShows , TableMovies , TableHistory , \
Table HistoryMovie, Table SettingsLanguages, TableSettingsNotifier , System
# Initiate database
database_init ( )
@ -187,6 +187,7 @@ def shutdown():
else :
stop_file . write ( ' ' )
stop_file . close ( )
database_close ( )
server . stop ( )