From 41431f5fe7bf60d4a5a3b2043e6dfa6fe6ecd74b Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sat, 7 Mar 2026 21:56:59 +0100 Subject: [PATCH] fix(grocy): update PHP version from 8.3 to 8.5 Grocy now requires PHP 8.5. Update both the install script and the update function to use PHP 8.5 instead of 8.3. Closes #12647 --- ct/grocy.sh | 4 ++-- install/grocy-install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/grocy.sh b/ct/grocy.sh index 38a7b8272..215cfd8c8 100644 --- a/ct/grocy.sh +++ b/ct/grocy.sh @@ -28,8 +28,8 @@ function update_script() { exit fi php_ver=$(php -v | head -n 1 | awk '{print $2}') - if [[ ! $php_ver == "8.3"* ]]; then - PHP_VERSION="8.3" PHP_APACHE="YES" setup_php + if [[ ! $php_ver == "8.5"* ]]; then + PHP_VERSION="8.5" PHP_APACHE="YES" setup_php fi if check_for_gh_release "grocy" "grocy/grocy"; then msg_info "Updating grocy" diff --git a/install/grocy-install.sh b/install/grocy-install.sh index eda584f93..992f28800 100644 --- a/install/grocy-install.sh +++ b/install/grocy-install.sh @@ -17,7 +17,7 @@ msg_info "Installing Dependencies" $STD apt install -y apt-transport-https msg_ok "Installed Dependencies" -PHP_VERSION="8.3" PHP_APACHE="YES" setup_php +PHP_VERSION="8.5" PHP_APACHE="YES" setup_php fetch_and_deploy_gh_release "grocy" "grocy/grocy" "prebuild" "latest" "/var/www/html" "grocy*.zip" msg_info "Configuring grocy"