diff --git a/scripts/cloudron-support b/scripts/cloudron-support index f1db5772b..88b3cd196 100755 --- a/scripts/cloudron-support +++ b/scripts/cloudron-support @@ -77,8 +77,10 @@ function check_host_mysql() { } function check_box() { + [[ -f /home/yellowtent/box/VERSION ]] && version=$(cat /home/yellowtent/box/VERSION) || version='' + if ! systemctl is-active -q box; then - info "box is down. re-running migration script and restarting it ..." + info "box v${version} is down. re-running migration script and restarting it ..." /home/yellowtent/box/setup/start.sh systemctl stop box # a restart sometimes doesn't restart, no idea @@ -90,7 +92,7 @@ function check_box() { fi fi - success "box is running" + success "box v${version} is running" } function owner_login() {