diff --git a/listenbrainz/webserver/__init__.py b/listenbrainz/webserver/__init__.py index 2c6d74cf1e..dfc6f1bb8f 100644 --- a/listenbrainz/webserver/__init__.py +++ b/listenbrainz/webserver/__init__.py @@ -101,7 +101,7 @@ def gen_app(config_path=None, debug=None): create_redis(app) # Influx connection - create_influx(app) + # create_influx(app) # RabbitMQ connection try: diff --git a/manage.py b/manage.py index c8926dd64b..2079e99630 100644 --- a/manage.py +++ b/manage.py @@ -185,7 +185,7 @@ def init_db(force, create_db): if not res: raise Exception('Failed to drop existing database and user! Exit code: %i' % res) - if create_db: + if create_db or force: print('Creating user and a database...') res = ts.run_sql_script_without_transaction(os.path.join(TIMESCALE_SQL_DIR, 'create_db.sql')) if not res: