mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-25 18:04:58 +02:00
Compare commits
26 Commits
arm64-gith
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62a6122fa6 | ||
|
|
45953e857a | ||
|
|
d984a5828d | ||
|
|
8492ca5805 | ||
|
|
9ec0864d32 | ||
|
|
6a9081726f | ||
|
|
514fece0df | ||
|
|
9c1f80e3c9 | ||
|
|
4dc5dfb366 | ||
|
|
4b2cacf78f | ||
|
|
e5c66aa4d2 | ||
|
|
b00ae8c350 | ||
|
|
7cfa47d138 | ||
|
|
639dc9efc4 | ||
|
|
5bf9cfb800 | ||
|
|
6c7e7ae1af | ||
|
|
a73aefa8fd | ||
|
|
599e841e1a | ||
|
|
cf5db6b687 | ||
|
|
26b1adfbcc | ||
|
|
b97f8b9236 | ||
|
|
de2806ca54 | ||
|
|
a28fec825b | ||
|
|
69aa93a83a | ||
|
|
fcd77d9332 | ||
|
|
202f1c7e84 |
135
.github/changelogs/2026/05.md
generated
vendored
135
.github/changelogs/2026/05.md
generated
vendored
@@ -1,3 +1,138 @@
|
|||||||
|
## 2026-05-23
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- IronClaw: Extra configuration during install to ensure Web Gateway can run [@SystemIdleProcess](https://github.com/SystemIdleProcess) ([#14635](https://github.com/community-scripts/ProxmoxVE/pull/14635))
|
||||||
|
- Tunarr: fix path to backup during update [@SystemIdleProcess](https://github.com/SystemIdleProcess) ([#14655](https://github.com/community-scripts/ProxmoxVE/pull/14655))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- wealthfolio: add: prebuild [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14658](https://github.com/community-scripts/ProxmoxVE/pull/14658))
|
||||||
|
|
||||||
|
### 🧰 Tools
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- kernel-clean: support range syntax in selection prompt [@djhojd](https://github.com/djhojd) ([#14656](https://github.com/community-scripts/ProxmoxVE/pull/14656))
|
||||||
|
|
||||||
|
## 2026-05-22
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- bitfocus-companion ([#14603](https://github.com/community-scripts/ProxmoxVE/pull/14603))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- fix(the-lounge): install Node.js 22 before deb package [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#14648](https://github.com/community-scripts/ProxmoxVE/pull/14648))
|
||||||
|
- Docmost: Fix duplicate STORAGE_DRIVER [@MickLesk](https://github.com/MickLesk) ([#14645](https://github.com/community-scripts/ProxmoxVE/pull/14645))
|
||||||
|
- Profilarr: pin Deno version to v2.7.5 [@MickLesk](https://github.com/MickLesk) ([#14632](https://github.com/community-scripts/ProxmoxVE/pull/14632))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- add: karakeep cli wrapper [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14618](https://github.com/community-scripts/ProxmoxVE/pull/14618))
|
||||||
|
|
||||||
|
- #### 💥 Breaking Changes
|
||||||
|
|
||||||
|
- OpenCloud: v7.0.0 changes [@vhsdream](https://github.com/vhsdream) ([#14650](https://github.com/community-scripts/ProxmoxVE/pull/14650))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- workflows: update workflows, templates to support arm64. [@asylumexp](https://github.com/asylumexp) ([#14653](https://github.com/community-scripts/ProxmoxVE/pull/14653))
|
||||||
|
- SoulSync: setup Node v22 and build WebUI [@MickLesk](https://github.com/MickLesk) ([#14639](https://github.com/community-scripts/ProxmoxVE/pull/14639))
|
||||||
|
- Refactor: Dispatcharr [@MickLesk](https://github.com/MickLesk) ([#14313](https://github.com/community-scripts/ProxmoxVE/pull/14313))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- fix: make LXC banner OS detection dynamic via /etc/os-release [@atahan99](https://github.com/atahan99) ([#14269](https://github.com/community-scripts/ProxmoxVE/pull/14269))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- core: suppress MOTD for non-interactive shells [@MickLesk](https://github.com/MickLesk) ([#14638](https://github.com/community-scripts/ProxmoxVE/pull/14638))
|
||||||
|
|
||||||
|
## 2026-05-21
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- snowshare: use mv instead of cp for uploads backup to prevent disk fill [@TuroYT](https://github.com/TuroYT) ([#14558](https://github.com/community-scripts/ProxmoxVE/pull/14558))
|
||||||
|
- Technitium DNS: download release before stopping the service on update [@w-gitops](https://github.com/w-gitops) ([#14616](https://github.com/community-scripts/ProxmoxVE/pull/14616))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- Proxmox VE 9.2 support [@MickLesk](https://github.com/MickLesk) ([#14624](https://github.com/community-scripts/ProxmoxVE/pull/14624))
|
||||||
|
|
||||||
|
## 2026-05-20
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Update mylar3 to point to new Repo [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#14606](https://github.com/community-scripts/ProxmoxVE/pull/14606))
|
||||||
|
- Ollama: Fix for latest version [@tremor021](https://github.com/tremor021) ([#14596](https://github.com/community-scripts/ProxmoxVE/pull/14596))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- Profilarr v2: Update and Refactor whole Script [@MickLesk](https://github.com/MickLesk) ([#14584](https://github.com/community-scripts/ProxmoxVE/pull/14584))
|
||||||
|
|
||||||
|
## 2026-05-19
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- LobeHub ([#14441](https://github.com/community-scripts/ProxmoxVE/pull/14441))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- Update nodejs Versions [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#14582](https://github.com/community-scripts/ProxmoxVE/pull/14582))
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- ESPConnect: Fix paths to SSL certificates [@tremor021](https://github.com/tremor021) ([#14591](https://github.com/community-scripts/ProxmoxVE/pull/14591))
|
||||||
|
- ReactiveResume: set correct WorkingDirectory for systemd service [@MickLesk](https://github.com/MickLesk) ([#14579](https://github.com/community-scripts/ProxmoxVE/pull/14579))
|
||||||
|
- Sparkyfitness: add missing nginx template variable substitutions [@MickLesk](https://github.com/MickLesk) ([#14578](https://github.com/community-scripts/ProxmoxVE/pull/14578))
|
||||||
|
- Wanderer: include dev dependencies during build [@MickLesk](https://github.com/MickLesk) ([#14577](https://github.com/community-scripts/ProxmoxVE/pull/14577))
|
||||||
|
- Whisparr: switch from nightly to stable GitHub release [@MickLesk](https://github.com/MickLesk) ([#14581](https://github.com/community-scripts/ProxmoxVE/pull/14581))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Refactor: SonarQube [@tremor021](https://github.com/tremor021) ([#14594](https://github.com/community-scripts/ProxmoxVE/pull/14594))
|
||||||
|
|
||||||
|
## 2026-05-18
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- ESPconnect ([#14444](https://github.com/community-scripts/ProxmoxVE/pull/14444))
|
||||||
|
- degoog ([#14533](https://github.com/community-scripts/ProxmoxVE/pull/14533))
|
||||||
|
- Webtrees ([#14532](https://github.com/community-scripts/ProxmoxVE/pull/14532))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Bichon: Support v1 migration [@tomfrenzel](https://github.com/tomfrenzel) ([#14524](https://github.com/community-scripts/ProxmoxVE/pull/14524))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- Pangolin: bump to 1.18.4, fix missing statusHistory migration [@MickLesk](https://github.com/MickLesk) ([#14566](https://github.com/community-scripts/ProxmoxVE/pull/14566))
|
||||||
|
|
||||||
|
## 2026-05-17
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- dashy: fix yarn-missing on update and back up full user-data [@lissy93](https://github.com/lissy93) ([#14548](https://github.com/community-scripts/ProxmoxVE/pull/14548))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- tools.func: replace max-time with speed-limit stall detection in curl_download [@MickLesk](https://github.com/MickLesk) ([#14545](https://github.com/community-scripts/ProxmoxVE/pull/14545))
|
||||||
|
|
||||||
## 2026-05-16
|
## 2026-05-16
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|||||||
219
CHANGELOG.md
219
CHANGELOG.md
@@ -53,6 +53,9 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -66,7 +69,7 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><h4>May (16 entries)</h4></summary>
|
<summary><h4>May (23 entries)</h4></summary>
|
||||||
|
|
||||||
[View May 2026 Changelog](.github/changelogs/2026/05.md)
|
[View May 2026 Changelog](.github/changelogs/2026/05.md)
|
||||||
|
|
||||||
@@ -464,6 +467,58 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
## 2026-05-25
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- karakeep: fix: pip config [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14703](https://github.com/community-scripts/ProxmoxVE/pull/14703))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- tools.func: replace raw GitHub API curl calls with get_latest_github_release [@MickLesk](https://github.com/MickLesk) ([#14690](https://github.com/community-scripts/ProxmoxVE/pull/14690))
|
||||||
|
|
||||||
|
### 🧰 Tools
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Kernel-Clean: detect meta-packages and fix silent removal failures [@MickLesk](https://github.com/MickLesk) ([#14674](https://github.com/community-scripts/ProxmoxVE/pull/14674))
|
||||||
|
|
||||||
|
## 2026-05-24
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- RomM: add installation steps for Nginx mod_zip module [@MickLesk](https://github.com/MickLesk) ([#14678](https://github.com/community-scripts/ProxmoxVE/pull/14678))
|
||||||
|
- ISponsorblockTV: detect CPU capabilities to select compatible binary [@MickLesk](https://github.com/MickLesk) ([#14677](https://github.com/community-scripts/ProxmoxVE/pull/14677))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Refactor: MQTT [@tremor021](https://github.com/tremor021) ([#14673](https://github.com/community-scripts/ProxmoxVE/pull/14673))
|
||||||
|
|
||||||
|
## 2026-05-23
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- IronClaw: Extra configuration during install to ensure Web Gateway can run [@SystemIdleProcess](https://github.com/SystemIdleProcess) ([#14635](https://github.com/community-scripts/ProxmoxVE/pull/14635))
|
||||||
|
- Tunarr: fix path to backup during update [@SystemIdleProcess](https://github.com/SystemIdleProcess) ([#14655](https://github.com/community-scripts/ProxmoxVE/pull/14655))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- wealthfolio: add: prebuild [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14658](https://github.com/community-scripts/ProxmoxVE/pull/14658))
|
||||||
|
|
||||||
|
### 🧰 Tools
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- kernel-clean: support range syntax in selection prompt [@djhojd](https://github.com/djhojd) ([#14656](https://github.com/community-scripts/ProxmoxVE/pull/14656))
|
||||||
|
|
||||||
## 2026-05-22
|
## 2026-05-22
|
||||||
|
|
||||||
### 🆕 New Scripts
|
### 🆕 New Scripts
|
||||||
@@ -478,12 +533,17 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
- Docmost: Fix duplicate STORAGE_DRIVER [@MickLesk](https://github.com/MickLesk) ([#14645](https://github.com/community-scripts/ProxmoxVE/pull/14645))
|
- Docmost: Fix duplicate STORAGE_DRIVER [@MickLesk](https://github.com/MickLesk) ([#14645](https://github.com/community-scripts/ProxmoxVE/pull/14645))
|
||||||
- Profilarr: pin Deno version to v2.7.5 [@MickLesk](https://github.com/MickLesk) ([#14632](https://github.com/community-scripts/ProxmoxVE/pull/14632))
|
- Profilarr: pin Deno version to v2.7.5 [@MickLesk](https://github.com/MickLesk) ([#14632](https://github.com/community-scripts/ProxmoxVE/pull/14632))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- add: karakeep cli wrapper [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14618](https://github.com/community-scripts/ProxmoxVE/pull/14618))
|
||||||
|
|
||||||
- #### 💥 Breaking Changes
|
- #### 💥 Breaking Changes
|
||||||
|
|
||||||
- OpenCloud: v7.0.0 changes [@vhsdream](https://github.com/vhsdream) ([#14650](https://github.com/community-scripts/ProxmoxVE/pull/14650))
|
- OpenCloud: v7.0.0 changes [@vhsdream](https://github.com/vhsdream) ([#14650](https://github.com/community-scripts/ProxmoxVE/pull/14650))
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- workflows: update workflows, templates to support arm64. [@asylumexp](https://github.com/asylumexp) ([#14653](https://github.com/community-scripts/ProxmoxVE/pull/14653))
|
||||||
- SoulSync: setup Node v22 and build WebUI [@MickLesk](https://github.com/MickLesk) ([#14639](https://github.com/community-scripts/ProxmoxVE/pull/14639))
|
- SoulSync: setup Node v22 and build WebUI [@MickLesk](https://github.com/MickLesk) ([#14639](https://github.com/community-scripts/ProxmoxVE/pull/14639))
|
||||||
- Refactor: Dispatcharr [@MickLesk](https://github.com/MickLesk) ([#14313](https://github.com/community-scripts/ProxmoxVE/pull/14313))
|
- Refactor: Dispatcharr [@MickLesk](https://github.com/MickLesk) ([#14313](https://github.com/community-scripts/ProxmoxVE/pull/14313))
|
||||||
|
|
||||||
@@ -1011,160 +1071,3 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
- #### 🔧 Refactor
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
- Refactor: Ghostfolio [@MickLesk](https://github.com/MickLesk) ([#13990](https://github.com/community-scripts/ProxmoxVE/pull/13990))
|
- Refactor: Ghostfolio [@MickLesk](https://github.com/MickLesk) ([#13990](https://github.com/community-scripts/ProxmoxVE/pull/13990))
|
||||||
|
|
||||||
## 2026-04-23
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- mealie: start.sh missing after failed update [@MickLesk](https://github.com/MickLesk) ([#13958](https://github.com/community-scripts/ProxmoxVE/pull/13958))
|
|
||||||
- twingate-connector: perform real apt upgrade during update flow [@MickLesk](https://github.com/MickLesk) ([#13959](https://github.com/community-scripts/ProxmoxVE/pull/13959))
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- core: auto-size NODE_OPTIONS heap [@MickLesk](https://github.com/MickLesk) ([#13960](https://github.com/community-scripts/ProxmoxVE/pull/13960))
|
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- Update scripts to match standard [@tremor021](https://github.com/tremor021) ([#13956](https://github.com/community-scripts/ProxmoxVE/pull/13956))
|
|
||||||
|
|
||||||
### 💾 Core
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- tools.func: upgrade Node.js minor/patch on same major version [@MickLesk](https://github.com/MickLesk) ([#13957](https://github.com/community-scripts/ProxmoxVE/pull/13957))
|
|
||||||
- core: hotfix - prefer silent mode on PHS env conflict [@MickLesk](https://github.com/MickLesk) ([#13951](https://github.com/community-scripts/ProxmoxVE/pull/13951))
|
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- core: improve system update information / lxc stack upgrade [@MickLesk](https://github.com/MickLesk) ([#13970](https://github.com/community-scripts/ProxmoxVE/pull/13970))
|
|
||||||
|
|
||||||
## 2026-04-22
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- Dashy ([#13817](https://github.com/community-scripts/ProxmoxVE/pull/13817))
|
|
||||||
- Mini-QR ([#13902](https://github.com/community-scripts/ProxmoxVE/pull/13902))
|
|
||||||
- ownfoil ([#13904](https://github.com/community-scripts/ProxmoxVE/pull/13904))
|
|
||||||
- ERPNext ([#13921](https://github.com/community-scripts/ProxmoxVE/pull/13921))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- add --clear to uv venv in update_script() to prevent interactive prompt [@MickLesk](https://github.com/MickLesk) ([#13926](https://github.com/community-scripts/ProxmoxVE/pull/13926))
|
|
||||||
|
|
||||||
### 💾 Core
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- core: Add PHS_VERBOSE env var to skip verbose mode prompts [@gormanity](https://github.com/gormanity) ([#13797](https://github.com/community-scripts/ProxmoxVE/pull/13797))
|
|
||||||
|
|
||||||
## 2026-04-21
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- gogs ([#13896](https://github.com/community-scripts/ProxmoxVE/pull/13896))
|
|
||||||
- anchor ([#13895](https://github.com/community-scripts/ProxmoxVE/pull/13895))
|
|
||||||
- minthcm ([#13903](https://github.com/community-scripts/ProxmoxVE/pull/13903))
|
|
||||||
- foldergram ([#13900](https://github.com/community-scripts/ProxmoxVE/pull/13900))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- OpenCloud: Pin version to 6.1.0 [@vhsdream](https://github.com/vhsdream) ([#13890](https://github.com/community-scripts/ProxmoxVE/pull/13890))
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- Domain-Locker: Update dependencies [@tremor021](https://github.com/tremor021) ([#13901](https://github.com/community-scripts/ProxmoxVE/pull/13901))
|
|
||||||
- homelable: fix install failure by correcting password-reset chmod target [@Copilot](https://github.com/Copilot) ([#13894](https://github.com/community-scripts/ProxmoxVE/pull/13894))
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- FileFlows: Update dependencies [@tremor021](https://github.com/tremor021) ([#13917](https://github.com/community-scripts/ProxmoxVE/pull/13917))
|
|
||||||
|
|
||||||
## 2026-04-20
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- WhoDB ([#13880](https://github.com/community-scripts/ProxmoxVE/pull/13880))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- pangolin: create migration tables before data transfer to prevent role loss [@MickLesk](https://github.com/MickLesk) ([#13874](https://github.com/community-scripts/ProxmoxVE/pull/13874))
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- Pangolin: pre-apply schema migrations to prevent data loss [@MickLesk](https://github.com/MickLesk) ([#13861](https://github.com/community-scripts/ProxmoxVE/pull/13861))
|
|
||||||
- ActualBudget: change migration messages to warnings [@MickLesk](https://github.com/MickLesk) ([#13860](https://github.com/community-scripts/ProxmoxVE/pull/13860))
|
|
||||||
- slskd: migrate config keys for 0.25.0 breaking change [@MickLesk](https://github.com/MickLesk) ([#13862](https://github.com/community-scripts/ProxmoxVE/pull/13862))
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- Wanderer: add pocketbase CLI wrapper with env [@MickLesk](https://github.com/MickLesk) ([#13863](https://github.com/community-scripts/ProxmoxVE/pull/13863))
|
|
||||||
- feat(homelable): add password reset utility script [@davidsoncabista](https://github.com/davidsoncabista) ([#13798](https://github.com/community-scripts/ProxmoxVE/pull/13798))
|
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- Several Scripts: Bump NodeJS to align Node.js versions with upstream for 5 scripts [@MickLesk](https://github.com/MickLesk) ([#13875](https://github.com/community-scripts/ProxmoxVE/pull/13875))
|
|
||||||
- Refactor: PMG Post Install [@MickLesk](https://github.com/MickLesk) ([#13693](https://github.com/community-scripts/ProxmoxVE/pull/13693))
|
|
||||||
|
|
||||||
### 💾 Core
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- core: detect Perl breakage after LXC stack upgrade and improve storage validation [@MickLesk](https://github.com/MickLesk) ([#13879](https://github.com/community-scripts/ProxmoxVE/pull/13879))
|
|
||||||
|
|
||||||
## 2026-04-19
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- nametag ([#13849](https://github.com/community-scripts/ProxmoxVE/pull/13849))
|
|
||||||
|
|
||||||
## 2026-04-18
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- Dagu ([#13830](https://github.com/community-scripts/ProxmoxVE/pull/13830))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- BabyBuddy: set DJANGO_SETTINGS_MODULE before migrate in update [@MickLesk](https://github.com/MickLesk) ([#13836](https://github.com/community-scripts/ProxmoxVE/pull/13836))
|
|
||||||
- litellm: add prisma generate and use venv binary directly [@MickLesk](https://github.com/MickLesk) ([#13835](https://github.com/community-scripts/ProxmoxVE/pull/13835))
|
|
||||||
- yamtrack: add missing nginx.conf sed edits to update script [@MickLesk](https://github.com/MickLesk) ([#13834](https://github.com/community-scripts/ProxmoxVE/pull/13834))
|
|
||||||
|
|
||||||
### 🧰 Tools
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- SparkyFitness Garmin Microservice: fix update function [@tomfrenzel](https://github.com/tomfrenzel) ([#13824](https://github.com/community-scripts/ProxmoxVE/pull/13824))
|
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- Clean-Orphan-LVM: check all cluster nodes for VM/CT configs [@MickLesk](https://github.com/MickLesk) ([#13837](https://github.com/community-scripts/ProxmoxVE/pull/13837))
|
|
||||||
|
|
||||||
## 2026-04-17
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- step-ca ([#13775](https://github.com/community-scripts/ProxmoxVE/pull/13775))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- core: pin IGC version to compute-runtime compatible tag (Intel GPU) [@MickLesk](https://github.com/MickLesk) ([#13814](https://github.com/community-scripts/ProxmoxVE/pull/13814))
|
|
||||||
- Fix for bambuddy community script update [@abbasegbeyemi](https://github.com/abbasegbeyemi) ([#13816](https://github.com/community-scripts/ProxmoxVE/pull/13816))
|
|
||||||
- Umami: Fix update procedure [@tremor021](https://github.com/tremor021) ([#13807](https://github.com/community-scripts/ProxmoxVE/pull/13807))
|
|
||||||
|
|
||||||
### 💾 Core
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- core: sanitize mount_fs input — strip spaces and trailing commas [@MickLesk](https://github.com/MickLesk) ([#13806](https://github.com/community-scripts/ProxmoxVE/pull/13806))
|
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- core: fix some pct create issues (telemetry) + cleanup [@MickLesk](https://github.com/MickLesk) ([#13810](https://github.com/community-scripts/ProxmoxVE/pull/13810))
|
|
||||||
@@ -60,11 +60,12 @@ description
|
|||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Complete setup by running:${CL}"
|
echo -e "${INFO}${YW} Next Steps:${CL}"
|
||||||
echo -e "${TAB}${BGN}ironclaw onboard${CL}"
|
echo -e "${TAB}1. Complete setup by running:${CL}"
|
||||||
echo -e "${INFO}${YW} Then start the service:${CL}"
|
echo -e "${TAB}${TAB}${BGN}/usr/local/bin/ironclaw onboard${CL}"
|
||||||
echo -e "${TAB}${BGN}rc-service ironclaw start${CL}"
|
echo -e "${TAB}2. Start the service:${CL}"
|
||||||
echo -e "${INFO}${YW} Access the Web UI at:${CL}"
|
echo -e "${TAB}${TAB}${BGN}rc-service ironclaw start${CL}"
|
||||||
|
echo -e "${TAB}3. Access the Web UI at:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
||||||
echo -e "${INFO}${YW} Auth token and database credentials:${CL}"
|
echo -e "${INFO}${YW} Use Gateway Authentication Token to login:${CL}"
|
||||||
echo -e "${TAB}${BGN}cat /root/.ironclaw/.env${CL}"
|
echo -e "${TAB}${TAB}${BGN}cat /root/.ironclaw/gateway.creds${CL}"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ function update_script() {
|
|||||||
msg_ok "Backed up Configuration"
|
msg_ok "Backed up Configuration"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "ironclaw-bin" "nearai/ironclaw" "prebuild" "latest" "/usr/local/bin" \
|
fetch_and_deploy_gh_release "ironclaw-bin" "nearai/ironclaw" "prebuild" "latest" "/usr/local/bin" \
|
||||||
"ironclaw-$(uname -m)-unknown-linux-$([[ -f /etc/alpine-release ]] && echo "musl" || echo "gnu").tar.gz"
|
"ironclaw-$(uname -m)-unknown-linux-gnu.tar.gz"
|
||||||
chmod +x /usr/local/bin/ironclaw
|
chmod +x /usr/local/bin/ironclaw
|
||||||
|
|
||||||
msg_info "Restoring Configuration"
|
msg_info "Restoring Configuration"
|
||||||
@@ -62,11 +62,12 @@ description
|
|||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Complete setup by running:${CL}"
|
echo -e "${INFO}${YW} Next Steps:${CL}"
|
||||||
echo -e "${TAB}${BGN}ironclaw onboard${CL}"
|
echo -e "${TAB}1. Configure remaining settings:${CL}"
|
||||||
echo -e "${INFO}${YW} Then start the service:${CL}"
|
echo -e "${TAB}${TAB}${BGN}/usr/local/bin/ironclaw onboard${CL}"
|
||||||
echo -e "${TAB}${BGN}systemctl start ironclaw${CL}"
|
echo -e "${TAB}2. Start the service:${CL}"
|
||||||
echo -e "${INFO}${YW} Access the Web UI at:${CL}"
|
echo -e "${TAB}${TAB}${BGN}systemctl start ironclaw${CL}"
|
||||||
|
echo -e "${TAB}3. Access the Web UI at:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
||||||
echo -e "${INFO}${YW} Auth token and database credentials:${CL}"
|
echo -e "${INFO}${YW} Use Gateway Authentication Token to login:${CL}"
|
||||||
echo -e "${TAB}${BGN}cat /root/.ironclaw/.env${CL}"
|
echo -e "${TAB}${TAB}${BGN}cat /root/.ironclaw/gateway.creds${CL}"
|
||||||
|
|||||||
@@ -36,7 +36,11 @@ function update_script() {
|
|||||||
systemctl stop isponsorblocktv
|
systemctl stop isponsorblocktv
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "iSponsorBlockTV-x86_64-linux"
|
ISBTV_BINARY="iSponsorBlockTV-x86_64-linux-v1"
|
||||||
|
if grep -q ' avx ' /proc/cpuinfo 2>/dev/null && grep -q ' avx2 ' /proc/cpuinfo 2>/dev/null && grep -q ' movbe ' /proc/cpuinfo 2>/dev/null; then
|
||||||
|
ISBTV_BINARY="iSponsorBlockTV-x86_64-linux"
|
||||||
|
fi
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "${ISBTV_BINARY}"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
systemctl start isponsorblocktv
|
systemctl start isponsorblocktv
|
||||||
|
|||||||
@@ -46,6 +46,14 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
msg_ok "Update prepared"
|
msg_ok "Update prepared"
|
||||||
|
|
||||||
|
if [ ! -f ~/.config/pip/pip.conf ]; then
|
||||||
|
mkdir -p ~/.config/pip
|
||||||
|
cat <<EOF >~/.config/pip/pip.conf
|
||||||
|
[global]
|
||||||
|
break-system-packages = true
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
if grep -q "start:prod" /etc/systemd/system/karakeep-workers.service; then
|
if grep -q "start:prod" /etc/systemd/system/karakeep-workers.service; then
|
||||||
sed -i 's|^ExecStart=.*$|ExecStart=/usr/bin/node dist/index.mjs|' /etc/systemd/system/karakeep-workers.service
|
sed -i 's|^ExecStart=.*$|ExecStart=/usr/bin/node dist/index.mjs|' /etc/systemd/system/karakeep-workers.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
@@ -56,6 +64,25 @@ function update_script() {
|
|||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f /usr/bin/karakeep ]; then
|
||||||
|
cat <<'EOF' >/usr/bin/karakeep
|
||||||
|
#!/usr/bin/env node
|
||||||
|
import('/opt/karakeep/apps/cli/dist/index.mjs')
|
||||||
|
EOF
|
||||||
|
chmod +x /usr/bin/karakeep
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! command -v pip >/dev/null 2>&1 || ! pip show yt-dlp-ejs >/dev/null 2>&1; then
|
||||||
|
msg_info "Installing external JavaScript Extension for yt-dlp"
|
||||||
|
ensure_dependencies python3-pip
|
||||||
|
$STD pip install -U yt-dlp-ejs
|
||||||
|
msg_ok "Installed external JavaScript Extension for yt-dlp"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! command -v deno &>/dev/null; then
|
||||||
|
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(uname -m)-unknown-linux-gnu.zip"
|
||||||
|
fi
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "karakeep" "karakeep-app/karakeep" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "karakeep" "karakeep-app/karakeep" "tarball"
|
||||||
if command -v corepack >/dev/null; then
|
if command -v corepack >/dev/null; then
|
||||||
$STD corepack disable
|
$STD corepack disable
|
||||||
|
|||||||
32
ct/mqtt.sh
32
ct/mqtt.sh
@@ -21,18 +21,28 @@ color
|
|||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -f /etc/mosquitto/conf.d/default.conf ]]; then
|
|
||||||
msg_error "No ${APP} Installation Found!"
|
if [[ ! -f /etc/mosquitto/conf.d/default.conf ]]; then
|
||||||
exit
|
msg_error "No ${APP} Installation Found!"
|
||||||
fi
|
|
||||||
msg_info "Updating ${APP} LXC"
|
|
||||||
$STD apt update
|
|
||||||
$STD apt -y upgrade
|
|
||||||
msg_ok "Updated successfully!"
|
|
||||||
exit
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -f /etc/apt/sources.list.d/mqtt.sources ]]; then
|
||||||
|
setup_deb822_repo \
|
||||||
|
"mqtt" \
|
||||||
|
"https://repo.mosquitto.org/debian/mosquitto-repo.gpg" \
|
||||||
|
"https://repo.mosquitto.org/debian" \
|
||||||
|
"trixie"
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg_info "Updating MQTT"
|
||||||
|
$STD apt update
|
||||||
|
$STD apt upgrade -y
|
||||||
|
msg_ok "Updated successfully!"
|
||||||
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|||||||
@@ -34,11 +34,11 @@ function update_script() {
|
|||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Creating Backup"
|
msg_info "Creating Backup"
|
||||||
if [ -d "/usr/local/share/tunarr" ]; then
|
if [ -d "/root/.local/share/tunarr" ]; then
|
||||||
tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" /usr/local/share/tunarr $STD
|
tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" /root/.local/share/tunarr $STD
|
||||||
msg_ok "Backup Created"
|
msg_ok "Backup Created"
|
||||||
else
|
else
|
||||||
msg_error "Backup failed: /usr/local/share/tunarr does not exist"
|
msg_error "Backup failed: /root/.local/share/tunarr does not exist"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "prebuild" "latest" "/opt/tunarr" "*linux-x64.tar.gz"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "prebuild" "latest" "/opt/tunarr" "*linux-x64.tar.gz"
|
||||||
|
|||||||
@@ -3,13 +3,13 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
|
|||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
# Author: CrazyWolf13
|
# Author: CrazyWolf13
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Source: https://wealthfolio.app/ | Github: https://github.com/afadil/wealthfolio
|
# Source: https://wealthfolio.app/ | Github: https://github.com/wealthfolio/wealthfolio
|
||||||
|
|
||||||
APP="Wealthfolio"
|
APP="Wealthfolio"
|
||||||
var_tags="${var_tags:-finance;portfolio}"
|
var_tags="${var_tags:-finance;portfolio}"
|
||||||
var_cpu="${var_cpu:-4}"
|
var_cpu="${var_cpu:-1}"
|
||||||
var_ram="${var_ram:-4096}"
|
var_ram="${var_ram:-512}"
|
||||||
var_disk="${var_disk:-10}"
|
var_disk="${var_disk:-4}"
|
||||||
var_os="${var_os:-debian}"
|
var_os="${var_os:-debian}"
|
||||||
var_version="${var_version:-13}"
|
var_version="${var_version:-13}"
|
||||||
var_arm64="${var_arm64:-no}"
|
var_arm64="${var_arm64:-no}"
|
||||||
@@ -30,13 +30,11 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
|
|
||||||
|
|
||||||
if grep -q '^WF_CORS_ALLOW_ORIGINS=\*$' /opt/wealthfolio/.env; then
|
if grep -q '^WF_CORS_ALLOW_ORIGINS=\*$' /opt/wealthfolio/.env; then
|
||||||
sed -i "s|^WF_CORS_ALLOW_ORIGINS=\*$|WF_CORS_ALLOW_ORIGINS=http://${LOCAL_IP}:8080|" /opt/wealthfolio/.env
|
sed -i "s|^WF_CORS_ALLOW_ORIGINS=\*$|WF_CORS_ALLOW_ORIGINS=http://${LOCAL_IP}:8080|" /opt/wealthfolio/.env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if check_for_gh_release "wealthfolio" "afadil/wealthfolio"; then
|
if check_for_gh_release "wealthfolio" "wealthfolio/wealthfolio"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop wealthfolio
|
systemctl stop wealthfolio
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
@@ -46,21 +44,8 @@ function update_script() {
|
|||||||
cp /opt/wealthfolio/.env /opt/wealthfolio_env_backup
|
cp /opt/wealthfolio/.env /opt/wealthfolio_env_backup
|
||||||
msg_ok "Backed up Data"
|
msg_ok "Backed up Data"
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "wealthfolio" "afadil/wealthfolio" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "wealthfolio" "wealthfolio/wealthfolio" "prebuild" "latest" "/opt/wealthfolio" "wealthfolio-server-*-linux-amd64.tar.gz"
|
||||||
|
install -m 755 /opt/wealthfolio/wealthfolio-server /usr/local/bin/wealthfolio-server
|
||||||
msg_info "Building Frontend (patience)"
|
|
||||||
cd /opt/wealthfolio
|
|
||||||
export BUILD_TARGET=web
|
|
||||||
$STD pnpm install --frozen-lockfile
|
|
||||||
$STD pnpm --filter frontend... build
|
|
||||||
msg_ok "Built Frontend"
|
|
||||||
|
|
||||||
msg_info "Building Backend (patience)"
|
|
||||||
source ~/.cargo/env
|
|
||||||
$STD cargo build --release --manifest-path apps/server/Cargo.toml
|
|
||||||
cp /opt/wealthfolio/target/release/wealthfolio-server /usr/local/bin/wealthfolio-server
|
|
||||||
chmod +x /usr/local/bin/wealthfolio-server
|
|
||||||
msg_ok "Built Backend"
|
|
||||||
|
|
||||||
msg_info "Restoring Data"
|
msg_info "Restoring Data"
|
||||||
cp -r /opt/wealthfolio_data_backup/. /opt/wealthfolio_data
|
cp -r /opt/wealthfolio_data_backup/. /opt/wealthfolio_data
|
||||||
@@ -68,12 +53,6 @@ function update_script() {
|
|||||||
rm -rf /opt/wealthfolio_data_backup /opt/wealthfolio_env_backup
|
rm -rf /opt/wealthfolio_data_backup /opt/wealthfolio_env_backup
|
||||||
msg_ok "Restored Data"
|
msg_ok "Restored Data"
|
||||||
|
|
||||||
msg_info "Cleaning Up"
|
|
||||||
rm -rf /opt/wealthfolio/target
|
|
||||||
rm -rf /root/.cargo/registry
|
|
||||||
rm -rf /opt/wealthfolio/node_modules
|
|
||||||
msg_ok "Cleaned Up"
|
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
systemctl start wealthfolio
|
systemctl start wealthfolio
|
||||||
msg_ok "Started Service"
|
msg_ok "Started Service"
|
||||||
|
|||||||
@@ -35,20 +35,41 @@ fetch_and_deploy_gh_release "ironclaw-bin" "nearai/ironclaw" "prebuild" "latest"
|
|||||||
"ironclaw-$(uname -m)-unknown-linux-musl.tar.gz"
|
"ironclaw-$(uname -m)-unknown-linux-musl.tar.gz"
|
||||||
chmod +x /usr/local/bin/ironclaw
|
chmod +x /usr/local/bin/ironclaw
|
||||||
|
|
||||||
msg_info "Configuring IronClaw"
|
msg_info "Configuring Environment"
|
||||||
mkdir -p /root/.ironclaw
|
|
||||||
GATEWAY_TOKEN=$(openssl rand -hex 32)
|
GATEWAY_TOKEN=$(openssl rand -hex 32)
|
||||||
|
mkdir -p /root/.ironclaw
|
||||||
|
{
|
||||||
|
echo "Gateway-Token"
|
||||||
|
echo "Token: $GATEWAY_TOKEN"
|
||||||
|
} >> /root/.ironclaw/gateway.creds
|
||||||
|
|
||||||
|
mkdir -p /root/.ironclaw
|
||||||
cat <<EOF >/root/.ironclaw/.env
|
cat <<EOF >/root/.ironclaw/.env
|
||||||
|
DATABASE_BACKEND=postgres
|
||||||
DATABASE_URL=postgresql://ironclaw:${PG_PASS}@localhost:5432/ironclaw?sslmode=disable
|
DATABASE_URL=postgresql://ironclaw:${PG_PASS}@localhost:5432/ironclaw?sslmode=disable
|
||||||
GATEWAY_ENABLED=true
|
GATEWAY_ENABLED=true
|
||||||
GATEWAY_HOST=0.0.0.0
|
GATEWAY_HOST=0.0.0.0
|
||||||
GATEWAY_PORT=3000
|
GATEWAY_PORT=3000
|
||||||
GATEWAY_AUTH_TOKEN=${GATEWAY_TOKEN}
|
GATEWAY_AUTH_TOKEN=${GATEWAY_TOKEN}
|
||||||
CLI_ENABLED=false
|
CLI_ENABLED=false
|
||||||
AGENT_NAME=ironclaw
|
|
||||||
RUST_LOG=ironclaw=info,tower_http=info
|
RUST_LOG=ironclaw=info,tower_http=info
|
||||||
EOF
|
EOF
|
||||||
chmod 600 /root/.ironclaw/.env
|
chmod 600 /root/.ironclaw/.env
|
||||||
|
msg_ok "Configured Environment"
|
||||||
|
|
||||||
|
msg_info "Configuring IronClaw"
|
||||||
|
# Set values in the database since it is typically the true source of truth and ensures values are set correctly on first run before the service starts.
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set database_backend postgres >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set database_url "postgresql://ironclaw:${PG_PASS}@localhost:5432/ironclaw?sslmode=disable" >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.gateway_enabled true >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.gateway_host 0.0.0.0 >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.gateway_port 3000 >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.gateway_auth_token "${GATEWAY_TOKEN}" >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.cli_enabled false >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set secrets_master_key_source none >/dev/null
|
||||||
|
# Running ironclaw defaults to use env for secrets and creates this entry, but we want to set that during onboard.
|
||||||
|
sleep 5
|
||||||
|
sed -i '/SECRETS_MASTER_KEY/d' /root/.ironclaw/.env
|
||||||
msg_ok "Configured IronClaw"
|
msg_ok "Configured IronClaw"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|||||||
@@ -24,23 +24,44 @@ PG_VERSION="17" PG_MODULES="pgvector" setup_postgresql
|
|||||||
PG_DB_NAME="ironclaw" PG_DB_USER="ironclaw" PG_DB_EXTENSIONS="vector" setup_postgresql_db
|
PG_DB_NAME="ironclaw" PG_DB_USER="ironclaw" PG_DB_EXTENSIONS="vector" setup_postgresql_db
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "ironclaw-bin" "nearai/ironclaw" "prebuild" "latest" "/usr/local/bin" \
|
fetch_and_deploy_gh_release "ironclaw-bin" "nearai/ironclaw" "prebuild" "latest" "/usr/local/bin" \
|
||||||
"ironclaw-$(uname -m)-unknown-linux-$([[ -f /etc/alpine-release ]] && echo "musl" || echo "gnu").tar.gz"
|
"ironclaw-$(uname -m)-unknown-linux-gnu.tar.gz"
|
||||||
chmod +x /usr/local/bin/ironclaw
|
chmod +x /usr/local/bin/ironclaw
|
||||||
|
|
||||||
msg_info "Configuring IronClaw"
|
msg_info "Configuring Environment"
|
||||||
mkdir -p /root/.ironclaw
|
|
||||||
GATEWAY_TOKEN=$(openssl rand -hex 32)
|
GATEWAY_TOKEN=$(openssl rand -hex 32)
|
||||||
|
mkdir -p /root/.ironclaw
|
||||||
|
{
|
||||||
|
echo "Gateway-Token"
|
||||||
|
echo "Token: $GATEWAY_TOKEN"
|
||||||
|
} >> /root/.ironclaw/gateway.creds
|
||||||
|
|
||||||
|
mkdir -p /root/.ironclaw
|
||||||
cat <<EOF >/root/.ironclaw/.env
|
cat <<EOF >/root/.ironclaw/.env
|
||||||
|
DATABASE_BACKEND=postgres
|
||||||
DATABASE_URL=postgresql://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}?sslmode=disable
|
DATABASE_URL=postgresql://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}?sslmode=disable
|
||||||
GATEWAY_ENABLED=true
|
GATEWAY_ENABLED=true
|
||||||
GATEWAY_HOST=0.0.0.0
|
GATEWAY_HOST=0.0.0.0
|
||||||
GATEWAY_PORT=3000
|
GATEWAY_PORT=3000
|
||||||
GATEWAY_AUTH_TOKEN=${GATEWAY_TOKEN}
|
GATEWAY_AUTH_TOKEN=${GATEWAY_TOKEN}
|
||||||
CLI_ENABLED=false
|
CLI_ENABLED=false
|
||||||
AGENT_NAME=ironclaw
|
|
||||||
RUST_LOG=ironclaw=info,tower_http=info
|
RUST_LOG=ironclaw=info,tower_http=info
|
||||||
EOF
|
EOF
|
||||||
chmod 600 /root/.ironclaw/.env
|
chmod 600 /root/.ironclaw/.env
|
||||||
|
msg_ok "Configured Environment"
|
||||||
|
|
||||||
|
msg_info "Configuring IronClaw"
|
||||||
|
# Set values in the database since it is typically the true source of truth and ensures values are set correctly on first run before the service starts.
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set database_backend postgres >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set database_url "postgresql://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}?sslmode=disable" >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.gateway_enabled true >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.gateway_host 0.0.0.0 >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.gateway_port 3000 >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.gateway_auth_token "${GATEWAY_TOKEN}" >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set channels.cli_enabled false >/dev/null
|
||||||
|
/usr/local/bin/ironclaw --no-onboard config set secrets_master_key_source none >/dev/null
|
||||||
|
# Running ironclaw defaults to use env for secrets and creates this entry, but we want to set that during onboard.
|
||||||
|
sleep 5
|
||||||
|
sed -i '/SECRETS_MASTER_KEY/d' /root/.ironclaw/.env
|
||||||
msg_ok "Configured IronClaw"
|
msg_ok "Configured IronClaw"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
@@ -51,10 +72,7 @@ After=network.target postgresql.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=root
|
ExecStart=/usr/bin/dbus-run-session /usr/local/bin/ironclaw run
|
||||||
WorkingDirectory=/root
|
|
||||||
EnvironmentFile=/root/.ironclaw/.env
|
|
||||||
ExecStart=/usr/bin/dbus-run-session /usr/local/bin/ironclaw
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
|
|||||||
@@ -13,12 +13,12 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
if ! grep -q ' avx ' /proc/cpuinfo 2>/dev/null; then
|
ISBTV_BINARY="iSponsorBlockTV-x86_64-linux-v1"
|
||||||
msg_error "CPU does not support AVX instructions (required by iSponsorBlockTV/PyApp)"
|
if grep -q ' avx ' /proc/cpuinfo 2>/dev/null && grep -q ' avx2 ' /proc/cpuinfo 2>/dev/null && grep -q ' movbe ' /proc/cpuinfo 2>/dev/null; then
|
||||||
exit 106
|
ISBTV_BINARY="iSponsorBlockTV-x86_64-linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "iSponsorBlockTV-x86_64-linux"
|
fetch_and_deploy_gh_release "isponsorblocktv" "dmunozv04/iSponsorBlockTV" "singlefile" "latest" "/opt/isponsorblocktv" "${ISBTV_BINARY}"
|
||||||
|
|
||||||
msg_info "Setting up iSponsorBlockTV"
|
msg_info "Setting up iSponsorBlockTV"
|
||||||
install -d /var/lib/isponsorblocktv
|
install -d /var/lib/isponsorblocktv
|
||||||
|
|||||||
@@ -20,11 +20,13 @@ $STD apt install -y \
|
|||||||
chromium \
|
chromium \
|
||||||
graphicsmagick \
|
graphicsmagick \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
|
python3-pip \
|
||||||
ffmpeg
|
ffmpeg
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "monolith" "Y2Z/monolith" "singlefile" "latest" "/usr/bin" "monolith-gnu-linux-x86_64"
|
fetch_and_deploy_gh_release "monolith" "Y2Z/monolith" "singlefile" "latest" "/usr/bin" "monolith-gnu-linux-x86_64"
|
||||||
fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp-nightly-builds" "singlefile" "latest" "/usr/bin" "yt-dlp_linux"
|
fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp-nightly-builds" "singlefile" "latest" "/usr/bin" "yt-dlp_linux"
|
||||||
|
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(uname -m)-unknown-linux-gnu.zip"
|
||||||
setup_meilisearch
|
setup_meilisearch
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "karakeep" "karakeep-app/karakeep" "tarball"
|
fetch_and_deploy_gh_release "karakeep" "karakeep-app/karakeep" "tarball"
|
||||||
@@ -32,6 +34,15 @@ cd /opt/karakeep
|
|||||||
MODULE_VERSION="$(jq -r '.packageManager | split("@")[1]' /opt/karakeep/package.json)"
|
MODULE_VERSION="$(jq -r '.packageManager | split("@")[1]' /opt/karakeep/package.json)"
|
||||||
NODE_VERSION="24" NODE_MODULE="pnpm@${MODULE_VERSION}" setup_nodejs
|
NODE_VERSION="24" NODE_MODULE="pnpm@${MODULE_VERSION}" setup_nodejs
|
||||||
|
|
||||||
|
msg_info "Installing external JavaScript Extension for yt-dlp"
|
||||||
|
$STD pip install -U yt-dlp-ejs
|
||||||
|
mkdir -p ~/.config/pip
|
||||||
|
cat <<EOF >~/.config/pip/pip.conf
|
||||||
|
[global]
|
||||||
|
break-system-packages = true
|
||||||
|
EOF
|
||||||
|
msg_ok "Installed external JavaScript Extension for yt-dlp"
|
||||||
|
|
||||||
msg_info "Installing karakeep"
|
msg_info "Installing karakeep"
|
||||||
export PUPPETEER_SKIP_DOWNLOAD="true"
|
export PUPPETEER_SKIP_DOWNLOAD="true"
|
||||||
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true"
|
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true"
|
||||||
@@ -47,6 +58,11 @@ cd /opt/karakeep/apps/cli
|
|||||||
$STD pnpm install --frozen-lockfile
|
$STD pnpm install --frozen-lockfile
|
||||||
$STD pnpm build
|
$STD pnpm build
|
||||||
$STD pnpm store prune
|
$STD pnpm store prune
|
||||||
|
cat <<'EOF' >/usr/bin/karakeep
|
||||||
|
#!/usr/bin/env node
|
||||||
|
import('/opt/karakeep/apps/cli/dist/index.mjs')
|
||||||
|
EOF
|
||||||
|
chmod +x /usr/bin/karakeep
|
||||||
|
|
||||||
export DATA_DIR=/opt/karakeep_data
|
export DATA_DIR=/opt/karakeep_data
|
||||||
karakeep_SECRET=$(openssl rand -base64 36 | cut -c1-24)
|
karakeep_SECRET=$(openssl rand -base64 36 | cut -c1-24)
|
||||||
|
|||||||
@@ -13,18 +13,26 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Mosquitto MQTT Broker"
|
setup_deb822_repo \
|
||||||
source /etc/os-release
|
"mqtt" \
|
||||||
$STD apt update
|
"https://repo.mosquitto.org/debian/mosquitto-repo.gpg" \
|
||||||
$STD apt -y install mosquitto mosquitto-clients
|
"https://repo.mosquitto.org/debian" \
|
||||||
|
"trixie"
|
||||||
|
|
||||||
|
msg_info "Installing Mosquitto MQTT Broker"
|
||||||
|
$STD apt install -y \
|
||||||
|
mosquitto \
|
||||||
|
mosquitto-clients
|
||||||
|
msg_ok "Installed Mosquitto MQTT Broker"
|
||||||
|
|
||||||
|
msg_info "Configuring Mosquitto MQTT Broker"
|
||||||
cat <<EOF >/etc/mosquitto/conf.d/default.conf
|
cat <<EOF >/etc/mosquitto/conf.d/default.conf
|
||||||
allow_anonymous false
|
allow_anonymous false
|
||||||
persistence true
|
persistence true
|
||||||
password_file /etc/mosquitto/passwd
|
password_file /etc/mosquitto/passwd
|
||||||
listener 1883
|
listener 1883
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Installed Mosquitto MQTT Broker"
|
msg_ok "Configured Mosquitto MQTT Broker"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|||||||
@@ -41,6 +41,16 @@ $STD apt install -y \
|
|||||||
nginx
|
nginx
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
msg_info "Installing Nginx mod_zip module"
|
||||||
|
setup_deb822_repo \
|
||||||
|
"getpagespeed-extras" \
|
||||||
|
"https://extras.getpagespeed.com/deb-archive-keyring.gpg" \
|
||||||
|
"https://extras.getpagespeed.com/debian" \
|
||||||
|
"$(get_os_info codename)" \
|
||||||
|
"main"
|
||||||
|
$STD apt-get install -y nginx nginx-module-zip
|
||||||
|
msg_ok "Installed Nginx mod_zip module"
|
||||||
|
|
||||||
PYTHON_VERSION="3.13" setup_uv
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
NODE_VERSION="24" setup_nodejs
|
NODE_VERSION="24" setup_nodejs
|
||||||
setup_mariadb
|
setup_mariadb
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Copyright (c) 2021-2026 community-scripts ORG
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
# Author: CrazyWolf13
|
# Author: CrazyWolf13
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
# Source: https://wealthfolio.app/ | Github: https://github.com/afadil/wealthfolio
|
# Source: https://wealthfolio.app/ | Github: https://github.com/wealthfolio/wealthfolio
|
||||||
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
color
|
color
|
||||||
@@ -14,31 +14,14 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt install -y \
|
$STD apt install -y argon2
|
||||||
pkg-config \
|
|
||||||
libssl-dev \
|
|
||||||
build-essential \
|
|
||||||
libsqlite3-dev \
|
|
||||||
argon2
|
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
setup_rust
|
fetch_and_deploy_gh_release "wealthfolio" "wealthfolio/wealthfolio" "prebuild" "latest" "/opt/wealthfolio" "wealthfolio-server-*-linux-amd64.tar.gz"
|
||||||
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
|
|
||||||
fetch_and_deploy_gh_release "wealthfolio" "afadil/wealthfolio" "tarball"
|
|
||||||
|
|
||||||
msg_info "Building Frontend (patience)"
|
msg_info "Installing Wealthfolio"
|
||||||
cd /opt/wealthfolio
|
install -m 755 /opt/wealthfolio/wealthfolio-server /usr/local/bin/wealthfolio-server
|
||||||
export BUILD_TARGET=web
|
msg_ok "Installed Wealthfolio"
|
||||||
$STD pnpm install --frozen-lockfile
|
|
||||||
$STD pnpm --filter frontend... build
|
|
||||||
msg_ok "Built Frontend"
|
|
||||||
|
|
||||||
msg_info "Building Backend (patience)"
|
|
||||||
source ~/.cargo/env
|
|
||||||
$STD cargo build --release --manifest-path apps/server/Cargo.toml
|
|
||||||
cp /opt/wealthfolio/target/release/wealthfolio-server /usr/local/bin/wealthfolio-server
|
|
||||||
chmod +x /usr/local/bin/wealthfolio-server
|
|
||||||
msg_ok "Built Backend"
|
|
||||||
|
|
||||||
msg_info "Configuring Wealthfolio"
|
msg_info "Configuring Wealthfolio"
|
||||||
mkdir -p /opt/wealthfolio_data
|
mkdir -p /opt/wealthfolio_data
|
||||||
@@ -57,12 +40,6 @@ EOF
|
|||||||
echo "WF_PASSWORD=${WF_PASSWORD}" >~/wealthfolio.creds
|
echo "WF_PASSWORD=${WF_PASSWORD}" >~/wealthfolio.creds
|
||||||
msg_ok "Configured Wealthfolio"
|
msg_ok "Configured Wealthfolio"
|
||||||
|
|
||||||
msg_info "Cleaning Up"
|
|
||||||
rm -rf /opt/wealthfolio/target
|
|
||||||
rm -rf /root/.cargo/registry
|
|
||||||
rm -rf /opt/wealthfolio/node_modules
|
|
||||||
msg_ok "Cleaned Up"
|
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/wealthfolio.service
|
cat <<EOF >/etc/systemd/system/wealthfolio.service
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|||||||
@@ -4269,12 +4269,10 @@ function setup_gs() {
|
|||||||
|
|
||||||
ensure_dependencies jq
|
ensure_dependencies jq
|
||||||
|
|
||||||
local RELEASE_JSON
|
local LATEST_VERSION
|
||||||
RELEASE_JSON=$(curl -fsSL --max-time 15 https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases/latest 2>/dev/null || echo "")
|
# Tags are "gs10.05.1" format — fetch without stripping "v", then strip "gs"
|
||||||
|
LATEST_VERSION=$(get_latest_github_release "ArtifexSoftware/ghostpdl-downloads" "false") || {
|
||||||
if [[ -z "$RELEASE_JSON" ]]; then
|
|
||||||
msg_warn "Cannot fetch latest Ghostscript version from GitHub API"
|
msg_warn "Cannot fetch latest Ghostscript version from GitHub API"
|
||||||
# Try to get from current version
|
|
||||||
if command -v gs &>/dev/null; then
|
if command -v gs &>/dev/null; then
|
||||||
gs --version | head -n1
|
gs --version | head -n1
|
||||||
cache_installed_version "ghostscript" "$CURRENT_VERSION"
|
cache_installed_version "ghostscript" "$CURRENT_VERSION"
|
||||||
@@ -4282,11 +4280,9 @@ function setup_gs() {
|
|||||||
fi
|
fi
|
||||||
msg_error "Cannot determine Ghostscript version and no existing installation found"
|
msg_error "Cannot determine Ghostscript version and no existing installation found"
|
||||||
return 250
|
return 250
|
||||||
fi
|
}
|
||||||
local LATEST_VERSION
|
LATEST_VERSION="${LATEST_VERSION#gs}"
|
||||||
LATEST_VERSION=$(echo "$RELEASE_JSON" | jq -r '.tag_name' | sed 's/^gs//')
|
local LATEST_VERSION_DOTTED="$LATEST_VERSION"
|
||||||
local LATEST_VERSION_DOTTED
|
|
||||||
LATEST_VERSION_DOTTED=$(echo "$RELEASE_JSON" | jq -r '.name' | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+')
|
|
||||||
|
|
||||||
if [[ -z "$LATEST_VERSION" || -z "$LATEST_VERSION_DOTTED" ]]; then
|
if [[ -z "$LATEST_VERSION" || -z "$LATEST_VERSION_DOTTED" ]]; then
|
||||||
msg_warn "Could not determine latest Ghostscript version from GitHub - checking system"
|
msg_warn "Could not determine latest Ghostscript version from GitHub - checking system"
|
||||||
@@ -7336,22 +7332,11 @@ function setup_ruby() {
|
|||||||
# Download and build rbenv if needed
|
# Download and build rbenv if needed
|
||||||
if [[ ! -x "$RBENV_BIN" ]]; then
|
if [[ ! -x "$RBENV_BIN" ]]; then
|
||||||
local RBENV_RELEASE
|
local RBENV_RELEASE
|
||||||
local rbenv_json
|
RBENV_RELEASE=$(get_latest_github_release "rbenv/rbenv") || {
|
||||||
rbenv_json=$(curl -fsSL --max-time 15 https://api.github.com/repos/rbenv/rbenv/releases/latest 2>/dev/null || echo "")
|
|
||||||
|
|
||||||
if [[ -z "$rbenv_json" ]]; then
|
|
||||||
msg_error "Failed to fetch latest rbenv version from GitHub"
|
msg_error "Failed to fetch latest rbenv version from GitHub"
|
||||||
rm -rf "$TMP_DIR"
|
rm -rf "$TMP_DIR"
|
||||||
return 7
|
return 7
|
||||||
fi
|
}
|
||||||
|
|
||||||
RBENV_RELEASE=$(echo "$rbenv_json" | jq -r '.tag_name' 2>/dev/null | sed 's/^v//' || echo "")
|
|
||||||
|
|
||||||
if [[ -z "$RBENV_RELEASE" ]]; then
|
|
||||||
msg_error "Could not parse rbenv version from GitHub response"
|
|
||||||
rm -rf "$TMP_DIR"
|
|
||||||
return 250
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! curl_with_retry "https://github.com/rbenv/rbenv/archive/refs/tags/v${RBENV_RELEASE}.tar.gz" "$TMP_DIR/rbenv.tar.gz"; then
|
if ! curl_with_retry "https://github.com/rbenv/rbenv/archive/refs/tags/v${RBENV_RELEASE}.tar.gz" "$TMP_DIR/rbenv.tar.gz"; then
|
||||||
msg_error "Failed to download rbenv"
|
msg_error "Failed to download rbenv"
|
||||||
@@ -7383,22 +7368,11 @@ function setup_ruby() {
|
|||||||
# Install ruby-build plugin
|
# Install ruby-build plugin
|
||||||
if [[ ! -d "$RBENV_DIR/plugins/ruby-build" ]]; then
|
if [[ ! -d "$RBENV_DIR/plugins/ruby-build" ]]; then
|
||||||
local RUBY_BUILD_RELEASE
|
local RUBY_BUILD_RELEASE
|
||||||
local ruby_build_json
|
RUBY_BUILD_RELEASE=$(get_latest_github_release "rbenv/ruby-build") || {
|
||||||
ruby_build_json=$(curl -fsSL --max-time 15 https://api.github.com/repos/rbenv/ruby-build/releases/latest 2>/dev/null || echo "")
|
|
||||||
|
|
||||||
if [[ -z "$ruby_build_json" ]]; then
|
|
||||||
msg_error "Failed to fetch latest ruby-build version from GitHub"
|
msg_error "Failed to fetch latest ruby-build version from GitHub"
|
||||||
rm -rf "$TMP_DIR"
|
rm -rf "$TMP_DIR"
|
||||||
return 7
|
return 7
|
||||||
fi
|
}
|
||||||
|
|
||||||
RUBY_BUILD_RELEASE=$(echo "$ruby_build_json" | jq -r '.tag_name' 2>/dev/null | sed 's/^v//' || echo "")
|
|
||||||
|
|
||||||
if [[ -z "$RUBY_BUILD_RELEASE" ]]; then
|
|
||||||
msg_error "Could not parse ruby-build version from GitHub response"
|
|
||||||
rm -rf "$TMP_DIR"
|
|
||||||
return 250
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! curl_with_retry "https://github.com/rbenv/ruby-build/archive/refs/tags/v${RUBY_BUILD_RELEASE}.tar.gz" "$TMP_DIR/ruby-build.tar.gz"; then
|
if ! curl_with_retry "https://github.com/rbenv/ruby-build/archive/refs/tags/v${RUBY_BUILD_RELEASE}.tar.gz" "$TMP_DIR/ruby-build.tar.gz"; then
|
||||||
msg_error "Failed to download ruby-build"
|
msg_error "Failed to download ruby-build"
|
||||||
@@ -7781,8 +7755,7 @@ function setup_clickhouse() {
|
|||||||
|
|
||||||
# Fallback to GitHub API if package server failed
|
# Fallback to GitHub API if package server failed
|
||||||
if [[ -z "$CLICKHOUSE_VERSION" ]]; then
|
if [[ -z "$CLICKHOUSE_VERSION" ]]; then
|
||||||
CLICKHOUSE_VERSION=$(curl -fsSL --max-time 15 https://api.github.com/repos/ClickHouse/ClickHouse/releases/latest 2>/dev/null |
|
CLICKHOUSE_VERSION=$(get_latest_github_release "ClickHouse/ClickHouse") || true
|
||||||
grep -oP '"tag_name":\s*"v\K[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | head -n1 || echo "")
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ -z "$CLICKHOUSE_VERSION" ]] && {
|
[[ -z "$CLICKHOUSE_VERSION" ]] && {
|
||||||
@@ -8071,22 +8044,11 @@ function setup_uv() {
|
|||||||
ensure_dependencies jq
|
ensure_dependencies jq
|
||||||
|
|
||||||
# Fetch latest version
|
# Fetch latest version
|
||||||
local releases_json
|
local LATEST_VERSION
|
||||||
releases_json=$(curl -fsSL --max-time 15 \
|
LATEST_VERSION=$(get_latest_github_release "astral-sh/uv") || {
|
||||||
"https://api.github.com/repos/astral-sh/uv/releases/latest" 2>/dev/null || echo "")
|
|
||||||
|
|
||||||
if [[ -z "$releases_json" ]]; then
|
|
||||||
msg_error "Could not fetch latest uv version from GitHub API"
|
msg_error "Could not fetch latest uv version from GitHub API"
|
||||||
return 7
|
return 7
|
||||||
fi
|
}
|
||||||
|
|
||||||
local LATEST_VERSION
|
|
||||||
LATEST_VERSION=$(echo "$releases_json" | jq -r '.tag_name' 2>/dev/null | sed 's/^v//')
|
|
||||||
|
|
||||||
if [[ -z "$LATEST_VERSION" ]]; then
|
|
||||||
msg_error "Could not parse uv version from GitHub API response"
|
|
||||||
return 250
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Get currently installed version
|
# Get currently installed version
|
||||||
local INSTALLED_VERSION=""
|
local INSTALLED_VERSION=""
|
||||||
@@ -8213,22 +8175,11 @@ function setup_yq() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local LATEST_VERSION
|
local LATEST_VERSION
|
||||||
local releases_json
|
LATEST_VERSION=$(get_latest_github_release "${GITHUB_REPO}") || {
|
||||||
releases_json=$(curl -fsSL --max-time 15 "https://api.github.com/repos/${GITHUB_REPO}/releases/latest" 2>/dev/null || echo "")
|
|
||||||
|
|
||||||
if [[ -z "$releases_json" ]]; then
|
|
||||||
msg_error "Could not fetch latest yq version from GitHub API"
|
msg_error "Could not fetch latest yq version from GitHub API"
|
||||||
rm -rf "$TMP_DIR"
|
rm -rf "$TMP_DIR"
|
||||||
return 250
|
return 250
|
||||||
fi
|
}
|
||||||
|
|
||||||
LATEST_VERSION=$(echo "$releases_json" | jq -r '.tag_name' 2>/dev/null | sed 's/^v//' || echo "")
|
|
||||||
|
|
||||||
if [[ -z "$LATEST_VERSION" ]]; then
|
|
||||||
msg_error "Could not parse yq version from GitHub API response"
|
|
||||||
rm -rf "$TMP_DIR"
|
|
||||||
return 250
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Get currently installed version
|
# Get currently installed version
|
||||||
local INSTALLED_VERSION=""
|
local INSTALLED_VERSION=""
|
||||||
|
|||||||
@@ -28,7 +28,14 @@ declare -f init_tool_telemetry &>/dev/null && init_tool_telemetry "kernel-clean"
|
|||||||
|
|
||||||
# Detect current kernel
|
# Detect current kernel
|
||||||
current_kernel=$(uname -r)
|
current_kernel=$(uname -r)
|
||||||
available_kernels=$(dpkg --list | grep 'kernel-.*-pve' | awk '{print $2}' | grep -v "$current_kernel" | sort -V)
|
# Only list fully-installed (ii) versioned kernel packages; the pattern
|
||||||
|
# proxmox-kernel-X.Y.Z matches versioned kernels while excluding the
|
||||||
|
# two-segment meta-packages (proxmox-kernel-X.Y) and proxmox-kernel-helper.
|
||||||
|
available_kernels=$(dpkg --list |
|
||||||
|
awk '/^ii/ {print $2}' |
|
||||||
|
grep -E '^proxmox-kernel-[0-9]+\.[0-9]+\.[0-9]' |
|
||||||
|
grep -v "$current_kernel" |
|
||||||
|
sort -V)
|
||||||
|
|
||||||
header_info
|
header_info
|
||||||
|
|
||||||
@@ -41,13 +48,23 @@ echo -e "${GN}Currently running kernel: ${current_kernel}${CL}"
|
|||||||
echo -e "${YW}Available kernels for removal:${CL}"
|
echo -e "${YW}Available kernels for removal:${CL}"
|
||||||
echo "$available_kernels" | nl -w 2 -s '. '
|
echo "$available_kernels" | nl -w 2 -s '. '
|
||||||
|
|
||||||
echo -e "\n${YW}Select kernels to remove (comma-separated, e.g., 1,2):${CL}"
|
echo -e "\n${YW}Select kernels to remove (e.g. 1,3 or 1-5 or 1-3,7):${CL}"
|
||||||
read -r selected
|
read -r selected
|
||||||
|
|
||||||
# Parse selection
|
# Parse selection: supports single indices, ranges (e.g., 1-5), and combinations (e.g., 1,3-5,7)
|
||||||
IFS=',' read -r -a selected_indices <<<"$selected"
|
selected_indices=()
|
||||||
kernels_to_remove=()
|
IFS=',' read -r -a tokens <<<"$selected"
|
||||||
|
for token in "${tokens[@]}"; do
|
||||||
|
if [[ "$token" =~ ^([0-9]+)-([0-9]+)$ ]]; then
|
||||||
|
for ((i = BASH_REMATCH[1]; i <= BASH_REMATCH[2]; i++)); do
|
||||||
|
selected_indices+=("$i")
|
||||||
|
done
|
||||||
|
else
|
||||||
|
selected_indices+=("$token")
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
kernels_to_remove=()
|
||||||
for index in "${selected_indices[@]}"; do
|
for index in "${selected_indices[@]}"; do
|
||||||
kernel=$(echo "$available_kernels" | sed -n "${index}p")
|
kernel=$(echo "$available_kernels" | sed -n "${index}p")
|
||||||
if [ -n "$kernel" ]; then
|
if [ -n "$kernel" ]; then
|
||||||
@@ -72,10 +89,28 @@ fi
|
|||||||
# Remove kernels
|
# Remove kernels
|
||||||
for kernel in "${kernels_to_remove[@]}"; do
|
for kernel in "${kernels_to_remove[@]}"; do
|
||||||
echo -e "${YW}Removing $kernel...${CL}"
|
echo -e "${YW}Removing $kernel...${CL}"
|
||||||
if apt-get purge -y "$kernel" >/dev/null 2>&1; then
|
# Derive the major.minor meta-package name (e.g. proxmox-kernel-6.14)
|
||||||
echo -e "${GN}Successfully removed: $kernel${CL}"
|
# from a versioned name like proxmox-kernel-6.14.11-9-pve-signed.
|
||||||
|
minor_version=$(echo "$kernel" | sed -E 's/^proxmox-kernel-([0-9]+\.[0-9]+)\..*/\1/')
|
||||||
|
meta="proxmox-kernel-${minor_version}"
|
||||||
|
pkgs_to_remove=("$kernel")
|
||||||
|
# Include the meta-package in the purge when it is installed and when
|
||||||
|
# no other versioned kernel of the same minor version will remain
|
||||||
|
# (the running kernel keeps it alive if it shares the same minor).
|
||||||
|
if dpkg -l "$meta" 2>/dev/null | grep -q '^ii'; then
|
||||||
|
remaining=$(dpkg --list |
|
||||||
|
awk '/^ii/ {print $2}' |
|
||||||
|
grep -E "^proxmox-kernel-${minor_version}\." |
|
||||||
|
grep -v "^${kernel}$" |
|
||||||
|
wc -l)
|
||||||
|
if [ "$remaining" -eq 0 ]; then
|
||||||
|
pkgs_to_remove+=("$meta")
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if apt-get purge -y "${pkgs_to_remove[@]}" >/dev/null 2>&1; then
|
||||||
|
echo -e "${GN}Successfully removed: ${pkgs_to_remove[*]}${CL}"
|
||||||
else
|
else
|
||||||
echo -e "${RD}Failed to remove: $kernel. Check dependencies.${CL}"
|
echo -e "${RD}Failed to remove: ${pkgs_to_remove[*]}. Check dependencies.${CL}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user