mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-10-23 16:13:45 +00:00
entrypoint: Fix confusing output string about migrations.
"Migrating Zulip to new version" sounds very general and unclear about what step is actually happening - easy to even confuse with a full server upgrade being run. This should be explicit that this is about db migrations.
This commit is contained in:
committed by
Tim Abbott
parent
0ab4061d1b
commit
0d712d5151
@@ -366,7 +366,7 @@ zulipFirstStartInit() {
|
|||||||
echo "Zulip first start init sucessful."
|
echo "Zulip first start init sucessful."
|
||||||
}
|
}
|
||||||
zulipMigration() {
|
zulipMigration() {
|
||||||
echo "Migrating Zulip to new version ..."
|
echo "Running new database migrations..."
|
||||||
set +e
|
set +e
|
||||||
su zulip -c "/home/zulip/deployments/current/manage.py migrate --noinput"
|
su zulip -c "/home/zulip/deployments/current/manage.py migrate --noinput"
|
||||||
local RETURN_CODE=$?
|
local RETURN_CODE=$?
|
||||||
@@ -377,7 +377,7 @@ zulipMigration() {
|
|||||||
set -e
|
set -e
|
||||||
rm -rf "$DATA_DIR/.zulip-*"
|
rm -rf "$DATA_DIR/.zulip-*"
|
||||||
touch "$DATA_DIR/.zulip-$ZULIP_VERSION"
|
touch "$DATA_DIR/.zulip-$ZULIP_VERSION"
|
||||||
echo "Zulip migration succeeded."
|
echo "Database migrations completed."
|
||||||
}
|
}
|
||||||
runPostSetupScripts() {
|
runPostSetupScripts() {
|
||||||
echo "Post setup scripts execution ..."
|
echo "Post setup scripts execution ..."
|
||||||
|
Reference in New Issue
Block a user