Compare commits

..

3 Commits

Author SHA1 Message Date
MickLesk
985293a1c0 NVIDIA GPU: fix GLX mesa fallback aborting install due to silent() exit 2026-04-04 22:34:57 +02:00
community-scripts-pr-app[bot]
9ce2fe9ee0 Update CHANGELOG.md (#13525)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-04 20:05:38 +00:00
Andrey Viktorov
0b24786695 komodo: set PERIPHERY_CORE_PUBLIC_KEYS to default value if absent (#13519) 2026-04-04 22:05:10 +02:00
3 changed files with 15 additions and 1 deletions

View File

@@ -429,6 +429,14 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-04-04
### 🧰 Tools
- #### 🐞 Bug Fixes
- komodo: set `PERIPHERY_CORE_PUBLIC_KEYS` to default value if absent [@4ndv](https://github.com/4ndv) ([#13519](https://github.com/community-scripts/ProxmoxVE/pull/13519))
## 2026-04-03
### 🆕 New Scripts

View File

@@ -5035,7 +5035,7 @@ NVIDIA_PIN
local nvidia_glx_dir="/usr/lib/nvidia"
if [[ ! -f "${nvidia_glx_dir}/libGL.so.1" ]] && [[ -d /usr/lib/mesa-diverted ]]; then
msg_info "NVIDIA GLX libs missing in container - falling back to mesa"
$STD update-glx --set glx /usr/lib/mesa-diverted 2>/dev/null || true
update-glx --set glx /usr/lib/mesa-diverted &>/dev/null || true
ldconfig 2>/dev/null || true
fi
fi

View File

@@ -111,6 +111,12 @@ function update() {
sed -i '/^KOMODO_PASSKEY=/d' "$COMPOSE_ENV"
fi
# === v2 migration: ensure PERIPHERY_CORE_PUBLIC_KEYS is set ===
if ! grep -q 'PERIPHERY_CORE_PUBLIC_KEYS' "$COMPOSE_ENV"; then
echo '## Use the public key generated by Core.' >> "$COMPOSE_ENV"
echo 'PERIPHERY_CORE_PUBLIC_KEYS=file:/config/keys/core.pub' >> "$COMPOSE_ENV"
fi
# === ensure backups path is set ===
if ! grep -q 'COMPOSE_KOMODO_BACKUPS_PATH=' "$COMPOSE_ENV"; then
echo 'COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups' >>"$COMPOSE_ENV"