diff --git a/version/0.2.5/UPDATE.sh b/version/0.2.5/UPDATE.sh index e8181494..dc5f64c5 100644 --- a/version/0.2.5/UPDATE.sh +++ b/version/0.2.5/UPDATE.sh @@ -84,6 +84,9 @@ FUNCTIONS=( #notify user we started print_header + # fix for bug with php not autostarting + php_fix + # update images! update_docker_images @@ -359,6 +362,16 @@ rm /etc/systemd/system/watcher.service systemctl daemon-reload +} + + +php_fix(){ + +for username in $(opencli user-list --json | awk -F'"' '/username/ {print $4}'); do + docker exec "$username" bash -c 'sed -i "s/PHP82FPM_STATUS=\"off\"/PHP82FPM_STATUS=\"on\"/g" /etc/entrypoint.sh' +done + + } update_config_files() {