1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

scripts: increase the migration timeout again

It seems to be too short on some lesser-powered VMs.
This commit is contained in:
Pierre de La Morinerie 2023-04-25 16:20:23 +02:00
parent 801e2b1f36
commit 1fabf44e72

View file

@ -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