From beedda826aec668ab368a6b331338ce556b5c125 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 29 Mar 2023 16:22:41 +0300 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 611c0b5..87ebd5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,14 @@ ## (Backward Compatibility Break) Firezone database renamed -If you are running firezone with the default postgres integration the playbook automatically created the database `mash-firezone`. -To follow the naming scheme we now renamed it just `firezone`. You will have to rename you database manually by running the following commands on your server +If you are running [Firezone](docs/services/firezone.md) with the default [Postgres](docs/services/postgres.md) integration the playbook automatically created the database with the name `mash-firezone`. +To be consistent with how this playbook names databases for all other services, going forward we've changed the database name to be just `firezone`. You will have to rename you database manually by running the following commands on your server: -```bash -systemctl stop mash-firezone -docker exec -it mash-postgres psql -U root -ALTER DATABASE "mash-firezone" RENAME TO firezone; -``` +1. Stop Firezone: `systemctl stop mash-firezone` +2. Run a Postgres `psql` shell: `/mash/postgres/bin/cli` +3. Execute this query: `ALTER DATABASE "mash-firezone" RENAME TO firezone;` and then quit the shell with `\q` -Then run `just install-all` and you should be good to go! +Then update the playbook (don't forget to run `just roles`), run `just install-all` and you should be good to go! # 2023-03-26