1 diff --git a/cps/__init__.py b/cps/__init__.py
2 index 1ba1f778..fd5dc2f1 100644
5 @@ -116,6 +116,9 @@ def create_app():
6 db.CalibreDB.setup_db(config.config_calibre_dir, cli_param.settings_path)
9 + if os.environ.get('__RUN_MIGRATIONS_AND_EXIT'):
12 updater_thread.init_updater(config, web_server)
13 # Perform dry run of updater and exit afterwards