Compare commits

...

4 Commits

Author SHA1 Message Date
5672ad6e6f Update tools.func 2025-06-26 17:01:42 +02:00
dfd612480c Update CHANGELOG.md (#5487)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-26 15:27:44 +01:00
64397b16c5 [tools] Fix setup_mongodb function (#5486)
* Fix repo component name

* Update
2025-06-26 16:27:15 +02:00
bd49471ebc Update versions.json (#5483)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-26 14:07:47 +02:00
3 changed files with 52 additions and 33 deletions

View File

@ -16,6 +16,10 @@ All LXC instances created using this repository come pre-installed with Midnight
## 2025-06-26
### 🚀 Updated Scripts
- [tools] Fix setup_mongodb function [@tremor021](https://github.com/tremor021) ([#5486](https://github.com/community-scripts/ProxmoxVE/pull/5486))
## 2025-06-25
### 🚀 Updated Scripts

View File

@ -1,4 +1,29 @@
[
{
"name": "traefik/traefik",
"version": "v3.4.2",
"date": "2025-06-26T10:45:04Z"
},
{
"name": "Dolibarr/dolibarr",
"version": "18.0.7",
"date": "2025-06-26T09:16:33Z"
},
{
"name": "ollama/ollama",
"version": "v0.9.3-rc5",
"date": "2025-06-26T04:47:09Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2056",
"date": "2025-06-26T05:51:50Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.18",
"date": "2025-06-20T04:45:37Z"
},
{
"name": "mongodb/mongo",
"version": "r8.1.2-rc1",
@ -34,21 +59,16 @@
"version": "2025.6.3",
"date": "2025-06-24T13:00:12Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.18",
"date": "2025-06-20T04:45:37Z"
},
{
"name": "ollama/ollama",
"version": "v0.9.4-citest0",
"date": "2025-06-25T17:44:00Z"
},
{
"name": "influxdata/influxdb",
"version": "v3.2.0",
"date": "2025-06-25T17:31:48Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.5",
"date": "2025-05-28T06:49:43Z"
},
{
"name": "wavelog/wavelog",
"version": "2.0.5",
@ -84,11 +104,6 @@
"version": "n8n@1.100.0",
"date": "2025-06-23T12:48:35Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2054",
"date": "2025-06-25T05:54:03Z"
},
{
"name": "moghtech/komodo",
"version": "v1.18.4",
@ -99,11 +114,6 @@
"version": "v2.1.0.120-2.1.0.120_canary_2025-06-24",
"date": "2025-06-24T22:39:50Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.5",
"date": "2025-05-28T06:49:43Z"
},
{
"name": "evcc-io/evcc",
"version": "0.204.5",
@ -754,11 +764,6 @@
"version": "1.2.34",
"date": "2025-05-27T18:18:00Z"
},
{
"name": "traefik/traefik",
"version": "v3.4.1",
"date": "2025-05-27T12:53:58Z"
},
{
"name": "dani-garcia/vaultwarden",
"version": "1.34.1",
@ -829,11 +834,6 @@
"version": "v1.1.1",
"date": "2025-05-17T10:10:36Z"
},
{
"name": "Dolibarr/dolibarr",
"version": "18.0.7",
"date": "2025-05-15T08:24:30Z"
},
{
"name": "Ombi-app/Ombi",
"version": "v4.47.1",

View File

@ -74,6 +74,15 @@ function setup_nodejs() {
fi
export NODE_OPTIONS="--max-old-space-size=4096"
# Ensure valid working directory for npm (avoids uv_cwd error)
if [[ ! -d /opt ]]; then
mkdir -p /opt
fi
cd /opt || {Add commentMore actions
msg_error "Failed to set safe working directory before npm install"
exit 1
}
# Install global Node modules
if [[ -n "$NODE_MODULE" ]]; then
@ -643,8 +652,14 @@ function setup_mongodb() {
DISTRO_CODENAME=$(awk -F= '/^VERSION_CODENAME=/{ print $2 }' /etc/os-release)
case "$DISTRO_ID" in
ubuntu) MONGO_BASE_URL="https://repo.mongodb.org/apt/ubuntu" ;;
debian) MONGO_BASE_URL="https://repo.mongodb.org/apt/debian" ;;
ubuntu)
MONGO_BASE_URL="https://repo.mongodb.org/apt/ubuntu"
REPO_COMPONENT="multiverse"
;;
debian)
MONGO_BASE_URL="https://repo.mongodb.org/apt/debian"
REPO_COMPONENT="main"
;;
*)
msg_error "Unsupported distribution: $DISTRO_ID"
return 1
@ -676,7 +691,7 @@ function setup_mongodb() {
fi
curl -fsSL "https://pgp.mongodb.com/server-${MONGO_VERSION}.asc" | gpg --dearmor -o "/etc/apt/trusted.gpg.d/mongodb-${MONGO_VERSION}.gpg"
echo "deb [signed-by=/etc/apt/trusted.gpg.d/mongodb-${MONGO_VERSION}.gpg] ${MONGO_BASE_URL} ${DISTRO_CODENAME}/mongodb-org/${MONGO_VERSION} main" \
echo "deb [signed-by=/etc/apt/trusted.gpg.d/mongodb-${MONGO_VERSION}.gpg] ${MONGO_BASE_URL} ${DISTRO_CODENAME}/mongodb-org/${MONGO_VERSION} ${REPO_COMPONENT}" \
>"$REPO_LIST"
$STD apt-get update || {