From 1fabf44e72522c845187ad27c9105241b605b21a Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 25 Apr 2023 16:20:23 +0200 Subject: [PATCH] scripts: increase the migration timeout again It seems to be too short on some lesser-powered VMs. --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 1daf9f3..dce1e80 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -35,7 +35,7 @@ mariadb-to-pg() { pushd $final_path ynh_systemd_action --service_name="$app" --action="stop" set +e - sudo -u mattermost timeout --preserve-status 180 "./bin/mattermost" + sudo -u mattermost timeout --preserve-status 300 "./bin/mattermost" if [ "$?" != "0" ] && [ "$?" != "143" ] ; then ynh_die --message="Failed to run Mattermost to create PostgreSQL database tables" --ret_code=1 fi