From ad59aabe3247362bb8768a67c4a44527ae36297e Mon Sep 17 00:00:00 2001 From: Dale Wahl Date: Thu, 14 Dec 2023 18:48:11 +0100 Subject: [PATCH] user instructions require config.db.commit() as well --- docker/docker_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker_setup.py b/docker/docker_setup.py index 21000dd37..e3527fba9 100644 --- a/docker/docker_setup.py +++ b/docker/docker_setup.py @@ -138,7 +138,7 @@ def update_config_from_environment(CONFIG_FILE, config_parser): if frontend_port != public_port: print(f"Exposed PUBLIC_PORT {public_port} from .env file not included in Server Name; if you are not using a reverse proxy, you may need to update the Server Name variable.") print(f"You can do so by running the following command if you do not have access to the 4CAT frontend Control Panel:\n" - f"docker exec 4cat_backend python -c \"from common.config_manager import config;config.set('flask.server_name', '{frontend_servername}:{public_port}');\"") + f"docker exec 4cat_backend python -c \"from common.config_manager import config;config.set('flask.server_name', '{frontend_servername}:{public_port}');config.db.commit();\"") print(f"\nStarting app\n" f"4CAT is accessible at:\n"