mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
scripts: warn about lengthy migrations when upgrading to 5.38.0
The release notes of the 5.38.0 version mention two lengthy database migrations. Make sure users are told what is going on, so that they don't think the upgrade failed.
This commit is contained in:
parent
a0629a05fa
commit
f8589544d5
1 changed files with 3 additions and 3 deletions
|
@ -194,10 +194,10 @@ yunohost service add $app --description="Collaboration platform built for develo
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||||
|
|
||||||
# A lengthy database migration runs when upgrading from a version < 5.35.
|
# A lengthy database migration runs when upgrading from a version < 5.38.
|
||||||
if dpkg --compare-versions "$previous_upstream_version" lt "5.35.0"
|
if dpkg --compare-versions "$previous_upstream_version" lt "5.38.0"
|
||||||
then
|
then
|
||||||
ynh_print_warn --message="A database migration will now run. This may take a while..."
|
ynh_print_warn --message="Lengthy database migrations will now run. This may take a while..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
|
|
Loading…
Add table
Reference in a new issue