Compare commits

...

8 Commits

Author SHA1 Message Date
GitHub Actions[bot]
226777cb72 Update versions.json 2025-11-03 00:13:33 +00:00
community-scripts-pr-app[bot]
7cff1153a4 Update CHANGELOG.md (#8829)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-02 19:53:30 +00:00
Slaviša Arežina
077c866399 Refactor (#8828) 2025-11-02 20:53:05 +01:00
community-scripts-pr-app[bot]
95c17ad8a4 Update CHANGELOG.md (#8826)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-02 17:52:04 +00:00
Fabian Kröger
39117a1b09 Zigbee2MQTT: fix: pnpm workspace in update (#8825) 2025-11-02 18:51:44 +01:00
community-scripts-pr-app[bot]
01b27f0f3e Update CHANGELOG.md (#8822)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-02 14:40:49 +00:00
Chris
cc5abc8282 MediaManager: fix BASE_PATH error preventing main page load (#8821) 2025-11-02 06:40:25 -08:00
community-scripts-pr-app[bot]
ae517626d9 Update versions.json (#8820)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-02 13:04:53 +01:00
7 changed files with 119 additions and 120 deletions

View File

@@ -12,6 +12,15 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2025-11-02
### 🚀 Updated Scripts
- Zigbee2MQTT: fix: pnpm workspace in update [@fkroeger](https://github.com/fkroeger) ([#8825](https://github.com/community-scripts/ProxmoxVE/pull/8825))
- #### 🐞 Bug Fixes
- Pangolin: Fix install and database migration [@tremor021](https://github.com/tremor021) ([#8828](https://github.com/community-scripts/ProxmoxVE/pull/8828))
- MediaManager: fix BASE_PATH error preventing main page load [@vhsdream](https://github.com/vhsdream) ([#8821](https://github.com/community-scripts/ProxmoxVE/pull/8821))
## 2025-11-01
### 🆕 New Scripts

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env bash
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: vhsdream
@@ -42,14 +42,12 @@ function update_script() {
export FRONTEND_FILES_DIR="${MM_DIR}/web/build"
export BASE_PATH=""
export PUBLIC_VERSION=""
export PUBLIC_API_URL="${BASE_PATH}/api/v1"
export BASE_PATH="${BASE_PATH}/web"
export PUBLIC_API_URL=""
cd /opt/mediamanager/web
$STD npm ci
$STD npm run build
rm -rf "$FRONTEND_FILES_DIR"/build
cp -r build "$FRONTEND_FILES_DIR"
export BASE_PATH=""
export VIRTUAL_ENV="/opt/${MM_DIR}/venv"
cd /opt/mediamanager
rm -rf "$MM_DIR"/{media_manager,alembic*}

View File

@@ -32,35 +32,26 @@ function update_script() {
if check_for_gh_release "pangolin" "fosrl/pangolin"; then
msg_info "Stopping Service"
systemctl stop pangolin
systemctl stop gerbil
msg_info "Service stopped"
msg_info "Creating backup"
tar -czf /opt/pangolin_config_backup.tar.gz -C /opt/pangolin config
msg_ok "Created backup"
fetch_and_deploy_gh_release "pangolin" "fosrl/pangolin" "tarball"
fetch_and_deploy_gh_release "gerbil" "fosrl/gerbil" "singlefile" "latest" "/usr/bin" "gerbil_linux_amd64"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "pangolin" "fosrl/pangolin" "tarball"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "gerbil" "fosrl/gerbil" "singlefile" "latest" "/usr/bin" "gerbil_linux_amd64"
msg_info "Updating Pangolin"
export BUILD=oss
export DATABASE=sqlite
cd /opt/pangolin
$STD npm ci
echo "export * from \"./$DATABASE\";" > server/db/index.ts
echo "export const build = \"$BUILD\" as any;" > server/build.ts
cp tsconfig.oss.json tsconfig.json
$STD npm run next:build
$STD node esbuild.mjs -e server/index.ts -o dist/server.mjs -b $BUILD
$STD node esbuild.mjs -e server/setup/migrationsSqlite.ts -o dist/migrations.mjs
$STD npm run set:sqlite
$STD npm run set:oss
rm -rf server/private
$STD npm run build:sqlite
$STD npm run build:cli
cp -R .next/standalone ./
cat <<EOF >/usr/local/bin/pangctl
#!/bin/sh
cd /opt/pangolin
./dist/cli.mjs "$@"
EOF
chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
chmod +x ./dist/cli.mjs
cp server/db/names.json ./dist/names.json
msg_ok "Updated Pangolin"
@@ -68,6 +59,11 @@ EOF
tar -xzf /opt/pangolin_config_backup.tar.gz -C /opt/pangolin --overwrite
rm -f /opt/pangolin_config_backup.tar.gz
msg_ok "Restored config"
msg_info "Starting Services"
systemctl start pangolin
systemctl start gerbil
msg_ok "Started Services"
msg_ok "Updated successfully!"
fi
exit

View File

@@ -47,7 +47,7 @@ function update_script() {
rm -rf /opt/zigbee2mqtt/data
mv /opt/z2m_backup/data /opt/zigbee2mqtt
cd /opt/zigbee2mqtt
echo "packageImportMethod: hardlink" >>./pnpm-workspace.yaml
grep -q "^packageImportMethod" ./pnpm-workspace.yaml || echo "packageImportMethod: hardlink" >> ./pnpm-workspace.yaml
$STD pnpm install --frozen-lockfile
$STD pnpm build
msg_ok "Updated Zigbee2MQTT"

View File

@@ -1,8 +1,88 @@
[
{
"name": "immich-app/immich",
"version": "v2.2.2",
"date": "2025-11-02T21:56:36Z"
},
{
"name": "maxdorninger/MediaManager",
"version": "v1.9.1",
"date": "2025-11-02T21:14:50Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v1.0.1-beta",
"date": "2025-11-02T21:13:14Z"
},
{
"name": "karlomikus/bar-assistant",
"version": "v5.9.1",
"date": "2025-11-02T20:54:28Z"
},
{
"name": "nicolargo/glances",
"version": "v4.4.0",
"date": "2025-11-02T16:36:14Z"
},
{
"name": "Cleanuparr/Cleanuparr",
"version": "v2.4.2",
"date": "2025-11-02T15:58:46Z"
},
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2025-11-01T20:00:45Z"
},
{
"name": "redis/redis",
"version": "8.2.3",
"date": "2025-11-02T13:46:10Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.243",
"date": "2025-11-02T05:54:42Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.2.9",
"date": "2025-11-02T05:48:39Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.4",
"date": "2025-11-01T19:48:08Z"
},
{
"name": "theonedev/onedev",
"version": "v13.0.10",
"date": "2025-11-02T02:47:45Z"
},
{
"name": "inventree/InvenTree",
"version": "1.0.9",
"date": "2025-11-01T21:48:35Z"
"version": "1.1.0",
"date": "2025-11-02T02:19:25Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.79.1.rc.1",
"date": "2025-11-02T01:31:48Z"
},
{
"name": "9001/copyparty",
"version": "v1.19.20",
"date": "2025-11-02T01:27:38Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-11-02T00:27:04Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{
"name": "Koenkk/zigbee2mqtt",
@@ -14,20 +94,15 @@
"version": "v0.15.3",
"date": "2025-11-01T20:13:33Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.4.4",
"date": "2025-11-01T19:48:08Z"
},
{
"name": "Paymenter/Paymenter",
"version": "v1.4.1",
"date": "2025-11-01T19:38:55Z"
},
{
"name": "BerriAI/litellm",
"version": "v1.79.1-nightly",
"date": "2025-11-01T19:37:32Z"
"name": "keycloak/keycloak",
"version": "26.4.2",
"date": "2025-10-23T06:59:32Z"
},
{
"name": "motioneye-project/motioneye",
@@ -49,31 +124,11 @@
"version": "fumadocs-ui@16.0.7",
"date": "2025-11-01T09:43:37Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.24.241",
"date": "2025-11-01T05:57:29Z"
},
{
"name": "cross-seed/cross-seed",
"version": "v6.13.5",
"date": "2025-09-27T01:10:59Z"
},
{
"name": "theonedev/onedev",
"version": "v13.0.10",
"date": "2025-11-01T02:08:01Z"
},
{
"name": "jeedom/core",
"version": "4.4.20",
"date": "2025-11-01T00:27:06Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v4.0.1",
"date": "2025-10-15T16:53:55Z"
},
{
"name": "ollama/ollama",
"version": "v0.12.9",
@@ -84,11 +139,6 @@
"version": "v1.90.6",
"date": "2025-10-31T22:24:04Z"
},
{
"name": "runtipi/runtipi",
"version": "nightly",
"date": "2025-10-31T21:55:26Z"
},
{
"name": "evcc-io/evcc",
"version": "0.209.6",
@@ -104,11 +154,6 @@
"version": "v3.4.0",
"date": "2025-10-31T18:50:18Z"
},
{
"name": "immich-app/immich",
"version": "v2.2.1",
"date": "2025-10-31T18:34:59Z"
},
{
"name": "YunoHost/yunohost",
"version": "debian/12.1.33",
@@ -124,16 +169,6 @@
"version": "v0.62.12",
"date": "2025-10-31T17:30:55Z"
},
{
"name": "keycloak/keycloak",
"version": "26.4.2",
"date": "2025-10-23T06:59:32Z"
},
{
"name": "Cleanuparr/Cleanuparr",
"version": "v2.4.1",
"date": "2025-10-31T15:50:26Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.6.2",
@@ -194,11 +229,6 @@
"version": "v1.0.24",
"date": "2025-10-30T19:04:42Z"
},
{
"name": "maxdorninger/MediaManager",
"version": "v1.9.0",
"date": "2025-10-30T18:52:50Z"
},
{
"name": "mongodb/mongo",
"version": "r7.0.26",
@@ -284,11 +314,6 @@
"version": "v0.38.2",
"date": "2025-10-30T02:44:09Z"
},
{
"name": "gtsteffaniak/filebrowser",
"version": "v1.0.0-beta",
"date": "2025-10-30T00:09:23Z"
},
{
"name": "Sonarr/Sonarr",
"version": "v4.0.15.2941",
@@ -454,11 +479,6 @@
"version": "v0.27.0",
"date": "2025-10-27T11:16:35Z"
},
{
"name": "redis/redis",
"version": "8.4-rc1-int",
"date": "2025-10-27T09:57:35Z"
},
{
"name": "emqx/emqx",
"version": "e6.0.1-alpha.2",
@@ -504,11 +524,6 @@
"version": "v2.1.5.5216",
"date": "2025-10-25T19:41:59Z"
},
{
"name": "9001/copyparty",
"version": "v1.19.19",
"date": "2025-10-25T19:39:58Z"
},
{
"name": "verdaccio/verdaccio",
"version": "v6.2.1",
@@ -709,11 +724,6 @@
"version": "v0.6.34",
"date": "2025-10-16T16:55:58Z"
},
{
"name": "tobychui/zoraxy",
"version": "v3.2.8",
"date": "2025-10-16T14:21:48Z"
},
{
"name": "cloudreve/cloudreve",
"version": "4.9.2",
@@ -724,11 +734,6 @@
"version": "v4.47.1",
"date": "2025-01-05T21:14:23Z"
},
{
"name": "karlomikus/bar-assistant",
"version": "v5.9.0",
"date": "2025-10-15T18:27:56Z"
},
{
"name": "linkwarden/linkwarden",
"version": "v2.13.1",
@@ -844,11 +849,6 @@
"version": "v2.30.0",
"date": "2025-10-08T16:03:49Z"
},
{
"name": "nicolargo/glances",
"version": "v4.3.3",
"date": "2025-10-08T15:45:21Z"
},
{
"name": "FlowiseAI/Flowise",
"version": "flowise@3.0.8",

View File

@@ -47,14 +47,13 @@ export CONFIG_DIR="${MM_DIR}/config"
export FRONTEND_FILES_DIR="${MM_DIR}/web/build"
export BASE_PATH=""
export PUBLIC_VERSION=""
export PUBLIC_API_URL="${BASE_PATH}/api/v1"
export BASE_PATH="${BASE_PATH}/web"
export PUBLIC_API_URL=""
export BASE_PATH=""
cd /opt/mediamanager/web
$STD npm ci
$STD npm run build
mkdir -p {"$MM_DIR"/web,"$MEDIA_DIR","$CONFIG_DIR"}
cp -r build "$FRONTEND_FILES_DIR"
export BASE_PATH=""
export VIRTUAL_ENV="${MM_DIR}/venv"
cd /opt/mediamanager
cp -r {media_manager,alembic*} "$MM_DIR"

View File

@@ -26,17 +26,12 @@ fetch_and_deploy_gh_release "gerbil" "fosrl/gerbil" "singlefile" "latest" "/usr/
msg_info "Setup Pangolin"
IP_ADDR=$(hostname -I | awk '{print $1}')
SECRET_KEY=$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c 32)
export BUILD=oss
export DATABASE=sqlite
cd /opt/pangolin
$STD npm ci
echo "export * from \"./$DATABASE\";" > server/db/index.ts
echo "export const build = \"$BUILD\" as any;" > server/build.ts
cp tsconfig.oss.json tsconfig.json
mkdir -p dist
$STD npm run next:build
$STD node esbuild.mjs -e server/index.ts -o dist/server.mjs -b $BUILD
$STD node esbuild.mjs -e server/setup/migrationsSqlite.ts -o dist/migrations.mjs
$STD npm run set:sqlite
$STD npm run set:oss
rm -rf server/private
$STD npm run build:sqlite
$STD npm run build:cli
cp -R .next/standalone ./
@@ -98,8 +93,10 @@ After=network.target
[Service]
Type=simple
User=root
Environment=NODE_ENV=production
Environment=ENVIRONMENT=prod
WorkingDirectory=/opt/pangolin
ExecStart=/usr/bin/npm start
ExecStart=/usr/bin/node --enable-source-maps dist/server.mjs
Restart=always
RestartSec=10