mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-15 09:14:08 +00:00
Compare commits
135 Commits
fix-nights
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05dc593f99 | ||
|
|
a7d58ba5c7 | ||
|
|
8a8c636a83 | ||
|
|
7c851f766e | ||
|
|
fbea9c04c3 | ||
|
|
1e500043b7 | ||
|
|
dd421cec72 | ||
|
|
e4d5fcede1 | ||
|
|
91c6673ae0 | ||
|
|
787dbf2420 | ||
|
|
2bac6ac611 | ||
|
|
7a36712ef4 | ||
|
|
f21bd26c8a | ||
|
|
e476e28e33 | ||
|
|
db50b50a63 | ||
|
|
33a110f06a | ||
|
|
70091db00b | ||
|
|
8b02661dd0 | ||
|
|
9e25624107 | ||
|
|
e1a084edea | ||
|
|
e24a47ebca | ||
|
|
9e0a57a04a | ||
|
|
2551a576d5 | ||
|
|
aa2d63f569 | ||
|
|
8348fb3cb3 | ||
|
|
be0a8c3467 | ||
|
|
1131d748e8 | ||
|
|
764e4232ba | ||
|
|
8ee86a91b8 | ||
|
|
95d80a4941 | ||
|
|
5f1b71a85e | ||
|
|
2c6a578343 | ||
|
|
b068e7cd8a | ||
|
|
02cf8a0a8f | ||
|
|
9580c0f5bd | ||
|
|
3dbfe54701 | ||
|
|
ab5f20ec71 | ||
|
|
0a48435ef9 | ||
|
|
9e22ffe10d | ||
|
|
4412cc0eae | ||
|
|
fe823143fb | ||
|
|
24e006cd81 | ||
|
|
1b581bddea | ||
|
|
c1fc07d937 | ||
|
|
c98008cc16 | ||
|
|
8713dabc56 | ||
|
|
6b30d4462d | ||
|
|
fc40e198b6 | ||
|
|
b875f780bb | ||
|
|
10ab064f26 | ||
|
|
db418a7a3b | ||
|
|
f17a8df641 | ||
|
|
0fa0a912ac | ||
|
|
b9f7751590 | ||
|
|
7c0283c73f | ||
|
|
5774100f05 | ||
|
|
73a8c55c9d | ||
|
|
06115ca811 | ||
|
|
e00429ea7e | ||
|
|
de9b2f7ff3 | ||
|
|
2b541531f7 | ||
|
|
c001360b2d | ||
|
|
b2f8add60f | ||
|
|
fe26465c2c | ||
|
|
785d33be40 | ||
|
|
28b4ae0b07 | ||
|
|
e253713148 | ||
|
|
5748b577c4 | ||
|
|
7304dec635 | ||
|
|
28c18b735b | ||
|
|
46a3f05bfb | ||
|
|
433064a93f | ||
|
|
a9bd59d320 | ||
|
|
4dfb966412 | ||
|
|
b25ae992e8 | ||
|
|
6e109e77c7 | ||
|
|
2cdca2ca01 | ||
|
|
b8eaf1e2a4 | ||
|
|
86270d407e | ||
|
|
bee1ccf720 | ||
|
|
a1be885aa0 | ||
|
|
192bcd3353 | ||
|
|
2802f0fc55 | ||
|
|
7c822e1642 | ||
|
|
902b341327 | ||
|
|
cca5e8320a | ||
|
|
6109ccf128 | ||
|
|
639eb8e839 | ||
|
|
cb1090623d | ||
|
|
9101f0c5f4 | ||
|
|
662d642a37 | ||
|
|
3b53db7f14 | ||
|
|
b9aa86c785 | ||
|
|
810a6d2e82 | ||
|
|
e4a455465d | ||
|
|
05d4c186fb | ||
|
|
1e03820eab | ||
|
|
62938627b2 | ||
|
|
11859e9e10 | ||
|
|
afff8c91cd | ||
|
|
5f37e3db9f | ||
|
|
8bf8f8629b | ||
|
|
7175d81ddc | ||
|
|
209e003c7f | ||
|
|
751248222f | ||
|
|
a3c029c341 | ||
|
|
13dd4b9c30 | ||
|
|
89bf431a18 | ||
|
|
4a3ee0aced | ||
|
|
20624f3a84 | ||
|
|
0b630fc246 | ||
|
|
c8722c0828 | ||
|
|
08dfb5aa90 | ||
|
|
790b329777 | ||
|
|
d458bf5aed | ||
|
|
aa4dfbf1f3 | ||
|
|
c039a297b3 | ||
|
|
8910825fd8 | ||
|
|
b99dab130c | ||
|
|
169f57c2e0 | ||
|
|
633e9f6a03 | ||
|
|
26f5922b1e | ||
|
|
653341829f | ||
|
|
b1c5fc9e01 | ||
|
|
2801c4a2c6 | ||
|
|
2c453c3992 | ||
|
|
9e42f4b4a8 | ||
|
|
568ef66ae7 | ||
|
|
7854acfad8 | ||
|
|
dfb33d9559 | ||
|
|
8eec87401c | ||
|
|
7deac8444e | ||
|
|
69dd23395e | ||
|
|
f6185c0b1d | ||
|
|
960e50f428 |
91
.github/ISSUE_TEMPLATE/bug_report.yml
generated
vendored
91
.github/ISSUE_TEMPLATE/bug_report.yml
generated
vendored
@@ -5,15 +5,19 @@ body:
|
|||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
## ⚠️ **IMPORTANT - READ FIRST**
|
## ⚠️ **IMPORTANT - READ FIRST**
|
||||||
- 🔍 **Search first:** Before submitting, check if the issue has already been reported or resolved in [closed issues](https://github.com/community-scripts/ProxmoxVE/issues?q=is%3Aissue+is%3Aclosed). If found, comment on that issue instead of creating a new one.
|
|
||||||
Alternatively, check the **[Discussions](https://github.com/community-scripts/ProxmoxVE/discussions)** under the *"Announcement"* or *"Guide"* categories for relevant information.
|
|
||||||
- 🔎 If you encounter `[ERROR] in line 23: exit code *: while executing command "$@" > /dev/null 2>&1`, rerun the script with verbose mode before submitting the issue.
|
|
||||||
- 📜 **Read the script:** Familiarize yourself with the script's content and its purpose. This will help you understand the issue better and provide more relevant information
|
|
||||||
|
|
||||||
Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently.
|
**1. Reproduce the issue with verbose mode - this is mandatory.**
|
||||||
|
Set `var_verbose=yes` (or *Advanced Settings → Verbose Mode*) and run the script again.
|
||||||
|
Only a verbose log shows what actually failed - a bare `[ERROR] in line 23: exit code *` tells us nothing.
|
||||||
|
**Reports without a verbose log will most likely be closed.**
|
||||||
|
|
||||||
|
**2. Search before you post.**
|
||||||
|
Check the [closed issues](https://github.com/community-scripts/ProxmoxVE/issues?q=is%3Aissue+is%3Aclosed) and the [Discussions](https://github.com/community-scripts/ProxmoxVE/discussions) (*Announcement* / *Guide*). If it is already known, comment there instead of opening a new issue.
|
||||||
|
|
||||||
|
**3. Read the script.**
|
||||||
|
Knowing what it does makes it much easier to describe the problem - and often to solve it yourself.
|
||||||
|
|
||||||
|
|
||||||
- type: input
|
- type: input
|
||||||
id: guidelines
|
id: guidelines
|
||||||
attributes:
|
attributes:
|
||||||
@@ -28,7 +32,6 @@ body:
|
|||||||
label: 🔎 Did you run the script with verbose mode enabled?
|
label: 🔎 Did you run the script with verbose mode enabled?
|
||||||
description: "Required for debugging any script issue. A verbose log is mandatory."
|
description: "Required for debugging any script issue. A verbose log is mandatory."
|
||||||
options:
|
options:
|
||||||
- ""
|
|
||||||
- "Yes, verbose mode was enabled and the output is included below"
|
- "Yes, verbose mode was enabled and the output is included below"
|
||||||
- "No (this issue will likely be closed automatically)"
|
- "No (this issue will likely be closed automatically)"
|
||||||
validations:
|
validations:
|
||||||
@@ -50,6 +53,32 @@ body:
|
|||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
|
id: issue_phase
|
||||||
|
attributes:
|
||||||
|
label: 🕒 When does the issue occur?
|
||||||
|
options:
|
||||||
|
- "Initial creation / installation"
|
||||||
|
- "Update of an existing container"
|
||||||
|
- "While the application is running"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
|
id: execution_context
|
||||||
|
attributes:
|
||||||
|
label: 🖱️ Where did you run the command?
|
||||||
|
description: "The shell matters — the Proxmox web console starts without some environment variables that a normal login shell sets."
|
||||||
|
options:
|
||||||
|
- "Proxmox web UI → node → Shell"
|
||||||
|
- "Proxmox web UI → LXC → Console"
|
||||||
|
- "SSH into the Proxmox host"
|
||||||
|
- "SSH into the container"
|
||||||
|
- "pct enter from the host"
|
||||||
|
- "Other / not listed"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
@@ -64,18 +93,31 @@ body:
|
|||||||
value: "💡 **Tip:** If you are using Advanced Settings, please test with Default Settings before submitting an issue."
|
value: "💡 **Tip:** If you are using Advanced Settings, please test with Default Settings before submitting an issue."
|
||||||
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: linux_distribution
|
id: os_distribution
|
||||||
attributes:
|
attributes:
|
||||||
label: 🖥️ Which Linux distribution are you using?
|
label: 🖥️ Which Linux distribution is the container running?
|
||||||
options:
|
options:
|
||||||
-
|
- Debian
|
||||||
|
- Ubuntu
|
||||||
- Alpine
|
- Alpine
|
||||||
- Debian 11
|
- Devuan
|
||||||
- Debian 12
|
- AlmaLinux
|
||||||
- Debian 13
|
- Rocky Linux
|
||||||
- Ubuntu 22.04
|
- CentOS Stream
|
||||||
- Ubuntu 24.04
|
- Fedora
|
||||||
- Ubuntu 24.10
|
- openSUSE
|
||||||
|
- openEuler
|
||||||
|
- Gentoo
|
||||||
|
- Other / not listed
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: os_version
|
||||||
|
attributes:
|
||||||
|
label: 🔢 Which version of that distribution?
|
||||||
|
description: "Run `cat /etc/os-release` inside the container if unsure."
|
||||||
|
placeholder: "e.g. 13 (Debian), 24.04 (Ubuntu), 3.22 (Alpine)"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
@@ -85,16 +127,27 @@ body:
|
|||||||
label: 🧱 Is this Proxmox host running arm64?
|
label: 🧱 Is this Proxmox host running arm64?
|
||||||
description: "Run `dpkg --print-architecture` on your Proxmox host if unsure."
|
description: "Run `dpkg --print-architecture` on your Proxmox host if unsure."
|
||||||
options:
|
options:
|
||||||
- ""
|
|
||||||
- "No"
|
- "No"
|
||||||
- "Yes"
|
- "Yes"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
|
id: pve_major
|
||||||
|
attributes:
|
||||||
|
label: 📈 Which Proxmox VE release are you on?
|
||||||
|
options:
|
||||||
|
- "Proxmox VE 9"
|
||||||
|
- "Proxmox VE 8"
|
||||||
|
- "Proxmox VE 7 or older (end of life)"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: input
|
- type: input
|
||||||
id: pve_version
|
id: pve_version
|
||||||
attributes:
|
attributes:
|
||||||
label: 📈 Which Proxmox version are you on?
|
label: 🔢 Exact Proxmox version and kernel
|
||||||
|
description: "Both matter — several issues turned out to be kernel-specific."
|
||||||
placeholder: "run pveversion in your PVE node console"
|
placeholder: "run pveversion in your PVE node console"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
166
.github/changelogs/2026/09.md
generated
vendored
166
.github/changelogs/2026/09.md
generated
vendored
@@ -1,3 +1,169 @@
|
|||||||
|
## 2026-09-12
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Elasticsearch ([#17188](https://github.com/community-scripts/ProxmoxVE/pull/17188))
|
||||||
|
- Hammer ([#17189](https://github.com/community-scripts/ProxmoxVE/pull/17189))
|
||||||
|
- gotenberg ([#17205](https://github.com/community-scripts/ProxmoxVE/pull/17205))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- fix(dispatcharr): add comskip installation and build dependencies [@eXistC](https://github.com/eXistC) ([#16224](https://github.com/community-scripts/ProxmoxVE/pull/16224))
|
||||||
|
- poznote: serve from src/public docroot [@MickLesk](https://github.com/MickLesk) ([#17187](https://github.com/community-scripts/ProxmoxVE/pull/17187))
|
||||||
|
- calibre-web: use calibreweb release identifier to avoid version file collision [@MickLesk](https://github.com/MickLesk) ([#17186](https://github.com/community-scripts/ProxmoxVE/pull/17186))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- Docker VM: Feature Bump - Refactor script for improved functionality [@MickLesk](https://github.com/MickLesk) ([#17216](https://github.com/community-scripts/ProxmoxVE/pull/17216))
|
||||||
|
- feat(jitsi-meet): optional public setup (FQDN, Let's Encrypt, NAT, secure domain) [@klanghans](https://github.com/klanghans) ([#17132](https://github.com/community-scripts/ProxmoxVE/pull/17132))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Paperless-NGX: add --no-sync to uv run services [@MickLesk](https://github.com/MickLesk) ([#17210](https://github.com/community-scripts/ProxmoxVE/pull/17210))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- VM's: show the selected CPU model instead of doubling it [@MickLesk](https://github.com/MickLesk) ([core#37](https://github.com/community-scripts/core/pull/37))
|
||||||
|
- Generate app headers [@github-actions[bot]](https://github.com/github-actions[bot]) ([core#36](https://github.com/community-scripts/core/pull/36))
|
||||||
|
|
||||||
|
## 2026-09-11
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Lemonade-Server ([#17190](https://github.com/community-scripts/ProxmoxVE/pull/17190))
|
||||||
|
- OneTimeSecret ([#17097](https://github.com/community-scripts/ProxmoxVE/pull/17097))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- update authentik to 2026.8.2 [@thieneret](https://github.com/thieneret) ([#17198](https://github.com/community-scripts/ProxmoxVE/pull/17198))
|
||||||
|
- passwordpusher: restore data before running migrations [@MickLesk](https://github.com/MickLesk) ([#17141](https://github.com/community-scripts/ProxmoxVE/pull/17141))
|
||||||
|
- paperclip: install the rust toolchain needed by the runner build [@MickLesk](https://github.com/MickLesk) ([#17142](https://github.com/community-scripts/ProxmoxVE/pull/17142))
|
||||||
|
- homepage: run next directly instead of through pnpm [@MickLesk](https://github.com/MickLesk) ([#17155](https://github.com/community-scripts/ProxmoxVE/pull/17155))
|
||||||
|
- changedetection: fix: pin browserless [@CrazyWolf13](https://github.com/CrazyWolf13) ([#17163](https://github.com/community-scripts/ProxmoxVE/pull/17163))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- core.func: fall back to a usable HOME when the shell has none [@MickLesk](https://github.com/MickLesk) ([#17154](https://github.com/community-scripts/ProxmoxVE/pull/17154))
|
||||||
|
|
||||||
|
### 🧰 Tools
|
||||||
|
|
||||||
|
- Dockhand ([#17191](https://github.com/community-scripts/ProxmoxVE/pull/17191))
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- update-apps: rewrite the retired Gitea base in every container before updating it [@MickLesk](https://github.com/MickLesk) ([#17156](https://github.com/community-scripts/ProxmoxVE/pull/17156))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Rename lxc-delete.sh to guest-delete.sh [@MickLesk](https://github.com/MickLesk) ([#17152](https://github.com/community-scripts/ProxmoxVE/pull/17152))
|
||||||
|
|
||||||
|
### 📚 Documentation
|
||||||
|
|
||||||
|
- issue template: add PVE release, execution context and phase; refresh distro list / pve versions [@MickLesk](https://github.com/MickLesk) ([#17160](https://github.com/community-scripts/ProxmoxVE/pull/17160))
|
||||||
|
|
||||||
|
## 2026-09-10
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Chevereto ([#17131](https://github.com/community-scripts/ProxmoxVE/pull/17131))
|
||||||
|
- Portabase ([#17111](https://github.com/community-scripts/ProxmoxVE/pull/17111))
|
||||||
|
- Logseq ([#17112](https://github.com/community-scripts/ProxmoxVE/pull/17112))
|
||||||
|
- Safebucket ([#17096](https://github.com/community-scripts/ProxmoxVE/pull/17096))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Immich v3.2.0 [@vhsdream](https://github.com/vhsdream) ([#17137](https://github.com/community-scripts/ProxmoxVE/pull/17137))
|
||||||
|
- fix(solidtime): prevent composer install from hanging on root prompt [@supersoju](https://github.com/supersoju) ([#17146](https://github.com/community-scripts/ProxmoxVE/pull/17146))
|
||||||
|
- fix(hermesagent): wait for root gateway cleanup [@steveonjava](https://github.com/steveonjava) ([#17147](https://github.com/community-scripts/ProxmoxVE/pull/17147))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- Keep the script name when regenerating the entrypoint [@MickLesk](https://github.com/MickLesk) ([core#35](https://github.com/community-scripts/core/pull/35))
|
||||||
|
- Rewrite the dead Gitea base onto GitHub instead of failing the update [@MickLesk](https://github.com/MickLesk) ([core#33](https://github.com/community-scripts/core/pull/33))
|
||||||
|
- core.func: fall back to a usable HOME when the shell has none [@MickLesk](https://github.com/MickLesk) ([core#32](https://github.com/community-scripts/core/pull/32))
|
||||||
|
|
||||||
|
## 2026-09-09
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Lingarr ([#17130](https://github.com/community-scripts/ProxmoxVE/pull/17130))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- vm: drop the discussions link from the summary [@MickLesk](https://github.com/MickLesk) ([#17117](https://github.com/community-scripts/ProxmoxVE/pull/17117))
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- fix(hermesagent): stop spurious root gateway after update [@steveonjava](https://github.com/steveonjava) ([#17126](https://github.com/community-scripts/ProxmoxVE/pull/17126))
|
||||||
|
|
||||||
|
## 2026-09-08
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Decypharr ([#17108](https://github.com/community-scripts/ProxmoxVE/pull/17108))
|
||||||
|
- Stash ([#17106](https://github.com/community-scripts/ProxmoxVE/pull/17106))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Update Jellyfin FFmpeg dependency to version 8 [@MickLesk](https://github.com/MickLesk) ([#17109](https://github.com/community-scripts/ProxmoxVE/pull/17109))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- Treat a cut-short forge response as a failure, not as HTTP 200 [@MickLesk](https://github.com/MickLesk) ([core#31](https://github.com/community-scripts/core/pull/31))
|
||||||
|
- Generate app headers [@github-actions[bot]](https://github.com/github-actions[bot]) ([core#28](https://github.com/community-scripts/core/pull/28))
|
||||||
|
- cloud-init: drop the "configure in Proxmox UI" hint [@MickLesk](https://github.com/MickLesk) ([core#30](https://github.com/community-scripts/core/pull/30))
|
||||||
|
- Survive an empty /usr/bin/update instead of aborting the run [@MickLesk](https://github.com/MickLesk) ([core#29](https://github.com/community-scripts/core/pull/29))
|
||||||
|
|
||||||
|
## 2026-09-07
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Chatwoot ([#17095](https://github.com/community-scripts/ProxmoxVE/pull/17095))
|
||||||
|
- whisparr-eros ([#17094](https://github.com/community-scripts/ProxmoxVE/pull/17094))
|
||||||
|
- Matter-Hub ([#17093](https://github.com/community-scripts/ProxmoxVE/pull/17093))
|
||||||
|
- Journiv ([#17092](https://github.com/community-scripts/ProxmoxVE/pull/17092))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- kaneo: bump Node.js from 22 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#17086](https://github.com/community-scripts/ProxmoxVE/pull/17086))
|
||||||
|
- iobroker: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#17085](https://github.com/community-scripts/ProxmoxVE/pull/17085))
|
||||||
|
- reactive-resume: repair any wrong WorkingDirectory on update [@MickLesk](https://github.com/MickLesk) ([#17068](https://github.com/community-scripts/ProxmoxVE/pull/17068))
|
||||||
|
- mediamtx: keep mediamtx.yml across updates [@MickLesk](https://github.com/MickLesk) ([#17069](https://github.com/community-scripts/ProxmoxVE/pull/17069))
|
||||||
|
- omnitools: allow remote action while npm ci [@MickLesk](https://github.com/MickLesk) ([#17070](https://github.com/community-scripts/ProxmoxVE/pull/17070))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- netboot-xyz: add Secure Boot and Legacy assets [@MickLesk](https://github.com/MickLesk) ([#17066](https://github.com/community-scripts/ProxmoxVE/pull/17066))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- flatnotes: follow upstream move to uv and Python 3.13 [@MickLesk](https://github.com/MickLesk) ([#17090](https://github.com/community-scripts/ProxmoxVE/pull/17090))
|
||||||
|
- heimdall: set up PHP 8.4 on update, keep only the database, run migrations [@MickLesk](https://github.com/MickLesk) ([#17067](https://github.com/community-scripts/ProxmoxVE/pull/17067))
|
||||||
|
|
||||||
|
### 📂 Github
|
||||||
|
|
||||||
|
- github: Open per-script Node bump PRs [@MickLesk](https://github.com/MickLesk) ([#17065](https://github.com/community-scripts/ProxmoxVE/pull/17065))
|
||||||
|
|
||||||
|
## 2026-09-06
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Fix Sonarqube update script to add +x on sonar.sh [@jarihu](https://github.com/jarihu) ([#17056](https://github.com/community-scripts/ProxmoxVE/pull/17056))
|
||||||
|
|
||||||
## 2026-09-05
|
## 2026-09-05
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|||||||
3
.github/pull_request_template.md
generated
vendored
3
.github/pull_request_template.md
generated
vendored
@@ -14,6 +14,9 @@ Fixes #
|
|||||||
- [ ] **Tested thoroughly** – Changes work as expected.
|
- [ ] **Tested thoroughly** – Changes work as expected.
|
||||||
- [ ] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues.
|
- [ ] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues.
|
||||||
|
|
||||||
|
**Tested on:** <!-- e.g. PVE 9.2 / Debian 13 / fresh install + update. Write "not tested" if you could not run it. -->
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🤖 AI Assistance (**X** in brackets)
|
## 🤖 AI Assistance (**X** in brackets)
|
||||||
|
|||||||
174
.github/workflows/check-node-versions.yml
generated
vendored
174
.github/workflows/check-node-versions.yml
generated
vendored
@@ -7,8 +7,9 @@ on:
|
|||||||
- cron: "0 6 * * 1"
|
- cron: "0 6 * * 1"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
issues: write
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-node-versions:
|
check-node-versions:
|
||||||
@@ -390,6 +391,142 @@ jobs:
|
|||||||
|
|
||||||
cat /tmp/drift_report.md
|
cat /tmp/drift_report.md
|
||||||
|
|
||||||
|
# One PR per script, not one for all of them: the bumps are judged
|
||||||
|
# individually (an app can be deliberately held back while the next is a
|
||||||
|
# safe follow), and a combined PR is blocked by its worst member.
|
||||||
|
- name: Open a pull request per drifting script
|
||||||
|
if: steps.check.outputs.drift_count != '0'
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
|
||||||
|
: >/tmp/drift_prs.txt
|
||||||
|
|
||||||
|
while IFS='|' read -r slug our upstream hint repo; do
|
||||||
|
[[ -z "$slug" ]] && continue
|
||||||
|
|
||||||
|
# "dynamic" and "unset" have no literal to rewrite, and a missing
|
||||||
|
# upstream major is nothing to rewrite it to.
|
||||||
|
if [[ ! "$our" =~ ^[0-9]+$ || ! "$upstream" =~ ^[0-9]+$ ]]; then
|
||||||
|
printf '%s|manual||\n' "$slug" >>/tmp/drift_prs.txt
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
# The branch name carries the exact bump, so the PR for it answers
|
||||||
|
# the question on its own: open means it is waiting for a review,
|
||||||
|
# closed means someone said no to this bump. A later upstream
|
||||||
|
# release changes the name and gets its own PR.
|
||||||
|
branch="node-drift/${slug}-${our}-to-${upstream}"
|
||||||
|
|
||||||
|
existing=$(gh pr list --head "$branch" --state all \
|
||||||
|
--json number,state,url,labels --jq '.[0] // empty' 2>/dev/null || echo "")
|
||||||
|
|
||||||
|
if [[ -n "$existing" ]]; then
|
||||||
|
state=$(jq -r '.state' <<<"$existing")
|
||||||
|
url=$(jq -r '.url' <<<"$existing")
|
||||||
|
stale=$(jq -r '[.labels[]?.name] | index("stale") // empty' <<<"$existing")
|
||||||
|
|
||||||
|
case "$state" in
|
||||||
|
OPEN)
|
||||||
|
printf '%s|open|%s\n' "$slug" "$url" >>/tmp/drift_prs.txt
|
||||||
|
continue
|
||||||
|
;;
|
||||||
|
MERGED)
|
||||||
|
printf '%s|merged|%s\n' "$slug" "$url" >>/tmp/drift_prs.txt
|
||||||
|
continue
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# The stale bot only closes what a human labelled "stale", so
|
||||||
|
# that close carries no verdict on the bump — reopen the case.
|
||||||
|
# A close without it is a decision, and it stands.
|
||||||
|
if [[ -z "$stale" ]]; then
|
||||||
|
printf '%s|declined|%s\n' "$slug" "$url" >>/tmp/drift_prs.txt
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
git push origin --delete "$branch" >/dev/null 2>&1 || true
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
git checkout -q -B "$branch"
|
||||||
|
|
||||||
|
changed=()
|
||||||
|
for f in "install/${slug}-install.sh" "ct/${slug}.sh"; do
|
||||||
|
[[ -f "$f" ]] || continue
|
||||||
|
if grep -qE "NODE_VERSION=\"?${our}\"?" "$f"; then
|
||||||
|
sed -i -E "s/(NODE_VERSION=)\"?${our}\"?/\1\"${upstream}\"/g" "$f"
|
||||||
|
changed+=("$f")
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [[ ${#changed[@]} -eq 0 ]]; then
|
||||||
|
printf '%s|manual||\n' "$slug" >>/tmp/drift_prs.txt
|
||||||
|
git checkout -q main
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
git add "${changed[@]}"
|
||||||
|
git commit -q -m "${slug}: bump Node.js from ${our} to ${upstream}"
|
||||||
|
|
||||||
|
if ! git push -q -u origin "$branch" 2>/dev/null; then
|
||||||
|
printf '%s|failed||\n' "$slug" >>/tmp/drift_prs.txt
|
||||||
|
git checkout -q main
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
# The test command is written here rather than left to
|
||||||
|
# pr-test-command.yml: a PR opened with GITHUB_TOKEN does not start
|
||||||
|
# another workflow, so that comment would never arrive.
|
||||||
|
body=$(cat <<PR_EOF
|
||||||
|
\`${slug}\` pins Node **${our}**, upstream indicates **${upstream}** (${hint}) — [upstream repo](https://github.com/${repo}).
|
||||||
|
|
||||||
|
Opened automatically by the weekly Node.js version drift check. **Nothing here has been tested.** Run it against a host before merging:
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
export COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/${branch}
|
||||||
|
bash -c "\$(curl -fsSL "\$COMMUNITY_SCRIPTS_URL/ct/${slug}.sh")"
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Both lines are needed — each script pins \`_CS_DEFAULT_URL\` to \`main\`, and that pin is what fills \`COMMUNITY_SCRIPTS_URL\` when it is unset.
|
||||||
|
|
||||||
|
If the bump is wrong — upstream ships a newer Node than the app needs, or this script is deliberately held back — **close this PR**. It gets recorded on the drift report and this exact bump is not proposed again.
|
||||||
|
PR_EOF
|
||||||
|
)
|
||||||
|
|
||||||
|
# Labels go on at creation, not in a second call: they are what
|
||||||
|
# exempts the PR from the template check, and that check runs on
|
||||||
|
# "opened" — a label added a moment later can arrive too late.
|
||||||
|
#
|
||||||
|
# "keep-open" rather than "automated pr" for that exemption: both
|
||||||
|
# skip the template check, but changelog-pr.yml drops every PR
|
||||||
|
# carrying "automated pr" (it marks its own PR with it), so that
|
||||||
|
# label would keep these bumps out of the changelog entirely.
|
||||||
|
# "update script" and "bugfix" place them under Updated Scripts →
|
||||||
|
# Bug Fixes; the autolabeler cannot do it, since a PR opened with
|
||||||
|
# GITHUB_TOKEN never triggers its pull_request_target run.
|
||||||
|
if url=$(gh pr create \
|
||||||
|
--title "${slug}: bump Node.js from ${our} to ${upstream}" \
|
||||||
|
--body "$body" \
|
||||||
|
--base main \
|
||||||
|
--head "$branch" \
|
||||||
|
--label "keep-open" \
|
||||||
|
--label "update script" \
|
||||||
|
--label "bugfix" 2>/dev/null); then
|
||||||
|
printf '%s|open|%s\n' "$slug" "$url" >>/tmp/drift_prs.txt
|
||||||
|
else
|
||||||
|
printf '%s|failed||\n' "$slug" >>/tmp/drift_prs.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
git checkout -q main
|
||||||
|
done </tmp/drift_scripts.txt
|
||||||
|
|
||||||
|
echo "Pull request status per script:"
|
||||||
|
cat /tmp/drift_prs.txt
|
||||||
|
|
||||||
- name: Create or update summary issue
|
- name: Create or update summary issue
|
||||||
if: steps.check.outputs.drift_count != '0'
|
if: steps.check.outputs.drift_count != '0'
|
||||||
env:
|
env:
|
||||||
@@ -403,11 +540,31 @@ jobs:
|
|||||||
TOTAL="${{ steps.check.outputs.total }}"
|
TOTAL="${{ steps.check.outputs.total }}"
|
||||||
CHECKED="${{ steps.check.outputs.checked }}"
|
CHECKED="${{ steps.check.outputs.checked }}"
|
||||||
|
|
||||||
# Build checklist from drift data
|
# Build checklist from drift data. Each item carries the state of its
|
||||||
|
# own PR, so the list tracks itself instead of relying on someone
|
||||||
|
# ticking a box that the next run would overwrite anyway.
|
||||||
CHECKLIST=""
|
CHECKLIST=""
|
||||||
while IFS='|' read -r slug our_version upstream_major upstream_hint repo; do
|
while IFS='|' read -r slug our_version upstream_major upstream_hint repo; do
|
||||||
[[ -z "$slug" ]] && continue
|
[[ -z "$slug" ]] && continue
|
||||||
CHECKLIST+="- [ ] **\`${slug}\`** — ours: \`${our_version}\` → upstream: \`${upstream_major}\` (${upstream_hint}) — [repo](https://github.com/${repo})"$'\n'
|
|
||||||
|
pr_state=""
|
||||||
|
pr_url=""
|
||||||
|
if [[ -f /tmp/drift_prs.txt ]]; then
|
||||||
|
pr_line=$(grep -m1 "^${slug}|" /tmp/drift_prs.txt || echo "")
|
||||||
|
pr_state=$(cut -d'|' -f2 <<<"$pr_line")
|
||||||
|
pr_url=$(cut -d'|' -f3 <<<"$pr_line")
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$pr_state" in
|
||||||
|
open) mark="- [ ]"; note="— ${pr_url}" ;;
|
||||||
|
declined) mark="- [x]"; note="— declined in ${pr_url}, not proposed again" ;;
|
||||||
|
merged) mark="- [x]"; note="— merged in ${pr_url}" ;;
|
||||||
|
manual) mark="- [ ]"; note="— needs a manual change (no fixed \`NODE_VERSION\` to rewrite)" ;;
|
||||||
|
failed) mark="- [ ]"; note="— could not open a PR automatically" ;;
|
||||||
|
*) mark="- [ ]"; note="" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
CHECKLIST+="${mark} **\`${slug}\`** — ours: \`${our_version}\` → upstream: \`${upstream_major}\` (${upstream_hint}) — [repo](https://github.com/${repo}) ${note}"$'\n'
|
||||||
done < /tmp/drift_scripts.txt
|
done < /tmp/drift_scripts.txt
|
||||||
|
|
||||||
# Build full report table
|
# Build full report table
|
||||||
@@ -424,11 +581,12 @@ jobs:
|
|||||||
|
|
||||||
### How to resolve
|
### How to resolve
|
||||||
|
|
||||||
1. Check upstream Dockerfile / package.json to confirm the required Node.js version
|
Each item above has its own pull request with the bump already applied and a ready-to-run test command in the description.
|
||||||
2. Test the script with the new Node version
|
|
||||||
3. Update \`NODE_VERSION\` in \`install/<slug>-install.sh\`
|
1. Check the upstream Dockerfile / package.json to confirm the required Node.js version
|
||||||
4. Update \`NODE_VERSION\` in \`ct/<slug>.sh\` (update section) if applicable
|
2. Run the test command from the PR against a host
|
||||||
5. Check off the item above once done
|
3. Merge the PR if it works — the item disappears from this list on the next run
|
||||||
|
4. Close the PR if the bump is wrong: the script stays as it is and this exact bump is never proposed again
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Full report</summary>
|
<summary>Full report</summary>
|
||||||
|
|||||||
55
.github/workflows/node-drift-pr-closed.yml
generated
vendored
Normal file
55
.github/workflows/node-drift-pr-closed.yml
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
name: Record closed Node.js drift PR
|
||||||
|
|
||||||
|
# The drift check opens one PR per script and treats a closed one as a verdict:
|
||||||
|
# that bump is not proposed again. That decision is invisible on the report
|
||||||
|
# unless it is written there, so record it as a comment naming the script.
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [closed]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
record:
|
||||||
|
if: >
|
||||||
|
github.repository == 'community-scripts/ProxmoxVE' &&
|
||||||
|
github.event.pull_request.merged == false &&
|
||||||
|
startsWith(github.event.pull_request.head.ref, 'node-drift/')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/github-script@v9
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
const pr = context.payload.pull_request;
|
||||||
|
const owner = context.repo.owner;
|
||||||
|
const repo = context.repo.repo;
|
||||||
|
|
||||||
|
// node-drift/<slug>-<from>-to-<to>
|
||||||
|
const m = pr.head.ref.match(/^node-drift\/(.+)-(\d+)-to-(\d+)$/);
|
||||||
|
if (!m) return;
|
||||||
|
const [, slug, from, to] = m;
|
||||||
|
|
||||||
|
// A close by the stale bot is a lapsed review, not a decision on
|
||||||
|
// the bump, and the drift check reopens those. Saying "declined"
|
||||||
|
// here would contradict it.
|
||||||
|
const stale = pr.labels.some((l) => l.name === 'stale');
|
||||||
|
|
||||||
|
const issues = await github.rest.issues.listForRepo({
|
||||||
|
owner, repo, state: 'open', labels: 'automated,dependencies', per_page: 100,
|
||||||
|
});
|
||||||
|
const issue = issues.data.find(
|
||||||
|
(i) => !i.pull_request && i.title === '[Automated] Node.js Version Drift Report',
|
||||||
|
);
|
||||||
|
if (!issue) return;
|
||||||
|
|
||||||
|
const body = stale
|
||||||
|
? `\`${slug}\` — PR #${pr.number} (Node ${from} → ${to}) was closed as stale. `
|
||||||
|
+ `No decision was recorded, so the next drift check opens it again.`
|
||||||
|
: `\`${slug}\` — PR #${pr.number} (Node ${from} → ${to}) was closed without merging. `
|
||||||
|
+ `The script keeps Node ${from} and this bump will not be proposed again. `
|
||||||
|
+ `If it was closed by mistake, reopen the PR.`;
|
||||||
|
|
||||||
|
await github.rest.issues.createComment({
|
||||||
|
owner, repo, issue_number: issue.number, body,
|
||||||
|
});
|
||||||
353
CHANGELOG.md
353
CHANGELOG.md
@@ -101,6 +101,9 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -114,7 +117,7 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><h4>September (5 entries)</h4></summary>
|
<summary><h4>September (12 entries)</h4></summary>
|
||||||
|
|
||||||
[View September 2026 Changelog](.github/changelogs/2026/09.md)
|
[View September 2026 Changelog](.github/changelogs/2026/09.md)
|
||||||
|
|
||||||
@@ -540,6 +543,213 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
## 2026-09-15
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- valhalla ([#17231](https://github.com/community-scripts/ProxmoxVE/pull/17231))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- tracearr: copy packages/emails into the deploy tree [@connorgallopo](https://github.com/connorgallopo) ([#17268](https://github.com/community-scripts/ProxmoxVE/pull/17268))
|
||||||
|
- Immich: Pin to v3.2.1 [@vhsdream](https://github.com/vhsdream) ([#17264](https://github.com/community-scripts/ProxmoxVE/pull/17264))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- Releases: rank releases on their numbers, not on sort -V over the raw tag [@MickLesk](https://github.com/MickLesk) ([core#39](https://github.com/community-scripts/core/pull/39))
|
||||||
|
|
||||||
|
### 🧰 Tools
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Refactor: monitor-all (decide on flag values, not on key presence) [@MickLesk](https://github.com/MickLesk) ([#17261](https://github.com/community-scripts/ProxmoxVE/pull/17261))
|
||||||
|
|
||||||
|
## 2026-09-14
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Borg-UI ([#17258](https://github.com/community-scripts/ProxmoxVE/pull/17258))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- SparkyFitness: substitute NGINX_RATE_LIMIT in nginx config [@RafBorrelli](https://github.com/RafBorrelli) ([#17256](https://github.com/community-scripts/ProxmoxVE/pull/17256))
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- spliit: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#17250](https://github.com/community-scripts/ProxmoxVE/pull/17250))
|
||||||
|
|
||||||
|
## 2026-09-13
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Downgrade iobroker to Node 24 [@Copilot](https://github.com/Copilot) ([#17229](https://github.com/community-scripts/ProxmoxVE/pull/17229))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- Pick the highest release version, not the newest published one [@MickLesk](https://github.com/MickLesk) ([core#38](https://github.com/community-scripts/core/pull/38))
|
||||||
|
|
||||||
|
## 2026-09-12
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Elasticsearch ([#17188](https://github.com/community-scripts/ProxmoxVE/pull/17188))
|
||||||
|
- Hammer ([#17189](https://github.com/community-scripts/ProxmoxVE/pull/17189))
|
||||||
|
- gotenberg ([#17205](https://github.com/community-scripts/ProxmoxVE/pull/17205))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- fix(dispatcharr): add comskip installation and build dependencies [@eXistC](https://github.com/eXistC) ([#16224](https://github.com/community-scripts/ProxmoxVE/pull/16224))
|
||||||
|
- poznote: serve from src/public docroot [@MickLesk](https://github.com/MickLesk) ([#17187](https://github.com/community-scripts/ProxmoxVE/pull/17187))
|
||||||
|
- calibre-web: use calibreweb release identifier to avoid version file collision [@MickLesk](https://github.com/MickLesk) ([#17186](https://github.com/community-scripts/ProxmoxVE/pull/17186))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- Docker VM: Feature Bump - Refactor script for improved functionality [@MickLesk](https://github.com/MickLesk) ([#17216](https://github.com/community-scripts/ProxmoxVE/pull/17216))
|
||||||
|
- feat(jitsi-meet): optional public setup (FQDN, Let's Encrypt, NAT, secure domain) [@klanghans](https://github.com/klanghans) ([#17132](https://github.com/community-scripts/ProxmoxVE/pull/17132))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Paperless-NGX: add --no-sync to uv run services [@MickLesk](https://github.com/MickLesk) ([#17210](https://github.com/community-scripts/ProxmoxVE/pull/17210))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- VM's: show the selected CPU model instead of doubling it [@MickLesk](https://github.com/MickLesk) ([core#37](https://github.com/community-scripts/core/pull/37))
|
||||||
|
- Generate app headers [@github-actions[bot]](https://github.com/github-actions[bot]) ([core#36](https://github.com/community-scripts/core/pull/36))
|
||||||
|
|
||||||
|
## 2026-09-11
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Lemonade-Server ([#17190](https://github.com/community-scripts/ProxmoxVE/pull/17190))
|
||||||
|
- OneTimeSecret ([#17097](https://github.com/community-scripts/ProxmoxVE/pull/17097))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- update authentik to 2026.8.2 [@thieneret](https://github.com/thieneret) ([#17198](https://github.com/community-scripts/ProxmoxVE/pull/17198))
|
||||||
|
- passwordpusher: restore data before running migrations [@MickLesk](https://github.com/MickLesk) ([#17141](https://github.com/community-scripts/ProxmoxVE/pull/17141))
|
||||||
|
- paperclip: install the rust toolchain needed by the runner build [@MickLesk](https://github.com/MickLesk) ([#17142](https://github.com/community-scripts/ProxmoxVE/pull/17142))
|
||||||
|
- homepage: run next directly instead of through pnpm [@MickLesk](https://github.com/MickLesk) ([#17155](https://github.com/community-scripts/ProxmoxVE/pull/17155))
|
||||||
|
- changedetection: fix: pin browserless [@CrazyWolf13](https://github.com/CrazyWolf13) ([#17163](https://github.com/community-scripts/ProxmoxVE/pull/17163))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- core.func: fall back to a usable HOME when the shell has none [@MickLesk](https://github.com/MickLesk) ([#17154](https://github.com/community-scripts/ProxmoxVE/pull/17154))
|
||||||
|
|
||||||
|
### 🧰 Tools
|
||||||
|
|
||||||
|
- Dockhand ([#17191](https://github.com/community-scripts/ProxmoxVE/pull/17191))
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- update-apps: rewrite the retired Gitea base in every container before updating it [@MickLesk](https://github.com/MickLesk) ([#17156](https://github.com/community-scripts/ProxmoxVE/pull/17156))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- Rename lxc-delete.sh to guest-delete.sh [@MickLesk](https://github.com/MickLesk) ([#17152](https://github.com/community-scripts/ProxmoxVE/pull/17152))
|
||||||
|
|
||||||
|
### 📚 Documentation
|
||||||
|
|
||||||
|
- issue template: add PVE release, execution context and phase; refresh distro list / pve versions [@MickLesk](https://github.com/MickLesk) ([#17160](https://github.com/community-scripts/ProxmoxVE/pull/17160))
|
||||||
|
|
||||||
|
## 2026-09-10
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Chevereto ([#17131](https://github.com/community-scripts/ProxmoxVE/pull/17131))
|
||||||
|
- Portabase ([#17111](https://github.com/community-scripts/ProxmoxVE/pull/17111))
|
||||||
|
- Logseq ([#17112](https://github.com/community-scripts/ProxmoxVE/pull/17112))
|
||||||
|
- Safebucket ([#17096](https://github.com/community-scripts/ProxmoxVE/pull/17096))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Immich v3.2.0 [@vhsdream](https://github.com/vhsdream) ([#17137](https://github.com/community-scripts/ProxmoxVE/pull/17137))
|
||||||
|
- fix(solidtime): prevent composer install from hanging on root prompt [@supersoju](https://github.com/supersoju) ([#17146](https://github.com/community-scripts/ProxmoxVE/pull/17146))
|
||||||
|
- fix(hermesagent): wait for root gateway cleanup [@steveonjava](https://github.com/steveonjava) ([#17147](https://github.com/community-scripts/ProxmoxVE/pull/17147))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- Keep the script name when regenerating the entrypoint [@MickLesk](https://github.com/MickLesk) ([core#35](https://github.com/community-scripts/core/pull/35))
|
||||||
|
- Rewrite the dead Gitea base onto GitHub instead of failing the update [@MickLesk](https://github.com/MickLesk) ([core#33](https://github.com/community-scripts/core/pull/33))
|
||||||
|
- core.func: fall back to a usable HOME when the shell has none [@MickLesk](https://github.com/MickLesk) ([core#32](https://github.com/community-scripts/core/pull/32))
|
||||||
|
|
||||||
|
## 2026-09-09
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Lingarr ([#17130](https://github.com/community-scripts/ProxmoxVE/pull/17130))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- vm: drop the discussions link from the summary [@MickLesk](https://github.com/MickLesk) ([#17117](https://github.com/community-scripts/ProxmoxVE/pull/17117))
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- fix(hermesagent): stop spurious root gateway after update [@steveonjava](https://github.com/steveonjava) ([#17126](https://github.com/community-scripts/ProxmoxVE/pull/17126))
|
||||||
|
|
||||||
|
## 2026-09-08
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Decypharr ([#17108](https://github.com/community-scripts/ProxmoxVE/pull/17108))
|
||||||
|
- Stash ([#17106](https://github.com/community-scripts/ProxmoxVE/pull/17106))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- Update Jellyfin FFmpeg dependency to version 8 [@MickLesk](https://github.com/MickLesk) ([#17109](https://github.com/community-scripts/ProxmoxVE/pull/17109))
|
||||||
|
|
||||||
|
### 💾 Core
|
||||||
|
|
||||||
|
- Treat a cut-short forge response as a failure, not as HTTP 200 [@MickLesk](https://github.com/MickLesk) ([core#31](https://github.com/community-scripts/core/pull/31))
|
||||||
|
- Generate app headers [@github-actions[bot]](https://github.com/github-actions[bot]) ([core#28](https://github.com/community-scripts/core/pull/28))
|
||||||
|
- cloud-init: drop the "configure in Proxmox UI" hint [@MickLesk](https://github.com/MickLesk) ([core#30](https://github.com/community-scripts/core/pull/30))
|
||||||
|
- Survive an empty /usr/bin/update instead of aborting the run [@MickLesk](https://github.com/MickLesk) ([core#29](https://github.com/community-scripts/core/pull/29))
|
||||||
|
|
||||||
|
## 2026-09-07
|
||||||
|
|
||||||
|
### 🆕 New Scripts
|
||||||
|
|
||||||
|
- Chatwoot ([#17095](https://github.com/community-scripts/ProxmoxVE/pull/17095))
|
||||||
|
- whisparr-eros ([#17094](https://github.com/community-scripts/ProxmoxVE/pull/17094))
|
||||||
|
- Matter-Hub ([#17093](https://github.com/community-scripts/ProxmoxVE/pull/17093))
|
||||||
|
- Journiv ([#17092](https://github.com/community-scripts/ProxmoxVE/pull/17092))
|
||||||
|
|
||||||
|
### 🚀 Updated Scripts
|
||||||
|
|
||||||
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- kaneo: bump Node.js from 22 to 24 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#17086](https://github.com/community-scripts/ProxmoxVE/pull/17086))
|
||||||
|
- iobroker: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#17085](https://github.com/community-scripts/ProxmoxVE/pull/17085))
|
||||||
|
- reactive-resume: repair any wrong WorkingDirectory on update [@MickLesk](https://github.com/MickLesk) ([#17068](https://github.com/community-scripts/ProxmoxVE/pull/17068))
|
||||||
|
- mediamtx: keep mediamtx.yml across updates [@MickLesk](https://github.com/MickLesk) ([#17069](https://github.com/community-scripts/ProxmoxVE/pull/17069))
|
||||||
|
- omnitools: allow remote action while npm ci [@MickLesk](https://github.com/MickLesk) ([#17070](https://github.com/community-scripts/ProxmoxVE/pull/17070))
|
||||||
|
|
||||||
|
- #### ✨ New Features
|
||||||
|
|
||||||
|
- netboot-xyz: add Secure Boot and Legacy assets [@MickLesk](https://github.com/MickLesk) ([#17066](https://github.com/community-scripts/ProxmoxVE/pull/17066))
|
||||||
|
|
||||||
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
|
- flatnotes: follow upstream move to uv and Python 3.13 [@MickLesk](https://github.com/MickLesk) ([#17090](https://github.com/community-scripts/ProxmoxVE/pull/17090))
|
||||||
|
- heimdall: set up PHP 8.4 on update, keep only the database, run migrations [@MickLesk](https://github.com/MickLesk) ([#17067](https://github.com/community-scripts/ProxmoxVE/pull/17067))
|
||||||
|
|
||||||
|
### 📂 Github
|
||||||
|
|
||||||
|
- github: Open per-script Node bump PRs [@MickLesk](https://github.com/MickLesk) ([#17065](https://github.com/community-scripts/ProxmoxVE/pull/17065))
|
||||||
|
|
||||||
## 2026-09-06
|
## 2026-09-06
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
@@ -1028,143 +1238,4 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
- #### 🔧 Refactor
|
- #### 🔧 Refactor
|
||||||
|
|
||||||
- Refactor: PowerDNS move poweradmin database outside the web root [@MickLesk](https://github.com/MickLesk) ([#16476](https://github.com/community-scripts/ProxmoxVE/pull/16476))
|
- Refactor: PowerDNS move poweradmin database outside the web root [@MickLesk](https://github.com/MickLesk) ([#16476](https://github.com/community-scripts/ProxmoxVE/pull/16476))
|
||||||
- paperless-ngx: run services with uv --no-sync to avoid startup network dependency [@MickLesk](https://github.com/MickLesk) ([#16479](https://github.com/community-scripts/ProxmoxVE/pull/16479))
|
- paperless-ngx: run services with uv --no-sync to avoid startup network dependency [@MickLesk](https://github.com/MickLesk) ([#16479](https://github.com/community-scripts/ProxmoxVE/pull/16479))
|
||||||
|
|
||||||
## 2026-08-13
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- SuggestArr ([#16449](https://github.com/community-scripts/ProxmoxVE/pull/16449))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- fix(stirling-pdf): LibreOffice listener collides with unoserver on UNO port 2002, burning a core [@angusmaul](https://github.com/angusmaul) ([#16460](https://github.com/community-scripts/ProxmoxVE/pull/16460))
|
|
||||||
- fix(reitti): enable SNI for tile cache [@kylemd](https://github.com/kylemd) ([#16463](https://github.com/community-scripts/ProxmoxVE/pull/16463))
|
|
||||||
- [wanderer] refactor [@johanngrobe](https://github.com/johanngrobe) ([#16448](https://github.com/community-scripts/ProxmoxVE/pull/16448))
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- feat: Update koillection-install.sh to support API usage [@Crazy-Duck](https://github.com/Crazy-Duck) ([#16425](https://github.com/community-scripts/ProxmoxVE/pull/16425))
|
|
||||||
|
|
||||||
## 2026-08-12
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- Stalwart ([#16388](https://github.com/community-scripts/ProxmoxVE/pull/16388))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- networkoptimizer: mitigate dotnet publish hang in LXC [@MickLesk](https://github.com/MickLesk) ([#16436](https://github.com/community-scripts/ProxmoxVE/pull/16436))
|
|
||||||
- lazylibrarian: reinstall deps after git pull on update [@MickLesk](https://github.com/MickLesk) ([#16435](https://github.com/community-scripts/ProxmoxVE/pull/16435))
|
|
||||||
- wanderer: fix deprecated meilisearch upgrade flag [@MickLesk](https://github.com/MickLesk) ([#16434](https://github.com/community-scripts/ProxmoxVE/pull/16434))
|
|
||||||
- calibre-web: fix release asset filename pattern [@MickLesk](https://github.com/MickLesk) ([#16433](https://github.com/community-scripts/ProxmoxVE/pull/16433))
|
|
||||||
- fix(stirling-pdf): unoserver installed into the venv, and login mode truncates .env [@angusmaul](https://github.com/angusmaul) ([#16439](https://github.com/community-scripts/ProxmoxVE/pull/16439))
|
|
||||||
- fix(pulse): keep the container recoverable when an update fails [@rcourtman](https://github.com/rcourtman) ([#16311](https://github.com/community-scripts/ProxmoxVE/pull/16311))
|
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- ConvertX: add some new dependencies [@MickLesk](https://github.com/MickLesk) ([#16437](https://github.com/community-scripts/ProxmoxVE/pull/16437))
|
|
||||||
|
|
||||||
## 2026-08-11
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- Update source URL for Reactive Resume [@MickLesk](https://github.com/MickLesk) ([#16407](https://github.com/community-scripts/ProxmoxVE/pull/16407))
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- Pelican-Panel: add php artisan p:environment:database [@MickLesk](https://github.com/MickLesk) ([#16397](https://github.com/community-scripts/ProxmoxVE/pull/16397))
|
|
||||||
- outline: fix URL sed matching wrong line in .env.sample // refactor .env generation [@MickLesk](https://github.com/MickLesk) ([#16408](https://github.com/community-scripts/ProxmoxVE/pull/16408))
|
|
||||||
- paperless-ngx: reindex Tantivy search index on webserver start [@MickLesk](https://github.com/MickLesk) ([#16395](https://github.com/community-scripts/ProxmoxVE/pull/16395))
|
|
||||||
- karakeep: pin Node.js to 22 LTS, avoid Node 24.19 better-sqlite3 crash [@MickLesk](https://github.com/MickLesk) ([#16396](https://github.com/community-scripts/ProxmoxVE/pull/16396))
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- Open WebUI: add optional OpenTelemetry package install [@irishpadres](https://github.com/irishpadres) ([#16415](https://github.com/community-scripts/ProxmoxVE/pull/16415))
|
|
||||||
|
|
||||||
### 🧰 Tools
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- fix(add-tailscale-lxc): stop spinner before whiptail menu [@halcycon](https://github.com/halcycon) ([#16402](https://github.com/community-scripts/ProxmoxVE/pull/16402))
|
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- arcane: fix projects/builds dir ownership for non-root container UID [@MickLesk](https://github.com/MickLesk) ([#16411](https://github.com/community-scripts/ProxmoxVE/pull/16411))
|
|
||||||
|
|
||||||
## 2026-08-10
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- GitLab ([#16386](https://github.com/community-scripts/ProxmoxVE/pull/16386))
|
|
||||||
- TeslaMate ([#16385](https://github.com/community-scripts/ProxmoxVE/pull/16385))
|
|
||||||
- tor-snowflake ([#15684](https://github.com/community-scripts/ProxmoxVE/pull/15684))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- ErsatzTV: update ffmpeg to 8.1 version [@MickLesk](https://github.com/MickLesk) ([#16383](https://github.com/community-scripts/ProxmoxVE/pull/16383))
|
|
||||||
|
|
||||||
### 🧰 Tools
|
|
||||||
|
|
||||||
- post-pdm-install ([#16368](https://github.com/community-scripts/ProxmoxVE/pull/16368))
|
|
||||||
|
|
||||||
## 2026-08-09
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- Fix: CouchDB Erlang cookie breaks vm.args (use hex) [@fudianchn](https://github.com/fudianchn) ([#16361](https://github.com/community-scripts/ProxmoxVE/pull/16361))
|
|
||||||
- SparkyFitness: Install Git for frontend builds [@MickLesk](https://github.com/MickLesk) ([#16352](https://github.com/community-scripts/ProxmoxVE/pull/16352))
|
|
||||||
- Byparr: Use invisible-playwright browser setup [@MickLesk](https://github.com/MickLesk) ([#16353](https://github.com/community-scripts/ProxmoxVE/pull/16353))
|
|
||||||
- Crafty Controller: Restore ownership after updates [@MickLesk](https://github.com/MickLesk) ([#16354](https://github.com/community-scripts/ProxmoxVE/pull/16354))
|
|
||||||
- Webtrees: Fix schema check in silent mode [@MickLesk](https://github.com/MickLesk) ([#16355](https://github.com/community-scripts/ProxmoxVE/pull/16355))
|
|
||||||
- SigNoz: Allow legacy metadata schema on ClickHouse 26 [@MickLesk](https://github.com/MickLesk) ([#16356](https://github.com/community-scripts/ProxmoxVE/pull/16356))
|
|
||||||
|
|
||||||
### 🧰 Tools
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- Portainer: Update existing CE and BE installations [@MickLesk](https://github.com/MickLesk) ([#16357](https://github.com/community-scripts/ProxmoxVE/pull/16357))
|
|
||||||
|
|
||||||
### 📚 Documentation
|
|
||||||
|
|
||||||
- github: update Star History links and image sources [@MickLesk](https://github.com/MickLesk) ([#16367](https://github.com/community-scripts/ProxmoxVE/pull/16367))
|
|
||||||
|
|
||||||
## 2026-08-08
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- Ignis ([#16330](https://github.com/community-scripts/ProxmoxVE/pull/16330))
|
|
||||||
|
|
||||||
### 💾 Core
|
|
||||||
|
|
||||||
- #### ✨ New Features
|
|
||||||
|
|
||||||
- core - setup_nodejs: bypass npm allowScripts policy globally on npm >=11 [@MickLesk](https://github.com/MickLesk) ([#16280](https://github.com/community-scripts/ProxmoxVE/pull/16280))
|
|
||||||
|
|
||||||
## 2026-08-07
|
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- NetworkOptimizer ([#16328](https://github.com/community-scripts/ProxmoxVE/pull/16328))
|
|
||||||
- Orb ([#16329](https://github.com/community-scripts/ProxmoxVE/pull/16329))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- HortusFox: start applying db migrations [@tomfrenzel](https://github.com/tomfrenzel) ([#16324](https://github.com/community-scripts/ProxmoxVE/pull/16324))
|
|
||||||
- Docker: report container updates instead of prompting, stop auto-updating Portainer Agent, fix addon detection of legacy Portainer [@MickLesk](https://github.com/MickLesk) ([#16298](https://github.com/community-scripts/ProxmoxVE/pull/16298))
|
|
||||||
- Immich: retry mise install on transient npm download failures [@MickLesk](https://github.com/MickLesk) ([#16301](https://github.com/community-scripts/ProxmoxVE/pull/16301))
|
|
||||||
- changedetection: remove msttcorefonts to fix install hang [@austinpilz](https://github.com/austinpilz) ([#16319](https://github.com/community-scripts/ProxmoxVE/pull/16319))
|
|
||||||
|
|
||||||
- #### 🔧 Refactor
|
|
||||||
|
|
||||||
- core: extend new vars and pocketbase values [@MickLesk](https://github.com/MickLesk) ([#16313](https://github.com/community-scripts/ProxmoxVE/pull/16313))
|
|
||||||
@@ -49,7 +49,7 @@ function update_script() {
|
|||||||
RUST_PROFILE="minimal" RUST_TOOLCHAIN="stable" setup_rust
|
RUST_PROFILE="minimal" RUST_TOOLCHAIN="stable" setup_rust
|
||||||
setup_yq
|
setup_yq
|
||||||
|
|
||||||
AUTHENTIK_VERSION="version/2026.8.1"
|
AUTHENTIK_VERSION="version/2026.8.2"
|
||||||
# Source: https://github.com/goauthentik/fips/blob/main/Makefile#L26
|
# Source: https://github.com/goauthentik/fips/blob/main/Makefile#L26
|
||||||
XMLSEC_VERSION="1.3.12"
|
XMLSEC_VERSION="1.3.12"
|
||||||
|
|
||||||
@@ -184,8 +184,12 @@ EOF
|
|||||||
|
|
||||||
msg_info "Updating services"
|
msg_info "Updating services"
|
||||||
sed -i 's/authentik Go Server (API Gateway)/authentik Server/g' /etc/systemd/system/authentik-server.service
|
sed -i 's/authentik Go Server (API Gateway)/authentik Server/g' /etc/systemd/system/authentik-server.service
|
||||||
sed -i '/ExecStart=/i ExecStartPre=/usr/bin/mkdir -p "${TMPDIR}"' /etc/systemd/system/authentik-server.service
|
if ! grep -qF -- 'ExecStartPre=/usr/bin/mkdir -p "${TMPDIR}"' /etc/systemd/system/authentik-server.service; then
|
||||||
sed -i '/ExecStart=/i ExecStartPre=/usr/bin/mkdir -p "${TMPDIR}"' /etc/systemd/system/authentik-worker.service
|
sed -i '/ExecStart=/i ExecStartPre=/usr/bin/mkdir -p "${TMPDIR}"' /etc/systemd/system/authentik-server.service
|
||||||
|
fi
|
||||||
|
if ! grep -qF -- 'ExecStartPre=/usr/bin/mkdir -p "${TMPDIR}"' /etc/systemd/system/authentik-worker.service; then
|
||||||
|
sed -i '/ExecStart=/i ExecStartPre=/usr/bin/mkdir -p "${TMPDIR}"' /etc/systemd/system/authentik-worker.service
|
||||||
|
fi
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
msg_ok "Updated services"
|
msg_ok "Updated services"
|
||||||
|
|
||||||
@@ -224,8 +228,8 @@ for i in {1..10}; do
|
|||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
$STD pct exec "$CTID" -- bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \
|
$STD pct exec "$CTID" -- bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \
|
||||||
cp /opt/authentik/tests/GeoLite2-ASN-Test.mmdb /opt/authentik-data/geoip/GeoLite2-ASN.mmdb; \
|
cp /opt/authentik/tests/geoip/GeoLite2-ASN-Test.mmdb /opt/authentik-data/geoip/GeoLite2-ASN.mmdb; \
|
||||||
cp /opt/authentik/tests/GeoLite2-City-Test.mmdb /opt/authentik-data/geoip/GeoLite2-City.mmdb; \
|
cp /opt/authentik/tests/geoip/GeoLite2-City-Test.mmdb /opt/authentik-data/geoip/GeoLite2-City.mmdb; \
|
||||||
cp -r /opt/authentik/blueprints /opt/authentik-data/; \
|
cp -r /opt/authentik/blueprints /opt/authentik-data/; \
|
||||||
rm -r /opt/authentik/blueprints; \
|
rm -r /opt/authentik/blueprints; \
|
||||||
find /opt/authentik-data -path '*/lost+found' -prune -o -exec chown authentik:authentik {} +"
|
find /opt/authentik-data -path '*/lost+found' -prune -o -exec chown authentik:authentik {} +"
|
||||||
|
|||||||
121
ct/borg-ui.sh
Normal file
121
ct/borg-ui.sh
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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/karanhudia/borg-ui
|
||||||
|
|
||||||
|
APP="Borg-UI"
|
||||||
|
var_tags="${var_tags:-backup}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-4096}"
|
||||||
|
var_disk="${var_disk:-10}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
#var_arm64="${var_arm64:-no}"
|
||||||
|
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/borg-ui ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "borg-ui" "karanhudia/borg-ui"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop borg-ui
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
create_backup /opt/borg-ui/.env
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "borg-ui" "karanhudia/borg-ui" "tarball"
|
||||||
|
|
||||||
|
restore_backup
|
||||||
|
|
||||||
|
BORG_UI_VERSION=$(cat "$HOME/.borg-ui" 2>/dev/null)
|
||||||
|
if [[ -n "$BORG_UI_VERSION" ]]; then
|
||||||
|
if grep -q '^APP_VERSION=' /opt/borg-ui/.env; then
|
||||||
|
sed -i "s|^APP_VERSION=.*|APP_VERSION=${BORG_UI_VERSION}|" /opt/borg-ui/.env
|
||||||
|
else
|
||||||
|
echo "APP_VERSION=${BORG_UI_VERSION}" >>/opt/borg-ui/.env
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Only the three Borg pins appear in every release of this file; PYTHON_VERSION
|
||||||
|
# and RCLONE_VERSION were added upstream after v2.2.6, so both fall back.
|
||||||
|
RUNTIME_ENV="/opt/borg-ui/docker/runtime-base.env"
|
||||||
|
BORG1_VERSION=$(sed -n 's/^BORG1_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
BORG2_VERSION=$(sed -n 's/^BORG2_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
BORGSTORE_VERSION=$(sed -n 's/^BORGSTORE_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
RCLONE_VERSION=$(sed -n 's/^RCLONE_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
BORG_PYTHON=$(sed -n 's/^PYTHON_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
BORG_PYTHON="${BORG_PYTHON:-3.12}"
|
||||||
|
if [[ -z "$BORG1_VERSION" || -z "$BORG2_VERSION" || -z "$BORGSTORE_VERSION" ]]; then
|
||||||
|
msg_error "Could not read the pinned Borg versions from ${RUNTIME_ENV}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$(cat /opt/borg1-venv/.pinned_version 2>/dev/null)" != "$BORG1_VERSION" ]]; then
|
||||||
|
msg_info "Installing Borg ${BORG1_VERSION} (Patience)"
|
||||||
|
$STD uv venv --python "$BORG_PYTHON" /opt/borg1-venv
|
||||||
|
$STD uv pip install --python /opt/borg1-venv pyfuse3 "borgbackup==${BORG1_VERSION}"
|
||||||
|
echo "$BORG1_VERSION" >/opt/borg1-venv/.pinned_version
|
||||||
|
ln -sf /opt/borg1-venv/bin/borg /usr/local/bin/borg
|
||||||
|
msg_ok "Installed Borg ${BORG1_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$(cat /opt/borg2-venv/.pinned_version 2>/dev/null)" != "${BORG2_VERSION}-${BORGSTORE_VERSION}" ]]; then
|
||||||
|
msg_info "Installing Borg ${BORG2_VERSION} (Patience)"
|
||||||
|
$STD uv venv --python "$BORG_PYTHON" /opt/borg2-venv
|
||||||
|
$STD uv pip install --python /opt/borg2-venv pyfuse3 "borgbackup==${BORG2_VERSION}" "borgstore[rclone,sftp,rest,s3,blake3]==${BORGSTORE_VERSION}"
|
||||||
|
echo "${BORG2_VERSION}-${BORGSTORE_VERSION}" >/opt/borg2-venv/.pinned_version
|
||||||
|
ln -sf /opt/borg2-venv/bin/borg /usr/local/bin/borg2
|
||||||
|
msg_ok "Installed Borg ${BORG2_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RCLONE_TAG="${RCLONE_VERSION:+v${RCLONE_VERSION}}"
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rclone" "rclone/rclone" "prebuild" "${RCLONE_TAG:-latest}" "/opt/rclone" "rclone-${RCLONE_TAG:-*}-linux-$(arch_resolve amd64 arm64).zip"
|
||||||
|
ln -sf /opt/rclone/rclone /usr/local/bin/rclone
|
||||||
|
|
||||||
|
msg_info "Building Frontend"
|
||||||
|
cd /opt/borg-ui/frontend
|
||||||
|
$STD npm ci
|
||||||
|
$STD npm run build
|
||||||
|
rm -rf /opt/borg-ui/app/static
|
||||||
|
mkdir -p /opt/borg-ui/app/static
|
||||||
|
cp -r /opt/borg-ui/frontend/build/* /opt/borg-ui/app/static/
|
||||||
|
msg_ok "Built Frontend"
|
||||||
|
|
||||||
|
msg_info "Updating Python Environment"
|
||||||
|
cd /opt/borg-ui
|
||||||
|
$STD uv venv --python "$BORG_PYTHON" /opt/borg-ui/.venv
|
||||||
|
$STD uv pip install --python /opt/borg-ui/.venv -r requirements.txt
|
||||||
|
msg_ok "Updated Python Environment"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start borg-ui
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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}:8081${CL}"
|
||||||
@@ -32,14 +32,18 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if check_for_gh_release "Calibre-Web" "janeczku/calibre-web"; then
|
if [[ -f /root/.calibre-web && ! -e /root/.calibreweb ]]; then
|
||||||
|
mv /root/.calibre-web /root/.calibreweb
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "calibreweb" "janeczku/calibre-web"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop calibre-web
|
systemctl stop calibre-web
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
create_backup /opt/calibre-web/data
|
create_backup /opt/calibre-web/data
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Calibre-Web" "janeczku/calibre-web" "prebuild" "latest" "/opt/calibre-web" "calibreweb*.tar.gz"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "calibreweb" "janeczku/calibre-web" "prebuild" "latest" "/opt/calibre-web" "calibreweb*.tar.gz"
|
||||||
setup_uv
|
setup_uv
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ function update_script() {
|
|||||||
$STD git -C /opt/browserless/ reset --hard origin/main
|
$STD git -C /opt/browserless/ reset --hard origin/main
|
||||||
$STD npm update --prefix /opt/browserless
|
$STD npm update --prefix /opt/browserless
|
||||||
$STD npm ci --include=optional --include=dev --prefix /opt/browserless
|
$STD npm ci --include=optional --include=dev --prefix /opt/browserless
|
||||||
|
$STD npm install --save-exact playwright-core@1.62.1 --prefix /opt/browserless
|
||||||
$STD /opt/browserless/node_modules/playwright-core/cli.js install --with-deps
|
$STD /opt/browserless/node_modules/playwright-core/cli.js install --with-deps
|
||||||
# Update Chrome separately, as it has to be done with the force option. Otherwise the installation of other browsers will not be done if Chrome is already installed.
|
# Update Chrome separately, as it has to be done with the force option. Otherwise the installation of other browsers will not be done if Chrome is already installed.
|
||||||
$STD /opt/browserless/node_modules/playwright-core/cli.js install --force chrome
|
$STD /opt/browserless/node_modules/playwright-core/cli.js install --force chrome
|
||||||
|
|||||||
76
ct/chatwoot.sh
Normal file
76
ct/chatwoot.sh
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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://www.chatwoot.com/
|
||||||
|
|
||||||
|
APP="Chatwoot"
|
||||||
|
var_tags="${var_tags:-support;chat;helpdesk;crm}"
|
||||||
|
var_cpu="${var_cpu:-4}"
|
||||||
|
var_ram="${var_ram:-6144}"
|
||||||
|
var_disk="${var_disk:-16}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-no}"
|
||||||
|
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 /opt/chatwoot/.env ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "chatwoot" "chatwoot/chatwoot"; then
|
||||||
|
msg_info "Stopping Services"
|
||||||
|
systemctl stop chatwoot-web chatwoot-worker
|
||||||
|
msg_ok "Stopped Services"
|
||||||
|
|
||||||
|
create_backup /opt/chatwoot/.env /opt/chatwoot/storage
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "chatwoot" "chatwoot/chatwoot" "tarball"
|
||||||
|
RUBY_VERSION=$(tr -d ' \n' </opt/chatwoot/.ruby-version)
|
||||||
|
RUBY_VERSION="${RUBY_VERSION}" RUBY_INSTALL_RAILS="false" setup_ruby
|
||||||
|
NODE_VERSION=$(tr -d ' \n' </opt/chatwoot/.nvmrc)
|
||||||
|
NODE_VERSION="${NODE_VERSION}" NODE_MODULE="pnpm" setup_nodejs
|
||||||
|
export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH"
|
||||||
|
|
||||||
|
restore_backup
|
||||||
|
|
||||||
|
msg_info "Updating Application"
|
||||||
|
cd /opt/chatwoot
|
||||||
|
$STD bundle config set --local without 'development test'
|
||||||
|
$STD bundle config set --local deployment 'true'
|
||||||
|
$STD bundle install
|
||||||
|
$STD pnpm install --frozen-lockfile
|
||||||
|
RAILS_ENV=production $STD bundle exec rails db:chatwoot_prepare
|
||||||
|
RAILS_ENV=production $STD bundle exec rails assets:precompile
|
||||||
|
msg_ok "Updated Application"
|
||||||
|
|
||||||
|
msg_info "Starting Services"
|
||||||
|
systemctl start chatwoot-web chatwoot-worker
|
||||||
|
msg_ok "Started Services"
|
||||||
|
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}"
|
||||||
73
ct/chevereto.sh
Normal file
73
ct/chevereto.sh
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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://chevereto.com/
|
||||||
|
|
||||||
|
APP="Chevereto"
|
||||||
|
var_tags="${var_tags:-image-hosting;gallery;media}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-2048}"
|
||||||
|
var_disk="${var_disk:-10}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
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/chevereto ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "chevereto" "chevereto/chevereto"; then
|
||||||
|
PHP_FPM_SERVICE="$(basename "$(get_php_fpm_socket)" .sock)"
|
||||||
|
|
||||||
|
msg_info "Stopping Services"
|
||||||
|
systemctl stop nginx "$PHP_FPM_SERVICE"
|
||||||
|
msg_ok "Stopped Services"
|
||||||
|
|
||||||
|
create_backup /opt/chevereto/app/env.php \
|
||||||
|
/opt/chevereto/images \
|
||||||
|
/opt/chevereto/content
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "chevereto" "chevereto/chevereto" "tarball"
|
||||||
|
|
||||||
|
restore_backup
|
||||||
|
|
||||||
|
msg_info "Updating Chevereto"
|
||||||
|
cd /opt/chevereto/app
|
||||||
|
export COMPOSER_ALLOW_SUPERUSER=1
|
||||||
|
$STD composer install --no-dev --prefer-dist --no-interaction --optimize-autoloader
|
||||||
|
chown -R www-data:www-data /opt/chevereto
|
||||||
|
chmod -R 775 /opt/chevereto/images /opt/chevereto/content
|
||||||
|
msg_ok "Updated Chevereto"
|
||||||
|
|
||||||
|
msg_info "Starting Services"
|
||||||
|
systemctl start "$PHP_FPM_SERVICE" nginx
|
||||||
|
msg_ok "Started Services"
|
||||||
|
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}"
|
||||||
58
ct/decypharr.sh
Normal file
58
ct/decypharr.sh
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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/sirrobot01/decypharr
|
||||||
|
|
||||||
|
APP="Decypharr"
|
||||||
|
var_tags="${var_tags:-arr;debrid}"
|
||||||
|
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}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
|
||||||
|
if [[ ! -d /opt/decypharr ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "decypharr" "sirrobot01/decypharr"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop decypharr
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "decypharr" "sirrobot01/decypharr" "prebuild" "latest" "/opt/decypharr" "decypharr_Linux_$(arch_resolve x86_64 arm64).tar.gz"
|
||||||
|
chmod +x /opt/decypharr/decypharr
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start decypharr
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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}:8282${CL}"
|
||||||
@@ -106,7 +106,18 @@ EOF
|
|||||||
msg_ok "Migrated Nginx Configuration"
|
msg_ok "Migrated Nginx Configuration"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ensure_dependencies vlc-bin vlc-plugin-base
|
ensure_dependencies vlc-bin vlc-plugin-base build-essential autoconf libtool libargtable2-dev libavformat-dev libsdl2-dev libswscale-dev
|
||||||
|
|
||||||
|
if ! command -v comskip &> /dev/null; then
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Comskip" "erikkaashoek/Comskip" "tarball"
|
||||||
|
msg_info "Compiling Comskip"
|
||||||
|
cd /opt/Comskip
|
||||||
|
$STD ./autogen.sh
|
||||||
|
$STD ./configure
|
||||||
|
$STD make
|
||||||
|
$STD make install
|
||||||
|
msg_ok "Compiled and Installed Comskip"
|
||||||
|
fi
|
||||||
|
|
||||||
if check_for_gh_release "Dispatcharr" "Dispatcharr/Dispatcharr"; then
|
if check_for_gh_release "Dispatcharr" "Dispatcharr/Dispatcharr"; then
|
||||||
msg_info "Stopping Services"
|
msg_info "Stopping Services"
|
||||||
|
|||||||
56
ct/elasticsearch.sh
Normal file
56
ct/elasticsearch.sh
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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://www.elastic.co/elasticsearch
|
||||||
|
|
||||||
|
APP="Elasticsearch"
|
||||||
|
var_tags="${var_tags:-database;search}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-4096}"
|
||||||
|
var_disk="${var_disk:-20}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-no}"
|
||||||
|
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/elasticsearch/elasticsearch.yml ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg_info "Updating ${APP}"
|
||||||
|
$STD apt update
|
||||||
|
$STD apt install -y elasticsearch
|
||||||
|
msg_ok "Updated ${APP}"
|
||||||
|
|
||||||
|
msg_info "Restarting Service"
|
||||||
|
systemctl restart elasticsearch
|
||||||
|
msg_ok "Restarted Service"
|
||||||
|
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}:9200${CL}"
|
||||||
|
echo -e "${INFO}${YW}Set the password for the 'elastic' user:${CL}"
|
||||||
|
echo -e "${TAB}${DEFAULT}${BGN}/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic${CL}"
|
||||||
@@ -38,19 +38,18 @@ function update_script() {
|
|||||||
|
|
||||||
create_backup /opt/flatnotes/.env /opt/flatnotes/data
|
create_backup /opt/flatnotes/.env /opt/flatnotes/data
|
||||||
|
|
||||||
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
|
NODE_VERSION="24" setup_nodejs
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "flatnotes" "dullage/flatnotes" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "flatnotes" "dullage/flatnotes" "tarball"
|
||||||
|
|
||||||
restore_backup
|
restore_backup
|
||||||
|
|
||||||
msg_info "Updating Flatnotes"
|
msg_info "Updating Flatnotes"
|
||||||
cd /opt/flatnotes/client
|
|
||||||
$STD npm install
|
|
||||||
$STD npm run build
|
|
||||||
cd /opt/flatnotes
|
cd /opt/flatnotes
|
||||||
rm -f uv.lock
|
$STD uv sync --locked --no-dev
|
||||||
sed -i 's/^name = ""$/name = "flatnotes"/' pyproject.toml
|
$STD npm ci
|
||||||
$STD /usr/local/bin/uvx migrate-to-uv
|
$STD npm run build
|
||||||
$STD /usr/local/bin/uv sync
|
|
||||||
msg_ok "Updated Flatnotes"
|
msg_ok "Updated Flatnotes"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
|
|||||||
75
ct/gotenberg.sh
Normal file
75
ct/gotenberg.sh
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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: CrazyWolf13
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/gotenberg/gotenberg
|
||||||
|
|
||||||
|
APP="Gotenberg"
|
||||||
|
var_tags="${var_tags:-document;pdf}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-4096}"
|
||||||
|
var_disk="${var_disk:-15}"
|
||||||
|
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/systemd/system/gotenberg.service ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "gotenberg" "gotenberg/gotenberg"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop gotenberg
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "gotenberg" "gotenberg/gotenberg" "tarball" "latest" "/opt/gotenberg"
|
||||||
|
|
||||||
|
GO_VERSION="$(awk '$1=="go"{print $2}' /opt/gotenberg/go.mod | cut -d. -f1,2)" setup_go
|
||||||
|
|
||||||
|
msg_info "Building gotenberg (Patience)"
|
||||||
|
cd /opt/gotenberg
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
$STD go mod download
|
||||||
|
$STD go build -o /usr/local/bin/gotenberg \
|
||||||
|
-ldflags "-s -w -X 'github.com/gotenberg/gotenberg/v8/cmd.Version=$(cat ~/.gotenberg)'" \
|
||||||
|
cmd/gotenberg/main.go
|
||||||
|
msg_ok "Built gotenberg"
|
||||||
|
|
||||||
|
msg_info "Updating unoconverter"
|
||||||
|
UNOCONVERTER_VERSION=$(get_latest_github_release "gotenberg/unoconverter" "false")
|
||||||
|
download_file "https://raw.githubusercontent.com/gotenberg/unoconverter/${UNOCONVERTER_VERSION}/unoconv" /usr/local/bin/unoconverter
|
||||||
|
chmod +x /usr/local/bin/unoconverter
|
||||||
|
msg_ok "Updated unoconverter"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start gotenberg
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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}Gotenberg is a stateless API and has no web interface.${CL}"
|
||||||
|
echo -e "${INFO}${YW}Check the health endpoint using the following URL:${CL}"
|
||||||
|
echo -e "${GATEWAY}${BGN}http://${IP}:3000/health${CL}"
|
||||||
58
ct/hammer.sh
Normal file
58
ct/hammer.sh
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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/Darkrock-Studios/hammer-editor
|
||||||
|
|
||||||
|
APP="Hammer"
|
||||||
|
var_tags="${var_tags:-writing;sync-server}"
|
||||||
|
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_unprivileged="${var_unprivileged:-1}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
|
||||||
|
if [[ ! -d /opt/hammer ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "hammer" "Darkrock-Studios/hammer-editor"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop hammer
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "hammer" "Darkrock-Studios/hammer-editor" "prebuild" "latest" "/opt/hammer" "server.zip"
|
||||||
|
chmod +x /opt/hammer/bin/server
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start hammer
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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}:8080${CL}"
|
||||||
6
ct/headers/borg-ui
Normal file
6
ct/headers/borg-ui
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
____ __ ______
|
||||||
|
/ __ )____ _________ _ / / / / _/
|
||||||
|
/ __ / __ \/ ___/ __ `/_____/ / / // /
|
||||||
|
/ /_/ / /_/ / / / /_/ /_____/ /_/ // /
|
||||||
|
/_____/\____/_/ \__, / \____/___/
|
||||||
|
/____/
|
||||||
6
ct/headers/chatwoot
Normal file
6
ct/headers/chatwoot
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
________ __ __
|
||||||
|
/ ____/ /_ ____ _/ /__ ______ ____ / /_
|
||||||
|
/ / / __ \/ __ `/ __/ | /| / / __ \/ __ \/ __/
|
||||||
|
/ /___/ / / / /_/ / /_ | |/ |/ / /_/ / /_/ / /_
|
||||||
|
\____/_/ /_/\__,_/\__/ |__/|__/\____/\____/\__/
|
||||||
|
|
||||||
6
ct/headers/chevereto
Normal file
6
ct/headers/chevereto
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
________ __
|
||||||
|
/ ____/ /_ ___ _ _____ ________ / /_____
|
||||||
|
/ / / __ \/ _ \ | / / _ \/ ___/ _ \/ __/ __ \
|
||||||
|
/ /___/ / / / __/ |/ / __/ / / __/ /_/ /_/ /
|
||||||
|
\____/_/ /_/\___/|___/\___/_/ \___/\__/\____/
|
||||||
|
|
||||||
6
ct/headers/decypharr
Normal file
6
ct/headers/decypharr
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
____ __
|
||||||
|
/ __ \___ _______ ______ / /_ ____ ___________
|
||||||
|
/ / / / _ \/ ___/ / / / __ \/ __ \/ __ `/ ___/ ___/
|
||||||
|
/ /_/ / __/ /__/ /_/ / /_/ / / / / /_/ / / / /
|
||||||
|
/_____/\___/\___/\__, / .___/_/ /_/\__,_/_/ /_/
|
||||||
|
/____/_/
|
||||||
6
ct/headers/elasticsearch
Normal file
6
ct/headers/elasticsearch
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
________ __ _ __
|
||||||
|
/ ____/ /___ ______/ /_(_)____________ ____ ___________/ /_
|
||||||
|
/ __/ / / __ `/ ___/ __/ / ___/ ___/ _ \/ __ `/ ___/ ___/ __ \
|
||||||
|
/ /___/ / /_/ (__ ) /_/ / /__(__ ) __/ /_/ / / / /__/ / / /
|
||||||
|
/_____/_/\__,_/____/\__/_/\___/____/\___/\__,_/_/ \___/_/ /_/
|
||||||
|
|
||||||
6
ct/headers/gotenberg
Normal file
6
ct/headers/gotenberg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
______ __ __
|
||||||
|
/ ____/___ / /____ ____ / /_ ___ _________ _
|
||||||
|
/ / __/ __ \/ __/ _ \/ __ \/ __ \/ _ \/ ___/ __ `/
|
||||||
|
/ /_/ / /_/ / /_/ __/ / / / /_/ / __/ / / /_/ /
|
||||||
|
\____/\____/\__/\___/_/ /_/_.___/\___/_/ \__, /
|
||||||
|
/____/
|
||||||
6
ct/headers/hammer
Normal file
6
ct/headers/hammer
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
__ __
|
||||||
|
/ / / /___ _____ ___ ____ ___ ___ _____
|
||||||
|
/ /_/ / __ `/ __ `__ \/ __ `__ \/ _ \/ ___/
|
||||||
|
/ __ / /_/ / / / / / / / / / / / __/ /
|
||||||
|
/_/ /_/\__,_/_/ /_/ /_/_/ /_/ /_/\___/_/
|
||||||
|
|
||||||
6
ct/headers/journiv
Normal file
6
ct/headers/journiv
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
__ _
|
||||||
|
/ /___ __ ___________ (_) __
|
||||||
|
__ / / __ \/ / / / ___/ __ \/ / | / /
|
||||||
|
/ /_/ / /_/ / /_/ / / / / / / /| |/ /
|
||||||
|
\____/\____/\__,_/_/ /_/ /_/_/ |___/
|
||||||
|
|
||||||
6
ct/headers/lemonade-server
Normal file
6
ct/headers/lemonade-server
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
__ __ _____
|
||||||
|
/ / ___ ____ ___ ____ ____ ____ _____/ /__ / ___/___ ______ _____ _____
|
||||||
|
/ / / _ \/ __ `__ \/ __ \/ __ \/ __ `/ __ / _ \______\__ \/ _ \/ ___/ | / / _ \/ ___/
|
||||||
|
/ /___/ __/ / / / / / /_/ / / / / /_/ / /_/ / __/_____/__/ / __/ / | |/ / __/ /
|
||||||
|
/_____/\___/_/ /_/ /_/\____/_/ /_/\__,_/\__,_/\___/ /____/\___/_/ |___/\___/_/
|
||||||
|
|
||||||
6
ct/headers/lingarr
Normal file
6
ct/headers/lingarr
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
__ _
|
||||||
|
/ / (_)___ ____ _____ ___________
|
||||||
|
/ / / / __ \/ __ `/ __ `/ ___/ ___/
|
||||||
|
/ /___/ / / / / /_/ / /_/ / / / /
|
||||||
|
/_____/_/_/ /_/\__, /\__,_/_/ /_/
|
||||||
|
/____/
|
||||||
6
ct/headers/logseq
Normal file
6
ct/headers/logseq
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
__
|
||||||
|
/ / ____ ____ _________ ____ _
|
||||||
|
/ / / __ \/ __ `/ ___/ _ \/ __ `/
|
||||||
|
/ /___/ /_/ / /_/ (__ ) __/ /_/ /
|
||||||
|
/_____/\____/\__, /____/\___/\__, /
|
||||||
|
/____/ /_/
|
||||||
6
ct/headers/matter-hub
Normal file
6
ct/headers/matter-hub
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
__ ___ __ __ __ __ __
|
||||||
|
/ |/ /___ _/ /_/ /____ _____ / / / /_ __/ /_
|
||||||
|
/ /|_/ / __ `/ __/ __/ _ \/ ___/_____/ /_/ / / / / __ \
|
||||||
|
/ / / / /_/ / /_/ /_/ __/ / /_____/ __ / /_/ / /_/ /
|
||||||
|
/_/ /_/\__,_/\__/\__/\___/_/ /_/ /_/\__,_/_.___/
|
||||||
|
|
||||||
6
ct/headers/onetimesecret
Normal file
6
ct/headers/onetimesecret
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
____ _______ _____ __
|
||||||
|
/ __ \____ ___/_ __(_)___ ___ ___ / ___/___ _____________ / /_
|
||||||
|
/ / / / __ \/ _ \/ / / / __ `__ \/ _ \\__ \/ _ \/ ___/ ___/ _ \/ __/
|
||||||
|
/ /_/ / / / / __/ / / / / / / / / __/__/ / __/ /__/ / / __/ /_
|
||||||
|
\____/_/ /_/\___/_/ /_/_/ /_/ /_/\___/____/\___/\___/_/ \___/\__/
|
||||||
|
|
||||||
6
ct/headers/portabase
Normal file
6
ct/headers/portabase
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
____ __ __
|
||||||
|
/ __ \____ _____/ /_____ _/ /_ ____ _________
|
||||||
|
/ /_/ / __ \/ ___/ __/ __ `/ __ \/ __ `/ ___/ _ \
|
||||||
|
/ ____/ /_/ / / / /_/ /_/ / /_/ / /_/ (__ ) __/
|
||||||
|
/_/ \____/_/ \__/\__,_/_.___/\__,_/____/\___/
|
||||||
|
|
||||||
6
ct/headers/safebucket
Normal file
6
ct/headers/safebucket
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
_____ ____ __ __ __
|
||||||
|
/ ___/____ _/ __/__ / /_ __ _______/ /_____ / /_
|
||||||
|
\__ \/ __ `/ /_/ _ \/ __ \/ / / / ___/ //_/ _ \/ __/
|
||||||
|
___/ / /_/ / __/ __/ /_/ / /_/ / /__/ ,< / __/ /_
|
||||||
|
/____/\__,_/_/ \___/_.___/\__,_/\___/_/|_|\___/\__/
|
||||||
|
|
||||||
6
ct/headers/stash
Normal file
6
ct/headers/stash
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
_____ __ __
|
||||||
|
/ ___// /_____ ______/ /_
|
||||||
|
\__ \/ __/ __ `/ ___/ __ \
|
||||||
|
___/ / /_/ /_/ (__ ) / / /
|
||||||
|
/____/\__/\__,_/____/_/ /_/
|
||||||
|
|
||||||
6
ct/headers/valhalla
Normal file
6
ct/headers/valhalla
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
_ __ ____ ____
|
||||||
|
| | / /___ _/ / /_ ____ _/ / /___ _
|
||||||
|
| | / / __ `/ / __ \/ __ `/ / / __ `/
|
||||||
|
| |/ / /_/ / / / / / /_/ / / / /_/ /
|
||||||
|
|___/\__,_/_/_/ /_/\__,_/_/_/\__,_/
|
||||||
|
|
||||||
6
ct/headers/whisparr-eros
Normal file
6
ct/headers/whisparr-eros
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
_ ____ _ ______
|
||||||
|
| | / / /_ (_)________ ____ ___________ / ____/________ _____
|
||||||
|
| | /| / / __ \/ / ___/ __ \/ __ `/ ___/ ___/_____/ __/ / ___/ __ \/ ___/
|
||||||
|
| |/ |/ / / / / (__ ) /_/ / /_/ / / / / /_____/ /___/ / / /_/ (__ )
|
||||||
|
|__/|__/_/ /_/_/____/ .___/\__,_/_/ /_/ /_____/_/ \____/____/
|
||||||
|
/_/
|
||||||
@@ -37,12 +37,9 @@ function update_script() {
|
|||||||
sleep 1
|
sleep 1
|
||||||
msg_ok "Stopped Service"
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
msg_info "Backing up Data"
|
create_backup /opt/Heimdall/database/app.sqlite
|
||||||
cp -R /opt/Heimdall/database database-backup
|
|
||||||
cp -R /opt/Heimdall/public public-backup
|
|
||||||
sleep 1
|
|
||||||
msg_ok "Backed up Data"
|
|
||||||
|
|
||||||
|
PHP_VERSION="8.4" PHP_FPM="YES" setup_php
|
||||||
setup_composer
|
setup_composer
|
||||||
fetch_and_deploy_gh_release "Heimdall" "linuxserver/Heimdall" "tarball"
|
fetch_and_deploy_gh_release "Heimdall" "linuxserver/Heimdall" "tarball"
|
||||||
|
|
||||||
@@ -52,20 +49,15 @@ function update_script() {
|
|||||||
rm -f bootstrap/cache/*.php
|
rm -f bootstrap/cache/*.php
|
||||||
export COMPOSER_ALLOW_SUPERUSER=1
|
export COMPOSER_ALLOW_SUPERUSER=1
|
||||||
$STD composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader
|
$STD composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader
|
||||||
$STD php artisan optimize:clear
|
|
||||||
msg_ok "Updated Heimdall-Dashboard"
|
msg_ok "Updated Heimdall-Dashboard"
|
||||||
|
|
||||||
msg_info "Restoring Data"
|
restore_backup
|
||||||
cd ~
|
|
||||||
cp -R database-backup/* /opt/Heimdall/database
|
|
||||||
cp -R public-backup/* /opt/Heimdall/public
|
|
||||||
sleep 1
|
|
||||||
msg_ok "Restored Data"
|
|
||||||
|
|
||||||
msg_info "Cleaning Up"
|
msg_info "Migrating Database"
|
||||||
rm -rf {public-backup,database-backup}
|
cd /opt/Heimdall
|
||||||
sleep 1
|
$STD php artisan migrate --force
|
||||||
msg_ok "Cleaned Up"
|
$STD php artisan optimize:clear
|
||||||
|
msg_ok "Migrated Database"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
systemctl start heimdall.service
|
systemctl start heimdall.service
|
||||||
|
|||||||
@@ -52,6 +52,16 @@ function update_script() {
|
|||||||
set -a; source /etc/default/hermes; set +a
|
set -a; source /etc/default/hermes; set +a
|
||||||
/home/hermes/.local/bin/hermes update --yes
|
/home/hermes/.local/bin/hermes update --yes
|
||||||
'
|
'
|
||||||
|
# See https://github.com/community-scripts/ProxmoxVE/issues/17123
|
||||||
|
mapfile -t root_gateway_pids < <(ps -eo user=,pid=,args= | awk '$1 == "root" && $0 ~ /\/home\/hermes\/\.hermes\/hermes-agent\/venv\/bin\/python -m hermes_cli\.main gateway run --replace$/ { print $2 }')
|
||||||
|
if ((${#root_gateway_pids[@]})); then
|
||||||
|
kill -TERM "${root_gateway_pids[@]}"
|
||||||
|
for pid in "${root_gateway_pids[@]}"; do
|
||||||
|
while kill -0 "$pid" 2>/dev/null; do
|
||||||
|
sleep 0.1
|
||||||
|
done
|
||||||
|
done
|
||||||
|
fi
|
||||||
chown -R hermes:hermes /home/hermes
|
chown -R hermes:hermes /home/hermes
|
||||||
msg_ok "Updated Hermes Agent"
|
msg_ok "Updated Hermes Agent"
|
||||||
|
|
||||||
|
|||||||
@@ -83,6 +83,10 @@ EOF
|
|||||||
sed -i '/^ExecStart=/i Environment=CI=true' /etc/systemd/system/homepage.service
|
sed -i '/^ExecStart=/i Environment=CI=true' /etc/systemd/system/homepage.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
fi
|
fi
|
||||||
|
if grep -q '^ExecStart=pnpm start' /etc/systemd/system/homepage.service; then
|
||||||
|
sed -i 's|^ExecStart=pnpm start$|ExecStart=/opt/homepage/node_modules/.bin/next start|' /etc/systemd/system/homepage.service
|
||||||
|
systemctl daemon-reload
|
||||||
|
fi
|
||||||
msg_ok "Updated Homepage"
|
msg_ok "Updated Homepage"
|
||||||
|
|
||||||
msg_info "Starting service"
|
msg_info "Starting service"
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ EOF
|
|||||||
msg_ok "Image-processing libraries up to date"
|
msg_ok "Image-processing libraries up to date"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RELEASE="v3.1.0"
|
RELEASE="v3.2.1"
|
||||||
if check_for_gh_release "Immich" "immich-app/immich" "${RELEASE}" "each release is tested individually before the version is updated. Please do not open issues for this"; then
|
if check_for_gh_release "Immich" "immich-app/immich" "${RELEASE}" "each release is tested individually before the version is updated. Please do not open issues for this"; then
|
||||||
if [[ $(cat ~/.immich) > "2.5.1" ]]; then
|
if [[ $(cat ~/.immich) > "2.5.1" ]]; then
|
||||||
msg_info "Enabling Maintenance Mode"
|
msg_info "Enabling Maintenance Mode"
|
||||||
@@ -187,11 +187,10 @@ EOF
|
|||||||
msg_info "Updating Immich web and microservices"
|
msg_info "Updating Immich web and microservices"
|
||||||
cd "$SRC_DIR"/server
|
cd "$SRC_DIR"/server
|
||||||
# server build
|
# server build
|
||||||
export SHARP_IGNORE_GLOBAL_LIBVIPS=true
|
|
||||||
$STD pnpm --filter @immich/sdk --filter @immich/plugin-sdk --filter immich build
|
$STD pnpm --filter @immich/sdk --filter @immich/plugin-sdk --filter immich build
|
||||||
unset SHARP_IGNORE_GLOBAL_LIBVIPS
|
|
||||||
export SHARP_FORCE_GLOBAL_LIBVIPS=true
|
|
||||||
$STD pnpm --filter immich --prod --no-optional deploy "$APP_DIR"
|
$STD pnpm --filter immich --prod --no-optional deploy "$APP_DIR"
|
||||||
|
export SHARP_FORCE_GLOBAL_LIBVIPS=true
|
||||||
|
$STD pnpm --dir "$APP_DIR/node_modules/sharp" exec npm run build
|
||||||
|
|
||||||
# Patch helmet.json: disable upgrade-insecure-requests for HTTP access
|
# Patch helmet.json: disable upgrade-insecure-requests for HTTP access
|
||||||
if [[ -f "$APP_DIR/helmet.json" ]]; then
|
if [[ -f "$APP_DIR/helmet.json" ]]; then
|
||||||
@@ -205,7 +204,6 @@ EOF
|
|||||||
cd "$SRC_DIR"
|
cd "$SRC_DIR"
|
||||||
echo "packageImportMethod: hardlink" >>./pnpm-workspace.yaml
|
echo "packageImportMethod: hardlink" >>./pnpm-workspace.yaml
|
||||||
unset SHARP_FORCE_GLOBAL_LIBVIPS
|
unset SHARP_FORCE_GLOBAL_LIBVIPS
|
||||||
export SHARP_IGNORE_GLOBAL_LIBVIPS=true
|
|
||||||
$STD pnpm --filter @immich/sdk --filter immich-web --filter @immich/cli build
|
$STD pnpm --filter @immich/sdk --filter immich-web --filter @immich/cli build
|
||||||
$STD pnpm --filter @immich/cli --prod --no-optional deploy "$APP_DIR"/cli
|
$STD pnpm --filter @immich/cli --prod --no-optional deploy "$APP_DIR"/cli
|
||||||
cp -a web/build "$APP_DIR"/www
|
cp -a web/build "$APP_DIR"/www
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
NODE_VERSION="24" setup_nodejs
|
NODE_VERSION="24" NPM_VERSION="11" setup_nodejs
|
||||||
|
|
||||||
msg_info "Updating ${APP} LXC"
|
msg_info "Updating ${APP} LXC"
|
||||||
$STD apt update
|
$STD apt update
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ function update_script() {
|
|||||||
ln -sf "/usr/lib/$(arch_resolve "x86_64-linux-gnu" "aarch64-linux-gnu")/libjemalloc.so.2" /usr/lib/libjemalloc.so
|
ln -sf "/usr/lib/$(arch_resolve "x86_64-linux-gnu" "aarch64-linux-gnu")/libjemalloc.so.2" /usr/lib/libjemalloc.so
|
||||||
fi
|
fi
|
||||||
$STD apt -y upgrade
|
$STD apt -y upgrade
|
||||||
$STD apt -y --with-new-pkgs upgrade jellyfin jellyfin-server jellyfin-ffmpeg7
|
$STD apt -y --with-new-pkgs upgrade jellyfin jellyfin-server jellyfin-ffmpeg8
|
||||||
ln -sf /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg
|
ln -sf /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg
|
||||||
ln -sf /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe
|
ln -sf /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe
|
||||||
msg_ok "Updated Jellyfin"
|
msg_ok "Updated Jellyfin"
|
||||||
|
|||||||
@@ -17,6 +17,14 @@ var_version="${var_version:-13}"
|
|||||||
var_arm64="${var_arm64:-yes}"
|
var_arm64="${var_arm64:-yes}"
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
|
# Optional public setup, read by the install script (all empty = LAN-only install as before).
|
||||||
|
# Without the export they never reach the container.
|
||||||
|
export var_jitsi_domain="${var_jitsi_domain:-}"
|
||||||
|
export var_jitsi_le_email="${var_jitsi_le_email:-}"
|
||||||
|
export var_jitsi_public_ip="${var_jitsi_public_ip:-}"
|
||||||
|
export var_jitsi_admin_user="${var_jitsi_admin_user:-}"
|
||||||
|
export var_jitsi_admin_pass="${var_jitsi_admin_pass:-}"
|
||||||
|
|
||||||
header_info "$APP"
|
header_info "$APP"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
@@ -50,4 +58,7 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||||
echo -e "${GATEWAY}${BGN}https://${IP}${CL}"
|
echo -e "${GATEWAY}${BGN}https://${var_jitsi_domain:-$IP}${CL}"
|
||||||
|
if [[ -n "${var_jitsi_domain}" ]]; then
|
||||||
|
echo -e "${INFO}${YW}Forward TCP 80/443 and UDP 10000 to the container. Secure-domain credentials (if enabled) are in ~/jitsi-meet.creds inside the container.${CL}"
|
||||||
|
fi
|
||||||
|
|||||||
69
ct/journiv.sh
Normal file
69
ct/journiv.sh
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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/journiv/journiv-app
|
||||||
|
|
||||||
|
APP="Journiv"
|
||||||
|
var_tags="${var_tags:-journal;notes}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-2048}"
|
||||||
|
var_disk="${var_disk:-12}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
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/journiv ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "journiv" "journiv/journiv-app"; then
|
||||||
|
msg_info "Stopping Services"
|
||||||
|
systemctl stop journiv journiv-worker journiv-beat
|
||||||
|
msg_ok "Stopped Services"
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "journiv" "journiv/journiv-app" "tarball"
|
||||||
|
|
||||||
|
msg_info "Updating Python Environment"
|
||||||
|
cd /opt/journiv
|
||||||
|
$STD uv sync --locked --no-editable --no-install-project
|
||||||
|
msg_ok "Updated Python Environment"
|
||||||
|
|
||||||
|
msg_info "Running Database Migrations"
|
||||||
|
set -a
|
||||||
|
source /opt/journiv.env
|
||||||
|
set +a
|
||||||
|
$STD /opt/journiv/.venv/bin/python -c "from alembic.config import main; main(['upgrade', 'head'])"
|
||||||
|
msg_ok "Ran Database Migrations"
|
||||||
|
|
||||||
|
msg_info "Starting Services"
|
||||||
|
systemctl start journiv journiv-worker journiv-beat
|
||||||
|
msg_ok "Started Services"
|
||||||
|
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}:8000${CL}"
|
||||||
@@ -42,7 +42,7 @@ function update_script() {
|
|||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kaneo" "usekaneo/kaneo" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kaneo" "usekaneo/kaneo" "tarball"
|
||||||
|
|
||||||
PNPM_VERSION=$(sed -n 's/.*"packageManager": "pnpm@\([^"+]*\).*/\1/p' /opt/kaneo/package.json)
|
PNPM_VERSION=$(sed -n 's/.*"packageManager": "pnpm@\([^"+]*\).*/\1/p' /opt/kaneo/package.json)
|
||||||
NODE_VERSION="22" NODE_MODULE="pnpm@${PNPM_VERSION:-10.32.1}" setup_nodejs
|
NODE_VERSION="24" NODE_MODULE="pnpm@${PNPM_VERSION:-10.32.1}" setup_nodejs
|
||||||
|
|
||||||
restore_backup
|
restore_backup
|
||||||
|
|
||||||
|
|||||||
57
ct/lemonade-server.sh
Normal file
57
ct/lemonade-server.sh
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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: Jamie (jamiej)
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/lemonade-sdk/lemonade
|
||||||
|
|
||||||
|
APP="Lemonade-Server"
|
||||||
|
var_tags="${var_tags:-ai}"
|
||||||
|
var_cpu="${var_cpu:-4}"
|
||||||
|
var_ram="${var_ram:-8192}"
|
||||||
|
var_disk="${var_disk:-80}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
var_gpu="${var_gpu:-yes}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
if ! command -v lemonade &>/dev/null; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "lemonade-server" "lemonade-sdk/lemonade"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop lemond
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "lemonade-server" "lemonade-sdk/lemonade" "binary" "latest" "/tmp" "lemonade-server_*-debian13_$(arch_resolve).deb"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start lemond
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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}:13305${CL}"
|
||||||
70
ct/lingarr.sh
Normal file
70
ct/lingarr.sh
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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/lingarr-translate/lingarr
|
||||||
|
|
||||||
|
APP="Lingarr"
|
||||||
|
var_tags="${var_tags:-arr;subtitles}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-4096}"
|
||||||
|
var_disk="${var_disk:-16}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
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/lingarr ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "lingarr" "lingarr-translate/lingarr"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop lingarr
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "lingarr" "lingarr-translate/lingarr" "tarball"
|
||||||
|
|
||||||
|
msg_info "Building Lingarr (Patience)"
|
||||||
|
cd /opt/lingarr/Lingarr.Client
|
||||||
|
$STD npm ci
|
||||||
|
$STD npm run build
|
||||||
|
mkdir -p /opt/lingarr/Lingarr.Server/wwwroot
|
||||||
|
cp -r /opt/lingarr/Lingarr.Client/dist/* /opt/lingarr/Lingarr.Server/wwwroot/
|
||||||
|
cd /opt/lingarr
|
||||||
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
|
rm -rf /opt/lingarr_app
|
||||||
|
$STD dotnet publish ./Lingarr.Server/Lingarr.Server.csproj -c Release -o /opt/lingarr_app /p:UseAppHost=false /p:Version="$(cat ~/.lingarr)"
|
||||||
|
msg_ok "Built Lingarr"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start lingarr
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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}:9876${CL}"
|
||||||
|
echo -e "${INFO}${YW}Set your translation backend in /opt/lingarr.env${CL}"
|
||||||
66
ct/logseq.sh
Normal file
66
ct/logseq.sh
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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://logseq.com/
|
||||||
|
|
||||||
|
APP="Logseq"
|
||||||
|
var_tags="${var_tags:-notes;knowledge-base}"
|
||||||
|
var_cpu="${var_cpu:-4}"
|
||||||
|
var_ram="${var_ram:-8192}"
|
||||||
|
var_disk="${var_disk:-16}"
|
||||||
|
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 [[ ! -d /opt/logseq ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "logseq" "logseq/logseq"; then
|
||||||
|
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
|
||||||
|
JAVA_VERSION="21" setup_java
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "logseq" "logseq/logseq" "tarball"
|
||||||
|
|
||||||
|
msg_info "Building Logseq Web App (Patience)"
|
||||||
|
cd /opt/logseq
|
||||||
|
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||||
|
export NODE_OPTIONS="--max-old-space-size=4096"
|
||||||
|
export JAVA_TOOL_OPTIONS="-Xmx4g"
|
||||||
|
$STD corepack enable
|
||||||
|
$STD pnpm install --config.network-timeout=240000
|
||||||
|
$STD pnpm release
|
||||||
|
msg_ok "Built Logseq Web App"
|
||||||
|
|
||||||
|
msg_info "Reloading Webserver"
|
||||||
|
systemctl reload nginx
|
||||||
|
msg_ok "Reloaded Webserver"
|
||||||
|
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}"
|
||||||
72
ct/matter-hub.sh
Normal file
72
ct/matter-hub.sh
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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/RiDDiX/home-assistant-matter-hub
|
||||||
|
|
||||||
|
APP="Matter-Hub"
|
||||||
|
var_tags="${var_tags:-smarthome;matter}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-4096}"
|
||||||
|
var_disk="${var_disk:-12}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
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/matter-hub ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "matter-hub" "RiDDiX/home-assistant-matter-hub"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop matter-hub
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "matter-hub" "RiDDiX/home-assistant-matter-hub" "tarball"
|
||||||
|
|
||||||
|
msg_info "Building Matter Hub"
|
||||||
|
cd /opt/matter-hub
|
||||||
|
MATTER_HUB_VERSION=$(cat ~/.matter-hub)
|
||||||
|
$STD pnpm install --frozen-lockfile
|
||||||
|
$STD pnpm run release:version "$MATTER_HUB_VERSION"
|
||||||
|
APP_VERSION="$MATTER_HUB_VERSION" $STD pnpm build
|
||||||
|
sed -i "s|^APP_VERSION=.*|APP_VERSION=${MATTER_HUB_VERSION}|" /opt/matter-hub.env
|
||||||
|
msg_ok "Built Matter Hub"
|
||||||
|
|
||||||
|
msg_info "Installing Matter Hub"
|
||||||
|
rm -rf /opt/matter-hub_app/node_modules /opt/matter-hub_app/package-lock.json
|
||||||
|
cd /opt/matter-hub_app
|
||||||
|
$STD npm install --omit=dev --no-audit --no-fund
|
||||||
|
msg_ok "Installed Matter Hub"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start matter-hub
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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}:8482${CL}"
|
||||||
@@ -37,7 +37,9 @@ function update_script() {
|
|||||||
systemctl stop mediamtx
|
systemctl stop mediamtx
|
||||||
msg_ok "Service stopped"
|
msg_ok "Service stopped"
|
||||||
|
|
||||||
|
create_backup /opt/mediamtx/mediamtx.yml
|
||||||
fetch_and_deploy_gh_release "mediamtx" "bluenviron/mediamtx" "prebuild" "latest" "/opt/mediamtx" "mediamtx*linux_$(arch_resolve).tar.gz"
|
fetch_and_deploy_gh_release "mediamtx" "bluenviron/mediamtx" "prebuild" "latest" "/opt/mediamtx" "mediamtx*linux_$(arch_resolve).tar.gz"
|
||||||
|
restore_backup
|
||||||
|
|
||||||
msg_info "Starting service"
|
msg_info "Starting service"
|
||||||
systemctl start mediamtx
|
systemctl start mediamtx
|
||||||
|
|||||||
@@ -58,6 +58,14 @@ function update_script() {
|
|||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-linux-bin" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-linux.bin"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-linux-bin" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-linux.bin"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-dsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz.dsk"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-dsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz.dsk"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-pdsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz.pdsk"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-pdsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz.pdsk"
|
||||||
|
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-efi" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.efi"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-kpxe" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.kpxe"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-lkrn" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.lkrn"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-dsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.dsk"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-pdsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.pdsk"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-metal-legacy-efi" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-metal-legacy.efi"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-metal-legacy-kpxe" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-metal-legacy.kpxe"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64.efi"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64.efi"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-snp" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64-snp.efi"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-snp" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64-snp.efi"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-snponly" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64-snponly.efi"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-snponly" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64-snponly.efi"
|
||||||
@@ -70,6 +78,12 @@ function update_script() {
|
|||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64.img"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64.img"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-multiarch-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-multiarch.iso"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-multiarch-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-multiarch.iso"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-multiarch-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-multiarch.img"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-multiarch-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-multiarch.img"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.iso"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.img"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-sb-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sb.iso"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-sb-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sb.img"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-sb-arm64-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sb-arm64.iso"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-sb-arm64-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sb-arm64.img"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-checksums" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sha256-checksums.txt"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-checksums" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sha256-checksums.txt"
|
||||||
|
|
||||||
msg_info "Restoring Configuration"
|
msg_info "Restoring Configuration"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating Nightscout"
|
msg_info "Updating Nightscout"
|
||||||
cd /opt/nightscout
|
cd /opt/nightscout
|
||||||
$STD npm install --allow-remote=all
|
$STD npm install
|
||||||
msg_ok "Updated Nightscout"
|
msg_ok "Updated Nightscout"
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ function update_script() {
|
|||||||
msg_info "Building OmniTools"
|
msg_info "Building OmniTools"
|
||||||
cd /opt/omnitools
|
cd /opt/omnitools
|
||||||
export HUSKY=0
|
export HUSKY=0
|
||||||
$STD npm ci
|
$STD npm ci --allow-remote=all
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
msg_ok "Built OmniTools"
|
msg_ok "Built OmniTools"
|
||||||
|
|
||||||
|
|||||||
101
ct/onetimesecret.sh
Normal file
101
ct/onetimesecret.sh
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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: Hai Tran (epiHATR)
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://onetimesecret.com/ | Github: https://github.com/onetimesecret/onetimesecret
|
||||||
|
|
||||||
|
APP="OneTimeSecret"
|
||||||
|
var_tags="${var_tags:-security;privacy;secrets}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-4096}"
|
||||||
|
var_disk="${var_disk:-10}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-no}"
|
||||||
|
var_unprivileged="${var_unprivileged:-1}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
|
||||||
|
SSL_VALUE="${OTS_SSL:-}"
|
||||||
|
if [[ -n "${SSL_VALUE}" ]]; then
|
||||||
|
case "${SSL_VALUE,,}" in
|
||||||
|
1 | true | yes | on) SSL_VALUE="true" ;;
|
||||||
|
0 | false | no | off) SSL_VALUE="false" ;;
|
||||||
|
*)
|
||||||
|
msg_error "Invalid OTS_SSL value '${OTS_SSL}' (use true/false)"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! -d /opt/onetimesecret ]] || [[ ! -f /opt/onetimesecret/.env ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "onetimesecret" "onetimesecret/onetimesecret"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop onetimesecret
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
create_backup /opt/onetimesecret/.env
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "onetimesecret" "onetimesecret/onetimesecret" "tarball"
|
||||||
|
RUBY_VERSION=$(tr -d ' \n' </opt/onetimesecret/.ruby-version 2>/dev/null)
|
||||||
|
RUBY_VERSION="${RUBY_VERSION:-3.4.10}" setup_ruby
|
||||||
|
|
||||||
|
PNPM_VERSION=$(sed -n 's/.*"packageManager": "pnpm@\([^"]*\)".*/\1/p' /opt/onetimesecret/package.json)
|
||||||
|
NODE_VERSION=$(tr -d ' \n' </opt/onetimesecret/.nvmrc 2>/dev/null)
|
||||||
|
NODE_VERSION="${NODE_VERSION:-25}" NODE_MODULE="pnpm@${PNPM_VERSION:-11.1.2}" setup_nodejs
|
||||||
|
|
||||||
|
restore_backup
|
||||||
|
|
||||||
|
msg_info "Reconciling Application"
|
||||||
|
systemctl enable -q --now redis-server
|
||||||
|
cd /opt/onetimesecret
|
||||||
|
mkdir -p tmp/pids log
|
||||||
|
$STD bash bin/setup reconcile
|
||||||
|
msg_ok "Reconciled Application"
|
||||||
|
|
||||||
|
msg_info "Building Frontend"
|
||||||
|
cd /opt/onetimesecret
|
||||||
|
$STD pnpm run build
|
||||||
|
msg_ok "Built Frontend"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start onetimesecret
|
||||||
|
msg_ok "Started Service"
|
||||||
|
msg_ok "Updated successfully!"
|
||||||
|
fi
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
start
|
||||||
|
build_container
|
||||||
|
description
|
||||||
|
|
||||||
|
DISPLAY_HOST="${OTS_HOST:-$IP}"
|
||||||
|
case "${OTS_SSL:-false,,}" in
|
||||||
|
1 | true | yes | on)
|
||||||
|
DISPLAY_SCHEME="https"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
DISPLAY_SCHEME="http"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
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}${DISPLAY_SCHEME}://${DISPLAY_HOST}${CL}"
|
||||||
@@ -43,6 +43,8 @@ function update_script() {
|
|||||||
|
|
||||||
restore_backup
|
restore_backup
|
||||||
|
|
||||||
|
setup_rust
|
||||||
|
|
||||||
msg_info "Rebuilding Paperclip"
|
msg_info "Rebuilding Paperclip"
|
||||||
cd /opt/paperclip-ai
|
cd /opt/paperclip-ai
|
||||||
export HUSKY=0
|
export HUSKY=0
|
||||||
|
|||||||
@@ -169,9 +169,13 @@ function update_script() {
|
|||||||
if ((BRIDGE_UPDATE == 0)); then
|
if ((BRIDGE_UPDATE == 0)); then
|
||||||
sed -i 's|^ExecStart=.*|ExecStart=uv run --no-sync -- granian --interface asginl --ws --loop uvloop "paperless.asgi:application"|' /etc/systemd/system/paperless-webserver.service
|
sed -i 's|^ExecStart=.*|ExecStart=uv run --no-sync -- granian --interface asginl --ws --loop uvloop "paperless.asgi:application"|' /etc/systemd/system/paperless-webserver.service
|
||||||
grep -q "document_index reindex" /etc/systemd/system/paperless-webserver.service ||
|
grep -q "document_index reindex" /etc/systemd/system/paperless-webserver.service ||
|
||||||
sed -i '/^ExecStart=/i ExecStartPre=uv run -- python manage.py document_index reindex --if-needed --no-progress-bar' /etc/systemd/system/paperless-webserver.service
|
sed -i '/^ExecStart=/i ExecStartPre=uv run --no-sync -- python manage.py document_index reindex --if-needed --no-progress-bar' /etc/systemd/system/paperless-webserver.service
|
||||||
$STD systemctl daemon-reload
|
|
||||||
fi
|
fi
|
||||||
|
for svc in consumer scheduler task-queue webserver; do
|
||||||
|
unit="/etc/systemd/system/paperless-${svc}.service"
|
||||||
|
[[ -f "$unit" ]] && sed -i 's|uv run -- |uv run --no-sync -- |g' "$unit"
|
||||||
|
done
|
||||||
|
$STD systemctl daemon-reload
|
||||||
cd /opt/paperless
|
cd /opt/paperless
|
||||||
$STD uv sync --all-extras
|
$STD uv sync --all-extras
|
||||||
cd /opt/paperless/src
|
cd /opt/paperless/src
|
||||||
|
|||||||
@@ -40,6 +40,9 @@ function update_script() {
|
|||||||
create_backup /opt/passwordpusher/storage /opt/passwordpusher/.env.production
|
create_backup /opt/passwordpusher/storage /opt/passwordpusher/.env.production
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "passwordpusher" "pglombardo/PasswordPusher" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "passwordpusher" "pglombardo/PasswordPusher" "tarball"
|
||||||
|
|
||||||
|
restore_backup
|
||||||
|
|
||||||
RUBY_VERSION="$(cat /opt/passwordpusher/.ruby-version)" RUBY_INSTALL_RAILS="false" setup_ruby
|
RUBY_VERSION="$(cat /opt/passwordpusher/.ruby-version)" RUBY_INSTALL_RAILS="false" setup_ruby
|
||||||
|
|
||||||
msg_info "Installing Gem Dependencies"
|
msg_info "Installing Gem Dependencies"
|
||||||
@@ -62,8 +65,6 @@ function update_script() {
|
|||||||
RAILS_ENV=production SECRET_KEY_BASE_DUMMY=1 $STD bundle exec rails assets:precompile
|
RAILS_ENV=production SECRET_KEY_BASE_DUMMY=1 $STD bundle exec rails assets:precompile
|
||||||
msg_ok "Precompiled Assets"
|
msg_ok "Precompiled Assets"
|
||||||
|
|
||||||
restore_backup
|
|
||||||
|
|
||||||
msg_info "Starting Service"
|
msg_info "Starting Service"
|
||||||
systemctl start passwordpusher
|
systemctl start passwordpusher
|
||||||
msg_ok "Started Service"
|
msg_ok "Started Service"
|
||||||
|
|||||||
76
ct/portabase.sh
Normal file
76
ct/portabase.sh
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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://portabase.io
|
||||||
|
|
||||||
|
APP="Portabase"
|
||||||
|
var_tags="${var_tags:-database;backup}"
|
||||||
|
var_cpu="${var_cpu:-4}"
|
||||||
|
var_ram="${var_ram:-8192}"
|
||||||
|
var_disk="${var_disk:-15}"
|
||||||
|
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 [[ ! -d /opt/portabase ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "portabase" "Portabase/portabase"; then
|
||||||
|
msg_info "Stopping Services"
|
||||||
|
systemctl stop portabase portabase-tusd
|
||||||
|
msg_ok "Stopped Services"
|
||||||
|
|
||||||
|
create_backup /opt/portabase/.env
|
||||||
|
|
||||||
|
NODE_VERSION="22" NODE_MODULE="pnpm@11.8.0" setup_nodejs
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "portabase" "Portabase/portabase" "tarball"
|
||||||
|
|
||||||
|
restore_backup
|
||||||
|
|
||||||
|
msg_info "Building Portabase"
|
||||||
|
cd /opt/portabase
|
||||||
|
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||||
|
export NEXT_TELEMETRY_DISABLED=1
|
||||||
|
$STD pnpm install --frozen-lockfile
|
||||||
|
$STD pnpm run build
|
||||||
|
cp -r /opt/portabase/.next/static /opt/portabase/.next/standalone/.next/static
|
||||||
|
cp -r /opt/portabase/public /opt/portabase/.next/standalone/public
|
||||||
|
mkdir -p /opt/portabase/.next/standalone/src/db
|
||||||
|
cp -r /opt/portabase/src/db/migrations /opt/portabase/.next/standalone/src/db/migrations
|
||||||
|
ln -sf /opt/portabase/.env /opt/portabase/.next/standalone/.env
|
||||||
|
msg_ok "Built Portabase"
|
||||||
|
|
||||||
|
msg_info "Starting Services"
|
||||||
|
systemctl start portabase-tusd portabase
|
||||||
|
msg_ok "Started Services"
|
||||||
|
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}"
|
||||||
@@ -68,7 +68,7 @@ map \$uri \$poznote_coop {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8040;
|
listen 8040;
|
||||||
root /var/www/html;
|
root /var/www/html/public;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
@@ -144,10 +144,12 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/data/users/[0-9]+/backgrounds/ {
|
location ~ ^/data/users/[0-9]+/backgrounds/ {
|
||||||
|
root /var/www/html;
|
||||||
try_files \$uri =404;
|
try_files \$uri =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/data/css/[A-Za-z0-9._-]+\.css$ {
|
location ~ ^/data/css/[A-Za-z0-9._-]+\.css$ {
|
||||||
|
root /var/www/html;
|
||||||
try_files \$uri =404;
|
try_files \$uri =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ function update_script() {
|
|||||||
msg_ok "Updated Reactive Resume"
|
msg_ok "Updated Reactive Resume"
|
||||||
|
|
||||||
msg_info "Updating Service"
|
msg_info "Updating Service"
|
||||||
sed -i 's|WorkingDirectory=/opt/reactive-resume/apps/web|WorkingDirectory=/opt/reactive-resume/apps/server|; s|ExecStart=/usr/bin/node .output/server/index.mjs|ExecStart=/usr/bin/node dist/index.mjs|' /etc/systemd/system/reactive-resume.service
|
sed -i -E 's|^WorkingDirectory=/opt/reactive-resume(/.*)?$|WorkingDirectory=/opt/reactive-resume/apps/server|; s|ExecStart=/usr/bin/node .output/server/index.mjs|ExecStart=/usr/bin/node dist/index.mjs|' /etc/systemd/system/reactive-resume.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
msg_ok "Updated Service"
|
msg_ok "Updated Service"
|
||||||
|
|
||||||
|
|||||||
63
ct/safebucket.sh
Normal file
63
ct/safebucket.sh
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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: renizmy
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/safebucket/safebucket
|
||||||
|
|
||||||
|
APP="Safebucket"
|
||||||
|
var_tags="${var_tags:-files;sharing}"
|
||||||
|
var_cpu="${var_cpu:-2}"
|
||||||
|
var_ram="${var_ram:-1024}"
|
||||||
|
var_disk="${var_disk:-10}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
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 /opt/safebucket/safebucket ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "safebucket" "safebucket/safebucket"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop safebucket
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
create_backup /opt/safebucket/config.yaml /opt/safebucket/data/
|
||||||
|
fetch_and_deploy_gh_release "safebucket" "safebucket/safebucket" "singlefile" "latest" "/opt/safebucket" "safebucket-linux-$(arch_resolve)"
|
||||||
|
restore_backup
|
||||||
|
|
||||||
|
msg_info "Configuring Safebucket"
|
||||||
|
chown -R safebucket:safebucket /opt/safebucket
|
||||||
|
msg_ok "Configured Safebucket"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start safebucket
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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 "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
||||||
@@ -45,7 +45,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating Application"
|
msg_info "Updating Application"
|
||||||
cd /opt/solidtime
|
cd /opt/solidtime
|
||||||
$STD composer install --no-dev --optimize-autoloader
|
COMPOSER_ALLOW_SUPERUSER=1 $STD composer install --no-dev --optimize-autoloader
|
||||||
$STD npm install
|
$STD npm install
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
$STD php artisan migrate --force
|
$STD php artisan migrate --force
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ function update_script() {
|
|||||||
-e 's|${SPARKY_FITNESS_SERVER_PORT}|3010|g' \
|
-e 's|${SPARKY_FITNESS_SERVER_PORT}|3010|g' \
|
||||||
-e "s|\${SPARKY_FITNESS_FRONTEND_URL}|${FRONTEND_URL}|g" \
|
-e "s|\${SPARKY_FITNESS_FRONTEND_URL}|${FRONTEND_URL}|g" \
|
||||||
-e 's|${NGINX_LISTEN_PORT}|80|g' \
|
-e 's|${NGINX_LISTEN_PORT}|80|g' \
|
||||||
|
-e 's|${NGINX_RATE_LIMIT}|5r/s|g' \
|
||||||
-e 's|${NGINX_ACCESS_LOG}|/var/log/nginx/sparkyfitness.access.log|g' \
|
-e 's|${NGINX_ACCESS_LOG}|/var/log/nginx/sparkyfitness.access.log|g' \
|
||||||
-e 's|${NGINX_ERROR_LOG}|/var/log/nginx/sparkyfitness.error.log|g' \
|
-e 's|${NGINX_ERROR_LOG}|/var/log/nginx/sparkyfitness.error.log|g' \
|
||||||
-e 's|root /usr/share/nginx/html;|root /var/www/sparkyfitness;|g' \
|
-e 's|root /usr/share/nginx/html;|root /var/www/sparkyfitness;|g' \
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ function update_script() {
|
|||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "spliit" "spliit-app/spliit" "tarball"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "spliit" "spliit-app/spliit" "tarball"
|
||||||
|
|
||||||
restore_backup
|
restore_backup
|
||||||
NODE_VERSION="24" setup_nodejs
|
NODE_VERSION="26" setup_nodejs
|
||||||
|
|
||||||
msg_info "Building Application"
|
msg_info "Building Application"
|
||||||
cd /opt/spliit
|
cd /opt/spliit
|
||||||
|
|||||||
58
ct/stash.sh
Normal file
58
ct/stash.sh
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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/stashapp/stash
|
||||||
|
|
||||||
|
APP="Stash"
|
||||||
|
var_tags="${var_tags:-media;organizer}"
|
||||||
|
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_gpu="${var_gpu:-yes}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
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/stash ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "stash" "stashapp/stash"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop stash
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "stash" "stashapp/stash" "singlefile" "latest" "/opt/stash" "$(arch_resolve stash-linux stash-linux-arm64v8)"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start stash
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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}:9999${CL}"
|
||||||
@@ -124,7 +124,7 @@ EOF
|
|||||||
$STD pnpm turbo telemetry disable
|
$STD pnpm turbo telemetry disable
|
||||||
$STD pnpm turbo run build --no-daemon --filter=@tracearr/shared --filter=@tracearr/server --filter=@tracearr/web
|
$STD pnpm turbo run build --no-daemon --filter=@tracearr/shared --filter=@tracearr/server --filter=@tracearr/web
|
||||||
rm -rf /opt/tracearr
|
rm -rf /opt/tracearr
|
||||||
mkdir -p /opt/tracearr/{packages/shared,apps/server,apps/web,apps/server/src/db}
|
mkdir -p /opt/tracearr/{packages/shared,packages/emails,apps/server,apps/web,apps/server/src/db}
|
||||||
cp -rf package.json /opt/tracearr/
|
cp -rf package.json /opt/tracearr/
|
||||||
cp -rf pnpm-workspace.yaml /opt/tracearr/
|
cp -rf pnpm-workspace.yaml /opt/tracearr/
|
||||||
cp -rf pnpm-lock.yaml /opt/tracearr/
|
cp -rf pnpm-lock.yaml /opt/tracearr/
|
||||||
@@ -134,6 +134,8 @@ EOF
|
|||||||
cp -rf apps/web/dist /opt/tracearr/apps/web/dist
|
cp -rf apps/web/dist /opt/tracearr/apps/web/dist
|
||||||
cp -rf packages/shared/package.json /opt/tracearr/packages/shared/
|
cp -rf packages/shared/package.json /opt/tracearr/packages/shared/
|
||||||
cp -rf packages/shared/dist /opt/tracearr/packages/shared/dist
|
cp -rf packages/shared/dist /opt/tracearr/packages/shared/dist
|
||||||
|
cp -rf packages/emails/package.json /opt/tracearr/packages/emails/
|
||||||
|
cp -rf packages/emails/dist /opt/tracearr/packages/emails/dist
|
||||||
cp -rf apps/server/src/db/migrations /opt/tracearr/apps/server/src/db/migrations
|
cp -rf apps/server/src/db/migrations /opt/tracearr/apps/server/src/db/migrations
|
||||||
cp -rf data /opt/tracearr/data
|
cp -rf data /opt/tracearr/data
|
||||||
mkdir -p /opt/tracearr/data/image-cache
|
mkdir -p /opt/tracearr/data/image-cache
|
||||||
|
|||||||
104
ct/valhalla.sh
Normal file
104
ct/valhalla.sh
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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: CrazyWolf13
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/valhalla/valhalla
|
||||||
|
|
||||||
|
APP="Valhalla"
|
||||||
|
var_tags="${var_tags:-mapping;routing}"
|
||||||
|
var_cpu="${var_cpu:-6}"
|
||||||
|
var_ram="${var_ram:-6144}"
|
||||||
|
var_disk="${var_disk:-24}"
|
||||||
|
var_os="${var_os:-debian}"
|
||||||
|
var_version="${var_version:-13}"
|
||||||
|
var_arm64="${var_arm64:-yes}"
|
||||||
|
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/systemd/system/valhalla.service ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "prime_server" "kevinkreiser/prime_server"; then
|
||||||
|
RELEASE="$CHECK_UPDATE_RELEASE"
|
||||||
|
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop valhalla
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
msg_info "Building prime_server ${RELEASE} (Patience)"
|
||||||
|
rm -rf /tmp/prime_server
|
||||||
|
$STD git clone --recurse-submodules --depth 1 --branch "$RELEASE" https://github.com/kevinkreiser/prime_server /tmp/prime_server
|
||||||
|
cd /tmp/prime_server
|
||||||
|
$STD ./autogen.sh
|
||||||
|
$STD ./configure
|
||||||
|
$STD make -j"$(nproc)"
|
||||||
|
$STD make install
|
||||||
|
cd /
|
||||||
|
rm -rf /tmp/prime_server
|
||||||
|
ldconfig
|
||||||
|
echo "${RELEASE#v}" >"$HOME/.prime_server"
|
||||||
|
msg_ok "Built prime_server ${RELEASE}"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start valhalla
|
||||||
|
msg_ok "Started Service"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "valhalla" "valhalla/valhalla"; then
|
||||||
|
RELEASE="$CHECK_UPDATE_RELEASE"
|
||||||
|
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop valhalla
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
msg_info "Fetching Valhalla ${RELEASE} (Patience)"
|
||||||
|
rm -rf /opt/valhalla
|
||||||
|
$STD git clone --recurse-submodules --depth 1 --branch "$RELEASE" https://github.com/valhalla/valhalla.git /opt/valhalla
|
||||||
|
msg_ok "Fetched Valhalla ${RELEASE}"
|
||||||
|
|
||||||
|
msg_info "Compiling Valhalla ${RELEASE} (this takes 20-45+ minutes, be patient)"
|
||||||
|
MEM_MB=$(awk '/MemTotal/{print int($2/1024)}' /proc/meminfo)
|
||||||
|
BUILD_JOBS=$((MEM_MB / 2000))
|
||||||
|
[[ $BUILD_JOBS -lt 1 ]] && BUILD_JOBS=1
|
||||||
|
[[ $BUILD_JOBS -gt $(nproc) ]] && BUILD_JOBS=$(nproc)
|
||||||
|
cd /opt/valhalla
|
||||||
|
$STD cmake -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_PYTHON_BINDINGS=OFF -DENABLE_TESTS=OFF -DENABLE_SINGLE_FILES_WERROR=OFF
|
||||||
|
$STD cmake --build build -- -j"$BUILD_JOBS"
|
||||||
|
$STD cmake --install build
|
||||||
|
ldconfig
|
||||||
|
echo "${RELEASE#v}" >"$HOME/.valhalla"
|
||||||
|
msg_ok "Compiled Valhalla ${RELEASE}"
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start valhalla
|
||||||
|
msg_ok "Started Service"
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg_ok "Updated Successfully!\n"
|
||||||
|
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}:8002/status${CL}"
|
||||||
|
echo -e "${INFO}${YW}No routing tiles are built yet. Build them for your region with:${CL}"
|
||||||
|
echo -e "${TAB}${BGN}/opt/valhalla_data/build-tiles.sh https://download.geofabrik.de/<continent>/<region>-latest.osm.pbf${CL}"
|
||||||
59
ct/whisparr-eros.sh
Normal file
59
ct/whisparr-eros.sh
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main"
|
||||||
|
_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: angusmaul
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/Whisparr/Whisparr-Eros
|
||||||
|
|
||||||
|
APP="Whisparr-Eros"
|
||||||
|
var_tags="${var_tags:-arr}"
|
||||||
|
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}"
|
||||||
|
|
||||||
|
header_info "$APP"
|
||||||
|
variables
|
||||||
|
color
|
||||||
|
catch_errors
|
||||||
|
|
||||||
|
function update_script() {
|
||||||
|
header_info
|
||||||
|
check_container_storage
|
||||||
|
check_container_resources
|
||||||
|
|
||||||
|
if [[ ! -d /var/lib/whisparr-eros ]]; then
|
||||||
|
msg_error "No ${APP} Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
if check_for_gh_release "whisparr-eros" "Whisparr/Whisparr-Eros"; then
|
||||||
|
msg_info "Stopping Service"
|
||||||
|
systemctl stop whisparr-eros
|
||||||
|
msg_ok "Stopped Service"
|
||||||
|
|
||||||
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "whisparr-eros" "Whisparr/Whisparr-Eros" "prebuild" "latest" "/opt/Whisparr-Eros" "Whisparr.eros.*.linux-$(arch_resolve "x64" "arm64").tar.gz"
|
||||||
|
rm -rf /opt/Whisparr-Eros/Whisparr.Update
|
||||||
|
chmod +x /opt/Whisparr-Eros/Whisparr
|
||||||
|
|
||||||
|
msg_info "Starting Service"
|
||||||
|
systemctl start whisparr-eros
|
||||||
|
msg_ok "Started Service"
|
||||||
|
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 "${TAB}${GATEWAY}${BGN}http://${IP}:6969${CL}"
|
||||||
@@ -58,7 +58,7 @@ PG_VERSION="17" setup_postgresql
|
|||||||
PG_DB_NAME="authentik" PG_DB_USER="authentik" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db
|
PG_DB_NAME="authentik" PG_DB_USER="authentik" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db
|
||||||
|
|
||||||
XMLSEC_VERSION="1.3.12"
|
XMLSEC_VERSION="1.3.12"
|
||||||
AUTHENTIK_VERSION="version/2026.8.1"
|
AUTHENTIK_VERSION="version/2026.8.2"
|
||||||
fetch_and_deploy_gh_release "xmlsec" "lsh123/xmlsec" "tarball" "${XMLSEC_VERSION}" "/opt/xmlsec"
|
fetch_and_deploy_gh_release "xmlsec" "lsh123/xmlsec" "tarball" "${XMLSEC_VERSION}" "/opt/xmlsec"
|
||||||
fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik"
|
fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik"
|
||||||
GO_VERSION="$(grep -m1 '^go ' /opt/authentik/go.mod | awk '{print $2}')" setup_go
|
GO_VERSION="$(grep -m1 '^go ' /opt/authentik/go.mod | awk '{print $2}')" setup_go
|
||||||
|
|||||||
125
install/borg-ui-install.sh
Normal file
125
install/borg-ui-install.sh
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
#!/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/karanhudia/borg-ui
|
||||||
|
|
||||||
|
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 \
|
||||||
|
build-essential \
|
||||||
|
python3-dev \
|
||||||
|
pkg-config \
|
||||||
|
libffi-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libacl1-dev \
|
||||||
|
liblz4-dev \
|
||||||
|
libzstd-dev \
|
||||||
|
libxxhash-dev \
|
||||||
|
libfuse3-dev \
|
||||||
|
fuse3 \
|
||||||
|
rsync \
|
||||||
|
sshfs \
|
||||||
|
openssh-client
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
UV_PYTHON="3.12" setup_uv
|
||||||
|
NODE_VERSION="22" setup_nodejs
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "borg-ui" "karanhudia/borg-ui" "tarball"
|
||||||
|
|
||||||
|
# Only the three Borg pins appear in every release of this file; PYTHON_VERSION
|
||||||
|
# and RCLONE_VERSION were added upstream after v2.2.6, so both fall back.
|
||||||
|
RUNTIME_ENV="/opt/borg-ui/docker/runtime-base.env"
|
||||||
|
BORG1_VERSION=$(sed -n 's/^BORG1_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
BORG2_VERSION=$(sed -n 's/^BORG2_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
BORGSTORE_VERSION=$(sed -n 's/^BORGSTORE_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
RCLONE_VERSION=$(sed -n 's/^RCLONE_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
BORG_PYTHON=$(sed -n 's/^PYTHON_VERSION=//p' "$RUNTIME_ENV" 2>/dev/null | tr -d ' \r')
|
||||||
|
BORG_PYTHON="${BORG_PYTHON:-3.12}"
|
||||||
|
if [[ -z "$BORG1_VERSION" || -z "$BORG2_VERSION" || -z "$BORGSTORE_VERSION" ]]; then
|
||||||
|
msg_error "Could not read the pinned Borg versions from ${RUNTIME_ENV}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg_info "Installing Borg ${BORG1_VERSION} and Borg ${BORG2_VERSION} (Patience)"
|
||||||
|
$STD uv venv --python "$BORG_PYTHON" /opt/borg1-venv
|
||||||
|
$STD uv pip install --python /opt/borg1-venv pyfuse3 "borgbackup==${BORG1_VERSION}"
|
||||||
|
echo "$BORG1_VERSION" >/opt/borg1-venv/.pinned_version
|
||||||
|
$STD uv venv --python "$BORG_PYTHON" /opt/borg2-venv
|
||||||
|
$STD uv pip install --python /opt/borg2-venv pyfuse3 "borgbackup==${BORG2_VERSION}" "borgstore[rclone,sftp,rest,s3,blake3]==${BORGSTORE_VERSION}"
|
||||||
|
echo "${BORG2_VERSION}-${BORGSTORE_VERSION}" >/opt/borg2-venv/.pinned_version
|
||||||
|
ln -sf /opt/borg1-venv/bin/borg /usr/local/bin/borg
|
||||||
|
ln -sf /opt/borg2-venv/bin/borg /usr/local/bin/borg2
|
||||||
|
msg_ok "Installed Borg ${BORG1_VERSION} and Borg ${BORG2_VERSION}"
|
||||||
|
|
||||||
|
RCLONE_TAG="${RCLONE_VERSION:+v${RCLONE_VERSION}}"
|
||||||
|
fetch_and_deploy_gh_release "rclone" "rclone/rclone" "prebuild" "${RCLONE_TAG:-latest}" "/opt/rclone" "rclone-${RCLONE_TAG:-*}-linux-$(arch_resolve amd64 arm64).zip"
|
||||||
|
ln -sf /opt/rclone/rclone /usr/local/bin/rclone
|
||||||
|
|
||||||
|
msg_info "Building Frontend"
|
||||||
|
cd /opt/borg-ui/frontend
|
||||||
|
$STD npm ci
|
||||||
|
$STD npm run build
|
||||||
|
mkdir -p /opt/borg-ui/app/static
|
||||||
|
cp -r /opt/borg-ui/frontend/build/* /opt/borg-ui/app/static/
|
||||||
|
msg_ok "Built Frontend"
|
||||||
|
|
||||||
|
msg_info "Setting up Python Environment"
|
||||||
|
cd /opt/borg-ui
|
||||||
|
$STD uv venv --python "$BORG_PYTHON" /opt/borg-ui/.venv
|
||||||
|
$STD uv pip install --python /opt/borg-ui/.venv -r requirements.txt
|
||||||
|
msg_ok "Set up Python Environment"
|
||||||
|
|
||||||
|
msg_info "Configuring Borg-UI"
|
||||||
|
mkdir -p /opt/borg-ui_data
|
||||||
|
BORG_UI_VERSION=$(cat "$HOME/.borg-ui" 2>/dev/null)
|
||||||
|
if [[ -z "$BORG_UI_VERSION" ]]; then
|
||||||
|
msg_error "Could not determine the deployed Borg-UI version"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
cat <<EOF >/opt/borg-ui/.env
|
||||||
|
APP_VERSION=${BORG_UI_VERSION}
|
||||||
|
PORT=8081
|
||||||
|
ENVIRONMENT=production
|
||||||
|
TZ=UTC
|
||||||
|
DATA_DIR=/opt/borg-ui_data
|
||||||
|
ENABLE_CRON_BACKUPS=true
|
||||||
|
ENABLE_STARTUP_LICENSE_SYNC=false
|
||||||
|
EOF
|
||||||
|
chmod 600 /opt/borg-ui/.env
|
||||||
|
msg_ok "Configured Borg-UI"
|
||||||
|
|
||||||
|
msg_info "Creating Service"
|
||||||
|
cat <<EOF >/etc/systemd/system/borg-ui.service
|
||||||
|
[Unit]
|
||||||
|
Description=Borg-UI
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/borg-ui
|
||||||
|
EnvironmentFile=/opt/borg-ui/.env
|
||||||
|
ExecStart=/opt/borg-ui/.venv/bin/gunicorn app.main:app --bind 0.0.0.0:8081 --workers 2 --worker-class uvicorn.workers.UvicornWorker --timeout 300
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now borg-ui
|
||||||
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -32,7 +32,7 @@ msg_info "Installing Calibre (for eBook conversion)"
|
|||||||
$STD apt install -y calibre
|
$STD apt install -y calibre
|
||||||
msg_ok "Installed Calibre"
|
msg_ok "Installed Calibre"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "Calibre-Web" "janeczku/calibre-web" "prebuild" "latest" "/opt/calibre-web" "calibreweb*.tar.gz"
|
fetch_and_deploy_gh_release "calibreweb" "janeczku/calibre-web" "prebuild" "latest" "/opt/calibre-web" "calibreweb*.tar.gz"
|
||||||
setup_uv
|
setup_uv
|
||||||
|
|
||||||
msg_info "Installing Python Dependencies"
|
msg_info "Installing Python Dependencies"
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ mkdir /opt/browserless
|
|||||||
$STD /opt/changedetection/.venv/bin/python -m pip install playwright
|
$STD /opt/changedetection/.venv/bin/python -m pip install playwright
|
||||||
$STD git clone https://github.com/browserless/chrome /opt/browserless
|
$STD git clone https://github.com/browserless/chrome /opt/browserless
|
||||||
$STD npm ci --include=optional --include=dev --prefix /opt/browserless
|
$STD npm ci --include=optional --include=dev --prefix /opt/browserless
|
||||||
|
$STD npm install --save-exact playwright-core@1.62.1 --prefix /opt/browserless
|
||||||
$STD /opt/browserless/node_modules/playwright-core/cli.js install --with-deps &>/dev/null
|
$STD /opt/browserless/node_modules/playwright-core/cli.js install --with-deps &>/dev/null
|
||||||
$STD /opt/browserless/node_modules/playwright-core/cli.js install --force chrome &>/dev/null
|
$STD /opt/browserless/node_modules/playwright-core/cli.js install --force chrome &>/dev/null
|
||||||
$STD /opt/browserless/node_modules/playwright-core/cli.js install chromium firefox webkit &>/dev/null
|
$STD /opt/browserless/node_modules/playwright-core/cli.js install chromium firefox webkit &>/dev/null
|
||||||
|
|||||||
130
install/chatwoot-install.sh
Normal file
130
install/chatwoot-install.sh
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
#!/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://www.chatwoot.com/
|
||||||
|
|
||||||
|
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 \
|
||||||
|
build-essential \
|
||||||
|
git \
|
||||||
|
imagemagick \
|
||||||
|
libpq-dev \
|
||||||
|
libvips42 \
|
||||||
|
pkg-config \
|
||||||
|
redis-server
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
PG_VERSION="17" PG_MODULES="pgvector" setup_postgresql
|
||||||
|
PG_DB_NAME="chatwoot_production" PG_DB_USER="chatwoot" PG_DB_EXTENSIONS="vector,pg_stat_statements" setup_postgresql_db
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "chatwoot" "chatwoot/chatwoot" "tarball"
|
||||||
|
|
||||||
|
RUBY_VERSION=$(tr -d ' \n' </opt/chatwoot/.ruby-version)
|
||||||
|
RUBY_VERSION="${RUBY_VERSION}" RUBY_INSTALL_RAILS="false" setup_ruby
|
||||||
|
NODE_VERSION=$(grep -oP '"node":\s*"\K[0-9]+' /opt/chatwoot/package.json)
|
||||||
|
NODE_VERSION="${NODE_VERSION}" NODE_MODULE="pnpm" setup_nodejs
|
||||||
|
export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH"
|
||||||
|
|
||||||
|
msg_info "Installing Application Dependencies"
|
||||||
|
cd /opt/chatwoot
|
||||||
|
$STD bundle config set --local without 'development test'
|
||||||
|
$STD bundle config set --local deployment 'true'
|
||||||
|
$STD bundle install
|
||||||
|
$STD pnpm install --frozen-lockfile
|
||||||
|
msg_ok "Installed Application Dependencies"
|
||||||
|
|
||||||
|
msg_info "Configuring Chatwoot"
|
||||||
|
SECRET_KEY_BASE=$(openssl rand -hex 64)
|
||||||
|
mkdir -p /opt/chatwoot/storage
|
||||||
|
cat <<EOF >/opt/chatwoot/.env
|
||||||
|
RAILS_ENV=production
|
||||||
|
NODE_ENV=production
|
||||||
|
RAILS_LOG_TO_STDOUT=true
|
||||||
|
SECRET_KEY_BASE=${SECRET_KEY_BASE}
|
||||||
|
FRONTEND_URL=http://${LOCAL_IP}:3000
|
||||||
|
FORCE_SSL=false
|
||||||
|
ENABLE_ACCOUNT_SIGNUP=false
|
||||||
|
|
||||||
|
POSTGRES_HOST=127.0.0.1
|
||||||
|
POSTGRES_PORT=5432
|
||||||
|
POSTGRES_DATABASE=${PG_DB_NAME}
|
||||||
|
POSTGRES_USERNAME=${PG_DB_USER}
|
||||||
|
POSTGRES_PASSWORD=${PG_DB_PASS}
|
||||||
|
REDIS_URL=redis://127.0.0.1:6379
|
||||||
|
|
||||||
|
ACTIVE_STORAGE_SERVICE=local
|
||||||
|
EOF
|
||||||
|
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=$(openssl rand -hex 32)
|
||||||
|
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=$(openssl rand -hex 32)
|
||||||
|
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=$(openssl rand -hex 32)
|
||||||
|
cat <<EOF >>/opt/chatwoot/.env
|
||||||
|
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=${ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY}
|
||||||
|
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=${ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY}
|
||||||
|
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=${ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT}
|
||||||
|
EOF
|
||||||
|
chmod 640 /opt/chatwoot/.env
|
||||||
|
msg_ok "Configured Chatwoot"
|
||||||
|
|
||||||
|
msg_info "Preparing Database"
|
||||||
|
RAILS_ENV=production $STD bundle exec rails db:chatwoot_prepare
|
||||||
|
msg_ok "Prepared Database"
|
||||||
|
|
||||||
|
msg_info "Precompiling Assets"
|
||||||
|
RAILS_ENV=production NODE_OPTIONS="--max-old-space-size=4096" $STD bundle exec rails assets:precompile
|
||||||
|
msg_ok "Precompiled Assets"
|
||||||
|
|
||||||
|
msg_info "Creating Services"
|
||||||
|
cat <<EOF >/etc/systemd/system/chatwoot-web.service
|
||||||
|
[Unit]
|
||||||
|
Description=Chatwoot Web
|
||||||
|
After=network.target postgresql.service redis-server.service
|
||||||
|
Requires=postgresql.service redis-server.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/chatwoot
|
||||||
|
EnvironmentFile=/opt/chatwoot/.env
|
||||||
|
Environment=PATH=/root/.rbenv/shims:/root/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
ExecStart=/root/.rbenv/shims/bundle exec rails server -p 3000 -e production
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
cat <<EOF >/etc/systemd/system/chatwoot-worker.service
|
||||||
|
[Unit]
|
||||||
|
Description=Chatwoot Worker
|
||||||
|
After=network.target postgresql.service redis-server.service
|
||||||
|
Requires=postgresql.service redis-server.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/chatwoot
|
||||||
|
EnvironmentFile=/opt/chatwoot/.env
|
||||||
|
Environment=PATH=/root/.rbenv/shims:/root/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
ExecStart=/root/.rbenv/shims/bundle exec sidekiq -C config/sidekiq.yml
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now chatwoot-web chatwoot-worker redis-server
|
||||||
|
msg_ok "Created Services"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
106
install/chevereto-install.sh
Normal file
106
install/chevereto-install.sh
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
#!/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://chevereto.com/
|
||||||
|
|
||||||
|
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 \
|
||||||
|
nginx \
|
||||||
|
exiftran \
|
||||||
|
libimage-exiftool-perl
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
PHP_VERSION="8.3" PHP_FPM="YES" PHP_UPLOAD_MAX_FILESIZE="512M" PHP_POST_MAX_SIZE="512M" PHP_MAX_EXECUTION_TIME="600" setup_php
|
||||||
|
setup_composer
|
||||||
|
setup_mariadb
|
||||||
|
setup_ffmpeg
|
||||||
|
MARIADB_DB_NAME="chevereto" MARIADB_DB_USER="chevereto" setup_mariadb_db
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "chevereto" "chevereto/chevereto" "tarball"
|
||||||
|
|
||||||
|
msg_info "Installing Chevereto Dependencies"
|
||||||
|
cd /opt/chevereto/app
|
||||||
|
export COMPOSER_ALLOW_SUPERUSER=1
|
||||||
|
$STD composer install --no-dev --prefer-dist --no-interaction --optimize-autoloader
|
||||||
|
msg_ok "Installed Chevereto Dependencies"
|
||||||
|
|
||||||
|
msg_info "Configuring Chevereto"
|
||||||
|
cat <<EOF >/opt/chevereto/app/env.php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'CHEVERETO_DB_HOST' => 'localhost',
|
||||||
|
'CHEVERETO_DB_PORT' => '3306',
|
||||||
|
'CHEVERETO_DB_NAME' => '${MARIADB_DB_NAME}',
|
||||||
|
'CHEVERETO_DB_USER' => '${MARIADB_DB_USER}',
|
||||||
|
'CHEVERETO_DB_PASS' => '${MARIADB_DB_PASS}',
|
||||||
|
'CHEVERETO_DB_TABLE_PREFIX' => 'chv_',
|
||||||
|
'CHEVERETO_HOSTNAME' => '${LOCAL_IP}',
|
||||||
|
];
|
||||||
|
EOF
|
||||||
|
chown -R www-data:www-data /opt/chevereto
|
||||||
|
chmod -R 775 /opt/chevereto/images /opt/chevereto/content
|
||||||
|
msg_ok "Configured Chevereto"
|
||||||
|
|
||||||
|
msg_info "Configuring Nginx"
|
||||||
|
cat <<'EOF' >/etc/nginx/sites-available/chevereto
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name _;
|
||||||
|
root /opt/chevereto;
|
||||||
|
index index.php;
|
||||||
|
|
||||||
|
charset utf-8;
|
||||||
|
client_max_body_size 512M;
|
||||||
|
|
||||||
|
add_header X-Frame-Options "SAMEORIGIN";
|
||||||
|
add_header X-Content-Type-Options "nosniff";
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.php$is_args$args;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
|
location = /robots.txt { access_log off; log_not_found off; }
|
||||||
|
|
||||||
|
location ~* ^/images/.+\.(gif|jpe?g|png|bmp|webp)$ {
|
||||||
|
try_files $uri =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /index.php {
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_pass unix:__PHP_FPM_SOCK__;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
|
||||||
|
fastcgi_read_timeout 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.php$ {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ^~ /app/ {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ /\.(?!well-known).* {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
sed -i "s|__PHP_FPM_SOCK__|$(get_php_fpm_socket)|" /etc/nginx/sites-available/chevereto
|
||||||
|
nginx_enable_site chevereto
|
||||||
|
msg_ok "Configured Nginx"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
47
install/decypharr-install.sh
Normal file
47
install/decypharr-install.sh
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
#!/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/sirrobot01/decypharr
|
||||||
|
|
||||||
|
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 fuse3
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "decypharr" "sirrobot01/decypharr" "prebuild" "latest" "/opt/decypharr" "decypharr_Linux_$(arch_resolve x86_64 arm64).tar.gz"
|
||||||
|
chmod +x /opt/decypharr/decypharr
|
||||||
|
|
||||||
|
msg_info "Creating Service"
|
||||||
|
mkdir -p /opt/decypharr_data
|
||||||
|
cat <<EOF >/etc/systemd/system/decypharr.service
|
||||||
|
[Unit]
|
||||||
|
Description=Decypharr
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/decypharr
|
||||||
|
ExecStart=/opt/decypharr/decypharr --config /opt/decypharr_data
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now decypharr
|
||||||
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -25,7 +25,13 @@ $STD apt install -y \
|
|||||||
procps \
|
procps \
|
||||||
vlc-bin \
|
vlc-bin \
|
||||||
vlc-plugin-base \
|
vlc-plugin-base \
|
||||||
streamlink
|
streamlink \
|
||||||
|
autoconf \
|
||||||
|
libtool \
|
||||||
|
libargtable2-dev \
|
||||||
|
libavformat-dev \
|
||||||
|
libsdl2-dev \
|
||||||
|
libswscale-dev
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
setup_uv
|
setup_uv
|
||||||
@@ -33,6 +39,15 @@ NODE_VERSION="24" setup_nodejs
|
|||||||
PG_VERSION="16" setup_postgresql
|
PG_VERSION="16" setup_postgresql
|
||||||
PG_DB_NAME="dispatcharr_db" PG_DB_USER="dispatcharr_usr" setup_postgresql_db
|
PG_DB_NAME="dispatcharr_db" PG_DB_USER="dispatcharr_usr" setup_postgresql_db
|
||||||
fetch_and_deploy_gh_release "dispatcharr" "Dispatcharr/Dispatcharr" "tarball"
|
fetch_and_deploy_gh_release "dispatcharr" "Dispatcharr/Dispatcharr" "tarball"
|
||||||
|
fetch_and_deploy_gh_release "Comskip" "erikkaashoek/Comskip" "tarball"
|
||||||
|
|
||||||
|
msg_info "Compiling Comskip"
|
||||||
|
cd /opt/Comskip
|
||||||
|
$STD ./autogen.sh
|
||||||
|
$STD ./configure
|
||||||
|
$STD make
|
||||||
|
$STD make install
|
||||||
|
msg_ok "Compiled and Installed Comskip"
|
||||||
|
|
||||||
msg_info "Installing Python Dependencies with uv"
|
msg_info "Installing Python Dependencies with uv"
|
||||||
cd /opt/dispatcharr
|
cd /opt/dispatcharr
|
||||||
|
|||||||
70
install/elasticsearch-install.sh
Normal file
70
install/elasticsearch-install.sh
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
#!/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://www.elastic.co/elasticsearch
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
# vm.max_map_count is not namespaced, so a container cannot raise it - the value
|
||||||
|
# is inherited from the Proxmox host. Elasticsearch refuses to start below the
|
||||||
|
# required limit once it binds to a non-loopback address (production mode).
|
||||||
|
msg_info "Checking Kernel Limits"
|
||||||
|
if (($(sysctl -n vm.max_map_count) < 262144)); then
|
||||||
|
msg_error "vm.max_map_count is $(sysctl -n vm.max_map_count), Elasticsearch needs at least 262144"
|
||||||
|
msg_error "Set it on the PROXMOX HOST, not in this container:"
|
||||||
|
msg_error " echo 'vm.max_map_count=1048576' >/etc/sysctl.d/99-elasticsearch.conf && sysctl --system"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
msg_ok "Checked Kernel Limits"
|
||||||
|
|
||||||
|
JAVA_VERSION="21" setup_java
|
||||||
|
|
||||||
|
setup_deb822_repo \
|
||||||
|
"elasticsearch" \
|
||||||
|
"https://artifacts.elastic.co/GPG-KEY-elasticsearch" \
|
||||||
|
"https://artifacts.elastic.co/packages/9.x/apt" \
|
||||||
|
"stable" \
|
||||||
|
"main"
|
||||||
|
|
||||||
|
msg_info "Installing Elasticsearch"
|
||||||
|
$STD apt install -y elasticsearch
|
||||||
|
msg_ok "Installed Elasticsearch"
|
||||||
|
|
||||||
|
msg_info "Configuring Elasticsearch"
|
||||||
|
mkdir -p /opt/elasticsearch_data
|
||||||
|
chown -R elasticsearch:elasticsearch /opt/elasticsearch_data
|
||||||
|
cat <<EOF >/etc/elasticsearch/elasticsearch.yml
|
||||||
|
cluster.name: proxmox
|
||||||
|
node.name: ${HOSTNAME}
|
||||||
|
path.data: /opt/elasticsearch_data
|
||||||
|
path.logs: /var/log/elasticsearch
|
||||||
|
|
||||||
|
network.host: 0.0.0.0
|
||||||
|
http.port: 9200
|
||||||
|
discovery.type: single-node
|
||||||
|
|
||||||
|
xpack.security.enabled: true
|
||||||
|
xpack.security.enrollment.enabled: true
|
||||||
|
xpack.security.http.ssl.enabled: false
|
||||||
|
xpack.security.transport.ssl.enabled: false
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat <<EOF >/etc/elasticsearch/jvm.options.d/heap.options
|
||||||
|
-Xms1g
|
||||||
|
-Xmx1g
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now elasticsearch
|
||||||
|
msg_ok "Configured Elasticsearch"
|
||||||
|
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -14,17 +14,14 @@ network_check
|
|||||||
update_os
|
update_os
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "flatnotes" "dullage/flatnotes" "tarball"
|
fetch_and_deploy_gh_release "flatnotes" "dullage/flatnotes" "tarball"
|
||||||
USE_UVX="YES" setup_uv
|
PYTHON_VERSION="3.13" setup_uv
|
||||||
NODE_VERSION="22" setup_nodejs
|
NODE_VERSION="24" setup_nodejs
|
||||||
|
|
||||||
msg_info "Setting up Flatnotes"
|
msg_info "Setting up Flatnotes"
|
||||||
cd /opt/flatnotes
|
cd /opt/flatnotes
|
||||||
sed -i 's/^name = ""$/name = "flatnotes"/' pyproject.toml
|
$STD uv sync --locked --no-dev
|
||||||
$STD /usr/local/bin/uvx migrate-to-uv
|
|
||||||
$STD /usr/local/bin/uv sync
|
|
||||||
mkdir -p /opt/flatnotes/data
|
mkdir -p /opt/flatnotes/data
|
||||||
cd /opt/flatnotes/client
|
$STD npm ci
|
||||||
$STD npm install
|
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
|
|
||||||
cat <<EOF >/opt/flatnotes/.env
|
cat <<EOF >/opt/flatnotes/.env
|
||||||
|
|||||||
96
install/gotenberg-install.sh
Normal file
96
install/gotenberg-install.sh
Normal file
@@ -0,0 +1,96 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
|
# Author: CrazyWolf13
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/gotenberg/gotenberg
|
||||||
|
|
||||||
|
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 \
|
||||||
|
chromium \
|
||||||
|
libreoffice-writer \
|
||||||
|
libreoffice-calc \
|
||||||
|
libreoffice-impress \
|
||||||
|
libreoffice-draw \
|
||||||
|
libreoffice-math \
|
||||||
|
python3-uno \
|
||||||
|
python-is-python3 \
|
||||||
|
pdftk-java \
|
||||||
|
qpdf \
|
||||||
|
libimage-exiftool-perl \
|
||||||
|
fonts-crosextra-carlito \
|
||||||
|
fonts-crosextra-caladea \
|
||||||
|
fonts-liberation \
|
||||||
|
fonts-liberation2 \
|
||||||
|
fonts-dejavu \
|
||||||
|
fonts-noto-cjk \
|
||||||
|
fonts-noto-color-emoji \
|
||||||
|
fonts-noto-core
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "pdfcpu" "pdfcpu/pdfcpu" "prebuild" "latest" "/opt/pdfcpu" "pdfcpu_*_Linux_$(arch_resolve "x86_64" "arm64").tar.xz"
|
||||||
|
ln -sf "$(find /opt/pdfcpu -type f -name pdfcpu | head -n1)" /usr/local/bin/pdfcpu
|
||||||
|
|
||||||
|
msg_info "Installing unoconverter"
|
||||||
|
UNOCONVERTER_VERSION=$(get_latest_github_release "gotenberg/unoconverter" "false")
|
||||||
|
download_file "https://raw.githubusercontent.com/gotenberg/unoconverter/${UNOCONVERTER_VERSION}/unoconv" /usr/local/bin/unoconverter
|
||||||
|
chmod +x /usr/local/bin/unoconverter
|
||||||
|
msg_ok "Installed unoconverter"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "gotenberg" "gotenberg/gotenberg" "tarball" "latest" "/opt/gotenberg"
|
||||||
|
|
||||||
|
GO_VERSION="$(awk '$1=="go"{print $2}' /opt/gotenberg/go.mod | cut -d. -f1,2)" setup_go
|
||||||
|
|
||||||
|
msg_info "Building Gotenberg (Patience)"
|
||||||
|
cd /opt/gotenberg
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
$STD go mod download
|
||||||
|
$STD go build -o /usr/local/bin/gotenberg \
|
||||||
|
-ldflags "-s -w -X 'github.com/gotenberg/gotenberg/v8/cmd.Version=$(cat ~/.gotenberg)'" \
|
||||||
|
cmd/gotenberg/main.go
|
||||||
|
msg_ok "Built Gotenberg"
|
||||||
|
|
||||||
|
msg_info "Creating Service"
|
||||||
|
cat <<EOF >/etc/systemd/system/gotenberg.service
|
||||||
|
[Unit]
|
||||||
|
Description=Gotenberg
|
||||||
|
Documentation=https://gotenberg.dev
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
Environment=LANG=C.UTF-8
|
||||||
|
Environment=LC_ALL=C.UTF-8
|
||||||
|
Environment=PDFTK_BIN_PATH=/usr/bin/pdftk
|
||||||
|
Environment=QPDF_BIN_PATH=/usr/bin/qpdf
|
||||||
|
Environment=EXIFTOOL_BIN_PATH=/usr/bin/exiftool
|
||||||
|
Environment=PDFCPU_BIN_PATH=/usr/local/bin/pdfcpu
|
||||||
|
Environment=CHROMIUM_BIN_PATH=/usr/bin/chromium
|
||||||
|
Environment=CHROMIUM_HYPHEN_DATA_DIR_PATH=/opt/gotenberg/build/chromium-hyphen-data
|
||||||
|
Environment=LIBREOFFICE_BIN_PATH=/usr/lib/libreoffice/program/soffice.bin
|
||||||
|
Environment=UNOCONVERTER_BIN_PATH=/usr/local/bin/unoconverter
|
||||||
|
Environment=OTEL_TRACES_EXPORTER=none
|
||||||
|
Environment=OTEL_METRICS_EXPORTER=none
|
||||||
|
Environment=OTEL_LOGS_EXPORTER=none
|
||||||
|
ExecStart=/usr/local/bin/gotenberg --api-port=3000
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now gotenberg
|
||||||
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
100
install/hammer-install.sh
Normal file
100
install/hammer-install.sh
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
#!/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/Darkrock-Studios/hammer-editor
|
||||||
|
|
||||||
|
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 \
|
||||||
|
unzip \
|
||||||
|
fontconfig \
|
||||||
|
libfreetype6
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
JAVA_VERSION="21" setup_java
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "hammer" "Darkrock-Studios/hammer-editor" "prebuild" "latest" "/opt/hammer" "server.zip"
|
||||||
|
|
||||||
|
msg_info "Configuring Hammer Sync Server"
|
||||||
|
chmod +x /opt/hammer/bin/server
|
||||||
|
mkdir -p /opt/hammer_data
|
||||||
|
cat <<EOF >/opt/hammer_data/config.toml
|
||||||
|
# Hammer Sync Server configuration
|
||||||
|
# Reference: https://github.com/Darkrock-Studios/hammer-editor/blob/develop/docs/HOW-TO-RUN-A-SERVER.md
|
||||||
|
# Loaded automatically from the data directory. Apply changes with:
|
||||||
|
# systemctl restart hammer
|
||||||
|
|
||||||
|
host = "${LOCAL_IP}"
|
||||||
|
port = 8080
|
||||||
|
|
||||||
|
# Hammer clients speak https only and will not connect to plain HTTP. Either put
|
||||||
|
# a TLS reverse proxy in front of this port, or let Hammer terminate TLS itself
|
||||||
|
# with a real certificate (self-signed certs are rejected by the clients).
|
||||||
|
#
|
||||||
|
# Behind a reverse proxy on this host, restrict the plain port to loopback and
|
||||||
|
# set the URL the clients actually use:
|
||||||
|
# bindHosts = ["127.0.0.1", "::1"]
|
||||||
|
# publicUrl = "https://hammer.example.com"
|
||||||
|
#
|
||||||
|
# Hammer terminating TLS itself:
|
||||||
|
# sslPort = 443
|
||||||
|
# [sslCert]
|
||||||
|
# certChainPath = "/etc/letsencrypt/live/hammer.example.com/fullchain.pem"
|
||||||
|
# privateKeyPath = "/etc/letsencrypt/live/hammer.example.com/privkey.pem"
|
||||||
|
# forceHttps = true
|
||||||
|
|
||||||
|
# Per-page social share images. fontconfig and libfreetype6 are already installed.
|
||||||
|
# richLinkPreviews = true
|
||||||
|
|
||||||
|
# communityEnabled = true
|
||||||
|
|
||||||
|
# Storage defaults to an in-process PostgreSQL under /opt/hammer_data/pgdata.
|
||||||
|
# To use an external PostgreSQL instead:
|
||||||
|
# [storage]
|
||||||
|
# type = "remote"
|
||||||
|
# [storage.remote]
|
||||||
|
# host = "db.example.com"
|
||||||
|
# port = 5432
|
||||||
|
# database = "hammer"
|
||||||
|
# user = "hammer"
|
||||||
|
# password = "change-me"
|
||||||
|
# useSsl = true
|
||||||
|
|
||||||
|
# Regenerable render/preview caches, default <data dir>/cache.
|
||||||
|
# [cache]
|
||||||
|
# directory = "/var/tmp/hammer-cache"
|
||||||
|
# maxSizeMb = 200
|
||||||
|
EOF
|
||||||
|
cat <<EOF >/etc/systemd/system/hammer.service
|
||||||
|
[Unit]
|
||||||
|
Description=Hammer Sync Server
|
||||||
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/hammer
|
||||||
|
Environment=SERVER_OPTS=-Duser.home=/opt
|
||||||
|
ExecStart=/opt/hammer/bin/server
|
||||||
|
Restart=always
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now hammer
|
||||||
|
msg_ok "Configured Hammer Sync Server"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -64,7 +64,7 @@ RestartSec=1
|
|||||||
User=root
|
User=root
|
||||||
WorkingDirectory=/opt/homepage/
|
WorkingDirectory=/opt/homepage/
|
||||||
Environment=CI=true
|
Environment=CI=true
|
||||||
ExecStart=pnpm start
|
ExecStart=/opt/homepage/node_modules/.bin/next start
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ ML_DIR="${APP_DIR}/machine-learning"
|
|||||||
GEO_DIR="${INSTALL_DIR}/geodata"
|
GEO_DIR="${INSTALL_DIR}/geodata"
|
||||||
mkdir -p {"${APP_DIR}","${UPLOAD_DIR}","${GEO_DIR}","${INSTALL_DIR}"/cache}
|
mkdir -p {"${APP_DIR}","${UPLOAD_DIR}","${GEO_DIR}","${INSTALL_DIR}"/cache}
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "Immich" "immich-app/immich" "tarball" "v3.1.0" "$SRC_DIR"
|
fetch_and_deploy_gh_release "Immich" "immich-app/immich" "tarball" "v3.2.1" "$SRC_DIR"
|
||||||
PNPM_VERSION="$(jq -r '.packageManager | split("@")[1] | split("+")[0]' ${SRC_DIR}/package.json)"
|
PNPM_VERSION="$(jq -r '.packageManager | split("@")[1] | split("+")[0]' ${SRC_DIR}/package.json)"
|
||||||
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||||
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
|
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
|
||||||
@@ -370,11 +370,10 @@ export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
|||||||
export CI=1
|
export CI=1
|
||||||
|
|
||||||
# server build
|
# server build
|
||||||
export SHARP_IGNORE_GLOBAL_LIBVIPS=true
|
|
||||||
$STD pnpm --filter @immich/sdk --filter @immich/plugin-sdk --filter immich build
|
$STD pnpm --filter @immich/sdk --filter @immich/plugin-sdk --filter immich build
|
||||||
unset SHARP_IGNORE_GLOBAL_LIBVIPS
|
|
||||||
export SHARP_FORCE_GLOBAL_LIBVIPS=true
|
|
||||||
$STD pnpm --filter immich --prod --no-optional deploy "$APP_DIR"
|
$STD pnpm --filter immich --prod --no-optional deploy "$APP_DIR"
|
||||||
|
export SHARP_FORCE_GLOBAL_LIBVIPS=true
|
||||||
|
$STD pnpm --dir "$APP_DIR/node_modules/sharp" exec npm run build
|
||||||
|
|
||||||
# Patch helmet.json: disable upgrade-insecure-requests for HTTP access
|
# Patch helmet.json: disable upgrade-insecure-requests for HTTP access
|
||||||
if [[ -f "$APP_DIR/helmet.json" ]]; then
|
if [[ -f "$APP_DIR/helmet.json" ]]; then
|
||||||
@@ -388,7 +387,6 @@ sed -i "s|^start|${APP_DIR}/bin/start|" "$APP_DIR"/bin/immich-admin
|
|||||||
cd "$SRC_DIR"
|
cd "$SRC_DIR"
|
||||||
echo "packageImportMethod: hardlink" >>./pnpm-workspace.yaml
|
echo "packageImportMethod: hardlink" >>./pnpm-workspace.yaml
|
||||||
unset SHARP_FORCE_GLOBAL_LIBVIPS
|
unset SHARP_FORCE_GLOBAL_LIBVIPS
|
||||||
export SHARP_IGNORE_GLOBAL_LIBVIPS=true
|
|
||||||
$STD pnpm --filter @immich/sdk --filter immich-web --filter @immich/cli build
|
$STD pnpm --filter @immich/sdk --filter immich-web --filter @immich/cli build
|
||||||
$STD pnpm --filter @immich/cli --prod --no-optional deploy "$APP_DIR"/cli
|
$STD pnpm --filter @immich/cli --prod --no-optional deploy "$APP_DIR"/cli
|
||||||
cp -a web/build "$APP_DIR"/www
|
cp -a web/build "$APP_DIR"/www
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
|||||||
exit 10
|
exit 10
|
||||||
fi
|
fi
|
||||||
|
|
||||||
NODE_VERSION="24" setup_nodejs
|
NODE_VERSION="24" NPM_VERSION="11" setup_nodejs
|
||||||
|
|
||||||
msg_info "Installing ioBroker (Patience)"
|
msg_info "Installing ioBroker (Patience)"
|
||||||
$STD bash <(curl -fsSL https://iobroker.net/install.sh)
|
$STD bash <(curl -fsSL https://iobroker.net/install.sh)
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ setup_deb822_repo \
|
|||||||
msg_ok "Set up Jellyfin Repository"
|
msg_ok "Set up Jellyfin Repository"
|
||||||
|
|
||||||
msg_info "Installing Jellyfin"
|
msg_info "Installing Jellyfin"
|
||||||
ensure_dependencies jellyfin jellyfin-ffmpeg7
|
ensure_dependencies jellyfin jellyfin-ffmpeg8
|
||||||
ln -sf /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg
|
ln -sf /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/bin/ffmpeg
|
||||||
ln -sf /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe
|
ln -sf /usr/lib/jellyfin-ffmpeg/ffprobe /usr/bin/ffprobe
|
||||||
msg_ok "Installed Jellyfin"
|
msg_ok "Installed Jellyfin"
|
||||||
|
|||||||
@@ -13,6 +13,29 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
|
# Optional public setup. Leave the hostname empty for a LAN-only install
|
||||||
|
# (container IP, self-signed certificate) - the previous default behaviour.
|
||||||
|
if [[ -z "${var_jitsi_domain:-}" ]]; then
|
||||||
|
read -rp "${TAB3}Public hostname (FQDN, leave empty to use the container IP): " var_jitsi_domain || true
|
||||||
|
fi
|
||||||
|
var_jitsi_domain="${var_jitsi_domain:-$LOCAL_IP}"
|
||||||
|
|
||||||
|
if [[ "$var_jitsi_domain" != "$LOCAL_IP" ]]; then
|
||||||
|
if [[ -z "${var_jitsi_le_email:-}" ]]; then
|
||||||
|
read -rp "${TAB3}E-mail for Let's Encrypt (leave empty for a self-signed certificate): " var_jitsi_le_email || true
|
||||||
|
fi
|
||||||
|
if [[ -z "${var_jitsi_public_ip:-}" ]]; then
|
||||||
|
read -rp "${TAB3}Public IP behind NAT (leave empty to detect via STUN): " var_jitsi_public_ip || true
|
||||||
|
fi
|
||||||
|
if [[ -z "${var_jitsi_admin_user:-}" ]]; then
|
||||||
|
read -rp "${TAB3}Admin user for secure domain (leave empty to let anyone create rooms): " var_jitsi_admin_user || true
|
||||||
|
fi
|
||||||
|
if [[ -n "${var_jitsi_admin_user:-}" && -z "${var_jitsi_admin_pass:-}" ]]; then
|
||||||
|
read -rsp "${TAB3}Admin password (leave empty to generate): " var_jitsi_admin_pass || true
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt install -y nginx
|
$STD apt install -y nginx
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
@@ -25,11 +48,72 @@ setup_deb822_repo "jitsi" \
|
|||||||
""
|
""
|
||||||
|
|
||||||
msg_info "Installing Jitsi Meet"
|
msg_info "Installing Jitsi Meet"
|
||||||
echo "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string ${LOCAL_IP}" | debconf-set-selections
|
echo "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string ${var_jitsi_domain}" | debconf-set-selections
|
||||||
echo "jitsi-meet-web-config jitsi-meet/cert-choice select Generate a new self-signed certificate" | debconf-set-selections
|
if [[ -n "${var_jitsi_le_email:-}" ]]; then
|
||||||
|
# acme.sh (used by the packaged Let's Encrypt helper) refuses to install without cron
|
||||||
|
$STD apt install -y cron
|
||||||
|
echo "jitsi-meet-web-config jitsi-meet/cert-choice select Let's Encrypt certificates" | debconf-set-selections
|
||||||
|
echo "jitsi-meet-web-config jitsi-meet/email string ${var_jitsi_le_email}" | debconf-set-selections
|
||||||
|
else
|
||||||
|
echo "jitsi-meet-web-config jitsi-meet/cert-choice select Generate a new self-signed certificate" | debconf-set-selections
|
||||||
|
fi
|
||||||
|
echo "jitsi-meet-web-config jitsi-meet/jaas-choice boolean false" | debconf-set-selections
|
||||||
DEBIAN_FRONTEND=noninteractive $STD apt install -y jitsi-meet
|
DEBIAN_FRONTEND=noninteractive $STD apt install -y jitsi-meet
|
||||||
msg_ok "Installed Jitsi Meet"
|
msg_ok "Installed Jitsi Meet"
|
||||||
|
|
||||||
|
if [[ -n "${var_jitsi_public_ip:-}" ]]; then
|
||||||
|
msg_info "Configuring NAT mapping"
|
||||||
|
# JVB 2.3+ reads this from jvb.conf; sip-communicator.properties is no longer used
|
||||||
|
cat <<EOF >>/etc/jitsi/videobridge/jvb.conf
|
||||||
|
ice4j {
|
||||||
|
harvest {
|
||||||
|
mapping {
|
||||||
|
static-mappings = [
|
||||||
|
{ local-address = "${LOCAL_IP}", public-address = "${var_jitsi_public_ip}" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
systemctl restart jitsi-videobridge2
|
||||||
|
msg_ok "Configured NAT mapping"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${var_jitsi_admin_user:-}" ]]; then
|
||||||
|
msg_info "Configuring Secure Domain"
|
||||||
|
# Only authenticated users may create rooms; guests join via the anonymous domain.
|
||||||
|
# https://jitsi.github.io/handbook/docs/devops-guide/secure-domain/
|
||||||
|
var_jitsi_admin_pass="${var_jitsi_admin_pass:-$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-16)}"
|
||||||
|
sed -i "0,/authentication = \"jitsi-anonymous\"/s//authentication = \"internal_hashed\"/" \
|
||||||
|
"/etc/prosody/conf.avail/${var_jitsi_domain}.cfg.lua"
|
||||||
|
cat <<EOF >>"/etc/prosody/conf.avail/${var_jitsi_domain}.cfg.lua"
|
||||||
|
|
||||||
|
VirtualHost "guest.${var_jitsi_domain}"
|
||||||
|
authentication = "anonymous"
|
||||||
|
c2s_require_encryption = false
|
||||||
|
EOF
|
||||||
|
cat <<EOF >>/etc/jitsi/jicofo/jicofo.conf
|
||||||
|
jicofo {
|
||||||
|
authentication {
|
||||||
|
enabled = true
|
||||||
|
type = XMPP
|
||||||
|
login-url = "${var_jitsi_domain}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
sed -i "s|^\s*// anonymousdomain: 'guest.example.com',| anonymousdomain: 'guest.${var_jitsi_domain}',|" \
|
||||||
|
"/etc/jitsi/meet/${var_jitsi_domain}-config.js"
|
||||||
|
$STD prosodyctl register "${var_jitsi_admin_user}" "${var_jitsi_domain}" "${var_jitsi_admin_pass}"
|
||||||
|
cat <<EOF >~/jitsi-meet.creds
|
||||||
|
Jitsi Meet Secure Domain
|
||||||
|
Admin User: ${var_jitsi_admin_user}
|
||||||
|
Admin Password: ${var_jitsi_admin_pass}
|
||||||
|
Add more users: prosodyctl register <name> ${var_jitsi_domain} <password>
|
||||||
|
EOF
|
||||||
|
systemctl restart prosody jicofo jitsi-videobridge2
|
||||||
|
msg_ok "Configured Secure Domain"
|
||||||
|
fi
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
cleanup_lxc
|
cleanup_lxc
|
||||||
|
|||||||
131
install/journiv-install.sh
Normal file
131
install/journiv-install.sh
Normal file
@@ -0,0 +1,131 @@
|
|||||||
|
#!/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/journiv/journiv-app
|
||||||
|
|
||||||
|
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 \
|
||||||
|
build-essential \
|
||||||
|
libffi-dev \
|
||||||
|
libpq-dev \
|
||||||
|
libmagic1 \
|
||||||
|
libheif1 \
|
||||||
|
libde265-0 \
|
||||||
|
libpango-1.0-0 \
|
||||||
|
libpangoft2-1.0-0 \
|
||||||
|
redis-server
|
||||||
|
systemctl enable -q --now redis-server
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
setup_ffmpeg
|
||||||
|
PG_VERSION="17" setup_postgresql
|
||||||
|
PG_DB_NAME="journiv" PG_DB_USER="journiv" setup_postgresql_db
|
||||||
|
UV_PYTHON="3.12" setup_uv
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "journiv" "journiv/journiv-app" "tarball"
|
||||||
|
|
||||||
|
msg_info "Setting up Python Environment"
|
||||||
|
cd /opt/journiv
|
||||||
|
$STD uv sync --locked --no-editable --no-install-project
|
||||||
|
msg_ok "Set up Python Environment"
|
||||||
|
|
||||||
|
msg_info "Configuring Journiv"
|
||||||
|
mkdir -p /opt/journiv_data/{media,logs,exports,imports/temp}
|
||||||
|
cat <<EOF >/opt/journiv.env
|
||||||
|
ENVIRONMENT=production
|
||||||
|
SECRET_KEY=$(openssl rand -hex 32)
|
||||||
|
DB_DRIVER=postgres
|
||||||
|
DATABASE_URL=postgresql://journiv:${PG_DB_PASS}@localhost:5432/journiv
|
||||||
|
REDIS_URL=redis://127.0.0.1:6379/0
|
||||||
|
MEDIA_ROOT=/opt/journiv_data/media
|
||||||
|
LOG_DIR=/opt/journiv_data/logs
|
||||||
|
EXPORT_DIR=/opt/journiv_data/exports
|
||||||
|
IMPORT_TEMP_DIR=/opt/journiv_data/imports/temp
|
||||||
|
DOMAIN_NAME=${LOCAL_IP}
|
||||||
|
DOMAIN_SCHEME=http
|
||||||
|
PYTHONPATH=/opt/journiv
|
||||||
|
EOF
|
||||||
|
chmod 600 /opt/journiv.env
|
||||||
|
msg_ok "Configured Journiv"
|
||||||
|
|
||||||
|
msg_info "Initializing Database"
|
||||||
|
set -a
|
||||||
|
source /opt/journiv.env
|
||||||
|
set +a
|
||||||
|
$STD /opt/journiv/.venv/bin/python -c "from alembic.config import main; main(['upgrade', 'head'])"
|
||||||
|
SKIP_DATA_SEEDING=false $STD /opt/journiv/.venv/bin/python -c "from app.core.database import seed_initial_data; seed_initial_data()"
|
||||||
|
msg_ok "Initialized Database"
|
||||||
|
|
||||||
|
msg_info "Creating Services"
|
||||||
|
cat <<EOF >/etc/systemd/system/journiv.service
|
||||||
|
[Unit]
|
||||||
|
Description=Journiv
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target postgresql.service redis-server.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/journiv
|
||||||
|
EnvironmentFile=/opt/journiv.env
|
||||||
|
ExecStart=/opt/journiv/.venv/bin/python -m gunicorn app.main:app -w 2 -k uvicorn.workers.UvicornWorker --timeout 300 -b 0.0.0.0:8000
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat <<EOF >/etc/systemd/system/journiv-worker.service
|
||||||
|
[Unit]
|
||||||
|
Description=Journiv Celery Worker
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target journiv.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/journiv
|
||||||
|
EnvironmentFile=/opt/journiv.env
|
||||||
|
ExecStart=/opt/journiv/.venv/bin/python -m celery -A app.core.celery_app worker --loglevel=info
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat <<EOF >/etc/systemd/system/journiv-beat.service
|
||||||
|
[Unit]
|
||||||
|
Description=Journiv Celery Beat
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target journiv.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/journiv
|
||||||
|
EnvironmentFile=/opt/journiv.env
|
||||||
|
ExecStart=/opt/journiv/.venv/bin/python -m celery -A app.core.celery_app beat --loglevel=info --scheduler redbeat.RedBeatScheduler --pidfile=/run/journiv-beat.pid
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now journiv journiv-worker journiv-beat
|
||||||
|
msg_ok "Created Services"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -22,7 +22,7 @@ PG_DB_NAME="kaneo" PG_DB_USER="kaneo" setup_postgresql_db
|
|||||||
fetch_and_deploy_gh_release "kaneo" "usekaneo/kaneo" "tarball"
|
fetch_and_deploy_gh_release "kaneo" "usekaneo/kaneo" "tarball"
|
||||||
|
|
||||||
PNPM_VERSION=$(sed -n 's/.*"packageManager": "pnpm@\([^"+]*\).*/\1/p' /opt/kaneo/package.json)
|
PNPM_VERSION=$(sed -n 's/.*"packageManager": "pnpm@\([^"+]*\).*/\1/p' /opt/kaneo/package.json)
|
||||||
NODE_VERSION="22" NODE_MODULE="pnpm@${PNPM_VERSION:-10.32.1}" setup_nodejs
|
NODE_VERSION="24" NODE_MODULE="pnpm@${PNPM_VERSION:-10.32.1}" setup_nodejs
|
||||||
|
|
||||||
msg_info "Configuring Kaneo"
|
msg_info "Configuring Kaneo"
|
||||||
cat <<EOF >/opt/kaneo/.env
|
cat <<EOF >/opt/kaneo/.env
|
||||||
|
|||||||
47
install/lemonade-server-install.sh
Normal file
47
install/lemonade-server-install.sh
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
|
# Author: Jamie (jamiej)
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://github.com/lemonade-sdk/lemonade
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
setup_deb822_repo \
|
||||||
|
"backports" \
|
||||||
|
"https://ftp-master.debian.org/keys/archive-key-13.asc" \
|
||||||
|
"http://deb.debian.org/debian" \
|
||||||
|
"trixie-backports" \
|
||||||
|
"main"
|
||||||
|
|
||||||
|
msg_info "Installing Lemonade Server dependencies"
|
||||||
|
$STD apt install -y \
|
||||||
|
fonts-katex \
|
||||||
|
libcpp-httplib0.41 \
|
||||||
|
libmbedcrypto16 \
|
||||||
|
libwebsockets19t64
|
||||||
|
msg_ok "Installed Lemonade Server dependencies"
|
||||||
|
|
||||||
|
setup_hwaccel
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "lemonade-server" "lemonade-sdk/lemonade" "binary" "latest" "/tmp" "lemonade-server_*-debian13_$(arch_resolve).deb"
|
||||||
|
|
||||||
|
msg_info "Configuring Remote Access"
|
||||||
|
systemctl enable -q --now lemond
|
||||||
|
for _ in $(seq 1 60); do
|
||||||
|
lemonade status >/dev/null 2>&1 && break
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
$STD lemonade config set host=0.0.0.0
|
||||||
|
systemctl restart lemond
|
||||||
|
msg_ok "Configured Remote Access"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
83
install/lingarr-install.sh
Normal file
83
install/lingarr-install.sh
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
#!/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/lingarr-translate/lingarr
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
PG_VERSION="17" setup_postgresql
|
||||||
|
PG_DB_NAME="lingarr" PG_DB_USER="lingarr" setup_postgresql_db
|
||||||
|
NODE_VERSION="24" setup_nodejs
|
||||||
|
|
||||||
|
DOTNET_VERSION="10" DOTNET_TYPE="sdk" setup_dotnet
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "lingarr" "lingarr-translate/lingarr" "tarball"
|
||||||
|
|
||||||
|
msg_info "Building Lingarr (Patience)"
|
||||||
|
cd /opt/lingarr/Lingarr.Client
|
||||||
|
$STD npm ci
|
||||||
|
$STD npm run build
|
||||||
|
mkdir -p /opt/lingarr/Lingarr.Server/wwwroot
|
||||||
|
cp -r /opt/lingarr/Lingarr.Client/dist/* /opt/lingarr/Lingarr.Server/wwwroot/
|
||||||
|
cd /opt/lingarr
|
||||||
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
|
$STD dotnet publish ./Lingarr.Server/Lingarr.Server.csproj -c Release -o /opt/lingarr_app /p:UseAppHost=false /p:Version="$(cat ~/.lingarr)"
|
||||||
|
msg_ok "Built Lingarr"
|
||||||
|
|
||||||
|
msg_info "Configuring Lingarr"
|
||||||
|
mkdir -p /opt/lingarr_data/{config,plugins}
|
||||||
|
cat <<EOF >/opt/lingarr.env
|
||||||
|
ASPNETCORE_ENVIRONMENT=Production
|
||||||
|
ASPNETCORE_URLS=http://+:9876
|
||||||
|
ASPNETCORE_HTTP_PORTS=9876
|
||||||
|
|
||||||
|
DB_CONNECTION=postgresql
|
||||||
|
DB_HOST=127.0.0.1
|
||||||
|
DB_PORT=5432
|
||||||
|
DB_DATABASE=lingarr
|
||||||
|
DB_USERNAME=lingarr
|
||||||
|
DB_PASSWORD=${PG_DB_PASS}
|
||||||
|
|
||||||
|
PLUGINS_PATH=/opt/lingarr_data/plugins
|
||||||
|
DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
|
|
||||||
|
# Translation backend. Alternatives: openai, deepl, anthropic, gemini, localai
|
||||||
|
SERVICE_TYPE=libretranslate
|
||||||
|
LIBRE_TRANSLATE_URL=http://CHANGE_ME:5000
|
||||||
|
EOF
|
||||||
|
chmod 600 /opt/lingarr.env
|
||||||
|
msg_ok "Configured Lingarr"
|
||||||
|
|
||||||
|
msg_info "Creating Service"
|
||||||
|
cat <<EOF >/etc/systemd/system/lingarr.service
|
||||||
|
[Unit]
|
||||||
|
Description=Lingarr
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target postgresql.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/lingarr_app
|
||||||
|
EnvironmentFile=/opt/lingarr.env
|
||||||
|
ExecStart=/usr/bin/dotnet /opt/lingarr_app/Lingarr.Server.dll
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now lingarr
|
||||||
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
86
install/logseq-install.sh
Normal file
86
install/logseq-install.sh
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
#!/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://logseq.com/
|
||||||
|
|
||||||
|
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 \
|
||||||
|
git \
|
||||||
|
nginx \
|
||||||
|
build-essential \
|
||||||
|
libcairo2-dev \
|
||||||
|
libpango1.0-dev \
|
||||||
|
libjpeg-dev \
|
||||||
|
libgif-dev \
|
||||||
|
librsvg2-dev
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
|
||||||
|
JAVA_VERSION="21" setup_java
|
||||||
|
|
||||||
|
msg_info "Installing Clojure CLI"
|
||||||
|
cd /tmp
|
||||||
|
curl_download "linux-install.sh" "https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh"
|
||||||
|
$STD bash linux-install.sh
|
||||||
|
rm -f linux-install.sh
|
||||||
|
msg_ok "Installed Clojure CLI"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "logseq" "logseq/logseq" "tarball"
|
||||||
|
|
||||||
|
msg_info "Building Logseq Web App (Patience)"
|
||||||
|
cd /opt/logseq
|
||||||
|
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||||
|
export NODE_OPTIONS="--max-old-space-size=4096"
|
||||||
|
export JAVA_TOOL_OPTIONS="-Xmx4g"
|
||||||
|
$STD corepack enable
|
||||||
|
$STD pnpm install --config.network-timeout=240000
|
||||||
|
$STD pnpm release
|
||||||
|
msg_ok "Built Logseq Web App"
|
||||||
|
|
||||||
|
msg_info "Generating Self-Signed Certificate"
|
||||||
|
create_self_signed_cert "logseq"
|
||||||
|
msg_ok "Generated Self-Signed Certificate"
|
||||||
|
|
||||||
|
msg_info "Configuring Nginx"
|
||||||
|
cat <<'EOF' >/etc/nginx/sites-available/logseq
|
||||||
|
server {
|
||||||
|
listen 80 default_server;
|
||||||
|
server_name _;
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl default_server;
|
||||||
|
http2 on;
|
||||||
|
server_name _;
|
||||||
|
|
||||||
|
ssl_certificate /etc/ssl/logseq/logseq.crt;
|
||||||
|
ssl_certificate_key /etc/ssl/logseq/logseq.key;
|
||||||
|
|
||||||
|
root /opt/logseq/static;
|
||||||
|
index index.html;
|
||||||
|
|
||||||
|
add_header Cross-Origin-Opener-Policy same-origin always;
|
||||||
|
add_header Cross-Origin-Embedder-Policy require-corp always;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
nginx_enable_site logseq
|
||||||
|
msg_ok "Configured Nginx"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
80
install/matter-hub-install.sh
Normal file
80
install/matter-hub-install.sh
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
#!/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/RiDDiX/home-assistant-matter-hub
|
||||||
|
|
||||||
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
|
color
|
||||||
|
verb_ip6
|
||||||
|
catch_errors
|
||||||
|
setting_up_container
|
||||||
|
network_check
|
||||||
|
update_os
|
||||||
|
|
||||||
|
NODE_VERSION="24" NODE_MODULE="pnpm@^10" setup_nodejs
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "matter-hub" "RiDDiX/home-assistant-matter-hub" "tarball"
|
||||||
|
|
||||||
|
msg_info "Building Matter Hub"
|
||||||
|
cd /opt/matter-hub
|
||||||
|
MATTER_HUB_VERSION=$(cat ~/.matter-hub)
|
||||||
|
$STD pnpm install --frozen-lockfile
|
||||||
|
$STD pnpm run release:version "$MATTER_HUB_VERSION"
|
||||||
|
APP_VERSION="$MATTER_HUB_VERSION" $STD pnpm build
|
||||||
|
msg_ok "Built Matter Hub"
|
||||||
|
|
||||||
|
msg_info "Installing Matter Hub"
|
||||||
|
mkdir -p /opt/matter-hub_app
|
||||||
|
cat <<EOF >/opt/matter-hub_app/package.json
|
||||||
|
{
|
||||||
|
"name": "hamh-wrapper",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"private": true,
|
||||||
|
"dependencies": {
|
||||||
|
"home-assistant-matter-hub": "file:/opt/matter-hub/apps/home-assistant-matter-hub/package.tgz"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
cd /opt/matter-hub_app
|
||||||
|
$STD npm install --omit=dev --no-audit --no-fund
|
||||||
|
msg_ok "Installed Matter Hub"
|
||||||
|
|
||||||
|
msg_info "Configuring Matter Hub"
|
||||||
|
mkdir -p /opt/matter-hub_data
|
||||||
|
cat <<EOF >/opt/matter-hub.env
|
||||||
|
HAMH_HOME_ASSISTANT_URL=http://CHANGE_ME:8123/
|
||||||
|
HAMH_HOME_ASSISTANT_ACCESS_TOKEN=CHANGE_ME
|
||||||
|
HAMH_HTTP_PORT=8482
|
||||||
|
HAMH_LOG_LEVEL=info
|
||||||
|
APP_VERSION=${MATTER_HUB_VERSION}
|
||||||
|
EOF
|
||||||
|
chmod 600 /opt/matter-hub.env
|
||||||
|
msg_ok "Configured Matter Hub"
|
||||||
|
|
||||||
|
msg_info "Creating Service"
|
||||||
|
cat <<EOF >/etc/systemd/system/matter-hub.service
|
||||||
|
[Unit]
|
||||||
|
Description=Home Assistant Matter Hub
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/matter-hub_data
|
||||||
|
EnvironmentFile=/opt/matter-hub.env
|
||||||
|
ExecStart=/opt/matter-hub_app/node_modules/.bin/home-assistant-matter-hub start --storage-location=/opt/matter-hub_data
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now matter-hub
|
||||||
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -41,6 +41,14 @@ USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-lkrn" "netbo
|
|||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-linux-bin" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-linux.bin"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-linux-bin" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-linux.bin"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-dsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz.dsk"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-dsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz.dsk"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-pdsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz.pdsk"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-pdsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz.pdsk"
|
||||||
|
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-efi" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.efi"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-kpxe" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.kpxe"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-lkrn" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.lkrn"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-dsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.dsk"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-pdsk" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.pdsk"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-metal-legacy-efi" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-metal-legacy.efi"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-metal-legacy-kpxe" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-metal-legacy.kpxe"
|
||||||
# ARM64 bootloaders
|
# ARM64 bootloaders
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64.efi"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64.efi"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-snp" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64-snp.efi"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-snp" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64-snp.efi"
|
||||||
@@ -55,6 +63,12 @@ USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-iso" "
|
|||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64.img"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-arm64-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-arm64.img"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-multiarch-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-multiarch.iso"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-multiarch-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-multiarch.iso"
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-multiarch-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-multiarch.img"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-multiarch-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-multiarch.img"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.iso"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-legacy-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-legacy.img"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-sb-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sb.iso"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-sb-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sb.img"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-sb-arm64-iso" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sb-arm64.iso"
|
||||||
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-sb-arm64-img" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sb-arm64.img"
|
||||||
# SHA256 checksums
|
# SHA256 checksums
|
||||||
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-checksums" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sha256-checksums.txt"
|
USE_ORIGINAL_FILENAME=true fetch_and_deploy_gh_release "netboot-xyz-checksums" "netbootxyz/netboot.xyz" "singlefile" "latest" "/var/www/html" "netboot.xyz-sha256-checksums.txt"
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ NODE_VERSION="22" setup_nodejs
|
|||||||
fetch_and_deploy_gh_release "nightscout" "nightscout/cgm-remote-monitor" "tarball"
|
fetch_and_deploy_gh_release "nightscout" "nightscout/cgm-remote-monitor" "tarball"
|
||||||
|
|
||||||
msg_info "Installing Nightscout"
|
msg_info "Installing Nightscout"
|
||||||
$STD npm install --prefix /opt/nightscout --allow-remote=all
|
$STD npm install --prefix /opt/nightscout
|
||||||
msg_ok "Installed Nightscout"
|
msg_ok "Installed Nightscout"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|||||||
@@ -28,7 +28,31 @@ fi
|
|||||||
|
|
||||||
if ! dpkg -l | grep -q 'libssl1.1'; then
|
if ! dpkg -l | grep -q 'libssl1.1'; then
|
||||||
msg_info "Installing libssl (if needed)"
|
msg_info "Installing libssl (if needed)"
|
||||||
curl_download "/tmp/libssl.deb" "https://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1w-0+deb11u8_$(arch_resolve).deb"
|
# libssl1.1 is bullseye's last build, and the pinned filename rotted twice over:
|
||||||
|
# the point release moves on its own schedule, and bullseye left
|
||||||
|
# security.debian.org when its LTS ended. Take the newest build from whichever
|
||||||
|
# pool still carries one instead of hardcoding a name.
|
||||||
|
LIBSSL_ARCH=$(arch_resolve)
|
||||||
|
LIBSSL_URL=""
|
||||||
|
LIBSSL_DEB=""
|
||||||
|
for POOL in \
|
||||||
|
"https://security.debian.org/debian-security/pool/updates/main/o/openssl" \
|
||||||
|
"https://archive.debian.org/debian-security/pool/updates/main/o/openssl" \
|
||||||
|
"https://archive.debian.org/debian/pool/main/o/openssl"; do
|
||||||
|
FOUND=$(curl -fsSL "$POOL/" | grep -oE "libssl1\.1_[^\"<>]+_${LIBSSL_ARCH}\.deb" | sort -V | tail -n1 || true)
|
||||||
|
[[ -z "$FOUND" ]] && continue
|
||||||
|
# Newest across every pool, not the first hit: the security archive still
|
||||||
|
# only carries buster, whose 1.1.1n is older than bullseye's 1.1.1w.
|
||||||
|
if [[ -z "$LIBSSL_DEB" || "$(printf '%s\n%s\n' "$LIBSSL_DEB" "$FOUND" | sort -V | tail -n1)" == "$FOUND" ]]; then
|
||||||
|
LIBSSL_DEB="$FOUND"
|
||||||
|
LIBSSL_URL="$POOL/$FOUND"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [[ -z "$LIBSSL_URL" ]]; then
|
||||||
|
msg_error "No libssl1.1 package for ${LIBSSL_ARCH} found in any Debian pool"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
curl_download "/tmp/libssl.deb" "$LIBSSL_URL"
|
||||||
$STD dpkg -i /tmp/libssl.deb
|
$STD dpkg -i /tmp/libssl.deb
|
||||||
rm -f /tmp/libssl.deb
|
rm -f /tmp/libssl.deb
|
||||||
msg_ok "Installed libssl1.1"
|
msg_ok "Installed libssl1.1"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ fetch_and_deploy_gh_release "omnitools" "iib0011/omni-tools" "tarball"
|
|||||||
msg_info "Building OmniTools"
|
msg_info "Building OmniTools"
|
||||||
cd /opt/omnitools
|
cd /opt/omnitools
|
||||||
export HUSKY=0
|
export HUSKY=0
|
||||||
$STD npm ci
|
$STD npm ci --allow-remote=all
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
msg_ok "Built OmniTools"
|
msg_ok "Built OmniTools"
|
||||||
|
|
||||||
|
|||||||
138
install/onetimesecret-install.sh
Normal file
138
install/onetimesecret-install.sh
Normal file
@@ -0,0 +1,138 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2021-2026 community-scripts ORG
|
||||||
|
# Author: Hai Tran (epiHATR)
|
||||||
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
# Source: https://onetimesecret.com/ | Github: https://github.com/onetimesecret/onetimesecret
|
||||||
|
|
||||||
|
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 \
|
||||||
|
build-essential \
|
||||||
|
git \
|
||||||
|
libffi-dev \
|
||||||
|
libgmp-dev \
|
||||||
|
libpq-dev \
|
||||||
|
libreadline-dev \
|
||||||
|
libsodium23 \
|
||||||
|
libsqlite3-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libxml2-dev \
|
||||||
|
libxslt1-dev \
|
||||||
|
libyaml-dev \
|
||||||
|
nginx \
|
||||||
|
pkg-config \
|
||||||
|
python3 \
|
||||||
|
redis-server \
|
||||||
|
zlib1g-dev
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "onetimesecret" "onetimesecret/onetimesecret" "tarball"
|
||||||
|
|
||||||
|
RUBY_VERSION=$(tr -d ' \n' </opt/onetimesecret/.ruby-version 2>/dev/null)
|
||||||
|
RUBY_VERSION="${RUBY_VERSION:-3.4.10}" setup_ruby
|
||||||
|
PNPM_VERSION=$(sed -n 's/.*"packageManager": "pnpm@\([^"]*\)".*/\1/p' /opt/onetimesecret/package.json)
|
||||||
|
NODE_VERSION=$(tr -d ' \n' </opt/onetimesecret/.nvmrc 2>/dev/null)
|
||||||
|
NODE_VERSION="${NODE_VERSION:-25}" NODE_MODULE="pnpm@${PNPM_VERSION:-11.1.2}" setup_nodejs
|
||||||
|
HOST_VALUE="${OTS_HOST:-$LOCAL_IP}"
|
||||||
|
SSL_VALUE="${OTS_SSL:-false}"
|
||||||
|
case "${SSL_VALUE,,}" in
|
||||||
|
1 | true | yes | on) SSL_VALUE="true" ;;
|
||||||
|
0 | false | no | off | "") SSL_VALUE="false" ;;
|
||||||
|
*)
|
||||||
|
msg_error "Invalid OTS_SSL value '${OTS_SSL}' (use true/false)"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
msg_info "Configuring Application"
|
||||||
|
systemctl enable -q --now redis-server
|
||||||
|
cd /opt/onetimesecret
|
||||||
|
$STD bash bin/setup init
|
||||||
|
sed -i \
|
||||||
|
-e "s|^REDIS_URL=.*|REDIS_URL=redis://127.0.0.1:6379/0|" \
|
||||||
|
-e "s|^HOST=.*|HOST=${HOST_VALUE//&/\\&}|" \
|
||||||
|
-e "s|^SSL=.*|SSL=${SSL_VALUE}|" \
|
||||||
|
/opt/onetimesecret/.env
|
||||||
|
if grep -q '^RACK_ENV=' /opt/onetimesecret/.env; then
|
||||||
|
sed -i 's|^RACK_ENV=.*|RACK_ENV=production|' /opt/onetimesecret/.env
|
||||||
|
else
|
||||||
|
echo "RACK_ENV=production" >>/opt/onetimesecret/.env
|
||||||
|
fi
|
||||||
|
if grep -q '^AUTHENTICATION_MODE=' /opt/onetimesecret/.env; then
|
||||||
|
sed -i 's|^AUTHENTICATION_MODE=.*|AUTHENTICATION_MODE=simple|' /opt/onetimesecret/.env
|
||||||
|
else
|
||||||
|
echo "AUTHENTICATION_MODE=simple" >>/opt/onetimesecret/.env
|
||||||
|
fi
|
||||||
|
if ! grep -q '^PORT=' /opt/onetimesecret/.env; then
|
||||||
|
echo "PORT=3000" >>/opt/onetimesecret/.env
|
||||||
|
fi
|
||||||
|
chmod 600 /opt/onetimesecret/.env
|
||||||
|
mkdir -p /opt/onetimesecret/tmp/pids /opt/onetimesecret/log
|
||||||
|
msg_ok "Configured Application"
|
||||||
|
|
||||||
|
msg_info "Reconciling Application"
|
||||||
|
cd /opt/onetimesecret
|
||||||
|
$STD bash bin/setup reconcile
|
||||||
|
msg_ok "Reconciled Application"
|
||||||
|
|
||||||
|
msg_info "Building Frontend"
|
||||||
|
cd /opt/onetimesecret
|
||||||
|
$STD pnpm run build
|
||||||
|
msg_ok "Built Frontend"
|
||||||
|
|
||||||
|
msg_info "Creating Service"
|
||||||
|
cat <<'EOF' >/etc/systemd/system/onetimesecret.service
|
||||||
|
[Unit]
|
||||||
|
Description=Onetime Secret Service
|
||||||
|
After=network.target redis-server.service
|
||||||
|
Requires=redis-server.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/onetimesecret
|
||||||
|
Environment=HOME=/root
|
||||||
|
Environment=PATH=/root/.rbenv/shims:/root/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
EnvironmentFile=/opt/onetimesecret/.env
|
||||||
|
ExecStart=/root/.rbenv/shims/bundle exec puma -C etc/puma.rb
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now onetimesecret
|
||||||
|
msg_ok "Created Service"
|
||||||
|
|
||||||
|
msg_info "Configuring Nginx"
|
||||||
|
cat <<'EOF' >/etc/nginx/sites-available/onetimesecret
|
||||||
|
server {
|
||||||
|
listen 80 default_server;
|
||||||
|
server_name _;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://127.0.0.1:3000;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
nginx_enable_site onetimesecret
|
||||||
|
msg_ok "Configured Nginx"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -23,6 +23,7 @@ msg_ok "Installed Dependencies"
|
|||||||
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
|
NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs
|
||||||
PG_VERSION="17" setup_postgresql
|
PG_VERSION="17" setup_postgresql
|
||||||
PG_DB_NAME="paperclip" PG_DB_USER="paperclip" setup_postgresql_db
|
PG_DB_NAME="paperclip" PG_DB_USER="paperclip" setup_postgresql_db
|
||||||
|
setup_rust
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "paperclip-ai" "paperclipai/paperclip" "tarball"
|
fetch_and_deploy_gh_release "paperclip-ai" "paperclipai/paperclip" "tarball"
|
||||||
|
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ Requires=redis.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/opt/paperless/src
|
WorkingDirectory=/opt/paperless/src
|
||||||
#ExecStartPre=uv run -- python manage.py document_index reindex --if-needed --no-progress-bar
|
#ExecStartPre=uv run --no-sync -- python manage.py document_index reindex --if-needed --no-progress-bar
|
||||||
ExecStart=uv run --no-sync -- granian --interface asginl --ws --loop uvloop "paperless.asgi:application"
|
ExecStart=uv run --no-sync -- granian --interface asginl --ws --loop uvloop "paperless.asgi:application"
|
||||||
Environment=GRANIAN_HOST=::
|
Environment=GRANIAN_HOST=::
|
||||||
Environment=GRANIAN_PORT=8000
|
Environment=GRANIAN_PORT=8000
|
||||||
|
|||||||
163
install/portabase-install.sh
Normal file
163
install/portabase-install.sh
Normal file
@@ -0,0 +1,163 @@
|
|||||||
|
#!/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://portabase.io
|
||||||
|
|
||||||
|
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 \
|
||||||
|
build-essential \
|
||||||
|
git \
|
||||||
|
nginx
|
||||||
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
NODE_VERSION="22" NODE_MODULE="pnpm@11.8.0" setup_nodejs
|
||||||
|
PG_VERSION="17" setup_postgresql
|
||||||
|
PG_DB_NAME="portabase" PG_DB_USER="portabase" setup_postgresql_db
|
||||||
|
|
||||||
|
fetch_and_deploy_gh_release "portabase" "Portabase/portabase" "tarball"
|
||||||
|
fetch_and_deploy_gh_release "tusd" "tus/tusd" "prebuild" "latest" "/opt/tusd" "tusd_linux_$(arch_resolve).tar.gz"
|
||||||
|
|
||||||
|
msg_info "Configuring Portabase"
|
||||||
|
mkdir -p /opt/portabase-data/uploads/tmp
|
||||||
|
mv -f "/opt/tusd/tusd_linux_$(arch_resolve)/tusd" /opt/tusd/tusd
|
||||||
|
rm -rf "/opt/tusd/tusd_linux_$(arch_resolve)"
|
||||||
|
chmod +x /opt/tusd/tusd
|
||||||
|
PROJECT_SECRET=$(openssl rand -hex 32)
|
||||||
|
ADMIN_PASSWORD=$(openssl rand -base64 18 | tr -dc 'A-Za-z0-9' | head -c 16)
|
||||||
|
cat <<EOF >/opt/portabase/.env
|
||||||
|
LOG_LEVEL=info
|
||||||
|
DATABASE_URL=postgresql://${PG_DB_USER}:${PG_DB_PASS}@127.0.0.1:5432/${PG_DB_NAME}
|
||||||
|
PROJECT_NAME=Portabase
|
||||||
|
PROJECT_URL=http://${LOCAL_IP}:3000
|
||||||
|
PROJECT_SECRET=${PROJECT_SECRET}
|
||||||
|
TRUSTED_DOMAINS=http://${LOCAL_IP}:3000
|
||||||
|
PRIVATE_PATH=/opt/portabase-data
|
||||||
|
AUTH_DEFAULT_USER_NAME=Portabase Admin
|
||||||
|
AUTH_DEFAULT_USER=admin@example.com
|
||||||
|
AUTH_DEFAULT_PASSWORD=${ADMIN_PASSWORD}
|
||||||
|
AUTH_EMAIL_PASSWORD_ENABLED=true
|
||||||
|
AUTH_SIGNUP_ENABLED=true
|
||||||
|
RETENTION_CRON=0 7 * * *
|
||||||
|
TUSD_BEHIND_PROXY=true
|
||||||
|
TELEMETRY=false
|
||||||
|
EOF
|
||||||
|
cat <<EOF >~/portabase.creds
|
||||||
|
Portabase Admin
|
||||||
|
Username: admin@example.com
|
||||||
|
Password: ${ADMIN_PASSWORD}
|
||||||
|
EOF
|
||||||
|
msg_ok "Configured Portabase"
|
||||||
|
|
||||||
|
msg_info "Building Portabase"
|
||||||
|
cd /opt/portabase
|
||||||
|
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||||
|
export NEXT_TELEMETRY_DISABLED=1
|
||||||
|
$STD pnpm install --frozen-lockfile
|
||||||
|
$STD pnpm run build
|
||||||
|
cp -r /opt/portabase/.next/static /opt/portabase/.next/standalone/.next/static
|
||||||
|
cp -r /opt/portabase/public /opt/portabase/.next/standalone/public
|
||||||
|
mkdir -p /opt/portabase/.next/standalone/src/db
|
||||||
|
cp -r /opt/portabase/src/db/migrations /opt/portabase/.next/standalone/src/db/migrations
|
||||||
|
ln -sf /opt/portabase/.env /opt/portabase/.next/standalone/.env
|
||||||
|
msg_ok "Built Portabase"
|
||||||
|
|
||||||
|
msg_info "Creating Services"
|
||||||
|
cat <<EOF >/etc/systemd/system/portabase-tusd.service
|
||||||
|
[Unit]
|
||||||
|
Description=Portabase tusd Upload Server
|
||||||
|
After=network.target
|
||||||
|
Before=portabase.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/opt/tusd/tusd --base-path /tus/files/ --upload-dir /opt/portabase-data/uploads/tmp --hooks-http http://127.0.0.1:8887/api/tus/hooks --port 1080 --max-size 21474836480 --behind-proxy
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat <<EOF >/etc/systemd/system/portabase.service
|
||||||
|
[Unit]
|
||||||
|
Description=Portabase
|
||||||
|
After=network.target postgresql.service portabase-tusd.service
|
||||||
|
Wants=postgresql.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/opt/portabase/.next/standalone
|
||||||
|
Environment=NODE_ENV=production
|
||||||
|
Environment=PORT=8887
|
||||||
|
Environment=HOSTNAME=127.0.0.1
|
||||||
|
ExecStart=/usr/bin/node /opt/portabase/.next/standalone/server.js
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
EOF
|
||||||
|
systemctl enable -q --now portabase-tusd portabase
|
||||||
|
msg_ok "Created Services"
|
||||||
|
|
||||||
|
msg_info "Configuring Nginx"
|
||||||
|
cat <<'EOF' >/etc/nginx/sites-available/portabase
|
||||||
|
map $http_x_forwarded_proto $forwarded_proto {
|
||||||
|
default $scheme;
|
||||||
|
"~*^\s*(https?)\s*(?:,|$)" $1;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 3000;
|
||||||
|
server_name _;
|
||||||
|
|
||||||
|
client_max_body_size 20G;
|
||||||
|
ignore_invalid_headers off;
|
||||||
|
|
||||||
|
location /tus/ {
|
||||||
|
proxy_pass http://127.0.0.1:1080/tus/;
|
||||||
|
proxy_pass_request_headers on;
|
||||||
|
proxy_request_buffering off;
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
proxy_set_header X-Forwarded-Proto $forwarded_proto;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /api/tus/hooks {
|
||||||
|
deny all;
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://127.0.0.1:8887;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
proxy_set_header X-Forwarded-Proto $forwarded_proto;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
nginx_enable_site portabase
|
||||||
|
msg_ok "Configured Nginx"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
cleanup_lxc
|
||||||
@@ -46,7 +46,7 @@ map \$uri \$poznote_coop {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8040;
|
listen 8040;
|
||||||
root /var/www/html;
|
root /var/www/html/public;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
@@ -122,10 +122,12 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/data/users/[0-9]+/backgrounds/ {
|
location ~ ^/data/users/[0-9]+/backgrounds/ {
|
||||||
|
root /var/www/html;
|
||||||
try_files \$uri =404;
|
try_files \$uri =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ ^/data/css/[A-Za-z0-9._-]+\.css$ {
|
location ~ ^/data/css/[A-Za-z0-9._-]+\.css$ {
|
||||||
|
root /var/www/html;
|
||||||
try_files \$uri =404;
|
try_files \$uri =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user