From 7937f686f28cd9ce543dfad49cf681a4f18aa53b Mon Sep 17 00:00:00 2001 From: Nick Sellen Date: Fri, 29 Mar 2024 15:50:48 +0000 Subject: [PATCH] 1.0.0+14.0.1 release --- compose.yml | 2 +- release/1.0.0+14.0.1 | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 release/1.0.0+14.0.1 diff --git a/compose.yml b/compose.yml index 2c7a707..fb555db 100644 --- a/compose.yml +++ b/compose.yml @@ -102,7 +102,7 @@ services: start_period: 45s deploy: labels: - - "coop-cloud.${STACK_NAME}.version=0.1.10+13.0.0" + - "coop-cloud.${STACK_NAME}.version=1.0.0+14.0.1" - "backupbot.backup=true" - "backupbot.backup.path=/app/uploads" diff --git a/release/1.0.0+14.0.1 b/release/1.0.0+14.0.1 new file mode 100644 index 0000000..87a7ea7 --- /dev/null +++ b/release/1.0.0+14.0.1 @@ -0,0 +1,32 @@ +Major upgrade because this switches to new set of docker images with new python version. + +Full release info available here: https://codeberg.org/karrot/karrot/releases/tag/v14.0.1 + +## Fix to uploaded file permissions + +We now run the container as non-root user which means the file permissions need updating. + +After you deployment you can fix that by running: + +``` +abra app cmd app fix-permissions --user root +``` + +(Note: we need `--user root` there, as we need to be `root` in the container to change the permissions) + +## geoip changes + +Now the geoip update server is run using an additional compose file config, so if you are using geoip with a maxmind account, modify your config to include: + +``` +COMPOSE_FILE="compose.yml" +COMPOSE_FILE="$COMPOSE_FILE:compose.geoip.yml" +MAXMIND_ACCOUNT_ID=youraccountid +SECRET_MAXMIND_LICENSE_KEY_VERSION=v1 +``` + +And ensure you have the `maxmind_license_key` secret set, which you can do with: + +``` +abra app secret insert maxmind_license_key v1 +```