Compare commits

...

7 Commits

Author SHA1 Message Date
github-actions[bot]
afab2fcc32 Update CHANGELOG.md 2025-11-03 00:13:57 +00:00
community-scripts-pr-app[bot]
fa99d9c562 Update versions.json (#8831)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-03 01:13:42 +01: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
5 changed files with 70 additions and 66 deletions

View File

@@ -10,8 +10,19 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-11-03
## 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

@@ -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,43 @@
[
{
"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.0.5",
"date": "2025-11-02T07:49:17Z"
"version": "8.2.3",
"date": "2025-11-02T13:46:10Z"
},
{
"name": "Jackett/Jackett",
@@ -22,7 +57,7 @@
{
"name": "theonedev/onedev",
"version": "v13.0.10",
"date": "2025-11-01T02:08:01Z"
"date": "2025-11-02T02:47:45Z"
},
{
"name": "inventree/InvenTree",
@@ -59,11 +94,6 @@
"version": "v0.15.3",
"date": "2025-11-01T20:13:33Z"
},
{
"name": "runtipi/runtipi",
"version": "v4.5.5",
"date": "2025-10-28T21:53:07Z"
},
{
"name": "Paymenter/Paymenter",
"version": "v1.4.1",
@@ -124,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",
@@ -144,11 +169,6 @@
"version": "v0.62.12",
"date": "2025-10-31T17:30:55Z"
},
{
"name": "Cleanuparr/Cleanuparr",
"version": "v2.4.1",
"date": "2025-10-31T15:50:26Z"
},
{
"name": "zitadel/zitadel",
"version": "v4.6.2",
@@ -209,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",
@@ -299,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",
@@ -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

@@ -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