Compare commits

...

4 Commits

Author SHA1 Message Date
community-scripts-pr-app[bot] 50eb6c37cf Update CHANGELOG.md (#15356)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-23 16:22:20 +00:00
Sam Heinz ef2a840842 update jdk when updating crafty-controller (#15349) 2026-06-23 18:21:48 +02:00
community-scripts-pr-app[bot] 49a5bfeda3 Update CHANGELOG.md (#15355)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-06-23 16:21:18 +00:00
Sam Heinz 97cf2ea294 fix docker update function (#15353)
* fix docker update function

* Update docker.sh
2026-06-23 18:20:47 +02:00
3 changed files with 14 additions and 4 deletions
+2
View File
@@ -492,6 +492,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- #### 🐞 Bug Fixes - #### 🐞 Bug Fixes
- update jdk when updating crafty-controller [@asylumexp](https://github.com/asylumexp) ([#15349](https://github.com/community-scripts/ProxmoxVE/pull/15349))
- fix docker update function [@asylumexp](https://github.com/asylumexp) ([#15353](https://github.com/community-scripts/ProxmoxVE/pull/15353))
- LibreNMS: run daily.sh as librenms user with git available [@MickLesk](https://github.com/MickLesk) ([#15314](https://github.com/community-scripts/ProxmoxVE/pull/15314)) - LibreNMS: run daily.sh as librenms user with git available [@MickLesk](https://github.com/MickLesk) ([#15314](https://github.com/community-scripts/ProxmoxVE/pull/15314))
- #### ✨ New Features - #### ✨ New Features
+6
View File
@@ -46,6 +46,12 @@ function update_script() {
restore_backup restore_backup
msg_info "Updating TemurinJDK"
setup_java
$STD apt install -y temurin-{8,11,17,21,25}-jre
$STD update-alternatives --set java /usr/lib/jvm/temurin-25-jre-$(arch_resolve)/bin/java
msg_ok "Updated TemurinJDK"
msg_info "Updating Python dependencies" msg_info "Updating Python dependencies"
chown -R crafty:crafty /opt/crafty-controller chown -R crafty:crafty /opt/crafty-controller
cd /opt/crafty-controller/crafty/crafty-4 cd /opt/crafty-controller/crafty/crafty-4
+6 -4
View File
@@ -27,12 +27,14 @@ function update_script() {
msg_info "Updating base system" msg_info "Updating base system"
$STD apt update $STD apt update
$STD apt upgrade -y $STD apt upgrade -y
msg_ok "Base system updated" msg_ok "Base system updated"
msg_info "Updating Docker Engine" if dpkg-query -W -f='${Status}' docker-ce 2>/dev/null | grep -q "ok installed"; then
$STD apt install --only-upgrade -y docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-buildx-plugin USE_DOCKER_REPO="true" setup_docker
msg_ok "Docker Engine updated" else
setup_docker
fi
if docker ps -a --format '{{.Image}}' | grep -q '^portainer/portainer-ce:latest$'; then if docker ps -a --format '{{.Image}}' | grep -q '^portainer/portainer-ce:latest$'; then
msg_info "Updating Portainer" msg_info "Updating Portainer"