Compare commits

..

1 Commits

Author SHA1 Message Date
CanbiZ
5b213a4086 Refactor agent service control in zabbix.sh
Replaces conditional logic for stopping and starting Zabbix agent services with a variable ($AGENT_SERVICE), simplifying service management.
2025-11-05 15:01:38 +01:00
10 changed files with 126 additions and 178 deletions

View File

@@ -10,28 +10,10 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-11-06
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- npm: add Debian version check to update script [@MickLesk](https://github.com/MickLesk) ([#8901](https://github.com/community-scripts/ProxmoxVE/pull/8901))
- #### ✨ New Features
- MongoDB: install script now use setup_mongodb [@MickLesk](https://github.com/MickLesk) ([#8897](https://github.com/community-scripts/ProxmoxVE/pull/8897))
## 2025-11-05
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Immich: Pin version to 2.2.3 [@vhsdream](https://github.com/vhsdream) ([#8861](https://github.com/community-scripts/ProxmoxVE/pull/8861))
- Jotty: increase RAM to 4GB [@vhsdream](https://github.com/vhsdream) ([#8887](https://github.com/community-scripts/ProxmoxVE/pull/8887))
- Zabbix: fix agent service recognition in update [@MickLesk](https://github.com/MickLesk) ([#8881](https://github.com/community-scripts/ProxmoxVE/pull/8881))
- #### 💥 Breaking Changes
- fix: npm: refactor for v2.13.x [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8870](https://github.com/community-scripts/ProxmoxVE/pull/8870))
@@ -45,7 +27,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- #### 📝 Script Information
- npm: Increase RAM and HDD, update Certbot notes [@MickLesk](https://github.com/MickLesk) ([#8882](https://github.com/community-scripts/ProxmoxVE/pull/8882))
- Update config_path in donetick.json [@fyxtro](https://github.com/fyxtro) ([#8872](https://github.com/community-scripts/ProxmoxVE/pull/8872))
## 2025-11-04

View File

@@ -93,7 +93,7 @@ EOF
msg_ok "Image-processing libraries up to date"
fi
RELEASE="2.2.3"
RELEASE="2.2.2"
if check_for_gh_release "immich" "immich-app/immich" "${RELEASE}"; then
msg_info "Stopping Services"
systemctl stop immich-web

View File

@@ -8,7 +8,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
APP="jotty"
var_tags="${var_tags:-tasks;notes}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-4096}"
var_ram="${var_ram:-3072}"
var_disk="${var_disk:-6}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"

View File

@@ -28,12 +28,6 @@ function update_script() {
exit
fi
if [[ $(grep -E '^VERSION_ID=' /etc/os-release) == *"12"* ]]; then
msg_error "Wrong Debian version detected!"
msg_error "Please create a snapshot first. You must upgrade your LXC to Debian Trixie before updating. Visit: https://github.com/community-scripts/ProxmoxVE/discussions/7489"
exit
fi
if command -v node &>/dev/null; then
CURRENT_NODE_VERSION=$(node --version | cut -d'v' -f2 | cut -d'.' -f1)
if [[ "$CURRENT_NODE_VERSION" != "22" ]]; then
@@ -150,7 +144,7 @@ EOF
cd /app
$STD yarn install --network-timeout 600000
msg_ok "Initialized Backend"
msg_info "Updating Certbot"
[ -f /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg ] && rm -f /etc/apt/trusted.gpg.d/openresty-archive-keyring.gpg
[ -f /etc/apt/sources.list.d/openresty.list ] && rm -f /etc/apt/sources.list.d/openresty.list

View File

@@ -20,7 +20,7 @@
"script": "ct/jotty.sh",
"resources": {
"cpu": 2,
"ram": 4096,
"ram": 3072,
"hdd": 6,
"os": "debian",
"version": "13"

View File

@@ -20,8 +20,8 @@
"script": "ct/nginxproxymanager.sh",
"resources": {
"cpu": 2,
"ram": 2048,
"hdd": 8,
"ram": 1024,
"hdd": 4,
"os": "debian",
"version": "13"
}
@@ -33,8 +33,12 @@
},
"notes": [
{
"text": "You can install the specific one certbot you prefer, or you can Running /app/scripts/install-certbot-plugins within the Nginx Proxy Manager (NPM) LXC shell will install many common plugins. Important: This script does not install all Certbot plugins, as some require additional, external system dependencies (like specific packages for certain DNS providers). These external dependencies must be manually installed within the LXC container before you can successfully install and use the corresponding Certbot plugin. Consult the plugin's documentation for required packages.",
"type": "info"
"text": "Since there are hundreds of Certbot instances, it's necessary to install the specific Certbot of your preference. Running `/app/scripts/install-certbot-plugins` within the nginxproxymanager LXC shell will install many additional plugins.",
"type": "warning"
},
{
"text": "WARNING: Installation sources scripts outside of Community Scripts repo. Please check the source before installing.",
"type": "warning"
}
]
}

View File

@@ -1,104 +1,14 @@
[
{
"name": "transmission/transmission",
"version": "4.1.0-beta.3",
"date": "2025-11-05T23:54:17Z"
},
{
"name": "ollama/ollama",
"version": "v0.12.10-rc0",
"date": "2025-11-05T19:58:03Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.16.43",
"date": "2025-11-05T21:08:38Z"
},
{
"name": "neo4j/neo4j",
"version": "5.26.16",
"date": "2025-11-05T20:41:40Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.79.1.dev6",
"date": "2025-11-05T19:25:05Z"
},
{
"name": "home-assistant/core",
"version": "2025.11.0",
"date": "2025-11-05T19:23:12Z"
},
{
"name": "apache/tomcat",
"version": "11.0.14",
"date": "2025-11-05T19:14:38Z"
},
{
"name": "leiweibau/Pi.Alert",
"version": "v2025-11-05",
"date": "2025-11-05T18:08:26Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.118.2",
"date": "2025-11-05T18:07:04Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.5",
"date": "2025-10-06T15:25:17Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w45-4.14.1",
"date": "2025-11-05T16:56:57Z"
},
{
"name": "mattermost/mattermost",
"version": "v10.11.6",
"date": "2025-11-04T09:43:16Z"
},
{
"name": "javedh-dev/tracktor",
"version": "0.5.1",
"date": "2025-11-05T15:51:02Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.6.4",
"date": "2025-11-05T15:57:00Z"
},
{
"name": "chrisvel/tududi",
"version": "v0.85.1",
"date": "2025-10-31T10:45:26Z"
},
{
"name": "Graylog2/graylog2-server",
"version": "6.2.9",
"date": "2025-11-05T13:55:39Z"
},
{
"name": "immich-app/immich",
"version": "v2.2.3",
"date": "2025-11-05T13:47:03Z"
},
{
"name": "duplicati/duplicati",
"version": "v2.2.0.100-2.2.0.100_canary_2025-11-05",
"date": "2025-11-05T13:01:37Z"
},
{
"name": "azukaar/Cosmos-Server",
"version": "v0.18.4",
"date": "2025-04-05T19:12:57Z"
},
{
"name": "getumbrel/umbrel",
"version": "1.5.0",
"date": "2025-11-05T11:10:20Z"
},
{
"name": "home-assistant/core",
"version": "2025.10.4",
"date": "2025-10-24T20:03:03Z"
},
{
"name": "emqx/emqx",
"version": "e5.10.2-alpha.1",
@@ -109,6 +19,11 @@
"version": "11.0.2",
"date": "2025-11-05T09:55:05Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.6.3",
"date": "2025-11-05T09:16:08Z"
},
{
"name": "nicolargo/glances",
"version": "v4.4.1",
@@ -216,7 +131,7 @@
},
{
"name": "meilisearch/meilisearch",
"version": "prototype-v1.24.0.s3-snapshots-4",
"version": "prototype-v1.24.0-s3-snapshots-4",
"date": "2025-11-04T16:46:01Z"
},
{
@@ -244,6 +159,11 @@
"version": "16.3",
"date": "2025-11-04T12:28:47Z"
},
{
"name": "mattermost/mattermost",
"version": "v10.11.6",
"date": "2025-11-04T09:43:16Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.11",
@@ -264,6 +184,11 @@
"version": "v6.4.4",
"date": "2025-11-01T19:48:08Z"
},
{
"name": "immich-app/immich",
"version": "v2.2.3",
"date": "2025-11-04T03:14:34Z"
},
{
"name": "esphome/esphome",
"version": "2025.10.4",
@@ -289,11 +214,26 @@
"version": "1.1.2",
"date": "2025-11-03T23:16:29Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.79.1.rc.2",
"date": "2025-11-03T23:14:45Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v1.0.0-stable",
"date": "2025-11-03T22:24:23Z"
},
{
"name": "azukaar/Cosmos-Server",
"version": "v0.18.4",
"date": "2025-04-05T19:12:57Z"
},
{
"name": "semaphoreui/semaphore",
"version": "v2.16.37",
"date": "2025-10-30T07:54:49Z"
},
{
"name": "jupyter/notebook",
"version": "@jupyter-notebook/ui-components@7.5.0-rc.0",
@@ -324,6 +264,16 @@
"version": "debian/12.1.34",
"date": "2025-11-03T16:42:07Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.117.3",
"date": "2025-10-28T12:00:42Z"
},
{
"name": "Graylog2/graylog2-server",
"version": "7.0.0",
"date": "2025-11-03T12:22:00Z"
},
{
"name": "Paymenter/Paymenter",
"version": "v1.4.2",
@@ -384,6 +334,11 @@
"version": "3.3.6",
"date": "2025-11-01T10:41:15Z"
},
{
"name": "ollama/ollama",
"version": "v0.12.9",
"date": "2025-10-31T23:33:13Z"
},
{
"name": "tailscale/tailscale",
"version": "v1.90.6",
@@ -399,11 +354,21 @@
"version": "v3.4.0",
"date": "2025-10-31T18:50:18Z"
},
{
"name": "leiweibau/Pi.Alert",
"version": "v2025-10-31",
"date": "2025-10-31T17:57:06Z"
},
{
"name": "pommee/goaway",
"version": "v0.62.12",
"date": "2025-10-31T17:30:55Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "testing",
"date": "2025-10-30T14:33:36Z"
},
{
"name": "zabbix/zabbix",
"version": "7.4.5",
@@ -419,6 +384,16 @@
"version": "planka-1.1.1",
"date": "2025-10-31T12:38:47Z"
},
{
"name": "chrisvel/tududi",
"version": "v0.85.1",
"date": "2025-10-31T10:45:26Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w44-4.14.1",
"date": "2025-10-29T11:28:37Z"
},
{
"name": "garethgeorge/backrest",
"version": "v1.10.1",
@@ -464,6 +439,11 @@
"version": "v5.4",
"date": "2025-10-30T14:25:23Z"
},
{
"name": "neo4j/neo4j",
"version": "5.26.15",
"date": "2025-10-30T11:17:14Z"
},
{
"name": "docker/compose",
"version": "v2.40.3",
@@ -554,6 +534,11 @@
"version": "v4.4.5",
"date": "2025-10-28T18:35:47Z"
},
{
"name": "javedh-dev/tracktor",
"version": "0.4.4",
"date": "2025-10-28T17:39:14Z"
},
{
"name": "pi-hole/pi-hole",
"version": "v6.2.2",
@@ -659,6 +644,11 @@
"version": "v0.8.8.3",
"date": "2025-10-23T12:31:49Z"
},
{
"name": "duplicati/duplicati",
"version": "v2.2.0.0_stable_2025-10-23",
"date": "2025-10-23T11:48:25Z"
},
{
"name": "rcourtman/Pulse",
"version": "issue-596",
@@ -874,6 +864,11 @@
"version": "v1.17.1",
"date": "2025-10-10T16:12:41Z"
},
{
"name": "apache/tomcat",
"version": "10.1.48",
"date": "2025-10-10T14:46:53Z"
},
{
"name": "projectsend/projectsend",
"version": "r1945",
@@ -1419,6 +1414,11 @@
"version": "v0.22.1",
"date": "2025-03-18T21:01:22Z"
},
{
"name": "transmission/transmission",
"version": "4.0.1-beta.1",
"date": "2024-12-13T00:16:24Z"
},
{
"name": "excalidraw/excalidraw",
"version": "v0.18.0",

View File

@@ -288,7 +288,7 @@ GEO_DIR="${INSTALL_DIR}/geodata"
mkdir -p "$INSTALL_DIR"
mkdir -p {"${APP_DIR}","${UPLOAD_DIR}","${GEO_DIR}","${INSTALL_DIR}"/cache}
fetch_and_deploy_gh_release "immich" "immich-app/immich" "tarball" "v2.2.3" "$SRC_DIR"
fetch_and_deploy_gh_release "immich" "immich-app/immich" "tarball" "v2.2.2" "$SRC_DIR"
msg_info "Installing ${APPLICATION} (patience)"

View File

@@ -15,12 +15,25 @@ update_os
read -p "${TAB3}Do you want to install MongoDB 8.0 instead of 7.0? [y/N]: " install_mongodb_8
if [[ "$install_mongodb_8" =~ ^[Yy]$ ]]; then
MONGO_VERSION="8.0" setup_mongodb
MONGODB_VERSION="8.0"
else
MONGO_VERSION="7.0" setup_mongodb
MONGODB_VERSION="7.0"
fi
msg_info "Installing MongoDB $MONGODB_VERSION"
curl -fsSL "https://www.mongodb.org/static/pgp/server-${MONGODB_VERSION}.asc" | gpg --dearmor >/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg
cat <<EOF >/etc/apt/sources.list.d/mongodb-org-${MONGODB_VERSION}.sources
Types: deb
URIs: http://repo.mongodb.org/apt/debian
Suites: $(grep '^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2)/mongodb-org/${MONGODB_VERSION}
Components: main
Signed-By: /usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg
EOF
$STD apt update
$STD apt install -y mongodb-org
sed -i 's/bindIp: 127.0.0.1/bindIp: 0.0.0.0/' /etc/mongod.conf
msg_ok "Installed MongoDB $MONGO_VERSION"
systemctl enable -q --now mongod
msg_ok "Installed MongoDB $MONGODB_VERSION"
motd_ssh
customize

View File

@@ -450,51 +450,7 @@ manage_tool_repository() {
# Setup repository
local distro_codename
distro_codename=$(awk -F= '/^VERSION_CODENAME=/{print $2}' /etc/os-release)
# Suite mapping with fallback for newer releases not yet supported by upstream
if [[ "$distro_id" == "debian" ]]; then
case "$distro_codename" in
trixie | forky | sid)
# Testing/unstable releases fallback to latest stable suite
suite="bookworm"
;;
bookworm)
suite="bookworm"
;;
bullseye)
suite="bullseye"
;;
*)
# Unknown release: fallback to latest stable suite
msg_warn "Unknown Debian release '${distro_codename}', using bookworm"
suite="bookworm"
;;
esac
elif [[ "$distro_id" == "ubuntu" ]]; then
case "$distro_codename" in
oracular | plucky)
# Newer releases fallback to latest LTS
suite="noble"
;;
noble)
suite="noble"
;;
jammy)
suite="jammy"
;;
focal)
suite="focal"
;;
*)
# Unknown release: fallback to latest LTS
msg_warn "Unknown Ubuntu release '${distro_codename}', using noble"
suite="noble"
;;
esac
else
# For other distros, try generic fallback
suite=$(get_fallback_suite "$distro_id" "$distro_codename" "$repo_url")
fi
suite=$(get_fallback_suite "$distro_id" "$distro_codename" "$repo_url")
repo_component="main"
[[ "$distro_id" == "ubuntu" ]] && repo_component="multiverse"