Compare commits

...

4 Commits

Author SHA1 Message Date
CanbiZ (MickLesk) a8956d5fc4 fix(komodo): ensure openssl is available on Alpine before generating secrets 2026-04-30 14:11:21 +02:00
CanbiZ (MickLesk) c85d9d5830 fix(alpine-docker): install openssl as core dependency 2026-04-30 14:10:11 +02:00
community-scripts-pr-app[bot] a2daf7347f Update CHANGELOG.md (#14132)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-30 11:35:18 +00:00
Slaviša Arežina 564aaf5a9c tools.func: Manage minor versions for MongoDB 8.x (#14131) 2026-04-30 13:34:45 +02:00
4 changed files with 33 additions and 4 deletions
+6
View File
@@ -454,6 +454,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- Neko ([#14121](https://github.com/community-scripts/ProxmoxVE/pull/14121))
### 💾 Core
- #### 🔧 Refactor
- tools.func: Manage minor versions for MongoDB 8.x [@tremor021](https://github.com/tremor021) ([#14131](https://github.com/community-scripts/ProxmoxVE/pull/14131))
## 2026-04-29
### 🚀 Updated Scripts
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apk add tzdata
$STD apk add tzdata openssl
msg_ok "Installed Dependencies"
msg_info "Installing Docker"
+6 -3
View File
@@ -5964,14 +5964,14 @@ function setup_mariadb_db() {
}
# ------------------------------------------------------------------------------
# Installs or updates MongoDB to specified major version.
# Installs or updates MongoDB to specified version.
#
# Description:
# - Preserves data across installations
# - Adds official MongoDB repo
#
# Variables:
# MONGO_VERSION - MongoDB major version to install (e.g. 7.0, 8.0)
# MONGO_VERSION - MongoDB version to install (e.g. 7.0, 8.2)
# ------------------------------------------------------------------------------
function setup_mongodb() {
@@ -6044,8 +6044,11 @@ function setup_mongodb() {
}
# Setup repository
# MongoDB 8.x versions beyond 8.0 reuse the server-8.0.asc PGP key
local MONGO_KEY_VERSION="${MONGO_VERSION}"
[[ "${MONGO_VERSION}" == 8.[1-9]* ]] && MONGO_KEY_VERSION="8.0"
manage_tool_repository "mongodb" "$MONGO_VERSION" "$MONGO_BASE_URL" \
"https://www.mongodb.org/static/pgp/server-${MONGO_VERSION}.asc" || {
"https://www.mongodb.org/static/pgp/server-${MONGO_KEY_VERSION}.asc" || {
msg_error "Failed to setup MongoDB repository"
return 100
}
+20
View File
@@ -151,6 +151,23 @@ function check_proxmox_host() {
# ==============================================================================
# CHECK / INSTALL DOCKER
# ==============================================================================
function ensure_openssl() {
if command -v openssl &>/dev/null; then
return
fi
msg_info "Installing openssl"
if [[ -f /etc/alpine-release ]]; then
$STD apk add openssl
elif command -v apt-get &>/dev/null; then
$STD apt-get update
$STD apt-get install -y openssl
else
msg_error "openssl is required but could not be installed automatically."
exit 10
fi
msg_ok "Installed openssl"
}
function check_or_install_docker() {
if command -v docker &>/dev/null; then
msg_ok "Docker $(docker --version | cut -d' ' -f3 | tr -d ',') is available"
@@ -160,6 +177,7 @@ function check_or_install_docker() {
msg_error "Docker Compose plugin is not available. Please install it."
exit 10
fi
ensure_openssl
return
fi
@@ -183,6 +201,8 @@ function check_or_install_docker() {
$STD sh <(curl -fsSL https://get.docker.com)
fi
msg_ok "Installed Docker"
ensure_openssl
}
# ==============================================================================