Compare commits

..

4 Commits

Author SHA1 Message Date
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
community-scripts-pr-app[bot]
2edb231375 Update CHANGELOG.md (#14129)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-30 09:49:34 +00:00
push-app-to-main[bot]
e395e0d8ff Neko (#14121)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-04-30 11:48:58 +02:00
2 changed files with 18 additions and 3 deletions

View File

@@ -448,6 +448,18 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-04-30
### 🆕 New Scripts
- 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

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
}