mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-04 18:32:51 +00:00
Compare commits
14 Commits
add-script
...
226777cb72
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
226777cb72 | ||
|
|
7cff1153a4 | ||
|
|
077c866399 | ||
|
|
95c17ad8a4 | ||
|
|
39117a1b09 | ||
|
|
01b27f0f3e | ||
|
|
cc5abc8282 | ||
|
|
ae517626d9 | ||
|
|
2ff63f561a | ||
|
|
afd693e65a | ||
|
|
6a4909bee3 | ||
|
|
84b0acc185 | ||
|
|
1e16f20951 | ||
|
|
f36c8d525a |
16
CHANGELOG.md
16
CHANGELOG.md
@@ -10,12 +10,28 @@
|
|||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
|
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
|
||||||
|
|
||||||
|
## 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
|
## 2025-11-01
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Pangolin ([#8809](https://github.com/community-scripts/ProxmoxVE/pull/8809))
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- VictoriaMetrics: Fix release fetching for Victori Logs add-on [@tremor021](https://github.com/tremor021) ([#8807](https://github.com/community-scripts/ProxmoxVE/pull/8807))
|
||||||
- Immich: Pin version to 2.2.1 [@vhsdream](https://github.com/vhsdream) ([#8800](https://github.com/community-scripts/ProxmoxVE/pull/8800))
|
- Immich: Pin version to 2.2.1 [@vhsdream](https://github.com/vhsdream) ([#8800](https://github.com/community-scripts/ProxmoxVE/pull/8800))
|
||||||
- jellyfin: fix: initial update [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8784](https://github.com/community-scripts/ProxmoxVE/pull/8784))
|
- jellyfin: fix: initial update [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8784](https://github.com/community-scripts/ProxmoxVE/pull/8784))
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
# Author: vhsdream
|
# Author: vhsdream
|
||||||
@@ -42,14 +42,12 @@ function update_script() {
|
|||||||
export FRONTEND_FILES_DIR="${MM_DIR}/web/build"
|
export FRONTEND_FILES_DIR="${MM_DIR}/web/build"
|
||||||
export BASE_PATH=""
|
export BASE_PATH=""
|
||||||
export PUBLIC_VERSION=""
|
export PUBLIC_VERSION=""
|
||||||
export PUBLIC_API_URL="${BASE_PATH}/api/v1"
|
export PUBLIC_API_URL=""
|
||||||
export BASE_PATH="${BASE_PATH}/web"
|
|
||||||
cd /opt/mediamanager/web
|
cd /opt/mediamanager/web
|
||||||
$STD npm ci
|
$STD npm ci
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
rm -rf "$FRONTEND_FILES_DIR"/build
|
rm -rf "$FRONTEND_FILES_DIR"/build
|
||||||
cp -r build "$FRONTEND_FILES_DIR"
|
cp -r build "$FRONTEND_FILES_DIR"
|
||||||
export BASE_PATH=""
|
|
||||||
export VIRTUAL_ENV="/opt/${MM_DIR}/venv"
|
export VIRTUAL_ENV="/opt/${MM_DIR}/venv"
|
||||||
cd /opt/mediamanager
|
cd /opt/mediamanager
|
||||||
rm -rf "$MM_DIR"/{media_manager,alembic*}
|
rm -rf "$MM_DIR"/{media_manager,alembic*}
|
||||||
|
|||||||
@@ -32,35 +32,26 @@ function update_script() {
|
|||||||
if check_for_gh_release "pangolin" "fosrl/pangolin"; then
|
if check_for_gh_release "pangolin" "fosrl/pangolin"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop pangolin
|
systemctl stop pangolin
|
||||||
|
systemctl stop gerbil
|
||||||
msg_info "Service stopped"
|
msg_info "Service stopped"
|
||||||
|
|
||||||
msg_info "Creating backup"
|
msg_info "Creating backup"
|
||||||
tar -czf /opt/pangolin_config_backup.tar.gz -C /opt/pangolin config
|
tar -czf /opt/pangolin_config_backup.tar.gz -C /opt/pangolin config
|
||||||
msg_ok "Created backup"
|
msg_ok "Created backup"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "pangolin" "fosrl/pangolin" "tarball"
|
CLEAN_INSTALL=1 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 "gerbil" "fosrl/gerbil" "singlefile" "latest" "/usr/bin" "gerbil_linux_amd64"
|
||||||
|
|
||||||
msg_info "Updating Pangolin"
|
msg_info "Updating Pangolin"
|
||||||
export BUILD=oss
|
|
||||||
export DATABASE=sqlite
|
|
||||||
cd /opt/pangolin
|
cd /opt/pangolin
|
||||||
$STD npm ci
|
$STD npm ci
|
||||||
echo "export * from \"./$DATABASE\";" > server/db/index.ts
|
$STD npm run set:sqlite
|
||||||
echo "export const build = \"$BUILD\" as any;" > server/build.ts
|
$STD npm run set:oss
|
||||||
cp tsconfig.oss.json tsconfig.json
|
rm -rf server/private
|
||||||
$STD npm run next:build
|
$STD npm run build:sqlite
|
||||||
$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 build:cli
|
$STD npm run build:cli
|
||||||
cp -R .next/standalone ./
|
cp -R .next/standalone ./
|
||||||
|
chmod +x ./dist/cli.mjs
|
||||||
cat <<EOF >/usr/local/bin/pangctl
|
|
||||||
#!/bin/sh
|
|
||||||
cd /opt/pangolin
|
|
||||||
./dist/cli.mjs "$@"
|
|
||||||
EOF
|
|
||||||
chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
|
|
||||||
cp server/db/names.json ./dist/names.json
|
cp server/db/names.json ./dist/names.json
|
||||||
msg_ok "Updated Pangolin"
|
msg_ok "Updated Pangolin"
|
||||||
|
|
||||||
@@ -68,6 +59,11 @@ EOF
|
|||||||
tar -xzf /opt/pangolin_config_backup.tar.gz -C /opt/pangolin --overwrite
|
tar -xzf /opt/pangolin_config_backup.tar.gz -C /opt/pangolin --overwrite
|
||||||
rm -f /opt/pangolin_config_backup.tar.gz
|
rm -f /opt/pangolin_config_backup.tar.gz
|
||||||
msg_ok "Restored config"
|
msg_ok "Restored config"
|
||||||
|
|
||||||
|
msg_info "Starting Services"
|
||||||
|
systemctl start pangolin
|
||||||
|
systemctl start gerbil
|
||||||
|
msg_ok "Started Services"
|
||||||
msg_ok "Updated successfully!"
|
msg_ok "Updated successfully!"
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
|
|||||||
@@ -45,8 +45,15 @@ function update_script() {
|
|||||||
fetch_and_deploy_gh_release "vmutils" "VictoriaMetrics/VictoriaMetrics" "prebuild" "latest" "/opt/victoriametrics" "$vmutils_filename"
|
fetch_and_deploy_gh_release "vmutils" "VictoriaMetrics/VictoriaMetrics" "prebuild" "latest" "/opt/victoriametrics" "$vmutils_filename"
|
||||||
|
|
||||||
if [[ -f /etc/systemd/system/victoriametrics-logs.service ]]; then
|
if [[ -f /etc/systemd/system/victoriametrics-logs.service ]]; then
|
||||||
fetch_and_deploy_gh_release "victorialogs" "VictoriaMetrics/VictoriaLogs" "prebuild" "latest" "/opt/victoriametrics" "victoria-logs-linux-amd64*.tar.gz"
|
vmlogs_filename=$(curl -fsSL "https://api.github.com/repos/VictoriaMetrics/VictoriaLogs/releases/latest" |
|
||||||
fetch_and_deploy_gh_release "vlutils" "VictoriaMetrics/VictoriaLogs" "prebuild" "latest" "/opt/victoriametrics" "vlutils-linux-amd64*.tar.gz"
|
jq -r '.assets[].name' |
|
||||||
|
grep -E '^victoria-logs-linux-amd64-v[0-9.]+\.tar\.gz$')
|
||||||
|
vlutils_filename=$(curl -fsSL "https://api.github.com/repos/VictoriaMetrics/VictoriaLogs/releases/latest" |
|
||||||
|
jq -r '.assets[].name' |
|
||||||
|
grep -E '^vlutils-linux-amd64-v[0-9.]+\.tar\.gz$')
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "victorialogs" "VictoriaMetrics/VictoriaLogs" "prebuild" "latest" "/opt/victoriametrics" "$vmlogs_filename"
|
||||||
|
fetch_and_deploy_gh_release "vlutils" "VictoriaMetrics/VictoriaLogs" "prebuild" "latest" "/opt/victoriametrics" "$vlutils_filename"
|
||||||
fi
|
fi
|
||||||
chmod +x /opt/victoriametrics/*
|
chmod +x /opt/victoriametrics/*
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ function update_script() {
|
|||||||
rm -rf /opt/zigbee2mqtt/data
|
rm -rf /opt/zigbee2mqtt/data
|
||||||
mv /opt/z2m_backup/data /opt/zigbee2mqtt
|
mv /opt/z2m_backup/data /opt/zigbee2mqtt
|
||||||
cd /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 install --frozen-lockfile
|
||||||
$STD pnpm build
|
$STD pnpm build
|
||||||
msg_ok "Updated Zigbee2MQTT"
|
msg_ok "Updated Zigbee2MQTT"
|
||||||
|
|||||||
@@ -1,4 +1,114 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"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.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",
|
||||||
|
"version": "2.6.3",
|
||||||
|
"date": "2025-11-01T20:48:39Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "henrygd/beszel",
|
||||||
|
"version": "v0.15.3",
|
||||||
|
"date": "2025-11-01T20:13:33Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Paymenter/Paymenter",
|
||||||
|
"version": "v1.4.1",
|
||||||
|
"date": "2025-11-01T19:38:55Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "keycloak/keycloak",
|
||||||
|
"version": "26.4.2",
|
||||||
|
"date": "2025-10-23T06:59:32Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "motioneye-project/motioneye",
|
||||||
|
"version": "0.42.1",
|
||||||
|
"date": "2020-06-07T07:27:04Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "chrisbenincasa/tunarr",
|
"name": "chrisbenincasa/tunarr",
|
||||||
"version": "v0.23.0-alpha.20",
|
"version": "v0.23.0-alpha.20",
|
||||||
@@ -9,56 +119,26 @@
|
|||||||
"version": "3.3.6",
|
"version": "3.3.6",
|
||||||
"date": "2025-11-01T10:41:15Z"
|
"date": "2025-11-01T10:41:15Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Paymenter/Paymenter",
|
|
||||||
"version": "v1.4.0",
|
|
||||||
"date": "2025-11-01T09:51:45Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "fuma-nama/fumadocs",
|
"name": "fuma-nama/fumadocs",
|
||||||
"version": "fumadocs-ui@16.0.7",
|
"version": "fumadocs-ui@16.0.7",
|
||||||
"date": "2025-11-01T09:43:37Z"
|
"date": "2025-11-01T09:43:37Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Jackett/Jackett",
|
|
||||||
"version": "v0.24.241",
|
|
||||||
"date": "2025-11-01T05:57:29Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "cross-seed/cross-seed",
|
"name": "cross-seed/cross-seed",
|
||||||
"version": "v6.13.5",
|
"version": "v6.13.5",
|
||||||
"date": "2025-09-27T01:10:59Z"
|
"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",
|
"name": "ollama/ollama",
|
||||||
"version": "v0.12.8",
|
"version": "v0.12.9",
|
||||||
"date": "2025-10-30T23:22:27Z"
|
"date": "2025-10-31T23:33:13Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tailscale/tailscale",
|
"name": "tailscale/tailscale",
|
||||||
"version": "v1.90.6",
|
"version": "v1.90.6",
|
||||||
"date": "2025-10-31T22:24:04Z"
|
"date": "2025-10-31T22:24:04Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "runtipi/runtipi",
|
|
||||||
"version": "v4.5.5",
|
|
||||||
"date": "2025-10-28T21:53:07Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "evcc-io/evcc",
|
"name": "evcc-io/evcc",
|
||||||
"version": "0.209.6",
|
"version": "0.209.6",
|
||||||
@@ -74,16 +154,6 @@
|
|||||||
"version": "v3.4.0",
|
"version": "v3.4.0",
|
||||||
"date": "2025-10-31T18:50:18Z"
|
"date": "2025-10-31T18:50:18Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "BerriAI/litellm",
|
|
||||||
"version": "v1.78.5.rc.4",
|
|
||||||
"date": "2025-10-31T18:44:14Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "immich-app/immich",
|
|
||||||
"version": "v2.2.1",
|
|
||||||
"date": "2025-10-31T18:34:59Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "YunoHost/yunohost",
|
"name": "YunoHost/yunohost",
|
||||||
"version": "debian/12.1.33",
|
"version": "debian/12.1.33",
|
||||||
@@ -99,16 +169,6 @@
|
|||||||
"version": "v0.62.12",
|
"version": "v0.62.12",
|
||||||
"date": "2025-10-31T17:30:55Z"
|
"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",
|
"name": "zitadel/zitadel",
|
||||||
"version": "v4.6.2",
|
"version": "v4.6.2",
|
||||||
@@ -154,11 +214,6 @@
|
|||||||
"version": "v1.10.1",
|
"version": "v1.10.1",
|
||||||
"date": "2025-10-31T08:25:57Z"
|
"date": "2025-10-31T08:25:57Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "firefly-iii/firefly-iii",
|
|
||||||
"version": "6.4.3",
|
|
||||||
"date": "2025-10-31T05:51:51Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "getumbrel/umbrel",
|
"name": "getumbrel/umbrel",
|
||||||
"version": "1.4.2",
|
"version": "1.4.2",
|
||||||
@@ -174,11 +229,6 @@
|
|||||||
"version": "v1.0.24",
|
"version": "v1.0.24",
|
||||||
"date": "2025-10-30T19:04:42Z"
|
"date": "2025-10-30T19:04:42Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "maxdorninger/MediaManager",
|
|
||||||
"version": "v1.9.0",
|
|
||||||
"date": "2025-10-30T18:52:50Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "mongodb/mongo",
|
"name": "mongodb/mongo",
|
||||||
"version": "r7.0.26",
|
"version": "r7.0.26",
|
||||||
@@ -264,11 +314,6 @@
|
|||||||
"version": "v0.38.2",
|
"version": "v0.38.2",
|
||||||
"date": "2025-10-30T02:44:09Z"
|
"date": "2025-10-30T02:44:09Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "gtsteffaniak/filebrowser",
|
|
||||||
"version": "v1.0.0-beta",
|
|
||||||
"date": "2025-10-30T00:09:23Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Sonarr/Sonarr",
|
"name": "Sonarr/Sonarr",
|
||||||
"version": "v4.0.15.2941",
|
"version": "v4.0.15.2941",
|
||||||
@@ -344,11 +389,6 @@
|
|||||||
"version": "v0.99.0",
|
"version": "v0.99.0",
|
||||||
"date": "2025-10-29T06:32:09Z"
|
"date": "2025-10-29T06:32:09Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "henrygd/beszel",
|
|
||||||
"version": "v0.15.2",
|
|
||||||
"date": "2025-10-29T05:26:32Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "openobserve/openobserve",
|
"name": "openobserve/openobserve",
|
||||||
"version": "v0.15.3",
|
"version": "v0.15.3",
|
||||||
@@ -439,11 +479,6 @@
|
|||||||
"version": "v0.27.0",
|
"version": "v0.27.0",
|
||||||
"date": "2025-10-27T11:16:35Z"
|
"date": "2025-10-27T11:16:35Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "redis/redis",
|
|
||||||
"version": "8.4-rc1-int",
|
|
||||||
"date": "2025-10-27T09:57:35Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "emqx/emqx",
|
"name": "emqx/emqx",
|
||||||
"version": "e6.0.1-alpha.2",
|
"version": "e6.0.1-alpha.2",
|
||||||
@@ -489,11 +524,6 @@
|
|||||||
"version": "v2.1.5.5216",
|
"version": "v2.1.5.5216",
|
||||||
"date": "2025-10-25T19:41:59Z"
|
"date": "2025-10-25T19:41:59Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "9001/copyparty",
|
|
||||||
"version": "v1.19.19",
|
|
||||||
"date": "2025-10-25T19:39:58Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "verdaccio/verdaccio",
|
"name": "verdaccio/verdaccio",
|
||||||
"version": "v6.2.1",
|
"version": "v6.2.1",
|
||||||
@@ -519,11 +549,6 @@
|
|||||||
"version": "prototype-v1.24.0.s3-snapshots-3",
|
"version": "prototype-v1.24.0.s3-snapshots-3",
|
||||||
"date": "2025-10-24T09:47:47Z"
|
"date": "2025-10-24T09:47:47Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "inventree/InvenTree",
|
|
||||||
"version": "1.0.8",
|
|
||||||
"date": "2025-10-24T05:32:09Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "pocketbase/pocketbase",
|
"name": "pocketbase/pocketbase",
|
||||||
"version": "v0.31.0",
|
"version": "v0.31.0",
|
||||||
@@ -699,11 +724,6 @@
|
|||||||
"version": "v0.6.34",
|
"version": "v0.6.34",
|
||||||
"date": "2025-10-16T16:55:58Z"
|
"date": "2025-10-16T16:55:58Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "tobychui/zoraxy",
|
|
||||||
"version": "v3.2.8",
|
|
||||||
"date": "2025-10-16T14:21:48Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "cloudreve/cloudreve",
|
"name": "cloudreve/cloudreve",
|
||||||
"version": "4.9.2",
|
"version": "4.9.2",
|
||||||
@@ -714,11 +734,6 @@
|
|||||||
"version": "v4.47.1",
|
"version": "v4.47.1",
|
||||||
"date": "2025-01-05T21:14:23Z"
|
"date": "2025-01-05T21:14:23Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "karlomikus/bar-assistant",
|
|
||||||
"version": "v5.9.0",
|
|
||||||
"date": "2025-10-15T18:27:56Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "linkwarden/linkwarden",
|
"name": "linkwarden/linkwarden",
|
||||||
"version": "v2.13.1",
|
"version": "v2.13.1",
|
||||||
@@ -834,11 +849,6 @@
|
|||||||
"version": "v2.30.0",
|
"version": "v2.30.0",
|
||||||
"date": "2025-10-08T16:03:49Z"
|
"date": "2025-10-08T16:03:49Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "nicolargo/glances",
|
|
||||||
"version": "v4.3.3",
|
|
||||||
"date": "2025-10-08T15:45:21Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "FlowiseAI/Flowise",
|
"name": "FlowiseAI/Flowise",
|
||||||
"version": "flowise@3.0.8",
|
"version": "flowise@3.0.8",
|
||||||
@@ -899,11 +909,6 @@
|
|||||||
"version": "v25.10.0",
|
"version": "v25.10.0",
|
||||||
"date": "2025-10-02T11:34:39Z"
|
"date": "2025-10-02T11:34:39Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Koenkk/zigbee2mqtt",
|
|
||||||
"version": "2.6.2",
|
|
||||||
"date": "2025-10-01T17:51:09Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Kozea/Radicale",
|
"name": "Kozea/Radicale",
|
||||||
"version": "v3.5.7.pypi",
|
"version": "v3.5.7.pypi",
|
||||||
@@ -1319,11 +1324,6 @@
|
|||||||
"version": "v0.0.8",
|
"version": "v0.0.8",
|
||||||
"date": "2025-05-18T11:37:31Z"
|
"date": "2025-05-18T11:37:31Z"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "motioneye-project/motioneye",
|
|
||||||
"version": "0.42.1",
|
|
||||||
"date": "2020-06-07T07:27:04Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "stackblitz-labs/bolt.diy",
|
"name": "stackblitz-labs/bolt.diy",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
|||||||
@@ -47,14 +47,13 @@ export CONFIG_DIR="${MM_DIR}/config"
|
|||||||
export FRONTEND_FILES_DIR="${MM_DIR}/web/build"
|
export FRONTEND_FILES_DIR="${MM_DIR}/web/build"
|
||||||
export BASE_PATH=""
|
export BASE_PATH=""
|
||||||
export PUBLIC_VERSION=""
|
export PUBLIC_VERSION=""
|
||||||
export PUBLIC_API_URL="${BASE_PATH}/api/v1"
|
export PUBLIC_API_URL=""
|
||||||
export BASE_PATH="${BASE_PATH}/web"
|
export BASE_PATH=""
|
||||||
cd /opt/mediamanager/web
|
cd /opt/mediamanager/web
|
||||||
$STD npm ci
|
$STD npm ci
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
mkdir -p {"$MM_DIR"/web,"$MEDIA_DIR","$CONFIG_DIR"}
|
mkdir -p {"$MM_DIR"/web,"$MEDIA_DIR","$CONFIG_DIR"}
|
||||||
cp -r build "$FRONTEND_FILES_DIR"
|
cp -r build "$FRONTEND_FILES_DIR"
|
||||||
export BASE_PATH=""
|
|
||||||
export VIRTUAL_ENV="${MM_DIR}/venv"
|
export VIRTUAL_ENV="${MM_DIR}/venv"
|
||||||
cd /opt/mediamanager
|
cd /opt/mediamanager
|
||||||
cp -r {media_manager,alembic*} "$MM_DIR"
|
cp -r {media_manager,alembic*} "$MM_DIR"
|
||||||
|
|||||||
@@ -26,17 +26,12 @@ fetch_and_deploy_gh_release "gerbil" "fosrl/gerbil" "singlefile" "latest" "/usr/
|
|||||||
msg_info "Setup Pangolin"
|
msg_info "Setup Pangolin"
|
||||||
IP_ADDR=$(hostname -I | awk '{print $1}')
|
IP_ADDR=$(hostname -I | awk '{print $1}')
|
||||||
SECRET_KEY=$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c 32)
|
SECRET_KEY=$(openssl rand -base64 48 | tr -dc 'A-Za-z0-9' | head -c 32)
|
||||||
export BUILD=oss
|
|
||||||
export DATABASE=sqlite
|
|
||||||
cd /opt/pangolin
|
cd /opt/pangolin
|
||||||
$STD npm ci
|
$STD npm ci
|
||||||
echo "export * from \"./$DATABASE\";" > server/db/index.ts
|
$STD npm run set:sqlite
|
||||||
echo "export const build = \"$BUILD\" as any;" > server/build.ts
|
$STD npm run set:oss
|
||||||
cp tsconfig.oss.json tsconfig.json
|
rm -rf server/private
|
||||||
mkdir -p dist
|
$STD npm run build:sqlite
|
||||||
$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 build:cli
|
$STD npm run build:cli
|
||||||
cp -R .next/standalone ./
|
cp -R .next/standalone ./
|
||||||
|
|
||||||
@@ -98,8 +93,10 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=root
|
User=root
|
||||||
|
Environment=NODE_ENV=production
|
||||||
|
Environment=ENVIRONMENT=prod
|
||||||
WorkingDirectory=/opt/pangolin
|
WorkingDirectory=/opt/pangolin
|
||||||
ExecStart=/usr/bin/npm start
|
ExecStart=/usr/bin/node --enable-source-maps dist/server.mjs
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,14 @@ fetch_and_deploy_gh_release "vmutils" "VictoriaMetrics/VictoriaMetrics" "prebuil
|
|||||||
read -r -p "${TAB3}Would you like to add VictoriaLogs? <y/N> " prompt
|
read -r -p "${TAB3}Would you like to add VictoriaLogs? <y/N> " prompt
|
||||||
|
|
||||||
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
||||||
fetch_and_deploy_gh_release "victorialogs" "VictoriaMetrics/VictoriaLogs" "prebuild" "latest" "/opt/victoriametrics" "victoria-logs-linux-amd64*.tar.gz"
|
vmlogs_filename=$(curl -fsSL "https://api.github.com/repos/VictoriaMetrics/VictoriaLogs/releases/latest" |
|
||||||
fetch_and_deploy_gh_release "vlutils" "VictoriaMetrics/VictoriaLogs" "prebuild" "latest" "/opt/victoriametrics" "vlutils-linux-amd64*.tar.gz"
|
jq -r '.assets[].name' |
|
||||||
|
grep -E '^victoria-logs-linux-amd64-v[0-9.]+\.tar\.gz$')
|
||||||
|
vlutils_filename=$(curl -fsSL "https://api.github.com/repos/VictoriaMetrics/VictoriaLogs/releases/latest" |
|
||||||
|
jq -r '.assets[].name' |
|
||||||
|
grep -E '^vlutils-linux-amd64-v[0-9.]+\.tar\.gz$')
|
||||||
|
fetch_and_deploy_gh_release "victorialogs" "VictoriaMetrics/VictoriaLogs" "prebuild" "latest" "/opt/victoriametrics" "$vmlogs_filename"
|
||||||
|
fetch_and_deploy_gh_release "vlutils" "VictoriaMetrics/VictoriaLogs" "prebuild" "latest" "/opt/victoriametrics" "$vlutils_filename"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Setup VictoriaMetrics"
|
msg_info "Setup VictoriaMetrics"
|
||||||
|
|||||||
Reference in New Issue
Block a user