From 7924879aa8b2f1a940276dec999194a619e2db2d Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Sat, 29 Jul 2023 20:51:20 +0200 Subject: [PATCH] Change `bin/console db:install` to new `bin/init db:install` * Reword the `update` help text --- CHANGELOG.md | 5 +++++ elabctl.sh | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e43d4ba..643d940 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog for elabctl +## Version 3.5.0 + +* Change `bin/console db:install` to new `bin/init db:install` +* Reword the `update` help text + ## Version 3.4.0 * Add `DUMP_DELETE_DAYS` variable (defaults to +0) to remove old mysql backup files after generating a dump (fix elabftw/elabftw#4285) diff --git a/elabctl.sh b/elabctl.sh index 82b34da..934a74f 100755 --- a/elabctl.sh +++ b/elabctl.sh @@ -3,7 +3,7 @@ # https://github.com/elabftw/elabctl/ # © 2022 Nicolas CARPi @ Deltablot # License: GPLv3 -declare -r ELABCTL_VERSION='3.4.0' +declare -r ELABCTL_VERSION='3.5.0' # default backup dir declare BACKUP_DIR='/var/backups/elabftw' @@ -167,7 +167,7 @@ function help start Start the containers stop Stop the containers uninstall Uninstall eLabFTW and purge data - update Get the latest version of the containers + update Pull the image defined, restart containers and update database schema update-db-schema Update the MySQL database schema version Display elabctl version " @@ -187,7 +187,7 @@ function info function initialize { is-installed - docker exec -it "${ELAB_WEB_CONTAINER_NAME}" bin/console db:install + docker exec -it "${ELAB_WEB_CONTAINER_NAME}" bin/init db:install } # install pip and docker-compose, get elabftw.yml and configure it with sed