mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-29 11:05:01 +01:00
Compare commits
55
Commits
No files matched your search
Generated
+268
@@ -1,3 +1,271 @@
|
||||
## 2026-11-28
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Waydroid ([#19142](https://github.com/community-scripts/ProxmoxVE/pull/19142))
|
||||
- ChirpStack [@tomfrenzel](https://github.com/tomfrenzel) ([#19143](https://github.com/community-scripts/ProxmoxVE/pull/19143))
|
||||
- Coder [@MickLesk](https://github.com/MickLesk) ([#19141](https://github.com/community-scripts/ProxmoxVE/pull/19141))
|
||||
- MusicGrabber [@MickLesk](https://github.com/MickLesk) ([#19139](https://github.com/community-scripts/ProxmoxVE/pull/19139))
|
||||
- ClamAV [@cisox](https://github.com/cisox) ([#19140](https://github.com/community-scripts/ProxmoxVE/pull/19140))
|
||||
- DokuWiki [@MickLesk](https://github.com/MickLesk) ([#19138](https://github.com/community-scripts/ProxmoxVE/pull/19138))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- wavelog: bump PHP from 8.4 to 8.5 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19103](https://github.com/community-scripts/ProxmoxVE/pull/19103))
|
||||
- TREK: give the build a 3 GB heap [@MickLesk](https://github.com/MickLesk) ([#19148](https://github.com/community-scripts/ProxmoxVE/pull/19148))
|
||||
- Baikal: let composer install the twig version Baikal pins [@MickLesk](https://github.com/MickLesk) ([#19147](https://github.com/community-scripts/ProxmoxVE/pull/19147))
|
||||
- Warracker: fill in the nginx settings the upstream entrypoint sets [@MickLesk](https://github.com/MickLesk) ([#19146](https://github.com/community-scripts/ProxmoxVE/pull/19146))
|
||||
- tubearchivist: bump Python from 3.13 to 3.14 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19111](https://github.com/community-scripts/ProxmoxVE/pull/19111))
|
||||
- warracker: bump Python from 3.12 to 3.15 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19112](https://github.com/community-scripts/ProxmoxVE/pull/19112))
|
||||
- Pin install Python version in ct update scripts [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#19114](https://github.com/community-scripts/ProxmoxVE/pull/19114))
|
||||
- Garage: use published stable releases for install and update [@mormied22](https://github.com/mormied22) ([#19084](https://github.com/community-scripts/ProxmoxVE/pull/19084))
|
||||
- Set up install PHP version in ct update scripts [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#19115](https://github.com/community-scripts/ProxmoxVE/pull/19115))
|
||||
- Pelican Panel: leave the PHP version change to setup_php [@MickLesk](https://github.com/MickLesk) ([#19134](https://github.com/community-scripts/ProxmoxVE/pull/19134))
|
||||
- FreshRSS: add missing PHP extensions through setup_php [@MickLesk](https://github.com/MickLesk) ([#19135](https://github.com/community-scripts/ProxmoxVE/pull/19135))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- several scripts: exit 64 when a required setting is missing [@MickLesk](https://github.com/MickLesk) ([#19153](https://github.com/community-scripts/ProxmoxVE/pull/19153))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- Leave a legacy version file to the app it belongs to [@MickLesk](https://github.com/MickLesk) ([core#317](https://github.com/community-scripts/core/pull/317))
|
||||
- incus: draw the banner when the header cache belongs to another user [@MickLesk](https://github.com/MickLesk) ([core#318](https://github.com/community-scripts/core/pull/318))
|
||||
- Incus: Report Incus VM runs to telemetry [@MickLesk](https://github.com/MickLesk) ([core#319](https://github.com/community-scripts/core/pull/319))
|
||||
- PHP: Keep Sury from pulling a second PHP in, and read the version from packages [@MickLesk](https://github.com/MickLesk) ([core#316](https://github.com/community-scripts/core/pull/316))
|
||||
- Give PVE containers from linuxcontainers.org images the Proxmox templates Base set [@MickLesk](https://github.com/MickLesk) ([core#315](https://github.com/community-scripts/core/pull/315))
|
||||
- PHP: keep modules, pools and settings when setup_php changes the PHP version [@MickLesk](https://github.com/MickLesk) ([core#314](https://github.com/community-scripts/core/pull/314))
|
||||
|
||||
### 🧰 Tools
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Host tools: report the containers' real exit code and what failed [@MickLesk](https://github.com/MickLesk) ([#19152](https://github.com/community-scripts/ProxmoxVE/pull/19152))
|
||||
- PVE Post Install: say so when it runs outside Proxmox VE [@MickLesk](https://github.com/MickLesk) ([#19145](https://github.com/community-scripts/ProxmoxVE/pull/19145))
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- docs: add 9.3 support [@cwmoriarty](https://github.com/cwmoriarty) ([#19129](https://github.com/community-scripts/ProxmoxVE/pull/19129))
|
||||
|
||||
## 2026-11-27
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Floppy [@MickLesk](https://github.com/MickLesk) ([#19099](https://github.com/community-scripts/ProxmoxVE/pull/19099))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- yourls: bump PHP from 8.3 to 8.4 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19104](https://github.com/community-scripts/ProxmoxVE/pull/19104))
|
||||
- tandoor: bump Python from 3.13 to 3.14 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19110](https://github.com/community-scripts/ProxmoxVE/pull/19110))
|
||||
- poznote: bump PHP from 8.4 to 8.5 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19102](https://github.com/community-scripts/ProxmoxVE/pull/19102))
|
||||
- suggestarr: bump Python from 3.12 to 3.13 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19109](https://github.com/community-scripts/ProxmoxVE/pull/19109))
|
||||
- romm: bump Python from 3.13 to 3.14 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19108](https://github.com/community-scripts/ProxmoxVE/pull/19108))
|
||||
- norish: bump Python from 3.14 to 3.15 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19107](https://github.com/community-scripts/ProxmoxVE/pull/19107))
|
||||
- mealie: bump Python from 3.12 to 3.14 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19106](https://github.com/community-scripts/ProxmoxVE/pull/19106))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- Gramps Web: install AI chat dependencies [@owenvoke](https://github.com/owenvoke) ([#19092](https://github.com/community-scripts/ProxmoxVE/pull/19092))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- Incus: offer the LAN network IncusOS gives instances, and rank NAT last [@MickLesk](https://github.com/MickLesk) ([core#313](https://github.com/community-scripts/core/pull/313))
|
||||
- core: wait for the package lists lock instead of taking it for a bad mirror [@MickLesk](https://github.com/MickLesk) ([core#304](https://github.com/community-scripts/core/pull/304))
|
||||
- incus: check an imported VM image on the target remote [@MickLesk](https://github.com/MickLesk) ([core#309](https://github.com/community-scripts/core/pull/309))
|
||||
- Offer no DNS retry to a container without a connection out [@MickLesk](https://github.com/MickLesk) ([core#310](https://github.com/community-scripts/core/pull/310))
|
||||
- Refuse a static address without a gateway before pct create [@MickLesk](https://github.com/MickLesk) ([core#312](https://github.com/community-scripts/core/pull/312))
|
||||
- Protect a container once its install succeeded, not at creation [@MickLesk](https://github.com/MickLesk) ([core#311](https://github.com/community-scripts/core/pull/311))
|
||||
|
||||
### 🧰 Tools
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- update-apps: say what tar or zstd said when a backup fails [@MickLesk](https://github.com/MickLesk) ([#19066](https://github.com/community-scripts/ProxmoxVE/pull/19066))
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- github: add a weekly Python version drift check [@MickLesk](https://github.com/MickLesk) ([#19095](https://github.com/community-scripts/ProxmoxVE/pull/19095))
|
||||
- github: add a weekly PHP version drift check [@MickLesk](https://github.com/MickLesk) ([#19094](https://github.com/community-scripts/ProxmoxVE/pull/19094))
|
||||
|
||||
## 2026-11-26
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Bifrost [@cheesejaguar](https://github.com/cheesejaguar) ([#19028](https://github.com/community-scripts/ProxmoxVE/pull/19028))
|
||||
- SurfSense [@MickLesk](https://github.com/MickLesk) ([#19029](https://github.com/community-scripts/ProxmoxVE/pull/19029))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- LibreChat: rebuild the RAG API venv on update, keep uploads [@MickLesk](https://github.com/MickLesk) ([#19056](https://github.com/community-scripts/ProxmoxVE/pull/19056))
|
||||
- Cloudflare-DDNS: give the Go build 1 GB [@MickLesk](https://github.com/MickLesk) ([#19059](https://github.com/community-scripts/ProxmoxVE/pull/19059))
|
||||
- Vane: skip the CUDA binaries of onnxruntime-node [@MickLesk](https://github.com/MickLesk) ([#19060](https://github.com/community-scripts/ProxmoxVE/pull/19060))
|
||||
- UniFi OS Server: retry the installer download [@MickLesk](https://github.com/MickLesk) ([#19062](https://github.com/community-scripts/ProxmoxVE/pull/19062))
|
||||
- Umami: pin pnpm from engines.pnpm on install, set APP_SECRET [@MickLesk](https://github.com/MickLesk) ([#19057](https://github.com/community-scripts/ProxmoxVE/pull/19057))
|
||||
- FreshRSS: fix automatic feeds update [@CrazyWolf13](https://github.com/CrazyWolf13) ([#19044](https://github.com/community-scripts/ProxmoxVE/pull/19044))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- Incus: read architecture, GPUs and pool space from the target remote [@MickLesk](https://github.com/MickLesk) ([core#308](https://github.com/community-scripts/core/pull/308))
|
||||
- Incus: pick the VM storage pool from the host instead of assuming 'default' [@MickLesk](https://github.com/MickLesk) ([core#307](https://github.com/community-scripts/core/pull/307))
|
||||
- core: say what the container reaches when its base packages fail [@MickLesk](https://github.com/MickLesk) ([core#305](https://github.com/community-scripts/core/pull/305))
|
||||
- Incus: check VM support on the target remote instead of local /dev/kvm [@MickLesk](https://github.com/MickLesk) ([core#306](https://github.com/community-scripts/core/pull/306))
|
||||
|
||||
### 🧰 Tools
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- PVE Post Install: support Proxmox VE 9.3 [@MickLesk](https://github.com/MickLesk) ([#19053](https://github.com/community-scripts/ProxmoxVE/pull/19053))
|
||||
|
||||
## 2026-11-25
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- NextDNS [@nberardi](https://github.com/nberardi) ([#18980](https://github.com/community-scripts/ProxmoxVE/pull/18980))
|
||||
- Rauthy [@MickLesk](https://github.com/MickLesk) ([#19021](https://github.com/community-scripts/ProxmoxVE/pull/19021))
|
||||
- Formbricks [@MickLesk](https://github.com/MickLesk) ([#19022](https://github.com/community-scripts/ProxmoxVE/pull/19022))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Dispatcharr: load the gevent monkey-patch in uWSGI like upstream [@mandishshah](https://github.com/mandishshah) ([#19045](https://github.com/community-scripts/ProxmoxVE/pull/19045))
|
||||
- Odoo: update PDFKiln on each release, and replace wkhtmltox too [@Jamalofski](https://github.com/Jamalofski) ([#19035](https://github.com/community-scripts/ProxmoxVE/pull/19035))
|
||||
|
||||
- #### 💥 Breaking Changes
|
||||
|
||||
- Hister is now Nogon [@MickLesk](https://github.com/MickLesk) ([#19031](https://github.com/community-scripts/ProxmoxVE/pull/19031))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- ERPNext: install PDFKiln instead of the archived wkhtmltox build [@Jamalofski](https://github.com/Jamalofski) ([#19025](https://github.com/community-scripts/ProxmoxVE/pull/19025))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- pve: say why pct create failed in the message itself [@MickLesk](https://github.com/MickLesk) ([core#298](https://github.com/community-scripts/core/pull/298))
|
||||
- core: end the wait for an address once the bridge shows no DHCP server [@MickLesk](https://github.com/MickLesk) ([core#300](https://github.com/community-scripts/core/pull/300))
|
||||
- pve: wait for a container's state to settle before calling it unenterable [@MickLesk](https://github.com/MickLesk) ([core#299](https://github.com/community-scripts/core/pull/299))
|
||||
- incus: keep apt's output and say what the container reaches when Incus base packages fail [@MickLesk](https://github.com/MickLesk) ([core#297](https://github.com/community-scripts/core/pull/297))
|
||||
- incus: share the VM image download between the Proxmox and Incus backends [@MickLesk](https://github.com/MickLesk) ([core#296](https://github.com/community-scripts/core/pull/296))
|
||||
- core: add PVE 9.3 version support [@charles-young](https://github.com/charles-young) ([core#301](https://github.com/community-scripts/core/pull/301))
|
||||
- core: back up and restore around a mount below the path [@MickLesk](https://github.com/MickLesk) ([core#295](https://github.com/community-scripts/core/pull/295))
|
||||
|
||||
### 🧰 Tools
|
||||
|
||||
- Immich Power Tools ([#19023](https://github.com/community-scripts/ProxmoxVE/pull/19023))
|
||||
- VueTorrent ([#19024](https://github.com/community-scripts/ProxmoxVE/pull/19024))
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Monitor-All: ping the container's net0 address [@MickLesk](https://github.com/MickLesk) ([#19030](https://github.com/community-scripts/ProxmoxVE/pull/19030))
|
||||
|
||||
## 2026-11-24
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- 8mblocal [@MickLesk](https://github.com/MickLesk) ([#18975](https://github.com/community-scripts/ProxmoxVE/pull/18975))
|
||||
- Woodpecker-CI [@MickLesk](https://github.com/MickLesk) ([#18973](https://github.com/community-scripts/ProxmoxVE/pull/18973))
|
||||
- HedgeDoc [@MickLesk](https://github.com/MickLesk) ([#18978](https://github.com/community-scripts/ProxmoxVE/pull/18978))
|
||||
- Typecho [@MickLesk](https://github.com/MickLesk) ([#18974](https://github.com/community-scripts/ProxmoxVE/pull/18974))
|
||||
- Kyoo [@MickLesk](https://github.com/MickLesk) ([#18971](https://github.com/community-scripts/ProxmoxVE/pull/18971))
|
||||
- Activepieces [@MickLesk](https://github.com/MickLesk) ([#18970](https://github.com/community-scripts/ProxmoxVE/pull/18970))
|
||||
- Windmill [@MickLesk](https://github.com/MickLesk) ([#18977](https://github.com/community-scripts/ProxmoxVE/pull/18977))
|
||||
- Databasement [@MickLesk](https://github.com/MickLesk) ([#18976](https://github.com/community-scripts/ProxmoxVE/pull/18976))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Odoo: install PDFKiln instead of the archived wkhtmltox build [@Jamalofski](https://github.com/Jamalofski) ([#19014](https://github.com/community-scripts/ProxmoxVE/pull/19014))
|
||||
- Traefik: actually upgrade and restart traefik on Alpine update [@Tonomis](https://github.com/Tonomis) ([#19005](https://github.com/community-scripts/ProxmoxVE/pull/19005))
|
||||
- Nginx Proxy Manager: bump OpenResty to 1.31.9.1 [@rudydelorenzo](https://github.com/rudydelorenzo) ([#19008](https://github.com/community-scripts/ProxmoxVE/pull/19008))
|
||||
|
||||
## 2026-11-23
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- useSend [@MickLesk](https://github.com/MickLesk) ([#18969](https://github.com/community-scripts/ProxmoxVE/pull/18969))
|
||||
- OpenViking [@mfelipe](https://github.com/mfelipe) ([#18979](https://github.com/community-scripts/ProxmoxVE/pull/18979))
|
||||
- Soulbeet [@MickLesk](https://github.com/MickLesk) ([#18944](https://github.com/community-scripts/ProxmoxVE/pull/18944))
|
||||
- Budibase [@MickLesk](https://github.com/MickLesk) ([#18968](https://github.com/community-scripts/ProxmoxVE/pull/18968))
|
||||
- JumpServer [@opastorello](https://github.com/opastorello) ([#18947](https://github.com/community-scripts/ProxmoxVE/pull/18947))
|
||||
- FreeScout [@MickLesk](https://github.com/MickLesk) ([#18930](https://github.com/community-scripts/ProxmoxVE/pull/18930))
|
||||
- Anubis [@opastorello](https://github.com/opastorello) ([#18926](https://github.com/community-scripts/ProxmoxVE/pull/18926))
|
||||
- Oracle Linux [@MickLesk](https://github.com/MickLesk) ([#18945](https://github.com/community-scripts/ProxmoxVE/pull/18945))
|
||||
- Kali Linux [@MickLesk](https://github.com/MickLesk) ([#18946](https://github.com/community-scripts/ProxmoxVE/pull/18946))
|
||||
- Linux Mint [@MickLesk](https://github.com/MickLesk) ([#18948](https://github.com/community-scripts/ProxmoxVE/pull/18948))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Qdrant: restart service after update [@l2chris](https://github.com/l2chris) ([#19006](https://github.com/community-scripts/ProxmoxVE/pull/19006))
|
||||
- directus: bump Node.js from 22 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18987](https://github.com/community-scripts/ProxmoxVE/pull/18987))
|
||||
- DietPi: no console autologin, write the pre-login banner [@mews-se](https://github.com/mews-se) ([#18954](https://github.com/community-scripts/ProxmoxVE/pull/18954))
|
||||
- ideon: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18958](https://github.com/community-scripts/ProxmoxVE/pull/18958))
|
||||
- portabase: bump Node.js from 22 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18988](https://github.com/community-scripts/ProxmoxVE/pull/18988))
|
||||
- t3code: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18959](https://github.com/community-scripts/ProxmoxVE/pull/18959))
|
||||
- airconnect: fix disabled service restart, static binary cleanup, and flag overrides [@cwmoriarty](https://github.com/cwmoriarty) ([#18955](https://github.com/community-scripts/ProxmoxVE/pull/18955))
|
||||
- bulwark: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18957](https://github.com/community-scripts/ProxmoxVE/pull/18957))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- Immich: bump to v3.4.2 | Node 26 [@MickLesk](https://github.com/MickLesk) ([#18939](https://github.com/community-scripts/ProxmoxVE/pull/18939))
|
||||
- SoulSync: install Deno and the yt-dlp challenge solver [@MickLesk](https://github.com/MickLesk) ([#18899](https://github.com/community-scripts/ProxmoxVE/pull/18899))
|
||||
- Authentik, DietPi, Orb: use the engine's host-side helpers instead of pct [@MickLesk](https://github.com/MickLesk) ([#18949](https://github.com/community-scripts/ProxmoxVE/pull/18949))
|
||||
- UrBackup Server, Paperless-ngx: no pct calls in the ct script [@MickLesk](https://github.com/MickLesk) ([#18950](https://github.com/community-scripts/ProxmoxVE/pull/18950))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- several scripts: run the install's setup_nodejs in the update of 86 scripts [@MickLesk](https://github.com/MickLesk) ([#18981](https://github.com/community-scripts/ProxmoxVE/pull/18981))
|
||||
|
||||
### 🧰 Tools
|
||||
|
||||
- wg-easy ([#18972](https://github.com/community-scripts/ProxmoxVE/pull/18972))
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- github node drift: find the repo from the script's calls, check ct/ and install/ [@MickLesk](https://github.com/MickLesk) ([#18984](https://github.com/community-scripts/ProxmoxVE/pull/18984))
|
||||
|
||||
## 2026-11-22
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Subwave [@MickLesk](https://github.com/MickLesk) ([#18929](https://github.com/community-scripts/ProxmoxVE/pull/18929))
|
||||
- Gopeed [@MickLesk](https://github.com/MickLesk) ([#18921](https://github.com/community-scripts/ProxmoxVE/pull/18921))
|
||||
- NoteMark [@MickLesk](https://github.com/MickLesk) ([#18920](https://github.com/community-scripts/ProxmoxVE/pull/18920))
|
||||
- Bytechef [@MickLesk](https://github.com/MickLesk) ([#18919](https://github.com/community-scripts/ProxmoxVE/pull/18919))
|
||||
- Lidify [@angusmaul](https://github.com/angusmaul) ([#18918](https://github.com/community-scripts/ProxmoxVE/pull/18918))
|
||||
- Ideon [@MickLesk](https://github.com/MickLesk) ([#18915](https://github.com/community-scripts/ProxmoxVE/pull/18915))
|
||||
- Mathesar [@MickLesk](https://github.com/MickLesk) ([#18914](https://github.com/community-scripts/ProxmoxVE/pull/18914))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Keeper: set the build identity and tz data the services now require [@MickLesk](https://github.com/MickLesk) ([#18933](https://github.com/community-scripts/ProxmoxVE/pull/18933))
|
||||
- Firecrawl: pin nodesig to the commit that matches the 2.11 release [@MickLesk](https://github.com/MickLesk) ([#18934](https://github.com/community-scripts/ProxmoxVE/pull/18934))
|
||||
- Update authentik to 2026.8.6 [@thieneret](https://github.com/thieneret) ([#18912](https://github.com/community-scripts/ProxmoxVE/pull/18912))
|
||||
- FIX: Add flag to Grimmory install script to mitigate CVE-2026-114938 [@zekaptain](https://github.com/zekaptain) ([#18923](https://github.com/community-scripts/ProxmoxVE/pull/18923))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- several scripts: update prompts - take the default or skip when nobody can answer [@MickLesk](https://github.com/MickLesk) ([#18931](https://github.com/community-scripts/ProxmoxVE/pull/18931))
|
||||
- splunk, immich: let var_* answer the last install prompts [@MickLesk](https://github.com/MickLesk) ([#18932](https://github.com/community-scripts/ProxmoxVE/pull/18932))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- incus: install what a Proxmox template ships into Incus containers too [@MickLesk](https://github.com/MickLesk) ([core#293](https://github.com/community-scripts/core/pull/293))
|
||||
- pve/incus: give ct scripts host-side helpers that work on both backends [@MickLesk](https://github.com/MickLesk) ([core#294](https://github.com/community-scripts/core/pull/294))
|
||||
- Reload systemd units after a .deb install [@MickLesk](https://github.com/MickLesk) ([core#291](https://github.com/community-scripts/core/pull/291))
|
||||
- Read github.com when the update check hits the API rate limit [@MickLesk](https://github.com/MickLesk) ([core#292](https://github.com/community-scripts/core/pull/292))
|
||||
- Resume a VM image download that broke off [@MickLesk](https://github.com/MickLesk) ([core#290](https://github.com/community-scripts/core/pull/290))
|
||||
|
||||
## 2026-11-21
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
+71
-247
@@ -134,6 +134,9 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -147,7 +150,7 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
|
||||
<details>
|
||||
<summary><h4>November (21 entries)</h4></summary>
|
||||
<summary><h4>November (28 entries)</h4></summary>
|
||||
|
||||
[View November 2026 Changelog](.github/changelogs/2026/11.md)
|
||||
|
||||
@@ -587,6 +590,72 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
</details>
|
||||
|
||||
## 2026-11-29
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Organizr [@MickLesk](https://github.com/MickLesk) ([#19178](https://github.com/community-scripts/ProxmoxVE/pull/19178))
|
||||
- NocoBase [@MickLesk](https://github.com/MickLesk) ([#19177](https://github.com/community-scripts/ProxmoxVE/pull/19177))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- Let an early base_settings pass on Incus [@MickLesk](https://github.com/MickLesk) ([core#325](https://github.com/community-scripts/core/pull/325))
|
||||
- Give a tool's bare exit 1 the code the table has for it [@MickLesk](https://github.com/MickLesk) ([core#320](https://github.com/community-scripts/core/pull/320))
|
||||
- incus: find an Incus VM's address on a LAN bridge without its agent [@MickLesk](https://github.com/MickLesk) ([core#324](https://github.com/community-scripts/core/pull/324))
|
||||
- Base packages: mirror fallback for deb822 Ubuntu and security-less mirrors [@MickLesk](https://github.com/MickLesk) ([core#323](https://github.com/community-scripts/core/pull/323))
|
||||
- setup_nodejs: network timeouts for every yarn, retries for npm and pnpm [@MickLesk](https://github.com/MickLesk) ([core#321](https://github.com/community-scripts/core/pull/321))
|
||||
|
||||
## 2026-11-28
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Waydroid ([#19142](https://github.com/community-scripts/ProxmoxVE/pull/19142))
|
||||
- ChirpStack [@tomfrenzel](https://github.com/tomfrenzel) ([#19143](https://github.com/community-scripts/ProxmoxVE/pull/19143))
|
||||
- Coder [@MickLesk](https://github.com/MickLesk) ([#19141](https://github.com/community-scripts/ProxmoxVE/pull/19141))
|
||||
- MusicGrabber [@MickLesk](https://github.com/MickLesk) ([#19139](https://github.com/community-scripts/ProxmoxVE/pull/19139))
|
||||
- ClamAV [@cisox](https://github.com/cisox) ([#19140](https://github.com/community-scripts/ProxmoxVE/pull/19140))
|
||||
- DokuWiki [@MickLesk](https://github.com/MickLesk) ([#19138](https://github.com/community-scripts/ProxmoxVE/pull/19138))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- wavelog: bump PHP from 8.4 to 8.5 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19103](https://github.com/community-scripts/ProxmoxVE/pull/19103))
|
||||
- TREK: give the build a 3 GB heap [@MickLesk](https://github.com/MickLesk) ([#19148](https://github.com/community-scripts/ProxmoxVE/pull/19148))
|
||||
- Baikal: let composer install the twig version Baikal pins [@MickLesk](https://github.com/MickLesk) ([#19147](https://github.com/community-scripts/ProxmoxVE/pull/19147))
|
||||
- Warracker: fill in the nginx settings the upstream entrypoint sets [@MickLesk](https://github.com/MickLesk) ([#19146](https://github.com/community-scripts/ProxmoxVE/pull/19146))
|
||||
- tubearchivist: bump Python from 3.13 to 3.14 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19111](https://github.com/community-scripts/ProxmoxVE/pull/19111))
|
||||
- warracker: bump Python from 3.12 to 3.15 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#19112](https://github.com/community-scripts/ProxmoxVE/pull/19112))
|
||||
- Pin install Python version in ct update scripts [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#19114](https://github.com/community-scripts/ProxmoxVE/pull/19114))
|
||||
- Garage: use published stable releases for install and update [@mormied22](https://github.com/mormied22) ([#19084](https://github.com/community-scripts/ProxmoxVE/pull/19084))
|
||||
- Set up install PHP version in ct update scripts [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#19115](https://github.com/community-scripts/ProxmoxVE/pull/19115))
|
||||
- Pelican Panel: leave the PHP version change to setup_php [@MickLesk](https://github.com/MickLesk) ([#19134](https://github.com/community-scripts/ProxmoxVE/pull/19134))
|
||||
- FreshRSS: add missing PHP extensions through setup_php [@MickLesk](https://github.com/MickLesk) ([#19135](https://github.com/community-scripts/ProxmoxVE/pull/19135))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- several scripts: exit 64 when a required setting is missing [@MickLesk](https://github.com/MickLesk) ([#19153](https://github.com/community-scripts/ProxmoxVE/pull/19153))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- Leave a legacy version file to the app it belongs to [@MickLesk](https://github.com/MickLesk) ([core#317](https://github.com/community-scripts/core/pull/317))
|
||||
- incus: draw the banner when the header cache belongs to another user [@MickLesk](https://github.com/MickLesk) ([core#318](https://github.com/community-scripts/core/pull/318))
|
||||
- Incus: Report Incus VM runs to telemetry [@MickLesk](https://github.com/MickLesk) ([core#319](https://github.com/community-scripts/core/pull/319))
|
||||
- PHP: Keep Sury from pulling a second PHP in, and read the version from packages [@MickLesk](https://github.com/MickLesk) ([core#316](https://github.com/community-scripts/core/pull/316))
|
||||
- Give PVE containers from linuxcontainers.org images the Proxmox templates Base set [@MickLesk](https://github.com/MickLesk) ([core#315](https://github.com/community-scripts/core/pull/315))
|
||||
- PHP: keep modules, pools and settings when setup_php changes the PHP version [@MickLesk](https://github.com/MickLesk) ([core#314](https://github.com/community-scripts/core/pull/314))
|
||||
|
||||
### 🧰 Tools
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Host tools: report the containers' real exit code and what failed [@MickLesk](https://github.com/MickLesk) ([#19152](https://github.com/community-scripts/ProxmoxVE/pull/19152))
|
||||
- PVE Post Install: say so when it runs outside Proxmox VE [@MickLesk](https://github.com/MickLesk) ([#19145](https://github.com/community-scripts/ProxmoxVE/pull/19145))
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- docs: add 9.3 support [@cwmoriarty](https://github.com/cwmoriarty) ([#19129](https://github.com/community-scripts/ProxmoxVE/pull/19129))
|
||||
|
||||
## 2026-11-27
|
||||
|
||||
### 🆕 New Scripts
|
||||
@@ -1486,249 +1555,4 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
- Reconya ([#18325](https://github.com/community-scripts/ProxmoxVE/pull/18325))
|
||||
- Blinko ([#18324](https://github.com/community-scripts/ProxmoxVE/pull/18324))
|
||||
- ChartDB ([#18323](https://github.com/community-scripts/ProxmoxVE/pull/18323))
|
||||
|
||||
## 2026-10-29
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Karakeep: fix monolith release asset pattern [@MohamedBassem](https://github.com/MohamedBassem) ([#18317](https://github.com/community-scripts/ProxmoxVE/pull/18317))
|
||||
- Vikunja: fold the package's service block into the config's service section [@MickLesk](https://github.com/MickLesk) ([#18311](https://github.com/community-scripts/ProxmoxVE/pull/18311))
|
||||
- Stirling-PDF: size JVM heap from container memory, not host RAM [@aashishvanand](https://github.com/aashishvanand) ([#18292](https://github.com/community-scripts/ProxmoxVE/pull/18292))
|
||||
- fix(authentik): migrate systemd units when still on pre-2026.8 paths [@CervezaStallone](https://github.com/CervezaStallone) ([#18307](https://github.com/community-scripts/ProxmoxVE/pull/18307))
|
||||
- fix(dawarich): serve .mjs MapLibre modules as JavaScript [@ricbaral](https://github.com/ricbaral) ([#18304](https://github.com/community-scripts/ProxmoxVE/pull/18304))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- VictoriaLogs: enable syslog ingestion on TCP/UDP 514 [@opastorello](https://github.com/opastorello) ([#18300](https://github.com/community-scripts/ProxmoxVE/pull/18300))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- feat: Performance - load host data in the background and stop reporting failed pre-checks [@MickLesk](https://github.com/MickLesk) ([core#179](https://github.com/community-scripts/core/pull/179))
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- gh: let the bot set oidc_url and license [@MickLesk](https://github.com/MickLesk) ([#18313](https://github.com/community-scripts/ProxmoxVE/pull/18313))
|
||||
|
||||
## 2026-10-28
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- VictoriaLogs ([#18282](https://github.com/community-scripts/ProxmoxVE/pull/18282))
|
||||
- Deemix ([#18272](https://github.com/community-scripts/ProxmoxVE/pull/18272))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- fix(vm/opnsense): increase startup wait from 90 to 180 seconds [@MTlyx](https://github.com/MTlyx) ([#18086](https://github.com/community-scripts/ProxmoxVE/pull/18086))
|
||||
- apache-tomcat: restore the update backup from its real store [@mazelado](https://github.com/mazelado) ([#18145](https://github.com/community-scripts/ProxmoxVE/pull/18145))
|
||||
- AdventureLog: clean-install on update and drop the DRF <3.15 pin [@angusmaul](https://github.com/angusmaul) ([#18281](https://github.com/community-scripts/ProxmoxVE/pull/18281))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- Refactor: ownCloud VM [@MickLesk](https://github.com/MickLesk) ([#18295](https://github.com/community-scripts/ProxmoxVE/pull/18295))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- Keep the console hint out of the default output [@MickLesk](https://github.com/MickLesk) ([core#176](https://github.com/community-scripts/core/pull/176))
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- Move a promoted script's telemetry history to ProxmoxVE [@MickLesk](https://github.com/MickLesk) ([#18271](https://github.com/community-scripts/ProxmoxVE/pull/18271))
|
||||
|
||||
### ❔ Uncategorized
|
||||
|
||||
- chore(ct): sync tdarr defaults with PocketBase [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18289](https://github.com/community-scripts/ProxmoxVE/pull/18289))
|
||||
|
||||
## 2026-10-27
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Zabbix: leave out the NVIDIA agent2 plugin that breaks the all-plugins install [@MickLesk](https://github.com/MickLesk) ([#18262](https://github.com/community-scripts/ProxmoxVE/pull/18262))
|
||||
- Omada: detect latest version from product download page [@ChrisKappe](https://github.com/ChrisKappe) ([#18248](https://github.com/community-scripts/ProxmoxVE/pull/18248))
|
||||
- LanguageTool: count ngram prompt retries without tripping errexit [@MickLesk](https://github.com/MickLesk) ([#18258](https://github.com/community-scripts/ProxmoxVE/pull/18258))
|
||||
- Overseerr: point fresh installs to Seerr [@MickLesk](https://github.com/MickLesk) ([#18259](https://github.com/community-scripts/ProxmoxVE/pull/18259))
|
||||
- stalwart: pin to v0.16.27 until v1 migration is supported [@MickLesk](https://github.com/MickLesk) ([#18252](https://github.com/community-scripts/ProxmoxVE/pull/18252))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- TurnKey: offer only current appliances, stop on arm64 [@MickLesk](https://github.com/MickLesk) ([#18265](https://github.com/community-scripts/ProxmoxVE/pull/18265))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- NPMplus: let the ACME e-mail stay empty again, Let's Encrypt does not need one [@MickLesk](https://github.com/MickLesk) ([#18263](https://github.com/community-scripts/ProxmoxVE/pull/18263))
|
||||
|
||||
### 🗑️ Deleted Scripts
|
||||
|
||||
- Remove: Readarr [@MickLesk](https://github.com/MickLesk) ([#18264](https://github.com/community-scripts/ProxmoxVE/pull/18264))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- Say the same thing on both hosts while a container is created [@MickLesk](https://github.com/MickLesk) ([core#173](https://github.com/community-scripts/core/pull/173))
|
||||
- Skip the IPv6 sysctl when the host kernel has no IPv6 [@MickLesk](https://github.com/MickLesk) ([core#171](https://github.com/community-scripts/core/pull/171))
|
||||
- Stop reporting a closed console as a user abort, and shield the host's own work [@MickLesk](https://github.com/MickLesk) ([core#172](https://github.com/community-scripts/core/pull/172))
|
||||
|
||||
## 2026-10-26
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Vane ([#18168](https://github.com/community-scripts/ProxmoxVE/pull/18168))
|
||||
- HomeTube ([#18172](https://github.com/community-scripts/ProxmoxVE/pull/18172))
|
||||
- Honcho ([#18169](https://github.com/community-scripts/ProxmoxVE/pull/18169))
|
||||
- YTPTube ([#18174](https://github.com/community-scripts/ProxmoxVE/pull/18174))
|
||||
- Stump ([#18173](https://github.com/community-scripts/ProxmoxVE/pull/18173))
|
||||
- Casdoor ([#18170](https://github.com/community-scripts/ProxmoxVE/pull/18170))
|
||||
- Streamystats ([#18171](https://github.com/community-scripts/ProxmoxVE/pull/18171))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- Immich: lock only this platform when mise installs the plugin tools [@MickLesk](https://github.com/MickLesk) ([#18241](https://github.com/community-scripts/ProxmoxVE/pull/18241))
|
||||
- Fix service name case for Splunkd [@CerberusStyle](https://github.com/CerberusStyle) ([#18238](https://github.com/community-scripts/ProxmoxVE/pull/18238))
|
||||
- VMs: pass the machine type, CPU, disk cache and discard settings to qm [@MickLesk](https://github.com/MickLesk) ([#18232](https://github.com/community-scripts/ProxmoxVE/pull/18232))
|
||||
- excalidash: bump Node.js from 20 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18213](https://github.com/community-scripts/ProxmoxVE/pull/18213))
|
||||
- readmeabook: bump Node.js from 20 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18217](https://github.com/community-scripts/ProxmoxVE/pull/18217))
|
||||
- homepage: bump Node.js from 22 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18214](https://github.com/community-scripts/ProxmoxVE/pull/18214))
|
||||
- remove old -install.sh (verdaccio) [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18218](https://github.com/community-scripts/ProxmoxVE/pull/18218))
|
||||
- meshcentral: bump Node.js from 22 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18215](https://github.com/community-scripts/ProxmoxVE/pull/18215))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- MeshCentral: update the npm package, not just the OS [@MickLesk](https://github.com/MickLesk) ([#18243](https://github.com/community-scripts/ProxmoxVE/pull/18243))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- feat: let an install survive a closed console / dont sighup installs [@MickLesk](https://github.com/MickLesk) ([core#167](https://github.com/community-scripts/core/pull/167))
|
||||
- feat: create containers from the linuxcontainers.org catalog when Proxmox has no template [@MickLesk](https://github.com/MickLesk) ([core#25](https://github.com/community-scripts/core/pull/25))
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- Ref: Docs / Readme [@MickLesk](https://github.com/MickLesk) ([#18233](https://github.com/community-scripts/ProxmoxVE/pull/18233))
|
||||
|
||||
## 2026-10-25
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
- Dreeve ([#18167](https://github.com/community-scripts/ProxmoxVE/pull/18167))
|
||||
- TaskView ([#18166](https://github.com/community-scripts/ProxmoxVE/pull/18166))
|
||||
- EmDash ([#18165](https://github.com/community-scripts/ProxmoxVE/pull/18165))
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- fix(mealie): install ffmpeg for video recipe import [@clartek](https://github.com/clartek) ([#18210](https://github.com/community-scripts/ProxmoxVE/pull/18210))
|
||||
- Termix: step through 2.9.2 when updating from 2.8 or older [@MickLesk](https://github.com/MickLesk) ([#18158](https://github.com/community-scripts/ProxmoxVE/pull/18158))
|
||||
- Element Synapse: remove the registration line by its text, not line 34 [@MickLesk](https://github.com/MickLesk) ([#18201](https://github.com/community-scripts/ProxmoxVE/pull/18201))
|
||||
- Element Synapse: drop the ::1 listener so a container without IPv6 starts [@MickLesk](https://github.com/MickLesk) ([#18180](https://github.com/community-scripts/ProxmoxVE/pull/18180))
|
||||
- Heimdall: generate the app key without the production prompt [@MickLesk](https://github.com/MickLesk) ([#18156](https://github.com/community-scripts/ProxmoxVE/pull/18156))
|
||||
- Frigate: fetch the Intel graphics key with retries before building the media driver [@MickLesk](https://github.com/MickLesk) ([#18192](https://github.com/community-scripts/ProxmoxVE/pull/18192))
|
||||
- Pterodactyl Panel: default the admin's first and last name when left empty [@MickLesk](https://github.com/MickLesk) ([#18177](https://github.com/community-scripts/ProxmoxVE/pull/18177))
|
||||
- Jellyseerr: point fresh installs to Seerr instead of a missing install script [@MickLesk](https://github.com/MickLesk) ([#18183](https://github.com/community-scripts/ProxmoxVE/pull/18183))
|
||||
- Pi-hole: download the installer before running it [@MickLesk](https://github.com/MickLesk) ([#18182](https://github.com/community-scripts/ProxmoxVE/pull/18182))
|
||||
- OmniTools: give the build a git commit to read [@MickLesk](https://github.com/MickLesk) ([#18181](https://github.com/community-scripts/ProxmoxVE/pull/18181))
|
||||
- iVentoy: stop early in an unprivileged container [@MickLesk](https://github.com/MickLesk) ([#18179](https://github.com/community-scripts/ProxmoxVE/pull/18179))
|
||||
- Immich: stop early on Debian 12 instead of failing at apt [@MickLesk](https://github.com/MickLesk) ([#18178](https://github.com/community-scripts/ProxmoxVE/pull/18178))
|
||||
- paperless-ngx: fix missing index folder [@Segelzwerg](https://github.com/Segelzwerg) ([#18142](https://github.com/community-scripts/ProxmoxVE/pull/18142))
|
||||
- Anytype Server: keep the .env across updates and recreate a lost one [@MickLesk](https://github.com/MickLesk) ([#18155](https://github.com/community-scripts/ProxmoxVE/pull/18155))
|
||||
- changedetection: build Browserless from its lockfile on update [@MickLesk](https://github.com/MickLesk) ([#18157](https://github.com/community-scripts/ProxmoxVE/pull/18157))
|
||||
- Zitadel: identify the machine by hostname when it has no private IPv4 [@MickLesk](https://github.com/MickLesk) ([#18139](https://github.com/community-scripts/ProxmoxVE/pull/18139))
|
||||
- fix(bar-assistant): publish starter media catalog so new bars provision [@och29](https://github.com/och29) ([#18130](https://github.com/community-scripts/ProxmoxVE/pull/18130))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- Gramps-Web: run the Celery task queue with Redis [@MickLesk](https://github.com/MickLesk) ([#18141](https://github.com/community-scripts/ProxmoxVE/pull/18141))
|
||||
|
||||
- #### 💥 Breaking Changes
|
||||
|
||||
- Hermes Agent: install, update and run everything as the hermes user [@MickLesk](https://github.com/MickLesk) ([#18203](https://github.com/community-scripts/ProxmoxVE/pull/18203))
|
||||
- tubearchivist: fix: prepare tubearchivist for v0.6.0 [@CrazyWolf13](https://github.com/CrazyWolf13) ([#17867](https://github.com/community-scripts/ProxmoxVE/pull/17867))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- TREK: build 5.0 with 4 GB RAM and without dependency install scripts [@MickLesk](https://github.com/MickLesk) ([#18194](https://github.com/community-scripts/ProxmoxVE/pull/18194))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- alpine: fix uv release url [@mfelipe](https://github.com/mfelipe) ([core#168](https://github.com/community-scripts/core/pull/168))
|
||||
- Set npm's script and git policy for root too, so --prefix keeps it [@MickLesk](https://github.com/MickLesk) ([core#170](https://github.com/community-scripts/core/pull/170))
|
||||
- Upgrade Node.js in place when an app package depends on it [@MickLesk](https://github.com/MickLesk) ([core#169](https://github.com/community-scripts/core/pull/169))
|
||||
|
||||
### 🧰 Tools
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- post-pmg-install: hide the subscription nag in the PMG 9 mobile quarantine [@MickLesk](https://github.com/MickLesk) ([#18140](https://github.com/community-scripts/ProxmoxVE/pull/18140))
|
||||
- post-pve-install: hide the mobile subscription nag in every UI language [@MickLesk](https://github.com/MickLesk) ([#18143](https://github.com/community-scripts/ProxmoxVE/pull/18143))
|
||||
|
||||
## 2026-10-24
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- patchmon: avoids systemd environment secret leaks via D-Bus/subprocesses. [@rhclayto](https://github.com/rhclayto) ([#18074](https://github.com/community-scripts/ProxmoxVE/pull/18074))
|
||||
- fix: Linkwarden - clear Yarn berry cache after install and update- #18115 [@bferd](https://github.com/bferd) ([#18116](https://github.com/community-scripts/ProxmoxVE/pull/18116))
|
||||
- Borg-UI: recreate the borg venvs with --clear [@MickLesk](https://github.com/MickLesk) ([#18118](https://github.com/community-scripts/ProxmoxVE/pull/18118))
|
||||
- SnapOtter: recreate the AI venv with --clear [@MickLesk](https://github.com/MickLesk) ([#18119](https://github.com/community-scripts/ProxmoxVE/pull/18119))
|
||||
- Update authentik version to 2026.8.5 [@thieneret](https://github.com/thieneret) ([#18125](https://github.com/community-scripts/ProxmoxVE/pull/18125))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- Frigate: bump to v0.18.2 [@MickLesk](https://github.com/MickLesk) ([#18120](https://github.com/community-scripts/ProxmoxVE/pull/18120))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- install: answer every prompt from the environment, survive a closed stdin [@MickLesk](https://github.com/MickLesk) ([#18121](https://github.com/community-scripts/ProxmoxVE/pull/18121))
|
||||
|
||||
### 🧰 Tools
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- fix(addons): use catch_errors so the update marker is cleared [@mazelado](https://github.com/mazelado) ([#18128](https://github.com/community-scripts/ProxmoxVE/pull/18128))
|
||||
|
||||
## 2026-10-23
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- postgresql: default the version prompt and match Alpine's packages [@MickLesk](https://github.com/MickLesk) ([#18093](https://github.com/community-scripts/ProxmoxVE/pull/18093))
|
||||
- Storyteller: build the runtime like upstream's Dockerfile [@MickLesk](https://github.com/MickLesk) ([#18083](https://github.com/community-scripts/ProxmoxVE/pull/18083))
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- proxcenter: skip the type check and lower the build heap [@MickLesk](https://github.com/MickLesk) ([#18090](https://github.com/community-scripts/ProxmoxVE/pull/18090))
|
||||
- hermesagent: retry the installer download, fall back to GitHub [@MickLesk](https://github.com/MickLesk) ([#18091](https://github.com/community-scripts/ProxmoxVE/pull/18091))
|
||||
- zabbix: use the arm64 repository for 7.0 [@MickLesk](https://github.com/MickLesk) ([#18089](https://github.com/community-scripts/ProxmoxVE/pull/18089))
|
||||
- kasm: survive a failed release lookup and answer the installer with flags [@MickLesk](https://github.com/MickLesk) ([#18092](https://github.com/community-scripts/ProxmoxVE/pull/18092))
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- InvoiceShelf: run the Laravel scheduler [@MickLesk](https://github.com/MickLesk) ([#18079](https://github.com/community-scripts/ProxmoxVE/pull/18079))
|
||||
|
||||
- #### 🔧 Refactor
|
||||
|
||||
- podman-homeassistant: require Debian 13 [@MickLesk](https://github.com/MickLesk) ([#18095](https://github.com/community-scripts/ProxmoxVE/pull/18095))
|
||||
- apache-guacamole: require Debian 13 [@MickLesk](https://github.com/MickLesk) ([#18094](https://github.com/community-scripts/ProxmoxVE/pull/18094))
|
||||
- unifi-os-server: require Debian 13 [@MickLesk](https://github.com/MickLesk) ([#18096](https://github.com/community-scripts/ProxmoxVE/pull/18096))
|
||||
- openwebui: drop the Intel oneAPI Base Toolkit [@MickLesk](https://github.com/MickLesk) ([#18098](https://github.com/community-scripts/ProxmoxVE/pull/18098))
|
||||
- ollama: drop the Intel oneAPI Base Toolkit [@MickLesk](https://github.com/MickLesk) ([#18097](https://github.com/community-scripts/ProxmoxVE/pull/18097))
|
||||
- tdarr: do not let a failed or slow updater block the service start [@MickLesk](https://github.com/MickLesk) ([#18100](https://github.com/community-scripts/ProxmoxVE/pull/18100))
|
||||
- immich: install mise from its GitHub release, retry jellyfin-ffmpeg, default the ML prompt [@MickLesk](https://github.com/MickLesk) ([#18099](https://github.com/community-scripts/ProxmoxVE/pull/18099))
|
||||
- Refactor: pimox-haos-vm [@MickLesk](https://github.com/MickLesk) ([#18077](https://github.com/community-scripts/ProxmoxVE/pull/18077))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- Telemetry: explain and categorize by the command that failed [@MickLesk](https://github.com/MickLesk) ([core#166](https://github.com/community-scripts/core/pull/166))
|
||||
- error-handler: report a handled silent failure only on its own line [@MickLesk](https://github.com/MickLesk) ([core#165](https://github.com/community-scripts/core/pull/165))
|
||||
- VM silent: return the failure instead of exiting [@MickLesk](https://github.com/MickLesk) ([core#164](https://github.com/community-scripts/core/pull/164))
|
||||
- error-handler: keep the start explanation and the final IP lookup from failing the run [@MickLesk](https://github.com/MickLesk) ([core#163](https://github.com/community-scripts/core/pull/163))
|
||||
- error output: report a failure inside a subshell once [@MickLesk](https://github.com/MickLesk) ([core#162](https://github.com/community-scripts/core/pull/162))
|
||||
- general: allow Composer as root in every script [@MickLesk](https://github.com/MickLesk) ([core#161](https://github.com/community-scripts/core/pull/161))
|
||||
- lxc-updater: skip the resource check when the container cannot read its RAM [@MickLesk](https://github.com/MickLesk) ([core#160](https://github.com/community-scripts/core/pull/160))
|
||||
- vm-core: let vm_timezone_default survive a host without /etc/timezone [@MickLesk](https://github.com/MickLesk) ([core#159](https://github.com/community-scripts/core/pull/159))
|
||||
- ChartDB ([#18323](https://github.com/community-scripts/ProxmoxVE/pull/18323))
|
||||
@@ -76,7 +76,7 @@ guest's own package manager.
|
||||
|
||||
| Component | Details |
|
||||
| --------- | ------- |
|
||||
| **Proxmox VE** | 8.0 – 8.4, or 9.0 – 9.2 |
|
||||
| **Proxmox VE** | 8.0 – 8.4, or 9.0 – 9.3 |
|
||||
| **Access** | Root shell on the Proxmox host |
|
||||
| **Network** | Internet access during installation |
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ This project currently supports the following versions of Proxmox VE (PVE):
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 9.3.x | :white_check_mark: |
|
||||
| 9.2.x | :white_check_mark: |
|
||||
| 9.1.x | :white_check_mark: |
|
||||
| 9.0.x | :white_check_mark: |
|
||||
|
||||
@@ -54,12 +54,12 @@ function update_script() {
|
||||
|
||||
if [[ -z "$SSH_PUBLIC_KEY" ]]; then
|
||||
msg_error "No SSH public key provided!"
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
|
||||
if [[ ! "$SSH_PUBLIC_KEY" =~ ^(ssh-rsa|ssh-dss|ssh-ed25519|ecdsa-sha2-) ]]; then
|
||||
msg_error "Invalid SSH public key format!"
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
|
||||
msg_info "Setting up SSH access"
|
||||
|
||||
@@ -38,6 +38,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/anki-sync-server/.env /opt/anki-sync-server/data
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
msg_info "Updating Anki Sync Server"
|
||||
$STD uv pip install --python /opt/anki-sync-server/venv/bin/python "anki==$(get_latest_github_release "ankitects/anki")"
|
||||
cat <<EOF >~/.anki-sync-server
|
||||
@@ -61,5 +62,7 @@ description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||
echo -e "${INFO}${YW}Health check:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080/health${CL}"
|
||||
echo -e "${INFO}${YW}Sync server URL for the Anki clients:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080/${CL}"
|
||||
@@ -45,6 +45,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/airflow/.env
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
msg_info "Updating Apache Airflow to ${LATEST}"
|
||||
$STD uv pip install --python /opt/airflow/.venv/bin/python \
|
||||
"apache-airflow[postgres,fab]==${LATEST}" \
|
||||
|
||||
@@ -56,6 +56,7 @@ function update_script() {
|
||||
;;
|
||||
esac
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
msg_info "Updating Python Environment (${AUDIOMUSE_BACKEND})"
|
||||
cd /opt/audiomuse-ai
|
||||
$STD uv venv --clear --seed --python "$PY_VERSION" /opt/audiomuse-ai/.venv
|
||||
|
||||
@@ -47,6 +47,7 @@ function update_script() {
|
||||
|
||||
msg_info "Configuring Baikal"
|
||||
cd /opt/baikal
|
||||
export COMPOSER_NO_SECURITY_BLOCKING=1
|
||||
$STD composer install || { msg_warn "composer.lock doesn't match composer.json (known upstream packaging issue) - regenerating"; $STD composer update; }
|
||||
msg_ok "Configured Baikal"
|
||||
|
||||
|
||||
+2
-1
@@ -51,9 +51,10 @@ function update_script() {
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bambuddy" "maziggy/bambuddy" "tarball" "latest" "/opt/bambuddy"
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
msg_info "Updating Python Dependencies"
|
||||
cd /opt/bambuddy
|
||||
$STD uv venv --clear
|
||||
$STD uv venv --python 3.13 --clear
|
||||
$STD uv pip install -r requirements.txt
|
||||
msg_ok "Updated Python Dependencies"
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ function update_script() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
if [[ "$(cat /opt/borg1-venv/.pinned_version 2>/dev/null)" != "$BORG1_VERSION" ]]; then
|
||||
msg_info "Installing Borg ${BORG1_VERSION} (Patience)"
|
||||
$STD uv venv --clear --python "$BORG_PYTHON" /opt/borg1-venv
|
||||
|
||||
@@ -40,6 +40,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/chevereto/app/env.php /opt/chevereto/content
|
||||
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_UPLOAD_MAX_FILESIZE="512M" PHP_POST_MAX_SIZE="512M" PHP_MAX_EXECUTION_TIME="600" setup_php
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="images" fetch_and_deploy_gh_release "chevereto" "chevereto/chevereto" "tarball"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Tom Frenzel (tomfrenzel)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/chirpstack/chirpstack
|
||||
|
||||
APP="ChirpStack"
|
||||
var_tags="${var_tags:-lorawan;iot}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /etc/chirpstack/chirpstack.toml ]]; then
|
||||
msg_error "No ChirpStack Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
msg_info "Updating ChirpStack"
|
||||
$STD apt update
|
||||
upgrade_packages_with_retry "chirpstack" "chirpstack-gateway-bridge"
|
||||
msg_ok "Updated ChirpStack"
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||
@@ -0,0 +1,50 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: cisox
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://www.clamav.net/
|
||||
|
||||
APP="ClamAV"
|
||||
var_tags="${var_tags:-antivirus;security}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-3072}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /etc/clamav/clamd.conf ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
msg_info "Updating ClamAV"
|
||||
apt_update_safe
|
||||
upgrade_packages_with_retry clamav clamav-daemon clamav-freshclam
|
||||
msg_ok "Updated ClamAV"
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}clamd is listening for scan requests on TCP port 3310:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}${IP}:3310${CL}"
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/coder/coder
|
||||
|
||||
APP="Coder"
|
||||
var_tags="${var_tags:-development;ide;workspaces}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
export var_access_url="${var_access_url:-}"
|
||||
export var_admin_email="${var_admin_email:-}"
|
||||
export var_admin_pass="${var_admin_pass:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /etc/coder.d/coder.env ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "coder" "coder/coder"; then
|
||||
DPKG_FORCE_CONFOLD=1 fetch_and_deploy_gh_release "coder" "coder/coder" "binary" "latest" "" "coder_*_linux_$(arch_resolve "amd64" "arm64").deb"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:3000${CL}"
|
||||
echo -e "${INFO}${YW}Admin credentials: /opt/coder_data/.env${CL}"
|
||||
@@ -39,6 +39,7 @@ function update_script() {
|
||||
systemctl stop nginx php8.4-fpm
|
||||
msg_ok "Stopped Cypht"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="soap,ldap" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cypht" "cypht-org/cypht" "prebuild" "latest" "/opt/cypht" "cypht.tar.gz"
|
||||
|
||||
msg_info "Updating Cypht"
|
||||
|
||||
@@ -36,6 +36,7 @@ function update_script() {
|
||||
systemctl stop databasement-worker databasement-scheduler php8.5-fpm
|
||||
msg_ok "Stopped Databasement"
|
||||
|
||||
PHP_VERSION="8.5" PHP_FPM="YES" PHP_MODULE="mongodb,smbclient" setup_php
|
||||
setup_composer
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/dokuwiki/dokuwiki
|
||||
|
||||
APP="DokuWiki"
|
||||
var_tags="${var_tags:-wiki;documentation}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
var_disk="${var_disk:-4}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
export var_admin_user="${var_admin_user:-}"
|
||||
export var_admin_pass="${var_admin_pass:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/dokuwiki ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "dokuwiki" "dokuwiki/dokuwiki"; then
|
||||
msg_info "Stopping DokuWiki"
|
||||
systemctl stop nginx php8.4-fpm
|
||||
msg_ok "Stopped DokuWiki"
|
||||
|
||||
fetch_and_deploy_gh_release "dokuwiki" "dokuwiki/dokuwiki" "prebuild" "latest" "/opt/dokuwiki" "dokuwiki-*.tgz"
|
||||
|
||||
msg_info "Removing obsolete DokuWiki files"
|
||||
grep -E '^[[:alnum:]_][^[:space:]]*$' /opt/dokuwiki/data/deleted.files | grep -Fv '..' | sed 's|^|/opt/dokuwiki/|' | xargs -r -d '\n' rm -rf --
|
||||
rm -f /opt/dokuwiki/install.php /opt/dokuwiki/data/cache/messages.txt
|
||||
chown -R www-data:www-data /opt/dokuwiki
|
||||
msg_ok "Removed obsolete DokuWiki files"
|
||||
|
||||
msg_info "Starting DokuWiki"
|
||||
systemctl start php8.4-fpm nginx
|
||||
msg_ok "Started DokuWiki"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}${CL}"
|
||||
echo -e "${INFO}${YW}Admin login: /opt/dokuwiki_data/.env (inside the container)${CL}"
|
||||
@@ -46,6 +46,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/domain-monitor/.env
|
||||
|
||||
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_FPM="YES" setup_php
|
||||
setup_composer
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "domain-monitor" "Hosteroid/domain-monitor" "prebuild" "latest" "/opt/domain-monitor" "domain-monitor-v*.zip"
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ function update_script() {
|
||||
systemctl stop nginx cron php8.4-fpm
|
||||
msg_ok "Stopped Services"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="ldap" setup_php
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="data custom client/custom" fetch_and_deploy_gh_release "espo-crm" "espocrm/espocrm" "prebuild" "latest" "/opt/espocrm" "EspoCRM-*.zip"
|
||||
|
||||
msg_info "Migrating EspoCRM"
|
||||
|
||||
+4
-3
@@ -40,14 +40,15 @@ function update_script() {
|
||||
|
||||
create_backup /opt/fireshare/fireshare.env
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "fireshare" "ShaneIsrael/fireshare" "tarball"
|
||||
UV_PROJECT_DIR="/opt/fireshare" setup_uv
|
||||
PYTHON_VERSION="3.14" UV_PROJECT_DIR="/opt/fireshare" setup_uv
|
||||
restore_backup
|
||||
rm -f /usr/local/bin/fireshare
|
||||
|
||||
if ! grep -q "__FIRESHARE_PORT__" /etc/nginx/nginx.conf; then
|
||||
cp /opt/fireshare/app/nginx/prod.conf /etc/nginx/nginx.conf
|
||||
sed -i 's|root /processed/|root /opt/fireshare-processed/|g' /etc/nginx/nginx.conf
|
||||
sed -i 's/^user[[:space:]]\+nginx;/user root;/' /etc/nginx/nginx.conf
|
||||
sed -i 's|alias /data/|alias /opt/fireshare-data/|g' /etc/nginx/nginx.conf
|
||||
sed -i 's/^user[[:space:]]\+[^;]*;/user root;/' /etc/nginx/nginx.conf
|
||||
sed -i 's|root[[:space:]]\+/app/build;|root /opt/fireshare/app/client/build;|' /etc/nginx/nginx.conf
|
||||
sed -i 's/__FIRESHARE_PORT__/80/g' /etc/nginx/nginx.conf
|
||||
cp /opt/fireshare/app/nginx/error.html /etc/nginx/
|
||||
@@ -56,7 +57,7 @@ function update_script() {
|
||||
msg_info "Configuring Fireshare"
|
||||
|
||||
cd /opt/fireshare
|
||||
$STD uv venv --clear
|
||||
$STD uv venv --python 3.14 --clear
|
||||
$STD .venv/bin/python -m ensurepip --upgrade
|
||||
$STD .venv/bin/python -m pip install --upgrade --break-system-packages pip
|
||||
$STD .venv/bin/python -m pip install --no-cache-dir --break-system-packages --ignore-installed app/server
|
||||
|
||||
@@ -64,15 +64,15 @@ function update_script() {
|
||||
if [[ -n "${mode:-}" ]]; then
|
||||
if [[ -z "${var_forgejo_instance:-}" ]]; then
|
||||
msg_error "var_forgejo_instance is required for unattended installs."
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
if [[ -z "${var_forgejo_runner_uuid:-}" ]]; then
|
||||
msg_error "var_forgejo_runner_uuid is required for unattended installs."
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
if [[ -z "${var_forgejo_runner_token:-}" ]]; then
|
||||
msg_error "var_forgejo_runner_token is required for unattended installs."
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ function update_script() {
|
||||
msg_ok "Stopped FreeScout"
|
||||
|
||||
create_backup /opt/freescout/.env
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="storage Modules public/modules" fetch_and_deploy_gh_release "freescout" "freescout-help-desk/freescout" "tarball"
|
||||
restore_backup
|
||||
|
||||
|
||||
+2
-5
@@ -38,14 +38,11 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if ! php -r 'exit((extension_loaded("intl") && extension_loaded("xml")) ? 0 : 1);' 2>/dev/null; then
|
||||
msg_info "Installing missing PHP extensions"
|
||||
apt_update_safe
|
||||
$STD apt install -y php-xml php-intl
|
||||
systemctl reload apache2
|
||||
msg_ok "Installed missing PHP extensions"
|
||||
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xml,intl" setup_php
|
||||
fi
|
||||
|
||||
if check_for_gh_release "freshrss" "FreshRSS/FreshRSS"; then
|
||||
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xml,intl" setup_php
|
||||
msg_info "Stopping Apache2"
|
||||
systemctl stop apache2
|
||||
msg_ok "Stopped Apache2"
|
||||
|
||||
+44
-59
@@ -33,73 +33,58 @@ color
|
||||
catch_errors
|
||||
|
||||
update_deb_based() {
|
||||
if [[ ! -f /usr/local/bin/garage ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
GITEA_RELEASE=$(curl -fsSL https://api.github.com/repos/deuxfleurs-org/garage/tags | jq -r '.[0].name')
|
||||
if [[ "${GITEA_RELEASE}" != "$(cat ~/.garage 2>/dev/null)" ]] || [[ ! -f ~/.garage ]]; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop garage
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Backing Up Data"
|
||||
cp /usr/local/bin/garage /usr/local/bin/garage.old 2>/dev/null || true
|
||||
cp /etc/garage.toml /etc/garage.toml.bak 2>/dev/null || true
|
||||
msg_ok "Backed Up Data"
|
||||
|
||||
msg_info "Updating Garage"
|
||||
curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GITEA_RELEASE}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" -o /usr/local/bin/garage
|
||||
chmod +x /usr/local/bin/garage
|
||||
echo "${GITEA_RELEASE}" >~/.garage
|
||||
msg_ok "Updated Garage"
|
||||
|
||||
msg_info "Starting Service"
|
||||
systemctl start garage
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
else
|
||||
msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
|
||||
fi
|
||||
systemctl restart garage
|
||||
}
|
||||
|
||||
update_alpine() {
|
||||
if [[ ! -f /usr/local/bin/garage ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
GITEA_RELEASE=$(curl -fsSL https://api.github.com/repos/deuxfleurs-org/garage/tags | jq -r '.[0].name')
|
||||
if [[ "${GITEA_RELEASE}" != "$(cat ~/.garage 2>/dev/null)" ]] || [[ ! -f ~/.garage ]]; then
|
||||
msg_info "Stopping Service"
|
||||
rc-service garage stop || true
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Backing Up Data"
|
||||
cp /usr/local/bin/garage /usr/local/bin/garage.old 2>/dev/null || true
|
||||
cp /etc/garage.toml /etc/garage.toml.bak 2>/dev/null || true
|
||||
msg_ok "Backed Up Data"
|
||||
|
||||
msg_info "Updating Garage"
|
||||
curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GITEA_RELEASE}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" -o /usr/local/bin/garage
|
||||
chmod +x /usr/local/bin/garage
|
||||
echo "${GITEA_RELEASE}" >~/.garage
|
||||
msg_ok "Updated Garage"
|
||||
|
||||
msg_info "Starting Service"
|
||||
rc-service garage start || rc-service garage restart
|
||||
msg_ok "Started Service"
|
||||
msg_ok "Updated successfully!"
|
||||
else
|
||||
msg_ok "No update required. Garage is already at ${GITEA_RELEASE}"
|
||||
fi
|
||||
rc-service garage restart || rc-service garage start
|
||||
}
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /usr/local/bin/garage ]]; then
|
||||
msg_error "No Garage installation found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
local garage_release garage_binary
|
||||
garage_release=$(curl -fsSL https://git.deuxfleurs.fr/api/v1/repos/Deuxfleurs/garage/releases/latest |
|
||||
jq -er 'select(.draft == false and .prerelease == false) | .tag_name | strings | select(length > 0)') || {
|
||||
msg_error "Could not determine the latest stable Garage release"
|
||||
exit 1
|
||||
}
|
||||
if [[ -f ~/.garage && "$garage_release" == "$(<~/.garage)" ]]; then
|
||||
msg_ok "No update required. Garage is already at ${garage_release}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
msg_info "Downloading Garage ${garage_release}"
|
||||
garage_binary=$(mktemp /usr/local/bin/garage.XXXXXX)
|
||||
if ! download_file "https://garagehq.deuxfleurs.fr/_releases/${garage_release}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" "$garage_binary"; then
|
||||
rm -f "$garage_binary"
|
||||
exit 1
|
||||
fi
|
||||
msg_ok "Downloaded Garage ${garage_release}"
|
||||
|
||||
msg_info "Backing up Garage"
|
||||
cp /usr/local/bin/garage /usr/local/bin/garage.old 2>/dev/null || true
|
||||
cp /etc/garage.toml /etc/garage.toml.bak 2>/dev/null || true
|
||||
msg_ok "Backed up Garage"
|
||||
|
||||
msg_info "Updating Garage"
|
||||
chmod 755 "$garage_binary"
|
||||
mv -f "$garage_binary" /usr/local/bin/garage
|
||||
msg_ok "Updated Garage"
|
||||
|
||||
msg_info "Restarting Garage"
|
||||
run_os_update
|
||||
msg_ok "Restarted Garage"
|
||||
printf '%s\n' "$garage_release" >~/.garage
|
||||
msg_ok "Updated Garage successfully"
|
||||
exit 0
|
||||
}
|
||||
|
||||
start
|
||||
@@ -108,5 +93,5 @@ description
|
||||
|
||||
msg_ok "Completed successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}${CL}"
|
||||
echo -e "${INFO}${YW}Use this Garage S3 API endpoint${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:3900${CL}"
|
||||
@@ -33,6 +33,7 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if check_for_gh_release "grav" "getgrav/grav"; then
|
||||
PHP_FPM="YES" setup_php
|
||||
msg_info "Creating Backup"
|
||||
cd /opt/grav
|
||||
bin/grav backup -nq
|
||||
|
||||
+3
-2
@@ -44,9 +44,10 @@ function update_script() {
|
||||
|
||||
restore_backup
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
msg_info "Updating Python Dependencies"
|
||||
cd /opt/homelable/backend
|
||||
$STD uv venv --clear /opt/homelable/backend/.venv
|
||||
$STD uv venv --python 3.13 --clear /opt/homelable/backend/.venv
|
||||
$STD uv pip install --python /opt/homelable/backend/.venv/bin/python -r requirements.txt
|
||||
msg_ok "Updated Python Dependencies"
|
||||
|
||||
@@ -60,7 +61,7 @@ function update_script() {
|
||||
msg_info "Restoring MCP Server"
|
||||
MCP_OWNER=$(stat -c '%U' /opt/homelable/mcp/.env)
|
||||
cd /opt/homelable/mcp
|
||||
$STD uv venv --clear /opt/homelable/mcp/.venv
|
||||
$STD uv venv --python 3.13 --clear /opt/homelable/mcp/.venv
|
||||
$STD uv pip install --python /opt/homelable/mcp/.venv/bin/python -r requirements.txt
|
||||
chown -R "$MCP_OWNER":"$MCP_OWNER" /opt/homelable/mcp
|
||||
systemctl restart homelable-mcp
|
||||
|
||||
@@ -61,6 +61,7 @@ function update_script() {
|
||||
/opt/hortusfox/public/img \
|
||||
/opt/hortusfox/public/themes
|
||||
|
||||
PHP_VERSION="8.3" PHP_APACHE="YES" setup_php
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="public/attachments public/backup public/exports public/snd" fetch_and_deploy_gh_release "hortusfox" "danielbrendel/hortusfox-web" "tarball"
|
||||
restore_backup
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ function update_script() {
|
||||
$STD supervisorctl stop all
|
||||
msg_ok "Services Stopped"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="pdo-pgsql" setup_php
|
||||
setup_composer
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
PG_VERSION="17" setup_postgresql
|
||||
|
||||
@@ -38,6 +38,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/invoiceninja/.env /opt/invoiceninja/storage /opt/invoiceninja/public/storage /opt/invoiceninja/vendor/beganovich/snappdf/versions
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="soap" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "invoiceninja" "invoiceninja/invoiceninja" "prebuild" "latest" "/opt/invoiceninja" "invoiceninja.tar.gz"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -48,6 +48,7 @@ EOF
|
||||
|
||||
create_backup /opt/invoiceshelf/.env
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_pgsql,mbstring,curl,exif" setup_php
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="storage" fetch_and_deploy_gh_release "invoiceshelf" "InvoiceShelf/InvoiceShelf" "tarball"
|
||||
|
||||
restore_backup
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
setup_uv
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
|
||||
if check_for_gh_release "kapowarr" "Casvt/Kapowarr"; then
|
||||
msg_info "Stopping Service"
|
||||
|
||||
@@ -40,6 +40,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/kima-hub/backend/.env /opt/kima-hub/frontend/.env
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kima-hub" "Chevron7Locked/kima-hub" "tarball"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -40,6 +40,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/koel/.env /opt/koel/storage /opt/koel/public/img
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "koel" "koel/koel" "prebuild" "latest" "/opt/koel" "koel-*.tar.gz"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -39,6 +39,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/leantime/config/.env
|
||||
|
||||
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_FPM="YES" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "leantime" "Leantime/leantime" "prebuild" "latest" "/opt/leantime" Leantime*.tar.gz
|
||||
|
||||
restore_backup
|
||||
|
||||
+3
-1
@@ -38,15 +38,17 @@ function update_script() {
|
||||
msg_ok "Stopped Services"
|
||||
|
||||
create_backup /opt/librenms/.env /opt/librenms/config.php
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="cli,snmp,gmp" setup_php
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="rrd" fetch_and_deploy_gh_release "librenms" "librenms/librenms" "tarball"
|
||||
restore_backup
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
msg_info "Updating LibreNMS"
|
||||
mkdir -p /opt/librenms/{rrd,logs,bootstrap/cache,storage}
|
||||
chown -R librenms:librenms /opt/librenms
|
||||
chmod 771 /opt/librenms
|
||||
chmod -R ug=rwX /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/logs /opt/librenms/rrd
|
||||
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && uv venv --clear .venv && source .venv/bin/activate && uv pip install -r requirements.txt"
|
||||
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && uv venv --python 3.13 --clear .venv && source .venv/bin/activate && uv pip install -r requirements.txt"
|
||||
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev"
|
||||
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && php8.4 artisan optimize:clear"
|
||||
$STD su - librenms -s /bin/bash -c "cd /opt/librenms && php8.4 artisan migrate --force --isolated"
|
||||
|
||||
@@ -43,6 +43,7 @@ function update_script() {
|
||||
/opt/lychee/public/uploads \
|
||||
/opt/lychee/public/dist
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,ldap,exif,gd,intl,imagick,redis,zip,pdo_pgsql,pcntl" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "lychee" "LycheeOrg/Lychee" "prebuild" "latest" "/opt/lychee" "Lychee.zip"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -38,6 +38,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/matomo/config/config.ini.php /opt/matomo/misc/user /root/matomo.creds
|
||||
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="pdo_mysql,gd,mbstring,xml,curl,intl,zip,ldap" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "matomo" "matomo-org/matomo" "prebuild" "latest" "/opt/matomo" "matomo-*.zip"
|
||||
|
||||
msg_info "Setting up Matomo"
|
||||
|
||||
@@ -36,6 +36,7 @@ function update_script() {
|
||||
systemctl stop matter-server
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
msg_info "Updating Matter Server"
|
||||
MATTER_VERSION=$(get_latest_github_release "matter-js/python-matter-server")
|
||||
$STD uv pip install --python /opt/matter-server/.venv/bin/python --upgrade "python-matter-server[server]==${MATTER_VERSION}"
|
||||
|
||||
@@ -39,6 +39,7 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if check_for_gh_release "monica" "monicahq/monica"; then
|
||||
PHP_VERSION="8.2" PHP_APACHE="YES" PHP_MODULE="mysqli,pdo-mysql" setup_php
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop apache2
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://gitlab.com/g33kphr33k/musicgrabber
|
||||
|
||||
APP="MusicGrabber"
|
||||
var_tags="${var_tags:-music;downloader;media}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
#var_arm64="${var_arm64:-no}" # unset = ask the user; arm64 uses Debian Chromium instead of Google Chrome, not run yet
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/musicgrabber ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
RELEASE=$(get_latest_gl_tag "g33kphr33k/musicgrabber" "v*")
|
||||
if [[ "$RELEASE" == "$(cat ~/.musicgrabber 2>/dev/null)" ]]; then
|
||||
msg_ok "No update required. ${APP} is already at ${RELEASE}"
|
||||
exit
|
||||
fi
|
||||
|
||||
msg_info "Stopping MusicGrabber"
|
||||
systemctl stop musicgrabber
|
||||
msg_ok "Stopped MusicGrabber"
|
||||
|
||||
fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "yt-dlp_$(arch_resolve "linux" "linux_aarch64")"
|
||||
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip"
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP=".venv" fetch_and_deploy_gl_tag "musicgrabber" "g33kphr33k/musicgrabber" "$RELEASE"
|
||||
|
||||
msg_info "Updating MusicGrabber"
|
||||
cd /opt/musicgrabber
|
||||
$STD uv pip install --python .venv/bin/python \
|
||||
"fastapi~=0.162.0" \
|
||||
"uvicorn[standard]~=0.54.0" \
|
||||
"httpx~=0.28.1" \
|
||||
"pydantic~=2.14.1" \
|
||||
"mutagen~=1.48.1" \
|
||||
"playwright~=1.64.1" \
|
||||
"apprise>=1.13.1,<2" \
|
||||
"bcrypt~=4.3.0" \
|
||||
"pycryptodome~=4.2.0" \
|
||||
"certifi>=2026.10.18" \
|
||||
"seleniumbase>=4.54,<5"
|
||||
PLAYWRIGHT_BROWSERS_PATH=/opt/ms-playwright $STD .venv/bin/playwright install chromium
|
||||
msg_ok "Updated MusicGrabber"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_from_url "https://codeload.github.com/FraysKosher/flac-verifier/tar.gz/$(grep -oP 'FraysKosher/flac-verifier/tar.gz/\K[0-9a-f]+' /opt/musicgrabber/Dockerfile)" "/opt/flac-verifier/engine"
|
||||
|
||||
msg_info "Starting MusicGrabber"
|
||||
systemctl start musicgrabber
|
||||
msg_ok "Started MusicGrabber"
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||
@@ -29,6 +29,7 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if check_for_gh_release "mylar3" "MylarComics/mylar3"; then
|
||||
PYTHON_VERSION="3.11" setup_uv
|
||||
fetch_and_deploy_gh_release "mylar3" "MylarComics/mylar3" "tarball"
|
||||
systemctl restart mylar3
|
||||
msg_ok "Updated successfully!"
|
||||
|
||||
@@ -40,6 +40,7 @@ function update_script() {
|
||||
systemctl stop nagios
|
||||
msg_ok "Stopped Nagios"
|
||||
|
||||
PHP_APACHE="YES" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "nagios" "NagiosEnterprises/nagioscore" "tarball"
|
||||
|
||||
msg_info "Building Nagios Core"
|
||||
|
||||
@@ -36,8 +36,10 @@ function update_script() {
|
||||
systemctl stop netalertx
|
||||
msg_ok "Stopped NetAlertX"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="curl,sqlite3" setup_php
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP=".venv" fetch_and_deploy_gh_release "netalertx" "netalertx/NetAlertX" "tarball"
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
msg_info "Updating NetAlertX"
|
||||
cd /opt/netalertx
|
||||
$STD uv pip install --python .venv/bin/python -r requirements.txt
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/nocobase/nocobase
|
||||
|
||||
APP="NocoBase"
|
||||
var_tags="${var_tags:-no-code;low-code;database}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-2048}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
export var_admin_email="${var_admin_email:-}"
|
||||
export var_admin_pass="${var_admin_pass:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -f /opt/nocobase/node_modules/@nocobase/app/package.json ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
CURRENT=$(node -p "require('/opt/nocobase/node_modules/@nocobase/app/package.json').version")
|
||||
RELEASE=$(npm view @nocobase/app version 2>/dev/null)
|
||||
if [[ -z "$RELEASE" ]]; then
|
||||
msg_error "Could not determine the latest NocoBase version from npm"
|
||||
exit 1
|
||||
fi
|
||||
if [[ "$RELEASE" == "$CURRENT" ]]; then
|
||||
msg_ok "No update available: NocoBase (${CURRENT})"
|
||||
exit
|
||||
fi
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
|
||||
|
||||
msg_info "Stopping NocoBase"
|
||||
systemctl stop nocobase
|
||||
msg_ok "Stopped NocoBase"
|
||||
|
||||
msg_info "Updating NocoBase from ${CURRENT} to ${RELEASE}"
|
||||
cd /opt/nocobase
|
||||
$STD npm pkg set "dependencies.@nocobase/app=${RELEASE}"
|
||||
$STD yarn install --production
|
||||
$STD yarn nocobase upgrade --skip-code-update
|
||||
$STD yarn cache clean
|
||||
msg_ok "Updated NocoBase from ${CURRENT} to ${RELEASE}"
|
||||
|
||||
msg_info "Starting NocoBase"
|
||||
systemctl start nocobase
|
||||
msg_ok "Started NocoBase"
|
||||
msg_ok "Updated successfully!"
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:13000${CL}"
|
||||
echo -e "${INFO}${YW}Root login: /opt/nocobase_data/.env (inside the container)${CL}"
|
||||
@@ -41,6 +41,7 @@ function update_script() {
|
||||
systemctl stop openviking
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
msg_info "Updating OpenViking"
|
||||
$STD uv pip install --python /opt/openviking/bin/python --upgrade openviking
|
||||
msg_ok "Updated OpenViking"
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
#!/usr/bin/env bash
|
||||
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
|
||||
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/causefx/Organizr
|
||||
|
||||
APP="Organizr"
|
||||
var_tags="${var_tags:-dashboard;sso}"
|
||||
var_cpu="${var_cpu:-1}"
|
||||
var_ram="${var_ram:-512}"
|
||||
var_disk="${var_disk:-3}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
var_arm64="${var_arm64:-yes}"
|
||||
var_unprivileged="${var_unprivileged:-1}"
|
||||
|
||||
export var_admin_user="${var_admin_user:-}"
|
||||
export var_admin_email="${var_admin_email:-}"
|
||||
export var_admin_pass="${var_admin_pass:-}"
|
||||
|
||||
header_info "$APP"
|
||||
variables
|
||||
color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
|
||||
if [[ ! -d /opt/organizr ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_branch "organizr" "causefx/Organizr" "v2-master"; then
|
||||
msg_info "Stopping Organizr"
|
||||
systemctl stop nginx php8.4-fpm
|
||||
msg_ok "Stopped Organizr"
|
||||
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_branch "organizr" "causefx/Organizr" "v2-master"
|
||||
|
||||
msg_info "Configuring Organizr"
|
||||
ln -sfn /opt/organizr_data/data /opt/organizr/data
|
||||
chown -R www-data:www-data /opt/organizr
|
||||
msg_ok "Configured Organizr"
|
||||
|
||||
msg_info "Starting Organizr"
|
||||
systemctl start php8.4-fpm nginx
|
||||
msg_ok "Started Organizr"
|
||||
msg_ok "Updated successfully!"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
start
|
||||
build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}${CL}"
|
||||
echo -e "${INFO}${YW}Admin credentials: /opt/organizr_data/.env (inside the container)${CL}"
|
||||
@@ -31,6 +31,7 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if check_for_gh_release "partdb" "Part-DB/Part-DB-server"; then
|
||||
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xsl" PHP_POST_MAX_SIZE="100M" PHP_UPLOAD_MAX_FILESIZE="100M" setup_php
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop apache2
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
+5
-11
@@ -31,15 +31,10 @@ function update_script() {
|
||||
fi
|
||||
|
||||
setup_mariadb
|
||||
CURRENT_PHP=$(php -v 2>/dev/null | awk '/^PHP/{print $2}' | cut -d. -f1,2)
|
||||
setup_composer
|
||||
|
||||
if [[ "$CURRENT_PHP" != "8.4" ]]; then
|
||||
msg_info "Migrating PHP $CURRENT_PHP to 8.4"
|
||||
$STD apt remove -y php"${CURRENT_PHP//./}"*
|
||||
if [[ "$(php -v 2>/dev/null | awk '/^PHP/{print $2}' | cut -d. -f1,2)" != "8.4" ]]; then
|
||||
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_FPM="YES" setup_php
|
||||
msg_ok "Migrated PHP $CURRENT_PHP to 8.4"
|
||||
fi
|
||||
setup_composer
|
||||
|
||||
if check_for_gh_release "pelican-panel" "pelican-dev/panel"; then
|
||||
msg_info "Stopping Service"
|
||||
@@ -47,10 +42,9 @@ function update_script() {
|
||||
$STD php artisan down
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
mkdir -p /opt/backup
|
||||
mkdir -p /opt/backup/storage/app
|
||||
cp -a /opt/pelican-panel/.env /opt/backup
|
||||
mkdir -p /opt/backup/storage/app/
|
||||
cp -a /opt/pelican-panel/storage/app/public /opt/backup/storage/app/
|
||||
[[ -d /opt/pelican-panel/storage/app/public ]] && cp -a /opt/pelican-panel/storage/app/public /opt/backup/storage/app/
|
||||
|
||||
SQLITE_INSTALL=$(ls /opt/pelican-panel/database/*.sqlite 1>/dev/null 2>&1 && echo "true" || echo "false")
|
||||
$SQLITE_INSTALL && cp -r /opt/pelican-panel/database/*.sqlite /opt/backup
|
||||
@@ -63,7 +57,7 @@ function update_script() {
|
||||
cp -a /opt/backup/.env /opt/pelican-panel/
|
||||
grep -q "^APP_URL=http://panel.test$" /opt/pelican-panel/.env && sed -i "s|^APP_URL=.*|APP_URL=http://${LOCAL_IP}|" /opt/pelican-panel/.env
|
||||
$SQLITE_INSTALL && mv /opt/backup/*.sqlite /opt/pelican-panel/database/
|
||||
cp -a /opt/backup/storage/app/public /opt/pelican-panel/storage/app/
|
||||
[[ -d /opt/backup/storage/app/public ]] && cp -a /opt/backup/storage/app/public /opt/pelican-panel/storage/app/
|
||||
|
||||
$STD composer install --no-dev --optimize-autoloader --no-interaction
|
||||
PANEL_URL="$(sed -n 's/^APP_URL=//p' /opt/pelican-panel/.env | tr -d "\"'")"
|
||||
|
||||
@@ -40,6 +40,7 @@ function update_script() {
|
||||
create_backup /opt/pixelfed/.env \
|
||||
/opt/pixelfed/storage
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,ctype,curl,exif,gd,imagick,intl,mbstring,pgsql,redis,xml,zip" PHP_UPLOAD_MAX_FILESIZE="500M" PHP_POST_MAX_SIZE="500M" PHP_MAX_EXECUTION_TIME="600" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "pixelfed" "pixelfed/pixelfed" "tarball" "latest" "/opt/pixelfed"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -52,6 +52,7 @@ function update_script() {
|
||||
if check_for_gh_release "poweradmin" "poweradmin/poweradmin"; then
|
||||
create_backup /opt/poweradmin/config/settings.php
|
||||
|
||||
PHP_VERSION="8.3" PHP_APACHE="YES" PHP_FPM="YES" PHP_MODULE="gettext,tokenizer,sqlite3,ldap" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "poweradmin" "poweradmin/poweradmin" "tarball"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -36,6 +36,7 @@ function update_script() {
|
||||
systemctl stop pricebuddy-worker
|
||||
msg_ok "Stopped PriceBuddy Worker"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MEMORY_LIMIT="2048M" setup_php
|
||||
setup_composer
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
if check_for_gh_release "privatebin" "PrivateBin/PrivateBin"; then
|
||||
PHP_VERSION="8.2" PHP_FPM="YES" setup_php
|
||||
msg_info "Creating backup"
|
||||
cp -f /opt/privatebin/cfg/conf.php /tmp/privatebin_conf.bak
|
||||
msg_ok "Backup created"
|
||||
|
||||
@@ -44,6 +44,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/projectsend/.env /opt/projectsend/storage/app/files
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="ldap,pcntl" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "projectsend" "projectsend/projectsend" "prebuild" "latest" "/opt/projectsend"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -35,6 +35,7 @@ function update_script() {
|
||||
systemctl stop pyload
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
msg_info "Updating ${APP}"
|
||||
$STD uv pip install --python /opt/pyload/.venv --upgrade --prerelease allow "pyload-ng[all]"
|
||||
msg_ok "Updated ${APP}"
|
||||
|
||||
@@ -34,6 +34,7 @@ function update_script() {
|
||||
if check_for_gh_release "rss-bridge" "RSS-Bridge/rss-bridge"; then
|
||||
create_backup /opt/rss-bridge/config.ini.php
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rss-bridge" "RSS-Bridge/rss-bridge" "tarball"
|
||||
|
||||
restore_backup
|
||||
|
||||
+2
-2
@@ -35,12 +35,12 @@ function update_script() {
|
||||
systemctl stop scraparr
|
||||
msg_ok "Services Stopped"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
fetch_and_deploy_gh_release "scrappar" "thecfu/scraparr" "tarball" "latest" "/opt/scraparr"
|
||||
|
||||
msg_info "Updating Scraparr"
|
||||
cd /opt/scraparr
|
||||
$STD uv venv --clear /opt/scraparr/.venv
|
||||
$STD uv venv --python 3.13 --clear /opt/scraparr/.venv
|
||||
$STD /opt/scraparr/.venv/bin/python -m ensurepip --upgrade
|
||||
$STD /opt/scraparr/.venv/bin/python -m pip install --upgrade pip
|
||||
$STD /opt/scraparr/.venv/bin/python -m pip install -r /opt/scraparr/src/scraparr/requirements.txt
|
||||
|
||||
@@ -38,6 +38,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/shlink/.env /opt/shlink/data
|
||||
|
||||
PHP_VERSION="8.5" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "shlink" "shlinkio/shlink" "prebuild" "latest" "/opt/shlink" "shlink*_php8.5_dist.zip"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -40,6 +40,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/solidtime/.env
|
||||
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_pgsql,redis,mbstring,curl" setup_php
|
||||
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="storage" fetch_and_deploy_gh_release "solidtime" "solidtime-io/solidtime" "tarball"
|
||||
|
||||
restore_backup
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ export var_llm_model="${var_llm_model:-}"
|
||||
|
||||
if [[ -n "$var_llm_base_url" && -z "$var_llm_model" ]]; then
|
||||
msg_error "var_llm_model is required with var_llm_base_url."
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
|
||||
header_info "$APP"
|
||||
|
||||
@@ -43,6 +43,7 @@ function update_script() {
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "subwave" "perminder-klair/subwave" "tarball"
|
||||
fetch_and_deploy_gh_release "liquidsoap" "savonet/liquidsoap" "binary" "$(grep -oP 'savonet/liquidsoap:\Kv[0-9.]+' /opt/subwave/docker/Dockerfile.broadcast)" "" "liquidsoap_*-debian-trixie-ocaml4.14.2-*_$(arch_resolve).deb"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
msg_info "Updating Analyzer and Kokoro"
|
||||
$STD uv pip install --python /opt/analyzer/venv/bin/python librosa==0.11.0 soundfile==0.14.0 pyloudnorm==0.2.0
|
||||
$STD uv pip install --python /opt/kokoro/venv/bin/python kokoro-onnx==0.5.0 soundfile==0.12.1 misaki==0.9.4 pyopenjtalk-plus==0.4.1.post10 cn2an==0.5.24 jieba==0.42.1 ordered-set==4.1.0 pypinyin==0.55.0 pypinyin-dict==0.9.0
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
setup_uv
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
if check_for_gh_release "tianji" "msgbyte/tianji"; then
|
||||
NODE_VERSION="22" NODE_MODULE="pnpm@$(curl -s https://raw.githubusercontent.com/msgbyte/tianji/master/package.json | jq -r '.packageManager | split("@")[1]')" setup_nodejs
|
||||
|
||||
|
||||
+2
-1
@@ -49,9 +49,10 @@ function update_script() {
|
||||
|
||||
restore_backup
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
msg_info "Updating Python Dependencies"
|
||||
cd /opt/transmute
|
||||
$STD uv venv --clear /opt/transmute/.venv
|
||||
$STD uv venv --python 3.13 --clear /opt/transmute/.venv
|
||||
$STD uv pip install --python /opt/transmute/.venv/bin/python -r requirements.txt
|
||||
msg_ok "Updated Python Dependencies"
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
|
||||
APP="TREK"
|
||||
var_tags="${var_tags:-travel;planning;collaboration}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-4096}"
|
||||
var_ram="${var_ram:-6144}"
|
||||
var_disk="${var_disk:-8}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
|
||||
@@ -47,6 +47,7 @@ function update_script() {
|
||||
cp -r /opt/trip/src/dist/trip/browser/* /opt/trip/frontend/
|
||||
msg_ok "Updated Frontend"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
msg_info "Updating Backend"
|
||||
cd /opt/trip/backend
|
||||
$STD uv pip install --python /opt/trip/.venv/bin/python -r trip/requirements.txt
|
||||
|
||||
+2
-2
@@ -118,8 +118,8 @@ RUNEOF
|
||||
cp -r /opt/tubearchivist/frontend/dist/* /opt/tubearchivist/backend/static/
|
||||
cp /opt/tubearchivist/docker_assets/backend_start.py /opt/tubearchivist/backend/
|
||||
rm -rf /opt/tubearchivist/.venv
|
||||
$STD uv venv /opt/tubearchivist/.venv --python 3.13
|
||||
$STD uv pip install --python /opt/tubearchivist/.venv/bin/python -r /opt/tubearchivist/backend/requirements.txt
|
||||
$STD uv venv /opt/tubearchivist/.venv --python 3.14
|
||||
$STD uv pip install --python /opt/tubearchivist/.venv/bin/python -r /opt/tubearchivist/backend/requirements.txt packaging
|
||||
if [[ -f /opt/tubearchivist/backend/requirements.plugins.txt ]]; then
|
||||
mkdir -p /opt/yt_plugins/bgutil
|
||||
$STD uv pip install --python /opt/tubearchivist/.venv/bin/python --target /opt/yt_plugins/bgutil -r /opt/tubearchivist/backend/requirements.plugins.txt
|
||||
|
||||
@@ -39,6 +39,7 @@ function update_script() {
|
||||
systemctl stop nginx
|
||||
msg_ok "Stopped Typecho"
|
||||
|
||||
PHP_FPM="YES" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "typecho" "typecho/typecho" "prebuild" "latest" "/opt/typecho" "typecho.zip"
|
||||
fetch_and_deploy_from_url "https://github.com/typecho/languages/releases/download/ci/langs.zip" "/opt/typecho_data/usr/langs"
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ function update_script() {
|
||||
|
||||
VLLM_BACKEND="$(cat /opt/vllm/.backend 2>/dev/null || echo cuda)"
|
||||
VLLM_VERSION="$(get_latest_github_release "vllm-project/vllm")"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
msg_info "Updating vLLM (${VLLM_BACKEND}, Patience)"
|
||||
case "$VLLM_BACKEND" in
|
||||
rocm)
|
||||
|
||||
@@ -41,6 +41,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/wallabag/app/config/parameters.yml
|
||||
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="tidy" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "wallabag" "wallabag/wallabag" "prebuild" "latest" "/opt/wallabag" "wallabag-*.tar.gz"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -31,6 +31,7 @@ function update_script() {
|
||||
fi
|
||||
|
||||
if check_for_gh_release "wallos" "ellite/Wallos"; then
|
||||
PHP_VERSION="8.4" PHP_APACHE="YES" setup_php
|
||||
msg_info "Creating backup"
|
||||
mkdir -p /opt/logos
|
||||
mv /opt/wallos/db/wallos.db /opt/wallos.db
|
||||
|
||||
+2
-1
@@ -39,9 +39,10 @@ function update_script() {
|
||||
|
||||
fetch_and_deploy_gh_release "warracker" "sassanix/Warracker" "tarball" "latest" "/opt/warracker"
|
||||
|
||||
PYTHON_VERSION="3.15" setup_uv
|
||||
msg_info "Updating Warracker"
|
||||
cd /opt/warracker/backend
|
||||
$STD uv venv --clear .venv
|
||||
$STD uv venv --python 3.15 --clear .venv
|
||||
$STD source .venv/bin/activate
|
||||
$STD uv pip install -r requirements.txt
|
||||
msg_ok "Updated Warracker"
|
||||
|
||||
@@ -37,6 +37,7 @@ function update_script() {
|
||||
msg_ok "Stopped WatchState"
|
||||
|
||||
create_backup /opt/watchstate/.env
|
||||
PHP_VERSION="8.5" PHP_FPM="YES" setup_php
|
||||
setup_composer
|
||||
NODE_VERSION="24" NODE_MODULE="bun" setup_nodejs
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "watchstate" "arabcoders/watchstate" "tarball" "latest" "/opt/watchstate" "" "v"
|
||||
|
||||
@@ -45,6 +45,7 @@ function update_script() {
|
||||
msg_ok "Backup created"
|
||||
|
||||
rm -rf /opt/wavelog
|
||||
PHP_VERSION="8.5" PHP_APACHE="YES" PHP_MAX_EXECUTION_TIME="600" setup_php
|
||||
fetch_and_deploy_gh_release "wavelog" "wavelog/wavelog" "tarball"
|
||||
|
||||
msg_info "Updating Wavelog"
|
||||
|
||||
@@ -53,6 +53,7 @@ function update_script() {
|
||||
|
||||
create_backup /opt/webtrees/data
|
||||
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_mysql,mbstring,curl" setup_php
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "webtrees" "fisharebest/webtrees" "prebuild" "latest" "/opt/webtrees" "webtrees-*.zip"
|
||||
|
||||
restore_backup
|
||||
|
||||
@@ -25,6 +25,7 @@ PG_DB_NAME="baikal_db" PG_DB_USER="baikal_user" PG_DB_PASS="$(random_password 16
|
||||
|
||||
msg_info "Configuring Baikal"
|
||||
cd /opt/baikal
|
||||
export COMPOSER_NO_SECURITY_BLOCKING=1
|
||||
$STD composer install || { msg_warn "composer.lock doesn't match composer.json (known upstream packaging issue) - regenerating"; $STD composer update; }
|
||||
cat <<EOF >/opt/baikal/config/baikal.yaml
|
||||
database:
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: Tom Frenzel (tomfrenzel)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/chirpstack/chirpstack
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
if [[ -z "${var_region:-}" ]]; then
|
||||
echo -e "${INFO}${YW}Available regions: https://github.com/chirpstack/chirpstack/tree/master/chirpstack/configuration${CL}"
|
||||
read -r -p "${TAB3}Gateway region ID (e.g. eu868, us915_0): " var_region || true
|
||||
fi
|
||||
if [[ -z "${var_region:-}" ]]; then
|
||||
msg_error "Gateway region ID is required (set var_region or enter it when prompted)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y \
|
||||
mosquitto \
|
||||
redis-server
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PG_VERSION="18" setup_postgresql
|
||||
PG_DB_NAME="chirpstack" PG_DB_USER="chirpstack" PG_DB_EXTENSIONS="pg_trgm" setup_postgresql_db
|
||||
|
||||
msg_info "Installing ChirpStack"
|
||||
setup_deb822_repo \
|
||||
"chirpstack" \
|
||||
"https://artifacts.chirpstack.io/packages/chirpstack.key" \
|
||||
"https://artifacts.chirpstack.io/packages/4.x/deb" \
|
||||
"stable" \
|
||||
"main"
|
||||
$STD apt install -y \
|
||||
chirpstack-gateway-bridge \
|
||||
chirpstack
|
||||
msg_ok "Installed ChirpStack"
|
||||
|
||||
msg_info "Configuring ChirpStack"
|
||||
sed -i "s|^\(\s*dsn = \).*|\1\"postgres://chirpstack:${PG_DB_PASS}@localhost/chirpstack?sslmode=disable\"|" /etc/chirpstack/chirpstack.toml
|
||||
if ! grep -Eq "^[[:space:]]*\"${var_region,,}\"[[:space:]]*,?[[:space:]]*$" /etc/chirpstack/chirpstack.toml; then
|
||||
sed -i "/^[[:space:]]*enabled_regions = \\[$/a\\ \"${var_region,,}\"," /etc/chirpstack/chirpstack.toml
|
||||
fi
|
||||
sed -i -E "s#^(\s*(event|command)_topic_template\s*=\s*\")#\1${var_region,,}/#" /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
|
||||
mkdir -p /etc/systemd/system/chirpstack.service.d
|
||||
cat <<EOF >/etc/systemd/system/chirpstack.service.d/override.conf
|
||||
[Unit]
|
||||
After=postgresql.service redis-server.service mosquitto.service
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
# the packaged unit starts on the stock DSN, crash-loops and hits its start limit
|
||||
systemctl reset-failed chirpstack
|
||||
systemctl restart chirpstack chirpstack-gateway-bridge
|
||||
msg_ok "Configured ChirpStack"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: cisox
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://www.clamav.net/
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing ClamAV"
|
||||
echo "clamav-daemon clamav-daemon/TcpOrLocal select TCP" | debconf-set-selections
|
||||
echo "clamav-daemon clamav-daemon/TCPSocket string 3310" | debconf-set-selections
|
||||
echo "clamav-daemon clamav-daemon/TCPAddr string 0.0.0.0" | debconf-set-selections
|
||||
mkdir -p /etc/systemd/system/clamav-daemon.socket.d
|
||||
cat <<EOF >/etc/systemd/system/clamav-daemon.socket.d/tcp.conf
|
||||
[Socket]
|
||||
ListenStream=3310
|
||||
EOF
|
||||
$STD apt install -y \
|
||||
clamav \
|
||||
clamav-daemon \
|
||||
clamav-freshclam
|
||||
msg_ok "Installed ClamAV"
|
||||
|
||||
msg_info "Downloading ClamAV Signatures"
|
||||
systemctl stop clamav-freshclam
|
||||
$STD freshclam
|
||||
systemctl enable -q --now clamav-freshclam clamav-daemon
|
||||
msg_ok "Downloaded ClamAV Signatures"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,68 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/coder/coder
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
setup_postgresql
|
||||
PG_DB_NAME="coder" PG_DB_USER="coder" PG_DB_CREDS_FILE="/dev/null" setup_postgresql_db
|
||||
|
||||
fetch_and_deploy_gh_release "coder" "coder/coder" "binary" "latest" "" "coder_*_linux_$(arch_resolve "amd64" "arm64").deb"
|
||||
|
||||
var_access_url="${var_access_url:-http://${LOCAL_IP}:3000}"
|
||||
if [[ ! "$var_access_url" =~ ^https?:// ]]; then
|
||||
msg_warn "Access URL '${var_access_url}' has no scheme, using http://${var_access_url}"
|
||||
var_access_url="http://${var_access_url}"
|
||||
fi
|
||||
|
||||
msg_info "Configuring Coder"
|
||||
cat <<EOF >/etc/coder.d/coder.env
|
||||
CODER_HTTP_ADDRESS=0.0.0.0:3000
|
||||
CODER_ACCESS_URL=${var_access_url}
|
||||
CODER_PG_CONNECTION_URL=postgres://coder:${PG_DB_PASS}@127.0.0.1:5432/coder?sslmode=disable
|
||||
EOF
|
||||
chmod 640 /etc/coder.d/coder.env
|
||||
chown root:coder /etc/coder.d/coder.env
|
||||
mkdir -p /opt/coder_data
|
||||
cat <<EOF >/opt/coder_data/.env
|
||||
CODER_ADMIN_USERNAME=admin
|
||||
CODER_ADMIN_EMAIL=${var_admin_email:-admin@coder.local}
|
||||
CODER_ADMIN_PASSWORD=${var_admin_pass:-$(random_password)}
|
||||
EOF
|
||||
chmod 600 /opt/coder_data/.env
|
||||
# The first start runs all database migrations before it reports ready, longer than 90s on slow disks
|
||||
mkdir -p /etc/systemd/system/coder.service.d
|
||||
cat <<EOF >/etc/systemd/system/coder.service.d/override.conf
|
||||
[Service]
|
||||
TimeoutStartSec=30min
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
systemctl enable -q --now coder
|
||||
msg_ok "Configured Coder"
|
||||
|
||||
msg_info "Creating Coder Admin"
|
||||
source /opt/coder_data/.env
|
||||
for _ in {1..60}; do
|
||||
curl -fsS http://127.0.0.1:3000/healthz >/dev/null 2>&1 && break
|
||||
sleep 2
|
||||
done
|
||||
$STD coder login http://127.0.0.1:3000 \
|
||||
--first-user-username "$CODER_ADMIN_USERNAME" \
|
||||
--first-user-email "$CODER_ADMIN_EMAIL" \
|
||||
--first-user-password "$CODER_ADMIN_PASSWORD" \
|
||||
--first-user-full-name "Admin" \
|
||||
--first-user-trial=false
|
||||
msg_ok "Created Coder Admin"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,127 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/dokuwiki/dokuwiki
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
var_admin_user="${var_admin_user:-admin}"
|
||||
var_admin_user="${var_admin_user,,}"
|
||||
if [[ ! "$var_admin_user" =~ ^[a-z0-9._-]+$ ]]; then
|
||||
msg_warn "Invalid admin username '${var_admin_user}', using admin"
|
||||
var_admin_user="admin"
|
||||
fi
|
||||
var_admin_pass="${var_admin_pass:-$(random_password 16)}"
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y nginx
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
|
||||
fetch_and_deploy_gh_release "dokuwiki" "dokuwiki/dokuwiki" "prebuild" "latest" "/opt/dokuwiki" "dokuwiki-*.tgz"
|
||||
|
||||
msg_info "Configuring DokuWiki"
|
||||
mkdir -p /opt/dokuwiki_data
|
||||
cat <<EOF >/opt/dokuwiki_data/.env
|
||||
DOKUWIKI_ADMIN_USER=${var_admin_user}
|
||||
DOKUWIKI_ADMIN_PASS=${var_admin_pass}
|
||||
EOF
|
||||
chmod 600 /opt/dokuwiki_data/.env
|
||||
cat <<'EOF' >/opt/dokuwiki/conf/local.php
|
||||
<?php
|
||||
$conf['title'] = 'DokuWiki';
|
||||
$conf['lang'] = 'en';
|
||||
$conf['license'] = 'cc-by-sa';
|
||||
$conf['useacl'] = 1;
|
||||
$conf['superuser'] = '@admin';
|
||||
$conf['disableactions'] = 'register';
|
||||
$conf['userewrite'] = 1;
|
||||
EOF
|
||||
ADMIN_HASH=$(php -r 'echo password_hash($argv[1], PASSWORD_BCRYPT);' "$var_admin_pass")
|
||||
cat <<EOF >/opt/dokuwiki/conf/users.auth.php
|
||||
# users.auth.php
|
||||
# <?php exit()?>
|
||||
# Don't modify the lines above
|
||||
#
|
||||
# login:passwordhash:Real Name:email:groups,comma,separated
|
||||
|
||||
${var_admin_user}:${ADMIN_HASH}:Administrator:admin@localhost:admin,user
|
||||
EOF
|
||||
cat <<'EOF' >/opt/dokuwiki/conf/acl.auth.php
|
||||
# acl.auth.php
|
||||
# <?php exit()?>
|
||||
# Don't modify the lines above
|
||||
#
|
||||
# none 0, read 1, edit 2, create 4, upload 8, delete 16
|
||||
|
||||
* @ALL 1
|
||||
* @user 8
|
||||
EOF
|
||||
cat <<'EOF' >/opt/dokuwiki/conf/plugins.local.php
|
||||
<?php
|
||||
$plugins['authad'] = 0;
|
||||
$plugins['authldap'] = 0;
|
||||
EOF
|
||||
rm -f /opt/dokuwiki/install.php
|
||||
chown -R www-data:www-data /opt/dokuwiki
|
||||
msg_ok "Configured DokuWiki"
|
||||
|
||||
msg_info "Configuring Nginx"
|
||||
PHP_SOCK=$(get_php_fpm_socket)
|
||||
cat <<EOF >/etc/nginx/sites-available/dokuwiki
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
|
||||
root /opt/dokuwiki;
|
||||
index doku.php;
|
||||
|
||||
client_max_body_size 128M;
|
||||
server_tokens off;
|
||||
fastcgi_hide_header X-Powered-By;
|
||||
|
||||
location ~ ^/(conf|bin|inc|vendor)/ {
|
||||
deny all;
|
||||
}
|
||||
location ~ ^/data/ {
|
||||
internal;
|
||||
}
|
||||
location ~ /\.|^/(install\.php|README|VERSION|COPYING|SECURITY\.md)\$ {
|
||||
deny all;
|
||||
}
|
||||
location ~ ^/lib.*\.(js|css|gif|png|ico|jpg|jpeg|svg)\$ {
|
||||
expires 365d;
|
||||
}
|
||||
location / {
|
||||
try_files \$uri \$uri/ @dokuwiki;
|
||||
}
|
||||
location @dokuwiki {
|
||||
rewrite ^/_media/(.*) /lib/exe/fetch.php?media=\$1 last;
|
||||
rewrite ^/_detail/(.*) /lib/exe/detail.php?media=\$1 last;
|
||||
rewrite ^/_export/([^/]+)/(.*) /doku.php?do=export_\$1&id=\$2 last;
|
||||
rewrite ^/(.*) /doku.php?id=\$1&\$args last;
|
||||
}
|
||||
location ~ \.php\$ {
|
||||
try_files \$uri \$uri/ /doku.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
||||
fastcgi_param REDIRECT_STATUS 200;
|
||||
fastcgi_pass unix:${PHP_SOCK};
|
||||
}
|
||||
}
|
||||
EOF
|
||||
nginx_enable_site "dokuwiki"
|
||||
msg_ok "Configured Nginx"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -140,7 +140,8 @@ $STD npm run build
|
||||
systemctl stop nginx
|
||||
cp /opt/fireshare/app/nginx/prod.conf /etc/nginx/nginx.conf
|
||||
sed -i 's|root /processed/|root /opt/fireshare-processed/|g' /etc/nginx/nginx.conf
|
||||
sed -i 's/^user[[:space:]]\+nginx;/user root;/' /etc/nginx/nginx.conf
|
||||
sed -i 's|alias /data/|alias /opt/fireshare-data/|g' /etc/nginx/nginx.conf
|
||||
sed -i 's/^user[[:space:]]\+[^;]*;/user root;/' /etc/nginx/nginx.conf
|
||||
sed -i 's|root[[:space:]]\+/app/build;|root /opt/fireshare/app/client/build;|' /etc/nginx/nginx.conf
|
||||
sed -i 's/__FIRESHARE_PORT__/80/g' /etc/nginx/nginx.conf
|
||||
cp /opt/fireshare/app/nginx/error.html /etc/nginx/
|
||||
|
||||
@@ -25,7 +25,7 @@ fi
|
||||
|
||||
if [[ -z "${var_forgejo_runner_uuid:-}" ]]; then
|
||||
msg_error "No runner UUID provided. Cannot continue."
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
|
||||
if [[ -z "${var_forgejo_runner_token:-}" ]]; then
|
||||
@@ -34,7 +34,7 @@ fi
|
||||
|
||||
if [[ -z "${var_forgejo_runner_token:-}" ]]; then
|
||||
msg_error "No runner registration token provided. Cannot continue."
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
|
||||
DEFAULT_RUNNER_LABELS="linux-amd64:docker://node:22-bookworm"
|
||||
|
||||
@@ -15,8 +15,7 @@ update_os
|
||||
|
||||
setup_deb_based() {
|
||||
msg_info "Setup Garage"
|
||||
GITEA_RELEASE=$(curl -s https://api.github.com/repos/deuxfleurs-org/garage/tags | jq -r '.[0].name')
|
||||
curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GITEA_RELEASE}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" -o /usr/local/bin/garage
|
||||
download_file "https://garagehq.deuxfleurs.fr/_releases/${garage_release}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" /usr/local/bin/garage
|
||||
chmod +x /usr/local/bin/garage
|
||||
mkdir -p /var/lib/garage/{data,meta,snapshots}
|
||||
mkdir -p /etc/garage
|
||||
@@ -29,7 +28,7 @@ RPC Secret: $RPC_SECRET
|
||||
Admin Token: $ADMIN_TOKEN
|
||||
Metrics Token: $METRICS_TOKEN
|
||||
EOF
|
||||
echo $GITEA_RELEASE >>~/.garage
|
||||
printf '%s\n' "$garage_release" >~/.garage
|
||||
cat <<EOF >/etc/garage.toml
|
||||
metadata_dir = "/var/lib/garage/meta"
|
||||
data_dir = "/var/lib/garage/data"
|
||||
@@ -91,8 +90,7 @@ setup_alpine() {
|
||||
$STD apk add --no-cache openssl
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
GITEA_RELEASE=$(curl -s https://api.github.com/repos/deuxfleurs-org/garage/tags | jq -r '.[0].name')
|
||||
curl -fsSL "https://garagehq.deuxfleurs.fr/_releases/${GITEA_RELEASE}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" -o /usr/local/bin/garage
|
||||
download_file "https://garagehq.deuxfleurs.fr/_releases/${garage_release}/$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl/garage" /usr/local/bin/garage
|
||||
chmod +x /usr/local/bin/garage
|
||||
mkdir -p /var/lib/garage/{data,meta,snapshots}
|
||||
mkdir -p /etc/garage
|
||||
@@ -105,7 +103,7 @@ RPC Secret: $RPC_SECRET
|
||||
Admin Token: $ADMIN_TOKEN
|
||||
Metrics Token: $METRICS_TOKEN
|
||||
EOF
|
||||
echo $GITEA_RELEASE >>~/.garage
|
||||
printf '%s\n' "$garage_release" >~/.garage
|
||||
cat <<EOF >/etc/garage.toml
|
||||
metadata_dir = "/var/lib/garage/meta"
|
||||
data_dir = "/var/lib/garage/data"
|
||||
@@ -155,6 +153,11 @@ EOF
|
||||
msg_ok "Service active"
|
||||
}
|
||||
|
||||
garage_release=$(curl -fsSL https://git.deuxfleurs.fr/api/v1/repos/Deuxfleurs/garage/releases/latest |
|
||||
jq -er 'select(.draft == false and .prerelease == false) | .tag_name | strings | select(length > 0)') || {
|
||||
msg_error "Could not determine the latest stable Garage release"
|
||||
exit 1
|
||||
}
|
||||
run_os_setup
|
||||
|
||||
motd_ssh
|
||||
|
||||
@@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
|
||||
$STD apt install -y caddy
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULES="bcmath,gd,intl,xml,zip,pdo_pgsql,mbstring,curl,exif" setup_php
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_pgsql,mbstring,curl,exif" setup_php
|
||||
setup_composer
|
||||
NODE_VERSION="24" NODE_MODULE="corepack,pnpm" setup_nodejs
|
||||
PG_VERSION="16" setup_postgresql
|
||||
|
||||
@@ -37,7 +37,7 @@ fetch_and_deploy_gh_release "kima-hub" "Chevron7Locked/kima-hub" "tarball"
|
||||
|
||||
msg_info "Installing Python Dependencies"
|
||||
$STD uv venv --python 3.13 /opt/kima-hub/venv
|
||||
$STD uv pip install --no-cache --python /opt/kima-hub/venv \
|
||||
$STD uv pip install --no-cache --torch-backend cpu --python /opt/kima-hub/venv \
|
||||
tensorflow \
|
||||
essentia-tensorflow \
|
||||
redis \
|
||||
|
||||
@@ -19,7 +19,7 @@ msg_ok "Installed Dependencies"
|
||||
|
||||
mkdir -p /opt/matomo
|
||||
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULES="pdo_mysql,gd,mbstring,xml,curl,intl,zip,ldap" setup_php
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="pdo_mysql,gd,mbstring,xml,curl,intl,zip,ldap" setup_php
|
||||
setup_mariadb
|
||||
MARIADB_DB_NAME="matomo" MARIADB_DB_USER="matomo" setup_mariadb_db
|
||||
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://gitlab.com/g33kphr33k/musicgrabber
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y \
|
||||
libchromaprint-tools \
|
||||
xauth \
|
||||
xvfb
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
setup_ffmpeg
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
fetch_and_deploy_gh_release "yt-dlp" "yt-dlp/yt-dlp" "singlefile" "latest" "/usr/local/bin" "yt-dlp_$(arch_resolve "linux" "linux_aarch64")"
|
||||
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip"
|
||||
fetch_and_deploy_gl_tag "musicgrabber" "g33kphr33k/musicgrabber" "v*"
|
||||
|
||||
msg_info "Setting up MusicGrabber"
|
||||
cd /opt/musicgrabber
|
||||
$STD uv venv --python 3.12 .venv
|
||||
$STD uv pip install --python .venv/bin/python \
|
||||
"fastapi~=0.162.0" \
|
||||
"uvicorn[standard]~=0.54.0" \
|
||||
"httpx~=0.28.1" \
|
||||
"pydantic~=2.14.1" \
|
||||
"mutagen~=1.48.1" \
|
||||
"playwright~=1.64.1" \
|
||||
"apprise>=1.13.1,<2" \
|
||||
"bcrypt~=4.3.0" \
|
||||
"pycryptodome~=4.2.0" \
|
||||
"certifi>=2026.10.18" \
|
||||
"seleniumbase>=4.54,<5"
|
||||
PLAYWRIGHT_BROWSERS_PATH=/opt/ms-playwright $STD .venv/bin/playwright install --with-deps chromium
|
||||
msg_ok "Set up MusicGrabber"
|
||||
|
||||
msg_info "Installing Browser for SeleniumBase"
|
||||
if [[ "$(arch_resolve)" == "amd64" ]]; then
|
||||
setup_deb822_repo \
|
||||
"google-chrome" \
|
||||
"https://dl.google.com/linux/linux_signing_key.pub" \
|
||||
"https://dl.google.com/linux/chrome/deb/" \
|
||||
"stable"
|
||||
$STD apt install -y google-chrome-stable
|
||||
rm -f /etc/apt/sources.list.d/google-chrome.list
|
||||
$STD .venv/bin/sbase get uc_driver stable
|
||||
else
|
||||
$STD apt install -y chromium chromium-driver
|
||||
install -m 755 /usr/bin/chromedriver .venv/lib/python3.12/site-packages/seleniumbase/drivers/uc_driver
|
||||
fi
|
||||
$STD .venv/bin/python -c "from pathlib import Path; import seleniumbase; from seleniumbase.undetected.patcher import Patcher; driver = Path(seleniumbase.__file__).parent / 'drivers' / 'uc_driver'; Patcher(executable_path=str(driver)).auto(); driver.chmod(0o755)"
|
||||
msg_ok "Installed Browser for SeleniumBase"
|
||||
|
||||
msg_info "Setting up FLAC Verifier"
|
||||
$STD uv venv --python 3.12 /opt/flac-verifier
|
||||
$STD uv pip install --python /opt/flac-verifier/bin/python "numpy==2.2.6" "scipy==1.15.3" "soundfile==0.13.1" "mutagen==1.47.0"
|
||||
msg_ok "Set up FLAC Verifier"
|
||||
fetch_and_deploy_from_url "https://codeload.github.com/FraysKosher/flac-verifier/tar.gz/$(grep -oP 'FraysKosher/flac-verifier/tar.gz/\K[0-9a-f]+' /opt/musicgrabber/Dockerfile)" "/opt/flac-verifier/engine"
|
||||
|
||||
msg_info "Configuring MusicGrabber"
|
||||
mkdir -p /opt/musicgrabber_data/music
|
||||
cat <<EOF >/opt/musicgrabber_data/.env
|
||||
MUSIC_DIR=/opt/musicgrabber_data/music
|
||||
DB_PATH=/opt/musicgrabber_data/music_grabber.db
|
||||
LISTEN_ADDR=0.0.0.0
|
||||
LISTEN_PORT=8080
|
||||
PLAYWRIGHT_BROWSERS_PATH=/opt/ms-playwright
|
||||
PYTHONUNBUFFERED=1
|
||||
EOF
|
||||
msg_ok "Configured MusicGrabber"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/musicgrabber.service
|
||||
[Unit]
|
||||
Description=MusicGrabber
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/musicgrabber
|
||||
EnvironmentFile=/opt/musicgrabber_data/.env
|
||||
Environment=PATH=/opt/musicgrabber/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
ExecStartPre=-/usr/bin/timeout 45 /usr/local/bin/yt-dlp -U
|
||||
ExecStart=/opt/musicgrabber/.venv/bin/uvicorn app:app --host \${LISTEN_ADDR} --port \${LISTEN_PORT}
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now musicgrabber
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -28,7 +28,7 @@ PANGOLIN_ENDPOINT="${PANGOLIN_ENDPOINT:-${var_newt_endpoint:-}}"
|
||||
|
||||
if [[ -z "$NEWT_ID" || -z "$NEWT_SECRET" || -z "$PANGOLIN_ENDPOINT" ]]; then
|
||||
msg_error "Newt ID, Secret and Endpoint are all required. Aborting."
|
||||
exit 1
|
||||
exit 64
|
||||
fi
|
||||
|
||||
msg_info "Configuring Newt"
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/nocobase/nocobase
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
|
||||
PG_VERSION="17" setup_postgresql
|
||||
PG_DB_NAME="nocobase" PG_DB_USER="nocobase" PG_DB_CREDS_FILE="/dev/null" setup_postgresql_db
|
||||
|
||||
msg_info "Installing NocoBase"
|
||||
NOCOBASE_VERSION="${var_appversion:-latest}"
|
||||
cd /opt
|
||||
$STD npx -y "create-nocobase-app@${NOCOBASE_VERSION#v}" nocobase --skip-dev-dependencies -d postgres
|
||||
mkdir -p /opt/nocobase_data/storage
|
||||
cat <<EOF >/opt/nocobase_data/.env
|
||||
APP_ENV=production
|
||||
APP_KEY=$(random_password 64)
|
||||
APP_PORT=13000
|
||||
API_BASE_PATH=/api/
|
||||
STORAGE_PATH=/opt/nocobase_data/storage
|
||||
DB_LOGGING=off
|
||||
DB_DIALECT=postgres
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_DATABASE=nocobase
|
||||
DB_USER=nocobase
|
||||
DB_PASSWORD=${PG_DB_PASS}
|
||||
INIT_ROOT_EMAIL=${var_admin_email:-admin@nocobase.com}
|
||||
INIT_ROOT_PASSWORD=${var_admin_pass:-$(random_password)}
|
||||
INIT_ROOT_NICKNAME=Super Admin
|
||||
INIT_ROOT_USERNAME=nocobase
|
||||
EOF
|
||||
chmod 600 /opt/nocobase_data/.env
|
||||
rm -rf /opt/nocobase/storage
|
||||
ln -sf /opt/nocobase_data/.env /opt/nocobase/.env
|
||||
cd /opt/nocobase
|
||||
$STD yarn install --production
|
||||
$STD yarn nocobase install --lang=en-US
|
||||
$STD yarn cache clean
|
||||
msg_ok "Installed NocoBase"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/nocobase.service
|
||||
[Unit]
|
||||
Description=NocoBase
|
||||
After=network.target postgresql.service
|
||||
Wants=postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/nocobase
|
||||
ExecStart=/usr/bin/yarn start
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now nocobase
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -0,0 +1,102 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://github.com/causefx/Organizr
|
||||
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
var_admin_user="${var_admin_user:-admin}"
|
||||
var_admin_email="${var_admin_email:-admin@example.com}"
|
||||
var_admin_pass="${var_admin_pass:-$(random_password 16)}"
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y nginx
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="ldap" setup_php
|
||||
fetch_and_deploy_gh_branch "organizr" "causefx/Organizr" "v2-master"
|
||||
|
||||
msg_info "Configuring Nginx"
|
||||
mkdir -p /opt/organizr_data/{data,db}
|
||||
ln -sfn /opt/organizr_data/data /opt/organizr/data
|
||||
chown -R www-data:www-data /opt/organizr /opt/organizr_data/data /opt/organizr_data/db
|
||||
PHP_SOCK=$(get_php_fpm_socket)
|
||||
cat <<EOF >/etc/nginx/sites-available/organizr
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name _;
|
||||
root /opt/organizr;
|
||||
index index.html index.htm index.php;
|
||||
client_max_body_size 0;
|
||||
server_tokens off;
|
||||
|
||||
location ~ /\.git {
|
||||
deny all;
|
||||
}
|
||||
location ~ /\.env {
|
||||
deny all;
|
||||
}
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files \$uri \$uri/ /index.html /index.php?\$args =404;
|
||||
}
|
||||
|
||||
location /api/v2 {
|
||||
try_files \$uri /api/v2/index.php\$is_args\$args;
|
||||
}
|
||||
|
||||
location ~ \.php\$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)\$;
|
||||
fastcgi_pass unix:${PHP_SOCK};
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
||||
fastcgi_buffers 32 32k;
|
||||
fastcgi_buffer_size 32k;
|
||||
}
|
||||
}
|
||||
EOF
|
||||
nginx_enable_site "organizr"
|
||||
msg_ok "Configured Nginx"
|
||||
|
||||
msg_info "Setting up Organizr"
|
||||
REG_PASS=$(random_password 16)
|
||||
$STD curl -fsS -X POST http://127.0.0.1/api/v2/wizard \
|
||||
--data-urlencode "license=personal" \
|
||||
--data-urlencode "username=${var_admin_user}" \
|
||||
--data-urlencode "email=${var_admin_email}" \
|
||||
--data-urlencode "password=${var_admin_pass}" \
|
||||
--data-urlencode "hashKey=$(random_password 32)" \
|
||||
--data-urlencode "registrationPassword=${REG_PASS}" \
|
||||
--data-urlencode "api=$(random_password 20)" \
|
||||
--data-urlencode "driver=sqlite3" \
|
||||
--data-urlencode "dbName=organizr" \
|
||||
--data-urlencode "dbPath=/opt/organizr_data/db/"
|
||||
cat <<EOF >/opt/organizr_data/.env
|
||||
ORGANIZR_ADMIN_USER=${var_admin_user}
|
||||
ORGANIZR_ADMIN_EMAIL=${var_admin_email}
|
||||
ORGANIZR_ADMIN_PASSWORD=${var_admin_pass}
|
||||
ORGANIZR_REGISTRATION_PASSWORD=${REG_PASS}
|
||||
EOF
|
||||
chmod 600 /opt/organizr_data/.env
|
||||
cat <<EOF >/etc/cron.d/organizr
|
||||
* * * * * www-data php /opt/organizr/cron.php >/dev/null 2>&1
|
||||
EOF
|
||||
systemctl enable -q --now cron
|
||||
msg_ok "Set up Organizr"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
cleanup_lxc
|
||||
@@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
|
||||
$STD apt install -y caddy
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULES="bcmath,gd,intl,xml,zip,pdo_pgsql,redis,mbstring,curl" setup_php
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_pgsql,redis,mbstring,curl" setup_php
|
||||
setup_composer
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
PG_VERSION="16" setup_postgresql
|
||||
|
||||
@@ -33,7 +33,7 @@ $STD apt install -y \
|
||||
pkg-config
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
PYTHON_VERSION="3.14" setup_uv
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
|
||||
fetch_and_deploy_gh_release "deno" "denoland/deno" "prebuild" "latest" "/usr/local/bin" "deno-$(arch_resolve "x86_64" "aarch64")-unknown-linux-gnu.zip"
|
||||
@@ -92,7 +92,7 @@ msg_ok "Built Frontend"
|
||||
msg_info "Setting up Tube Archivist"
|
||||
cp /opt/tubearchivist/docker_assets/backend_start.py /opt/tubearchivist/backend/
|
||||
$STD uv venv /opt/tubearchivist/.venv
|
||||
$STD uv pip install --python /opt/tubearchivist/.venv/bin/python -r /opt/tubearchivist/backend/requirements.txt
|
||||
$STD uv pip install --python /opt/tubearchivist/.venv/bin/python -r /opt/tubearchivist/backend/requirements.txt packaging
|
||||
if [[ -f /opt/tubearchivist/backend/requirements.plugins.txt ]]; then
|
||||
mkdir -p /opt/yt_plugins/bgutil
|
||||
$STD uv pip install --python /opt/tubearchivist/.venv/bin/python --target /opt/yt_plugins/bgutil -r /opt/tubearchivist/backend/requirements.plugins.txt
|
||||
|
||||
@@ -20,7 +20,7 @@ $STD apt install -y \
|
||||
nginx
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
PYTHON_VERSION="3.15" setup_uv
|
||||
PG_VERSION="17" setup_postgresql
|
||||
|
||||
msg_info "Setup PostgreSQL"
|
||||
@@ -68,6 +68,9 @@ sed -i \
|
||||
-e "s|alias /var/www/html/locales/;|alias /opt/warracker/locales/;|" \
|
||||
-e "s|/var/www/html|/opt/warracker/frontend|g" \
|
||||
-e "s/client_max_body_size __NGINX_MAX_BODY_SIZE_CONFIG_VALUE__/client_max_body_size 32M/" \
|
||||
-e "s|error_log /dev/stderr|error_log /var/log/nginx/error.log|" \
|
||||
-e "s|__NGINX_TRUST_ALL_PROXIES__|0|g" \
|
||||
-e "s|__NGINX_TRUST_PRIVATE_PROXIES__|1|g" \
|
||||
/etc/nginx/sites-available/warracker.conf
|
||||
nginx_enable_site warracker.conf
|
||||
msg_ok "Configured Nginx"
|
||||
|
||||
@@ -13,7 +13,7 @@ setting_up_container
|
||||
network_check
|
||||
update_os
|
||||
|
||||
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MAX_EXECUTION_TIME="600" setup_php
|
||||
PHP_VERSION="8.5" PHP_APACHE="YES" PHP_MAX_EXECUTION_TIME="600" setup_php
|
||||
setup_mariadb
|
||||
MARIADB_DB_NAME="wavelog" MARIADB_DB_USER="waveloguser" setup_mariadb_db
|
||||
fetch_and_deploy_gh_release "wavelog" "wavelog/wavelog" "tarball"
|
||||
|
||||
@@ -19,7 +19,7 @@ $STD apt install -y \
|
||||
unzip
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULES="bcmath,gd,intl,xml,zip,pdo_mysql,mbstring,curl" setup_php
|
||||
PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_mysql,mbstring,curl" setup_php
|
||||
setup_mariadb
|
||||
MARIADB_DB_NAME="webtrees" MARIADB_DB_USER="webtrees" setup_mariadb_db
|
||||
$STD mariadb -u root -e "GRANT ALL ON \`webtrees\`.* TO 'webtrees'@'127.0.0.1' IDENTIFIED BY '${MARIADB_DB_PASS}'; FLUSH PRIVILEGES;"
|
||||
|
||||
@@ -161,6 +161,11 @@ if [ "${#failed_containers[@]}" -gt 0 ]; then
|
||||
[ -s "$RUN_LOG" ] && echo -e "Their output: $RUN_LOG\n"
|
||||
printf -v CS_ERROR_MSG '%s; ' "${failed_containers[@]}"
|
||||
CS_ERROR_MSG="Cleaning failed in ${#failed_containers[@]} container(s): ${CS_ERROR_MSG%; }"
|
||||
# One code shared by every failed container is the real one (100 is apt), not "1".
|
||||
codes=$(printf '%s\n' "${failed_containers[@]}" | sed -n 's/^[^:]*: cleaning exited with \([0-9]*\).*/\1/p')
|
||||
if [[ -n "$codes" && $(wc -l <<<"$codes") -eq ${#failed_containers[@]} && $(sort -u <<<"$codes" | wc -l) -eq 1 ]]; then
|
||||
exit "$(head -n1 <<<"$codes")"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
echo -e "${GN} Finished, Selected Containers Cleaned. ${CL} \n"
|
||||
@@ -88,6 +88,11 @@ main() {
|
||||
esac
|
||||
done
|
||||
|
||||
if ! command -v pveversion >/dev/null 2>&1; then
|
||||
msg_error "This script runs on a Proxmox VE host, and pveversion is missing here"
|
||||
exit 105
|
||||
fi
|
||||
|
||||
local PVE_VERSION PVE_MAJOR PVE_MINOR
|
||||
PVE_VERSION="$(get_pve_version)"
|
||||
read -r PVE_MAJOR PVE_MINOR <<<"$(get_pve_major_minor "$PVE_VERSION")"
|
||||
|
||||
@@ -620,6 +620,7 @@ for container in $CHOICE; do
|
||||
fi
|
||||
|
||||
#4) Update service, using the update command
|
||||
pct exec "$container" -- touch /tmp/.cs-update-start 2>/dev/null || true
|
||||
# Prepend a no-op 'clear' wrapper to PATH so update scripts calling clear
|
||||
# don't fail without a TTY — works for all shells incl. ash (no export -f)
|
||||
SETUP_CMD="mkdir -p /tmp/.nc; printf '#!/bin/sh\n:\n' > /tmp/.nc/clear; chmod +x /tmp/.nc/clear; export PATH=/tmp/.nc:\$PATH; export TERM=dumb; "
|
||||
@@ -631,6 +632,12 @@ for container in $CHOICE; do
|
||||
opensuse) pct exec "$container" -- bash -c "${SETUP_CMD}${UPDATE_CMD}" ;;
|
||||
esac
|
||||
exit_code=$?
|
||||
# The engine in the container leaves what failed in an .errinfo file; without it
|
||||
# the report says only "exit code: 1".
|
||||
update_detail=""
|
||||
if [ $exit_code -ne 0 ]; then
|
||||
update_detail=$(pct exec "$container" -- sh -c 'f=$(find /root /tmp -maxdepth 1 -name "*.errinfo" -newer /tmp/.cs-update-start 2>/dev/null | head -n1); [ -n "$f" ] || exit 0; m=$(sed -n "s/^MESSAGE=//p" "$f" | head -n1); [ -n "$m" ] || m=$(sed -n "s/^COMMAND=//p" "$f" | head -n1); printf "%s" "$m" | head -c 200' 2>/dev/null || true)
|
||||
fi
|
||||
|
||||
#5) if build resources are different than run resources, then:
|
||||
if [ "$UPDATE_BUILD_RESOURCES" -eq "1" ]; then
|
||||
@@ -665,7 +672,7 @@ for container in $CHOICE; do
|
||||
log_result "$container" "$service" "SKIPPED" "Storage critically low on /boot (>80%)"
|
||||
log_write "Container $container ($service): SKIPPED — storage critically low on /boot"
|
||||
elif [ "$BACKUP_CHOICE" == "yes" ]; then
|
||||
msg_error "Update failed for container $container ($service, exit code: $exit_code) — attempting restore"
|
||||
msg_error "Update failed for container $container ($service, exit code: $exit_code)${update_detail:+: $update_detail} — attempting restore"
|
||||
log_write "Container $container ($service): FAILED (exit $exit_code) — attempting restore"
|
||||
msg_info "Restoring LXC $container from backup ($STORAGE_CHOICE)"
|
||||
wait
|
||||
@@ -703,8 +710,8 @@ for container in $CHOICE; do
|
||||
exit 235
|
||||
fi
|
||||
else
|
||||
msg_error "Update failed for container $container ($service, exit code: $exit_code)"
|
||||
log_result "$container" "$service" "FAILED" "Exit code $exit_code"
|
||||
msg_error "Update failed for container $container ($service, exit code: $exit_code)${update_detail:+: $update_detail}"
|
||||
log_result "$container" "$service" "FAILED" "Exit code $exit_code${update_detail:+: $update_detail}"
|
||||
log_write "Container $container ($service): FAILED (exit $exit_code)"
|
||||
if [[ "$var_continue_on_error" == "yes" ]]; then
|
||||
echo -e "${YW}[WARN]${CL} Continuing to next container (var_continue_on_error=yes)"
|
||||
|
||||
@@ -174,5 +174,10 @@ echo ""
|
||||
if [ "${#failed_containers[@]}" -gt 0 ]; then
|
||||
printf -v CS_ERROR_MSG '%s; ' "${failed_containers[@]}"
|
||||
CS_ERROR_MSG="Update failed in ${#failed_containers[@]} container(s): ${CS_ERROR_MSG%; }"
|
||||
# One code shared by every failed container is the real one (100 is apt), not "1".
|
||||
codes=$(printf '%s\n' "${failed_containers[@]}" | sed -n 's/^[^:]*: update exited with \([0-9]*\).*/\1/p')
|
||||
if [[ -n "$codes" && $(wc -l <<<"$codes") -eq ${#failed_containers[@]} && $(sort -u <<<"$codes" | wc -l) -eq 1 ]]; then
|
||||
exit "$(head -n1 <<<"$codes")"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
@@ -0,0 +1,416 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2026 community-scripts ORG
|
||||
# Author: MickLesk (CanbiZ)
|
||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
# Source: https://waydro.id/
|
||||
|
||||
COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main}"
|
||||
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/pve/vm-core.func")
|
||||
load_functions
|
||||
|
||||
APP="Waydroid"
|
||||
APP_TYPE="vm"
|
||||
NSAPP="waydroid-vm"
|
||||
var_os="ubuntu"
|
||||
var_version="24.04"
|
||||
GEN_MAC=02:$(openssl rand -hex 5 | awk '{print toupper($0)}' | sed 's/\(..\)/\1:/g; s/.$//')
|
||||
RANDOM_UUID="$(cat /proc/sys/kernel/random/uuid)"
|
||||
METHOD=""
|
||||
THIN="discard=on,ssd=1,"
|
||||
USE_CLOUD_INIT="no"
|
||||
OS_CHOICE="ubuntu2404"
|
||||
OS_LABEL="Ubuntu 24.04 LTS (Noble Numbat)"
|
||||
OS_CODENAME="noble"
|
||||
WAYDROID_PREINSTALLED="no"
|
||||
WAYDROID_FIRSTBOOT_MARKER=""
|
||||
|
||||
header_info
|
||||
echo -e "\n Loading..."
|
||||
|
||||
set -Eeo pipefail
|
||||
shopt -s inherit_errexit
|
||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
|
||||
trap cleanup EXIT
|
||||
trap 'post_update_to_api "failed" "130"' SIGINT
|
||||
trap 'post_update_to_api "failed" "143"' SIGTERM
|
||||
trap 'post_update_to_api "failed" "129"; exit 129' SIGHUP
|
||||
|
||||
vm_require_arch amd64
|
||||
|
||||
TEMP_DIR=$(mktemp -d)
|
||||
pushd "$TEMP_DIR" >/dev/null
|
||||
|
||||
vm_preflight
|
||||
vm_require_tools virt-customize jq
|
||||
|
||||
function select_os() {
|
||||
if [[ -n "${1:-}" ]]; then
|
||||
OS_CHOICE="$1"
|
||||
elif [[ "${VM_UNATTENDED:-0}" == "1" ]]; then
|
||||
OS_CHOICE="${VM_OS_VERSION:-ubuntu2404}"
|
||||
elif vm_dialog radiolist "OS SELECTION" \
|
||||
"Choose the base operating system:" --cancel-button Exit-Script 12 68 2 \
|
||||
"ubuntu2404" "Ubuntu 24.04 LTS (Noble Numbat)" ON \
|
||||
"debian13" "Debian 13 (Trixie)" OFF; then
|
||||
OS_CHOICE="$VM_DIALOG_RESULT"
|
||||
else
|
||||
exit_script
|
||||
fi
|
||||
|
||||
case "$OS_CHOICE" in
|
||||
ubuntu2404)
|
||||
OS_LABEL="Ubuntu 24.04 LTS (Noble Numbat)"
|
||||
OS_CODENAME="noble"
|
||||
var_os="ubuntu"
|
||||
var_version="24.04"
|
||||
;;
|
||||
debian13)
|
||||
OS_LABEL="Debian 13 (Trixie)"
|
||||
OS_CODENAME="trixie"
|
||||
var_os="debian"
|
||||
var_version="13"
|
||||
;;
|
||||
*)
|
||||
msg_error "Unsupported OS '${OS_CHOICE}' (expected ubuntu2404 or debian13)"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
echo -e "${OS}${BOLD}${DGN}Base OS: ${BGN}${OS_LABEL}${CL}"
|
||||
}
|
||||
|
||||
function default_settings() {
|
||||
select_os "${VM_OS_VERSION:-}"
|
||||
VMID=$(get_valid_nextid)
|
||||
vm_apply_machine_type "q35"
|
||||
DISK_SIZE="20G"
|
||||
DISK_CACHE=""
|
||||
HN="waydroid"
|
||||
CPU_TYPE=" -cpu host"
|
||||
CORE_COUNT="4"
|
||||
RAM_SIZE="4096"
|
||||
BRG="vmbr0"
|
||||
MAC="$GEN_MAC"
|
||||
VLAN=""
|
||||
MTU=""
|
||||
START_VM="yes"
|
||||
METHOD="default"
|
||||
vm_echo_default_settings
|
||||
}
|
||||
|
||||
function advanced_settings() {
|
||||
METHOD="advanced"
|
||||
select_os
|
||||
vm_prompt_vmid "${VMID:-$(get_valid_nextid)}"
|
||||
vm_prompt_machine_type "q35"
|
||||
vm_prompt_disk_size "20G" "Set Disk Size in GiB (min. 20 recommended)"
|
||||
vm_prompt_disk_cache "none"
|
||||
vm_prompt_hostname "waydroid"
|
||||
vm_prompt_cpu_model "host"
|
||||
vm_prompt_cpu_cores "4"
|
||||
vm_prompt_ram "4096"
|
||||
vm_prompt_bridge "vmbr0"
|
||||
vm_prompt_mac "$GEN_MAC"
|
||||
vm_prompt_vlan
|
||||
vm_prompt_mtu
|
||||
vm_prompt_keyboard
|
||||
vm_prompt_verbose "no"
|
||||
vm_prompt_start_vm "yes"
|
||||
|
||||
if vm_confirm_advanced_settings "Ready to create a ${OS_LABEL} Waydroid VM?"; then
|
||||
echo -e "${CREATING}${BOLD}${DGN}Creating a ${OS_LABEL} Waydroid VM using the above advanced settings${CL}"
|
||||
else
|
||||
header_info
|
||||
echo -e "${ADVANCED}${BOLD}${RD}Using Advanced Settings${CL}"
|
||||
advanced_settings
|
||||
fi
|
||||
}
|
||||
|
||||
vm_start_script "Use Default Settings?\n\nDefaults:\n• 4 CPU Cores\n• 4 GB RAM\n• 20 GB Disk" 13 58
|
||||
CLOUDINIT_REQUIRED=1
|
||||
# Android does not start for root, so unattended runs get the image's usual user.
|
||||
[[ "${VM_UNATTENDED:-0}" == "1" ]] && export CLOUDINIT_USER="${CLOUDINIT_USER:-$var_os}"
|
||||
if [[ "$OS_CHOICE" == "debian13" ]]; then
|
||||
vm_prompt_cloud_init "debian"
|
||||
else
|
||||
vm_prompt_cloud_init "ubuntu"
|
||||
fi
|
||||
if [[ "$USE_CLOUD_INIT" != "yes" ]]; then
|
||||
msg_error "Waydroid cloud images require Cloud-Init credentials."
|
||||
exit 1
|
||||
fi
|
||||
post_to_api_vm
|
||||
|
||||
vm_select_storage "$HN"
|
||||
vm_define_disk_references 2
|
||||
|
||||
case "$OS_CHOICE" in
|
||||
ubuntu2404) URL="https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img" ;;
|
||||
debian13) URL="https://cloud.debian.org/images/cloud/trixie/latest/debian-13-generic-amd64.qcow2" ;;
|
||||
esac
|
||||
|
||||
msg_info "Retrieving the URL for the ${OS_LABEL} Cloud Image"
|
||||
msg_ok "${CL}${BL}${URL}${CL}"
|
||||
|
||||
CACHE_FILE="$(vm_image_cache_path "$URL")"
|
||||
MIN_IMAGE_BYTES=$((100 * 1024 * 1024))
|
||||
vm_fetch_image "$URL" "$CACHE_FILE" --cache --min-bytes "$MIN_IMAGE_BYTES" || exit 115
|
||||
|
||||
WORK_FILE="$TEMP_DIR/waydroid.qcow2"
|
||||
cp "$CACHE_FILE" "$WORK_FILE"
|
||||
|
||||
export LIBGUESTFS_BACKEND_SETTINGS=dns=8.8.8.8,1.1.1.1
|
||||
|
||||
# Ubuntu ships binder_linux in linux-modules-extra, which the cloud kernel leaves out.
|
||||
# Run in the image, on first boot and once per boot for each installed kernel:
|
||||
# Cloud-Init's first-boot upgrade and later updates bring kernels without it. Not
|
||||
# from waydroid-container itself: needrestart restarts that inside apt's lock.
|
||||
WAYDROID_BINDER_TMP="$TEMP_DIR/waydroid-binder"
|
||||
cat >"$WAYDROID_BINDER_TMP" <<'BINDER'
|
||||
#!/bin/sh
|
||||
export DEBIAN_FRONTEND=noninteractive NEEDRESTART_SUSPEND=1
|
||||
grep -q '^ID=ubuntu' /etc/os-release || exit 0
|
||||
rc=0
|
||||
for kernel in /boot/vmlinuz-*; do
|
||||
version="${kernel#/boot/vmlinuz-}"
|
||||
find "/lib/modules/${version}" -name 'binder_linux.ko*' 2>/dev/null | grep -q . && continue
|
||||
apt-get -o DPkg::Lock::Timeout=300 install -y "linux-modules-extra-${version}" || rc=1
|
||||
done
|
||||
exit "$rc"
|
||||
BINDER
|
||||
WAYDROID_BINDER_UNIT_TMP="$TEMP_DIR/waydroid-binder.service"
|
||||
cat >"$WAYDROID_BINDER_UNIT_TMP" <<'UNIT'
|
||||
[Unit]
|
||||
Description=Binder module for every installed kernel
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
Before=waydroid-container.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=-/usr/local/sbin/waydroid-binder
|
||||
ExecStart=/sbin/modprobe binder_linux
|
||||
RemainAfterExit=yes
|
||||
TimeoutStartSec=15min
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
UNIT
|
||||
|
||||
# `weston` on the VM console opens Android full-screen and returns to the
|
||||
# console when it is closed; until Waydroid is initialized it opens a terminal.
|
||||
WESTON_INI_TMP="$TEMP_DIR/weston.ini"
|
||||
cat >"$WESTON_INI_TMP" <<'INI'
|
||||
[core]
|
||||
idle-time=0
|
||||
|
||||
[autolaunch]
|
||||
path=/usr/local/bin/waydroid-ui
|
||||
watch=true
|
||||
INI
|
||||
WAYDROID_UI_TMP="$TEMP_DIR/waydroid-ui"
|
||||
cat >"$WAYDROID_UI_TMP" <<'UI'
|
||||
#!/bin/sh
|
||||
if [ -f /var/lib/waydroid/lxc/waydroid/config ]; then
|
||||
exec waydroid show-full-ui
|
||||
fi
|
||||
exec weston-terminal
|
||||
UI
|
||||
WAYDROID_STATUS_TMP="$TEMP_DIR/waydroid-status.sh"
|
||||
cat >"$WAYDROID_STATUS_TMP" <<'STATUS'
|
||||
if [ ! -f /var/lib/waydroid/lxc/waydroid/config ]; then
|
||||
echo "Waydroid is still being set up: tail -f /var/log/waydroid-install.log"
|
||||
elif [ "$(id -u)" = 0 ]; then
|
||||
# PipeWire's user units refuse root, and Waydroid's container mounts its audio socket.
|
||||
echo "Android does not start for root; log in as a normal user to run weston (adduser creates one)."
|
||||
fi
|
||||
STATUS
|
||||
|
||||
vm_customize "Waydroid setup files" "$WORK_FILE" \
|
||||
--mkdir /etc/xdg/weston \
|
||||
--upload "${WAYDROID_BINDER_TMP}:/usr/local/sbin/waydroid-binder" \
|
||||
--chmod "0755:/usr/local/sbin/waydroid-binder" \
|
||||
--upload "${WAYDROID_BINDER_UNIT_TMP}:/etc/systemd/system/waydroid-binder.service" \
|
||||
--upload "${WESTON_INI_TMP}:/etc/xdg/weston/weston.ini" \
|
||||
--upload "${WAYDROID_UI_TMP}:/usr/local/bin/waydroid-ui" \
|
||||
--chmod "0755:/usr/local/bin/waydroid-ui" \
|
||||
--upload "${WAYDROID_STATUS_TMP}:/etc/profile.d/waydroid-status.sh" \
|
||||
--run-command "grep -qxF binder_linux /etc/modules || echo 'binder_linux' >> /etc/modules" \
|
||||
--run-command "echo 'options binder_linux devices=binder,hwbinder,vndbinder' > /etc/modprobe.d/waydroid.conf" \
|
||||
--run-command "systemctl enable waydroid-binder.service" || exit 1
|
||||
|
||||
# The cloud image has well under 1 GB free, too little for Weston, Waydroid and the kernel modules.
|
||||
msg_info "Expanding the root filesystem to ${DISK_SIZE}"
|
||||
vm_expand_image "$WORK_FILE" "$DISK_SIZE" || true
|
||||
|
||||
# Recommends would add lxc templates, debootstrap, qemu-utils and VA drivers
|
||||
# (a third of the download); the GL driver and the audio session manager stay.
|
||||
WESTON_PKGS="curl ca-certificates qemu-guest-agent weston libgl1-mesa-dri"
|
||||
WAYDROID_PKGS="waydroid wireplumber"
|
||||
APT_INSTALL="DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends"
|
||||
|
||||
msg_info "Installing Weston in the image"
|
||||
if vm_customize "Weston" "$WORK_FILE" \
|
||||
--run-command "apt-get update" \
|
||||
--run-command "${APT_INSTALL} ${WESTON_PKGS}"; then
|
||||
msg_ok "Installed Weston in the image"
|
||||
msg_info "Installing Waydroid in the image"
|
||||
if vm_customize "Waydroid" "$WORK_FILE" \
|
||||
--run-command "/usr/local/sbin/waydroid-binder" \
|
||||
--run-command "bash -o pipefail -c 'curl -fsSL https://repo.waydro.id | bash -s ${OS_CODENAME}'" \
|
||||
--run-command "${APT_INSTALL} ${WAYDROID_PKGS}" \
|
||||
--run-command "systemctl enable waydroid-container"; then
|
||||
WAYDROID_PREINSTALLED="yes"
|
||||
msg_ok "Installed Waydroid in the image"
|
||||
fi
|
||||
fi
|
||||
[[ "$WAYDROID_PREINSTALLED" == "yes" ]] || msg_warn "Installing in the image failed; the VM installs it on first boot."
|
||||
|
||||
vm_prepare_cloud_image "$WORK_FILE" "$HN" || true
|
||||
|
||||
# `waydroid init` downloads Android and needs the guest's binder driver, so it
|
||||
# cannot run in the image.
|
||||
WAYDROID_FIRSTBOOT_TMP="$TEMP_DIR/waydroid-firstboot.sh"
|
||||
cat >"$WAYDROID_FIRSTBOOT_TMP" <<FIRSTBOOT
|
||||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
exec >>/var/log/waydroid-install.log 2>&1
|
||||
|
||||
echo "[\$(date)] Setting up Waydroid"
|
||||
# A package step that failed in the image leaves dpkg half done.
|
||||
dpkg --configure -a
|
||||
apt-get install -f -y
|
||||
if ! command -v waydroid >/dev/null 2>&1; then
|
||||
apt-get update
|
||||
${APT_INSTALL} ${WESTON_PKGS}
|
||||
curl -fsSL https://repo.waydro.id | bash -s ${OS_CODENAME}
|
||||
${APT_INSTALL} ${WAYDROID_PKGS}
|
||||
fi
|
||||
/usr/local/sbin/waydroid-binder
|
||||
modprobe binder_linux
|
||||
# Unbuffered, the download progress reaches the log as it happens; the host shows it.
|
||||
PYTHONUNBUFFERED=1 waydroid init
|
||||
systemctl restart waydroid-container
|
||||
echo "[\$(date)] Waydroid is ready"
|
||||
FIRSTBOOT
|
||||
|
||||
vm_firstboot_unit "$WORK_FILE" waydroid-firstboot "$WAYDROID_FIRSTBOOT_TMP" \
|
||||
--description "Waydroid first boot setup" \
|
||||
--cloud-init yes || exit 1
|
||||
WAYDROID_FIRSTBOOT_MARKER="$VM_FIRSTBOOT_MARKER"
|
||||
|
||||
vm_claim_vmid
|
||||
msg_info "Creating a ${OS_LABEL} Waydroid VM"
|
||||
qm create "$VMID" -agent 1${MACHINE} -tablet 0 -bios ovmf${CPU_TYPE} -cores "$CORE_COUNT" -memory "$RAM_SIZE" \
|
||||
-name "$HN" -tags community-script,waydroid -net0 "virtio,bridge=$BRG,macaddr=$MAC$VLAN$MTU" -onboot 1 -ostype l26 -scsihw virtio-scsi-pci
|
||||
vm_mark_created
|
||||
msg_ok "Created a ${OS_LABEL} Waydroid VM ${CL}${BL}(${HN})"
|
||||
|
||||
vm_alloc_efi_disk "$DISK0"
|
||||
vm_import_disk "$VMID" "$WORK_FILE" "$STORAGE"
|
||||
|
||||
DISK_OPTIONS="${DISK_CACHE}${THIN}"
|
||||
DISK_OPTIONS="${DISK_OPTIONS%,}"
|
||||
ROOT_DISK="$VM_IMPORTED_DISK"
|
||||
[[ -n "$DISK_OPTIONS" ]] && ROOT_DISK="${ROOT_DISK},${DISK_OPTIONS}"
|
||||
|
||||
qm set "$VMID" \
|
||||
--efidisk0 "${DISK0_REF}${FORMAT}" \
|
||||
--scsi0 "$ROOT_DISK" \
|
||||
--boot order=scsi0 \
|
||||
--serial0 socket >/dev/null
|
||||
vm_resize_disk "scsi0" "$DISK_SIZE"
|
||||
set_description
|
||||
|
||||
vm_provision "$VMID"
|
||||
if [[ -n "${CLOUDINIT_SSH_KEYS:-}" ]]; then
|
||||
$STD qm set "$VMID" --sshkeys "$CLOUDINIT_SSH_KEYS"
|
||||
fi
|
||||
|
||||
vm_start_vm "Waydroid VM"
|
||||
vm_wait_for_ip 120 || true
|
||||
|
||||
# Waits as long as the guest's logs keep growing: the Android download runs at
|
||||
# whatever speed the SourceForge mirror gives, seven minutes or forty.
|
||||
WAYDROID_STATE="pending"
|
||||
if [[ "$START_VM" == "yes" ]]; then
|
||||
msg_info "Setting up Waydroid in the VM"
|
||||
WAYDROID_PROBE="if [ -f '${WAYDROID_FIRSTBOOT_MARKER}' ]; then echo ready
|
||||
elif systemctl is-failed --quiet waydroid-firstboot.service; then echo failed
|
||||
else
|
||||
[ \"\$(systemctl is-active waydroid-firstboot.service)\" = activating ] && echo setup || echo cloud-init
|
||||
stat -c %s /var/log/cloud-init-output.log /var/log/waydroid-install.log 2>/dev/null | tr '\n' ' '; echo
|
||||
tail -c 300 /var/log/waydroid-install.log 2>/dev/null | tr '\r' '\n' | grep -o '[0-9.]* MB/[0-9.]* MB' | tail -n 1
|
||||
fi"
|
||||
WAYDROID_LAST_SIZES="" WAYDROID_SHOWN="" WAYDROID_IDLE=0
|
||||
while ((WAYDROID_IDLE < 600)); do
|
||||
WAYDROID_STATUS="$(vm_guest_exec "$VMID" 15 -- sh -c "$WAYDROID_PROBE" 2>/dev/null || true)"
|
||||
case "${WAYDROID_STATUS%%$'\n'*}" in
|
||||
ready | failed)
|
||||
WAYDROID_STATE="${WAYDROID_STATUS%%$'\n'*}"
|
||||
break
|
||||
;;
|
||||
setup | cloud-init)
|
||||
WAYDROID_SIZES="$(sed -n 2p <<<"$WAYDROID_STATUS")"
|
||||
WAYDROID_BYTES="$(sed -n 3p <<<"$WAYDROID_STATUS")"
|
||||
if [[ -n "$WAYDROID_BYTES" ]]; then
|
||||
WAYDROID_TEXT="Downloading Android in the VM (${WAYDROID_BYTES%%/*} of ${WAYDROID_BYTES##*/})"
|
||||
elif [[ "$WAYDROID_STATUS" == cloud-init* ]]; then
|
||||
WAYDROID_TEXT="Waiting for Cloud-Init's package upgrade in the VM"
|
||||
else
|
||||
WAYDROID_TEXT="Setting up Waydroid in the VM"
|
||||
fi
|
||||
if [[ "$WAYDROID_TEXT" != "$WAYDROID_SHOWN" ]]; then
|
||||
start_spinner "$WAYDROID_TEXT"
|
||||
WAYDROID_SHOWN="$WAYDROID_TEXT"
|
||||
fi
|
||||
if [[ "$WAYDROID_SIZES" != "$WAYDROID_LAST_SIZES" ]]; then
|
||||
WAYDROID_LAST_SIZES="$WAYDROID_SIZES"
|
||||
WAYDROID_IDLE=0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
sleep 5
|
||||
WAYDROID_IDLE=$((WAYDROID_IDLE + 5))
|
||||
done
|
||||
case "$WAYDROID_STATE" in
|
||||
ready) msg_ok "Waydroid is ready" ;;
|
||||
failed) msg_warn "Waydroid setup failed in the VM; it retries on the next boot. Log: /var/log/waydroid-install.log" ;;
|
||||
*) msg_warn "No progress in the VM for 10 minutes; the setup goes on there. Log: /var/log/waydroid-install.log" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
display_cloud_init_info "$VMID" "$HN"
|
||||
|
||||
case "$WAYDROID_STATE" in
|
||||
ready) WAYDROID_SUMMARY="ready" ;;
|
||||
failed) WAYDROID_SUMMARY="setup failed, see /var/log/waydroid-install.log" ;;
|
||||
*) WAYDROID_SUMMARY="being set up on first boot, see /var/log/waydroid-install.log" ;;
|
||||
esac
|
||||
vm_print_summary \
|
||||
"OS=${OS_LABEL}" \
|
||||
"Waydroid=${WAYDROID_SUMMARY}" \
|
||||
"Documentation=https://docs.waydro.id/"
|
||||
|
||||
WAYDROID_STEPS=()
|
||||
case "$WAYDROID_STATE" in
|
||||
failed) WAYDROID_STEPS+=("See why in /var/log/waydroid-install.log; the setup runs again on the next boot of the VM.") ;;
|
||||
pending) WAYDROID_STEPS+=("Wait for the setup to finish: tail -f /var/log/waydroid-install.log") ;;
|
||||
esac
|
||||
if [[ "${CLOUDINIT_USER:-root}" == "root" ]]; then
|
||||
WAYDROID_STEPS+=("Android does not start for root. Log in on the VM, create a user (adduser NAME) and use that one below.")
|
||||
WAYDROID_LOGIN="the new user"
|
||||
else
|
||||
WAYDROID_LOGIN="${CLOUDINIT_USER}"
|
||||
fi
|
||||
WAYDROID_STEPS+=(
|
||||
"Open the VM's Console (noVNC) in Proxmox, log in as ${WAYDROID_LOGIN} and type weston. Android opens full screen; closing it returns to the console."
|
||||
"Android only shows on noVNC; the serial console (xterm.js) has no display."
|
||||
)
|
||||
vm_next_steps "${WAYDROID_STEPS[@]}"
|
||||
|
||||
case "$WAYDROID_STATE" in
|
||||
ready) vm_finish "Waydroid VM is ready." ;;
|
||||
failed) vm_finish "VM created, but the Waydroid setup in it failed." ;;
|
||||
*) vm_finish "VM created. Waydroid setup continues in the VM." ;;
|
||||
esac
|
||||
Reference in new issue
Block a user