4 Commits

Author SHA1 Message Date
b5eec9e10f chore: publish 2.1.0+v2.25.3 release 2025-02-21 18:33:21 +01:00
c6afdb09c0 move contents of loomios docker_start.sh to entrypoint.sh. unclear why this helps
All checks were successful
continuous-integration/drone/push Build is passing
2025-02-19 13:26:21 +01:00
8761f3dc6e adding another race condition prevention
All checks were successful
continuous-integration/drone/push Build is passing
2025-02-16 14:20:32 +01:00
3wc
8dcb1f35e8 Update 1.0.0 release notes
All checks were successful
continuous-integration/drone/push Build is passing
2025-02-12 20:31:11 -05:00
5 changed files with 20 additions and 17 deletions

View File

@ -1,4 +1,4 @@
export LOOMIO_ENTRYPOINT_VERSION=v5 export LOOMIO_ENTRYPOINT_VERSION=v6
# cannot be integrated into entrypoint.sh as it requires the operator to create a user first # cannot be integrated into entrypoint.sh as it requires the operator to create a user first
function make_last_user_admin() function make_last_user_admin()

View File

@ -71,7 +71,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=2.0.0+v2.25.3" - "coop-cloud.${STACK_NAME}.version=2.1.0+v2.25.3"
- "backupbot.backup:=${ENABLE_BACKUPS:-true}" - "backupbot.backup:=${ENABLE_BACKUPS:-true}"
worker: worker:
image: loomio/loomio:v2.25.3 image: loomio/loomio:v2.25.3

View File

@ -31,16 +31,13 @@ if [ -n "$1" ]; then
echo "Running '$1'" echo "Running '$1'"
$1 $1
else else
if [ ! -f /loomio/storage/migrations_ran ] && [ "${TASK:-}" = "worker" ]; then
echo "first deploy, running DB setup..."
rake db:setup
touch /loomio/storage/migrations_ran
fi
echo "running DB migrations..."
rake db:migrate
echo "DB migrations finished"
echo "starting loomio!" echo "starting loomio!"
/loomio/docker_start.sh if [ "$TASK" = "worker" ]; then
bundle exec sidekiq
else
bundle install
bundle exec rake db:prepare
bundle exec puma -C config/puma.rb
fi
fi fi

View File

@ -1,9 +1,14 @@
In this release the passwords for smtp and postgres DB were moved into docker secrets. Therefore a few manual steps need to be performed (also available in recipe documentation) In this release the passwords for smtp and postgres DB were moved into docker secrets. Therefore a few manual steps need to be performed (also available in recipe documentation)
* adapt your env file with the new vars, especially SECRET_DB_PASSWORD_VERSION=v1 and SECRET_SMTP_PASSWORD_VERSION=v1 * adapt your env file with the new vars, especially `SECRET_DB_PASSWORD_VERSION=v1` and `SECRET_SMTP_PASSWORD_VERSION=v1` (remember, you can use `abra app check <app-name>` to check for any missing variables)
* insert your smtp password with abra app secret insert <app-name> smtp_password v1 "<your-password>" * insert your existing smtp password with `abra app secret insert <app-name> smtp_password v1 "<your-password>"`
* abra app secret generate <app-name> db_password v1
* abra app deploy <app-name> Then, choose whether to keep the existing insecure database password (easy):
* set the new password in DB: abra app cmd <app-name> db set_new_db_password * `abra app secret insert <app-name> db_password v1 password`
Or, switch to a new secure password (harder, better):
* `abra app secret generate <app-name> db_password v1`
* `abra app deploy <app-name>`
* set the new password in DB: `abra app cmd <app-name> db set_new_db_password` (NOTE: if you get "FATA loomio doesn't have a set_new_db_password function" here, run `cd ~/.abra/recipes/loomio && git checkout main`, then re-run the `abra app cmd` command with `-C` at the end)
* redeploy * redeploy

1
release/2.1.0+v2.25.3 Normal file
View File

@ -0,0 +1 @@
DB initialization issues with wrong migration should be fixed now. (But not really sure why)