Compare commits

...
Author SHA1 Message Date
push-app-to-main[bot] 1e2f8e20b6 Add windmill (ct) 2026-11-23 07:46:57 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] bf22f65f51 Update CHANGELOG.md (#18966)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 07:10:06 +00:00
cwmoriarty 744cf874cb airconnect: fix disabled service handling, static binary cleanup, and flag overrides (#18955) 2026-11-23 08:09:35 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] c398c736b8 Update CHANGELOG.md (#18965)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 07:08:54 +00:00
push-app-to-main[bot]andCanbiZ f00fecdbc8 Anubis (#18926)
* Add anubis (ct)

* Enable ARM64 support in anubis.sh

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-23 08:08:24 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] b440c75190 Update CHANGELOG.md (#18964)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 06:55:49 +00:00
github-actions[bot] 29e13279fe bulwark: bump Node.js from 24 to 26 (#18957)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-23 07:55:18 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 5a62c1778c Update CHANGELOG.md (#18963)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 06:42:25 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] d8ae438fba Update CHANGELOG.md (#18962)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 06:42:12 +00:00
push-app-to-main[bot]andCanbiZ 6d575cbb36 Oracle Linux (#18945)
* Add oraclelinux (ct)

* Clean up comments in oraclelinux.sh

Remove comments about script sourcing and local checkout.

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-23 07:41:56 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] b546a5394c Update CHANGELOG.md (#18961)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-23 06:41:45 +00:00
push-app-to-main[bot]andCanbiZ abf6bde7e6 Kali Linux (#18946)
* Add kalilinux (ct)

* Clean up comments in kalilinux.sh

Removed comments about the engine source and local checkout behavior.

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-23 07:41:39 +01:00
push-app-to-main[bot]andCanbiZ 337042f292 Linux Mint (#18948)
* Add linuxmint (ct)

* Clean up comments in linuxmint.sh

Removed comments about the script's origin and usage.

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-23 07:41:14 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 434e0445f6 Update CHANGELOG.md (#18952)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 22:09:50 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 028961ba53 Update CHANGELOG.md (#18951)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 22:09:19 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] ecc25ea31b Update CHANGELOG.md (#18943)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 21:48:11 +00:00
push-app-to-main[bot] 538af93d43 Add subwave (ct) (#18929) 2026-11-22 22:47:41 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 2943ca5999 Update CHANGELOG.md (#18942)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 21:47:21 +00:00
push-app-to-main[bot] 9ee021d6e6 Gopeed (#18921) 2026-11-22 22:47:11 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 86817938c9 Update CHANGELOG.md (#18941)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 21:46:51 +00:00
push-app-to-main[bot] bea38f2745 Add notemark (ct) (#18920) 2026-11-22 22:46:45 +01:00
push-app-to-main[bot] bcc815ecda Bytechef (#18919) 2026-11-22 22:46:27 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] fa7a359529 Update CHANGELOG.md (#18940)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 21:45:36 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 32517f604c Update CHANGELOG.md (#18938)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 21:33:55 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] f6b9e8c265 Update CHANGELOG.md (#18937)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 21:25:36 +00:00
CanbiZ (MickLesk) b3daceeb96 Update prompts: take the default or skip when nobody can answer (#18931)
Updates run without a terminal (update-apps, pct exec, cron) hit bare
read prompts and failed with 'read exited 1'.

- komodo, alpine-komodo, dockge, dokploy, runtipi, cockpit: prompt_confirm,
  so the default (legacy update, no 45Drives extras) applies unattended
- bichon (low space), semaphore (BoltDB migration): exit 75 unattended,
  which update-apps reports as skipped
- termix: unattended keeps the current Nginx config
- gitea-mirror, jellyseerr, overseerr, paperless-ngx, vikunja, zabbix: the
  PHS_SILENT guards now use is_unattended, so a missing terminal counts too
2026-11-22 22:25:06 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 5419f8178a Update CHANGELOG.md (#18936)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 21:24:37 +00:00
CanbiZ (MickLesk) 1d6dccdaaa Keeper: set the build identity and tz data the services now require (#18933)
Since 2.29 every service refuses to start without COMMIT_SHA and VERSION,
which upstream only passes as Docker build args, and the API needs
ICU_TIMEZONE_FILES_DIR pointing at the tz data in docker/icu-timezone.
Installs finished but nothing listened on port 3000. The update adds the
three lines to existing installs.

Fixes #18922
2026-11-22 22:24:14 +01:00
CanbiZ (MickLesk) e9bc982212 Splunk, Immich: let var_* answer the last install prompts (#18932)
- splunk-enterprise: var_splunk_accept_terms=yes accepts the Splunk General
  Terms; without a terminal the install now stops with exit 254 and says
  which var to set instead of failing on 'read exited 1'
- immich: var_immich_ml_type (1 CPU, 2 OpenVINO) skips the machine-learning
  menu on Intel CPUs
2026-11-22 22:24:00 +01:00
CanbiZ (MickLesk) b015747ab5 Firecrawl: pin nodesig to the commit that matches the 2.11 release (#18934)
nodesig is a git dependency without a rev. On 2026-11-18 its main moved
to kuchikiki 0.8.9-speedreader, while firecrawl 2.11.0 still asks for
kuchikiki 0.8.2, so cargo cannot resolve the native module and pnpm
install fails. The pin applies only while the release still uses 0.8.2;
the next release, which moved to 0.8.9 itself, builds unchanged.
2026-11-22 22:23:43 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 02e8d050b5 Update CHANGELOG.md (#18927)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 18:43:59 +00:00
thieneret 946b0e579a Update authentik to 2026.8.6, Python to 3.14.10, xmlsec to 1.3.13 (#18912) 2026-11-22 19:43:33 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] aa8de4e1bd Update CHANGELOG.md (#18925)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 18:29:43 +00:00
push-app-to-main[bot]andCanbiZ 49ff29fdf2 Lidify (#18918)
* Add lidify (ct)

* arm64

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-22 19:29:18 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 7426fe4b53 Update CHANGELOG.md (#18924)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 18:28:06 +00:00
Zoe Elkins a0f7e102b5 fix: pass necessary flag to java ExecStart to mitigate CVE-2026-114938 (#18923) 2026-11-22 19:27:38 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] fcddde340e Update CHANGELOG.md (#18917)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 09:53:53 +00:00
push-app-to-main[bot]andCanbiZ 7e4524a769 Ideon (#18915)
* Add ideon (ct)

* rm Python3 dep

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-22 10:53:22 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 17bc0372c5 Update CHANGELOG.md (#18916)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 09:30:31 +00:00
push-app-to-main[bot]andCanbiZ c9fc09d43c Mathesar (#18914)
* Add mathesar (ct)

* rm

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-11-22 10:30:00 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 8cca567f68 Update CHANGELOG.md (#18911)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 00:03:54 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 1f895782a5 Archive old changelog entries (#18910)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-22 00:03:26 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 48a2005ac5 Update CHANGELOG.md (#18909)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 20:39:53 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] c5d9f39365 Update CHANGELOG.md (#18908)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 20:39:30 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 072cf804c4 Update CHANGELOG.md (#18907)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 20:39:04 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 57b9614a0b Update CHANGELOG.md (#18906)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 20:38:49 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] ca957dc205 Update CHANGELOG.md (#18905)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 20:38:38 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 717a0a97fe Update CHANGELOG.md (#18903)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 19:49:18 +00:00
CanbiZ (MickLesk) 6c0a1363b0 FileFlows: check for updates without the REST API (#18898)
* FileFlows: check for updates without the REST API

Since 26.10 the FileFlows API is off by default and every /api path
answers 404, so the update check always failed and fell through to a
read that aborts unattended runs. Compare the installed build with the
version fileflows.com hands FileFlows' own updater instead. When that
cannot be reached, ask through prompt_confirm (default no, so unattended
runs skip with a hint) unless FORCE_UPDATE=1 is set.

* FileFlows: install the server unless an agent is asked for

Since prompts survive a closed stdin, an unanswered "Server or Agent?"
came back empty and only "S" chose the server, so every unattended install
(CI, app defaults, a closed console) set up an agent with no web UI on
19200 that restarted forever with "Configuration not set".

* clean
2026-11-21 20:48:52 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] ae5e4050af Update CHANGELOG.md (#18902)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 17:38:09 +00:00
CanbiZ (MickLesk) 9fc9151d4a Change Detection: create the SockPuppetBrowser unit whenever it is missing (#18895)
* Change Detection: create the SockPuppetBrowser unit whenever it is missing

The update wrote sockpuppetbrowser.service only while replacing Browserless,
then restarted it unconditionally. A container without browserless.service
(installs before 2023-05, or a lost unit) had SockPuppetBrowser deployed and
the update stopped with "Unit sockpuppetbrowser.service not found" (exit 5).

* ref

Removed outdated comments regarding Browserless and SockPuppetBrowser.
2026-11-21 18:37:46 +01:00
CanbiZ (MickLesk) 6abc44fae9 Switch Pinchflat to the maintained Pinchflat-NGX fork (#18897)
Install and update build TheBadFella/Pinchflat-NGX. The first update of an
original Pinchflat container keeps a backup of .env, app and config (without
metadata and logs) in /opt/pinchflat-pre-ngx.tar.gz and runs the database
migration before the service starts, outside the systemd start timeout.
2026-11-21 18:35:54 +01:00
CanbiZ (MickLesk) f12f29a24d fstrim: read the root volume from the container config (#18894)
The LVM usage before and after the trim looked for vm-<id>-disk-0 only, so
a restored or moved container (vm-<id>-disk-1) showed "not available
(non-LVM storage)" although the trim worked (#18888). The volume now comes
from /etc/pve/lxc/<id>.conf, a file read with no pct call per container.
2026-11-21 18:35:52 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 4ccabbe475 Update CHANGELOG.md (#18901)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 17:33:38 +00:00
CanbiZ (MickLesk) 0b13c1288f HAOS VM: fall back to Home Assistant's own hosts for version and image (#18900)
* HAOS VM: fall back to Home Assistant's own hosts for version and image

40 runs in 14 days failed downloading the image from GitHub Releases, 18
of them outside the GitHub outage. os-artifacts.home-assistant.io serves
the same file (identical sha256), and version.home-assistant.io the same
channel files.

* Add alternative URL for Home Assistant image fetc
2026-11-21 18:33:08 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 561add6ad7 Update CHANGELOG.md (#18896)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-21 14:39:33 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] f841155407 Update CHANGELOG.md (#18887)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:47:29 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 921b808140 Update CHANGELOG.md (#18886)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:47:16 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 76a16e4353 Update CHANGELOG.md (#18885)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:47:06 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] b255c2a49d Update CHANGELOG.md (#18884)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:46:55 +00:00
CanbiZ (MickLesk) aa765b7630 Install the Scrutiny collector on TrueNAS SCALE without apt (#18870) 2026-11-20 20:46:50 +01:00
CanbiZ (MickLesk) 5706845d33 Refactor: Tailscale Script (#18868)
* Put add-tailscale-lxc's tun lines into the container, not its last snapshot

Snapshots follow a container's settings as [name] sections, so the two
lxc lines appended with >> landed in the last snapshot: pct config never
showed them, the container got no /dev/net/tun and tailscaled could not
start. The grep that skips an existing line also matched the snapshot's
copy on a second run. Check and insert them in the container's own
section.

* Keep add-tailscale-lxc's container output in the log and the trace

The install ran as a plain pct exec, so its output only reached the
terminal and every failure was reported as "pct exited with status 100"
with nothing after the step. It now runs through $STD: the output goes to
the run log, and a failure shows it and puts it in the trace. Inside the
container the helpers ran in silent mode as well, which kept apt's own
error in a log there; VERBOSE=yes prints it instead.

A failed download of core.func or tools.func was sourced as an empty
file and ended in "load_functions: command not found" (exit 127, 7 of
the 22 failed runs in four days). It now stops with exit 7 and says the
container could not download them.

* Make add-tailscale-lxc's DNS fallback trigger, and always undo it

dig +short prints its own errors (";; no servers could be reached") on
stdout, and the check counted any line that was not 127.x or 0.0.0.0 as
an address, so with a dead resolver the fallback to 1.1.1.1 never ran
and the install failed further on. Count only address lines.

The original resolv.conf was put back only after a successful install;
any failure left the container on 1.1.1.1, and a second run then saved
that as the backup. Restore it on exit.

* Do not fail add-tailscale-lxc over the tag once Tailscale is installed

pct set -tags ran last under set -e, so a container locked by a running
backup ("CT is locked (backup)", exit 255) failed the whole run after
Tailscale had been installed. The tag is cosmetic: warn with pct's
message instead. Read the tags from pct config so a snapshot's copy is
not added, and skip the tag when it is already there.
2026-11-20 20:46:37 +01:00
CanbiZ (MickLesk) 251c49017f Kasm: show the installer's last lines when it fails (#18869) 2026-11-20 20:46:32 +01:00
jheyens 80b27df208 Remove thumbnails as opencloud user (#18865)
The thumbnail directory previously was removed by
the root user. However, there are cases where the
root user lacks privileges on a filesystem the
opencloud user has. This is common in network
filesystems like NFS, where, depending on the
NFS server- and client configuration only specific
user ids have access to the filesystem.
2026-11-20 20:46:24 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 94bcb0b816 Update CHANGELOG.md (#18883)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:46:20 +00:00
push-app-to-main[bot] baeffb090d Add grimmory (ct) (#18880)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-11-20 20:45:51 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 815b5662c6 Update CHANGELOG.md (#18882)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:45:47 +00:00
CanbiZ (MickLesk) 2f79e5b2c3 Report an interrupted update-apps backup as cancelled, not failed (#18867) 2026-11-20 20:45:24 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 0cc1b8a1b6 Update CHANGELOG.md (#18881)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:45:20 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 2c705e0a0c Update CHANGELOG.md (#18879)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:44:50 +00:00
CanbiZ (MickLesk) dd57c5c84e Skip a container that will not start instead of ending fstrim (#18864) 2026-11-20 20:44:43 +01:00
CanbiZ (MickLesk) 09c27e332f Say which containers update-lxcs failed on and why (#18863) 2026-11-20 20:44:23 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 28d8328eb3 Update CHANGELOG.md (#18878)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:44:04 +00:00
CanbiZ (MickLesk) 2a44d015ed Say which containers clean-lxcs failed on and why (#18862) 2026-11-20 20:44:00 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 7136c6f0ab Update CHANGELOG.md (#18877)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:43:49 +00:00
CanbiZ (MickLesk) cce3060b82 Run the execute command once per container and keep going on failure (#18861) 2026-11-20 20:43:41 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] de3d911f5c Update CHANGELOG.md (#18876)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:43:32 +00:00
CanbiZ (MickLesk) c1476cb7dd NPMplus: hand Docker the usable DNS servers when resolv.conf has a zone ID (#18860) 2026-11-20 20:43:22 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] eb5e6dace2 Update CHANGELOG.md (#18875)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:43:03 +00:00
CanbiZ (MickLesk) 153e90918c Immich: skip oazapfts in mise install, the build never runs it (#18859) 2026-11-20 20:42:59 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] db842dc77f Update CHANGELOG.md (#18874)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:42:41 +00:00
CanbiZ (MickLesk) df178451f2 PostgreSQL: keep installing when the Adminer prompt reads a closed console (#18857) 2026-11-20 20:42:37 +01:00
CanbiZ (MickLesk) 095f295547 Plane: install the API from uv.lock, v1.5.0 dropped the requirements files (#18856) 2026-11-20 20:42:17 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 81b8331794 Update CHANGELOG.md (#18873)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:42:13 +00:00
CanbiZ (MickLesk) 6eab96ac2d Nginx Proxy Manager: fetch the nginx HTTP/2 patches from the GitHub API (#18855) 2026-11-20 20:41:47 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 3f9f9288c7 Update CHANGELOG.md (#18872)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 19:41:23 +00:00
CanbiZ (MickLesk) 76086503f1 Pi.Alert: install the crontab after the first scans (#18858) 2026-11-20 20:40:54 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] c14a75252d Update CHANGELOG.md (#18871)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 16:35:24 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 4ab1f0db0d Update CHANGELOG.md (#18866)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 16:22:59 +00:00
CanbiZ (MickLesk) 9be50420da deCONZ: fetch libssl1.1 over HTTPS on arm64 (#18798)
* Fetch libssl1.1 for deCONZ over HTTPS on arm64

* deCONZ: start in privileged Incus containers, skip an update with nothing new

The postinst gives /usr/bin/deCONZ the sys_time and sys_boot file caps; a
privileged Incus container lacks them in its bounding set, so exec failed
with 'Operation not permitted'. The service runs as root and needs none, so
an apt hook drops them after every dpkg run. The update now upgrades deconz
only when a newer version exists.

* deCONZ: drop the file caps right after install and update

The apt hook and the version check go. setcap -r now runs once after the
install and after apt upgrade in the update. The service runs as root and
needs none of the caps; in a privileged Incus container they make exec fail.
2026-11-20 17:22:32 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 01e23a0c50 Update CHANGELOG.md (#18854)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 15:43:33 +00:00
community-scripts-pr-app[bot]andgithub-actions[bot] 33d5dec459 Update CHANGELOG.md (#18852)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 07:48:53 +00:00
CanbiZ (MickLesk) 0116d934aa Stalwart: migrate to v1 with stalwart-migrate (#18794)
New installs get the latest v1 release. Existing 0.16 installs are
brought to 0.16.27 first, then update runs stalwart-migrate: prepare
asks its questions, the final run copies the RocksDB store to a new
-v1 directory, and v1 starts on it. The 0.16 store and its config stay
in place for a rollback.

The migration only runs from the container console, needs room for a
second copy of the store and only handles the default RocksDB backend.
If the copy fails, 0.16 is started again.
2026-11-20 08:48:21 +01:00
82 changed files with 2403 additions and 318 deletions

No files matched your search

+233
View File
@@ -1,3 +1,236 @@
## 2026-11-21
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Change Detection: create the SockPuppetBrowser unit whenever it is missing [@MickLesk](https://github.com/MickLesk) ([#18895](https://github.com/community-scripts/ProxmoxVE/pull/18895))
- #### ✨ New Features
- Switch Pinchflat to the maintained Pinchflat-NGX fork [@MickLesk](https://github.com/MickLesk) ([#18897](https://github.com/community-scripts/ProxmoxVE/pull/18897))
- #### 🔧 Refactor
- FileFlows: check for updates without the REST API [@MickLesk](https://github.com/MickLesk) ([#18898](https://github.com/community-scripts/ProxmoxVE/pull/18898))
- HAOS VM: fall back to Home Assistant's own hosts for version and image [@MickLesk](https://github.com/MickLesk) ([#18900](https://github.com/community-scripts/ProxmoxVE/pull/18900))
### 💾 Core
- proxmox: accept a template that is on the storage when pveam list does not show it [@MickLesk](https://github.com/MickLesk) ([core#289](https://github.com/community-scripts/core/pull/289))
- proxmox: fetch a template over HTTPS when pveam cannot download it [@MickLesk](https://github.com/MickLesk) ([core#288](https://github.com/community-scripts/core/pull/288))
- tools.func: check the new version's repository before purging the installed one [@MickLesk](https://github.com/MickLesk) ([core#287](https://github.com/community-scripts/core/pull/287))
- setup_uv: Fall back to PyPI and releases.astral.sh [@MickLesk](https://github.com/MickLesk) ([core#286](https://github.com/community-scripts/core/pull/286))
- Keep the installed Go until the new one is downloaded, try dl.google.com as fallback [@MickLesk](https://github.com/MickLesk) ([core#284](https://github.com/community-scripts/core/pull/284))
- Tell a dead connection from a non-JSON answer in forge API calls [@MickLesk](https://github.com/MickLesk) ([core#285](https://github.com/community-scripts/core/pull/285))
### 🧰 Tools
- #### ✨ New Features
- fstrim: read the root volume from the container config [@MickLesk](https://github.com/MickLesk) ([#18894](https://github.com/community-scripts/ProxmoxVE/pull/18894))
## 2026-11-20
### 🆕 New Scripts
- Grimmory [@MickLesk](https://github.com/MickLesk) ([#18880](https://github.com/community-scripts/ProxmoxVE/pull/18880))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Remove thumbnails as opencloud user [@jheyens](https://github.com/jheyens) ([#18865](https://github.com/community-scripts/ProxmoxVE/pull/18865))
- NPMplus: hand Docker the usable DNS servers when resolv.conf has a zone ID [@MickLesk](https://github.com/MickLesk) ([#18860](https://github.com/community-scripts/ProxmoxVE/pull/18860))
- Nginx Proxy Manager: fetch the nginx HTTP/2 patches from the GitHub API [@MickLesk](https://github.com/MickLesk) ([#18855](https://github.com/community-scripts/ProxmoxVE/pull/18855))
- deCONZ: fetch libssl1.1 over HTTPS on arm64 [@MickLesk](https://github.com/MickLesk) ([#18798](https://github.com/community-scripts/ProxmoxVE/pull/18798))
- #### ✨ New Features
- Stalwart: migrate to v1 with stalwart-migrate [@MickLesk](https://github.com/MickLesk) ([#18794](https://github.com/community-scripts/ProxmoxVE/pull/18794))
- #### 🔧 Refactor
- Kasm: show the installer's last lines when it fails [@MickLesk](https://github.com/MickLesk) ([#18869](https://github.com/community-scripts/ProxmoxVE/pull/18869))
- Immich: skip oazapfts in mise install, the build never runs it [@MickLesk](https://github.com/MickLesk) ([#18859](https://github.com/community-scripts/ProxmoxVE/pull/18859))
- QoL - Postgres: keep installing when the Adminer prompt reads a closed console [@MickLesk](https://github.com/MickLesk) ([#18857](https://github.com/community-scripts/ProxmoxVE/pull/18857))
- Plane: install the API from uv.lock, v1.5.0 dropped the requirements files [@MickLesk](https://github.com/MickLesk) ([#18856](https://github.com/community-scripts/ProxmoxVE/pull/18856))
- Pi.Alert: install the crontab after the first scans [@MickLesk](https://github.com/MickLesk) ([#18858](https://github.com/community-scripts/ProxmoxVE/pull/18858))
### 💾 Core
- core: Keep the root filesystem lookup a soft failure [@MickLesk](https://github.com/MickLesk) ([core#280](https://github.com/community-scripts/core/pull/280))
- fix: vm - name why an image step failed and open one message for the disk import [@MickLesk](https://github.com/MickLesk) ([core#279](https://github.com/community-scripts/core/pull/279))
### 🧰 Tools
- #### 🐞 Bug Fixes
- Install the Scrutiny collector on TrueNAS SCALE without apt [@MickLesk](https://github.com/MickLesk) ([#18870](https://github.com/community-scripts/ProxmoxVE/pull/18870))
- #### 🔧 Refactor
- Refactor: Tailscale Script [@MickLesk](https://github.com/MickLesk) ([#18868](https://github.com/community-scripts/ProxmoxVE/pull/18868))
- Report an interrupted update-apps backup as cancelled, not failed [@MickLesk](https://github.com/MickLesk) ([#18867](https://github.com/community-scripts/ProxmoxVE/pull/18867))
- FSTrim: skip a container that will not start instead of ending fstrim [@MickLesk](https://github.com/MickLesk) ([#18864](https://github.com/community-scripts/ProxmoxVE/pull/18864))
- Say which containers update-lxcs failed on and why [@MickLesk](https://github.com/MickLesk) ([#18863](https://github.com/community-scripts/ProxmoxVE/pull/18863))
- clean-lxc: say which containers clean-lxcs failed on and why [@MickLesk](https://github.com/MickLesk) ([#18862](https://github.com/community-scripts/ProxmoxVE/pull/18862))
- LXC-Executer: run the execute command once per container and keep going on failure [@MickLesk](https://github.com/MickLesk) ([#18861](https://github.com/community-scripts/ProxmoxVE/pull/18861))
## 2026-11-19
### 🆕 New Scripts
- T3 Code [@lukdz](https://github.com/lukdz) ([#18845](https://github.com/community-scripts/ProxmoxVE/pull/18845))
- Faraday [@MickLesk](https://github.com/MickLesk) ([#18844](https://github.com/community-scripts/ProxmoxVE/pull/18844))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- fix(t3code): wait for server readiness before pairing [@ps915](https://github.com/ps915) ([#18849](https://github.com/community-scripts/ProxmoxVE/pull/18849))
- Frigate: bump to v0.18.3 [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#18841](https://github.com/community-scripts/ProxmoxVE/pull/18841))
- Nginx Proxy Manager: patch nginx HTTP/2 CVE-2026-123007 / CVE-2026-123633 [@valentingoulier](https://github.com/valentingoulier) ([#18835](https://github.com/community-scripts/ProxmoxVE/pull/18835))
### 🛰️ Services
- Take the API reference out of the menu and cut it down [@MickLesk](https://github.com/MickLesk) ([services#21](https://github.com/community-scripts/services/pull/21))
- Add an API reference page and offer 3 days instead of a year [@MickLesk](https://github.com/MickLesk) ([services#20](https://github.com/community-scripts/services/pull/20))
## 2026-11-18
### 🆕 New Scripts
- Factorio [@LindholmLabs](https://github.com/LindholmLabs) ([#18830](https://github.com/community-scripts/ProxmoxVE/pull/18830))
- Scrutiny [@MickLesk](https://github.com/MickLesk) ([#18827](https://github.com/community-scripts/ProxmoxVE/pull/18827))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- WireGuard: increase Alpine disk size to 2 GB [@degeens](https://github.com/degeens) ([#18831](https://github.com/community-scripts/ProxmoxVE/pull/18831))
- #### ✨ New Features
- OpenCloud: bump to v9.2.0 [@SimKaiLong](https://github.com/SimKaiLong) ([#18822](https://github.com/community-scripts/ProxmoxVE/pull/18822))
### 🧰 Tools
- Scrutiny Collector ([#18826](https://github.com/community-scripts/ProxmoxVE/pull/18826))
## 2026-11-17
### 🆕 New Scripts
- AIOStreams [@MrNRod](https://github.com/MrNRod) ([#18673](https://github.com/community-scripts/ProxmoxVE/pull/18673))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- immichframe: move to .NET 10 (1.0.40.0 requires it) [@supersoju](https://github.com/supersoju) ([#18806](https://github.com/community-scripts/ProxmoxVE/pull/18806))
- LibreNMS: write a valid APP_KEY before migrating [@MickLesk](https://github.com/MickLesk) ([#18776](https://github.com/community-scripts/ProxmoxVE/pull/18776))
- #### ✨ New Features
- OpenCloud: bump to v9.1.1 [@SimKaiLong](https://github.com/SimKaiLong) ([#18795](https://github.com/community-scripts/ProxmoxVE/pull/18795))
- Portabase: support file and folder backups (restic / rclone) [@MickLesk](https://github.com/MickLesk) ([#18766](https://github.com/community-scripts/ProxmoxVE/pull/18766))
- #### 🔧 Refactor
- ITSM-NG: fetch the repo and key over HTTPS [@MickLesk](https://github.com/MickLesk) ([#18799](https://github.com/community-scripts/ProxmoxVE/pull/18799))
- Frigate: Fetch the OpenVINO model over HTTPS [@MickLesk](https://github.com/MickLesk) ([#18797](https://github.com/community-scripts/ProxmoxVE/pull/18797))
- Change Detection: replace Browserless with SockPuppetBrowser [@MickLesk](https://github.com/MickLesk) ([#18767](https://github.com/community-scripts/ProxmoxVE/pull/18767))
### 💾 Core
- Stop setting kernel.keys.maxkeys on Incus containers [@MickLesk](https://github.com/MickLesk) ([core#277](https://github.com/community-scripts/core/pull/277))
- Bound the template catalog lookup so a dead storage cannot hang the run [@MickLesk](https://github.com/MickLesk) ([core#275](https://github.com/community-scripts/core/pull/275))
- Record a failed command as written in the script [@MickLesk](https://github.com/MickLesk) ([core#274](https://github.com/community-scripts/core/pull/274))
- Let the Incus network wait ask again when its probe fails [@MickLesk](https://github.com/MickLesk) ([core#273](https://github.com/community-scripts/core/pull/273))
- Run the VM cleanup and Incus file pull tests in CI | Take files out of an Incus guest as a bounded stream into a private file [@MickLesk](https://github.com/MickLesk) ([core#272](https://github.com/community-scripts/core/pull/272))
### 🧰 Tools
- #### 🐞 Bug Fixes
- Arcane: show the generated admin password [@MickLesk](https://github.com/MickLesk) ([#18785](https://github.com/community-scripts/ProxmoxVE/pull/18785))
### 📚 Documentation
- Changelog: Credit script authors and list services and website changes [@MickLesk](https://github.com/MickLesk) ([#18809](https://github.com/community-scripts/ProxmoxVE/pull/18809))
- Merge only the changelog pull request the job opened [@MickLesk](https://github.com/MickLesk) ([#18804](https://github.com/community-scripts/ProxmoxVE/pull/18804))
### 🛰️ Services
- Let contributors read traces and open issues with a password of their own [@MickLesk](https://github.com/MickLesk) ([services#19](https://github.com/community-scripts/services/pull/19))
- Rework the dashboard around triaging failures [@MickLesk](https://github.com/MickLesk) ([services#18](https://github.com/community-scripts/services/pull/18))
- Serve failure text only to requests that carry the admin token [@MickLesk](https://github.com/MickLesk) ([services#17](https://github.com/community-scripts/services/pull/17))
- Number the notes in the testing message and show their type [@MickLesk](https://github.com/MickLesk) ([services#16](https://github.com/community-scripts/services/pull/16))
- Decide exit 255 by the command, not as dpkg [@MickLesk](https://github.com/MickLesk) ([services#14](https://github.com/community-scripts/services/pull/14))
### ❔ Uncategorized
- chore(ct): sync paperclip defaults with PocketBase [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18820](https://github.com/community-scripts/ProxmoxVE/pull/18820))
## 2026-11-16
### 🆕 New Scripts
- Gitea Runner ([#18782](https://github.com/community-scripts/ProxmoxVE/pull/18782))
- NetAlertX ([#18781](https://github.com/community-scripts/ProxmoxVE/pull/18781))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Dawarich: let Rails serve undigested asset paths [@ryanvo](https://github.com/ryanvo) ([#18779](https://github.com/community-scripts/ProxmoxVE/pull/18779))
- ArchiveBox: install libatomic1 for the Playwright driver [@MickLesk](https://github.com/MickLesk) ([#18722](https://github.com/community-scripts/ProxmoxVE/pull/18722))
- Ollama/OpenWebUI: download update before stopping the service [@jobben-2025](https://github.com/jobben-2025) ([#18755](https://github.com/community-scripts/ProxmoxVE/pull/18755))
- opengym: bump Node.js from 22 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18756](https://github.com/community-scripts/ProxmoxVE/pull/18756))
- razzia: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18757](https://github.com/community-scripts/ProxmoxVE/pull/18757))
- reactive-resume: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18758](https://github.com/community-scripts/ProxmoxVE/pull/18758))
- #### 💥 Breaking Changes
- immich: reuse prebuilt image-processing libraries from the base image [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#18605](https://github.com/community-scripts/ProxmoxVE/pull/18605))
### 💾 Core
- Treat a closed update menu as cancel [@MickLesk](https://github.com/MickLesk) ([core#270](https://github.com/community-scripts/core/pull/270))
- forge: a .deb without service units is not an error [@MickLesk](https://github.com/MickLesk) ([core#269](https://github.com/community-scripts/core/pull/269))
## 2026-11-15
### 🆕 New Scripts
- DietPi ([#18746](https://github.com/community-scripts/ProxmoxVE/pull/18746))
- openlist ([#18747](https://github.com/community-scripts/ProxmoxVE/pull/18747))
- BlissOS VM ([#18745](https://github.com/community-scripts/ProxmoxVE/pull/18745))
- vLLM ([#18744](https://github.com/community-scripts/ProxmoxVE/pull/18744))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Trilium: keep the installed version when an update download fails [@s31teg](https://github.com/s31teg) ([#18592](https://github.com/community-scripts/ProxmoxVE/pull/18592))
- several scripts: keep the port in redirects of PHP apps behind nginx on a custom port [@MickLesk](https://github.com/MickLesk) ([#18732](https://github.com/community-scripts/ProxmoxVE/pull/18732))
- NPMplus: offer the container's timezone as the default [@MickLesk](https://github.com/MickLesk) ([#18733](https://github.com/community-scripts/ProxmoxVE/pull/18733))
- #### ✨ New Features
- OpenCloud: bump to v9.0.0, configure the service account through env [@SimKaiLong](https://github.com/SimKaiLong) ([#18586](https://github.com/community-scripts/ProxmoxVE/pull/18586))
- #### 🔧 Refactor
- Nginx Proxy Manager: fall back to Alpine's distfiles for the OpenResty source [@MickLesk](https://github.com/MickLesk) ([#18736](https://github.com/community-scripts/ProxmoxVE/pull/18736))
### 💾 Core
- Keep the certificate CN within 64 characters [@MickLesk](https://github.com/MickLesk) ([core#267](https://github.com/community-scripts/core/pull/267))
- setup_rust: retry the rustup install [@MickLesk](https://github.com/MickLesk) ([core#266](https://github.com/community-scripts/core/pull/266))
- setup_nodejs: probe a module's binaries by its bin field [@MickLesk](https://github.com/MickLesk) ([core#265](https://github.com/community-scripts/core/pull/265))
## 2026-11-14
### 🆕 New Scripts
+134 -139
View File
@@ -131,6 +131,9 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
@@ -144,7 +147,7 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
<details>
<summary><h4>November (14 entries)</h4></summary>
<summary><h4>November (21 entries)</h4></summary>
[View November 2026 Changelog](.github/changelogs/2026/11.md)
@@ -584,6 +587,135 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-11-23
### 🆕 New Scripts
- Anubis [@opastorello](https://github.com/opastorello) ([#18926](https://github.com/community-scripts/ProxmoxVE/pull/18926))
- Oracle Linux [@MickLesk](https://github.com/MickLesk) ([#18945](https://github.com/community-scripts/ProxmoxVE/pull/18945))
- Kali Linux [@MickLesk](https://github.com/MickLesk) ([#18946](https://github.com/community-scripts/ProxmoxVE/pull/18946))
- Linux Mint [@MickLesk](https://github.com/MickLesk) ([#18948](https://github.com/community-scripts/ProxmoxVE/pull/18948))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- airconnect: fix disabled service restart, static binary cleanup, and flag overrides [@cwmoriarty](https://github.com/cwmoriarty) ([#18955](https://github.com/community-scripts/ProxmoxVE/pull/18955))
- bulwark: bump Node.js from 24 to 26 [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18957](https://github.com/community-scripts/ProxmoxVE/pull/18957))
## 2026-11-22
### 🆕 New Scripts
- Subwave [@MickLesk](https://github.com/MickLesk) ([#18929](https://github.com/community-scripts/ProxmoxVE/pull/18929))
- Gopeed [@MickLesk](https://github.com/MickLesk) ([#18921](https://github.com/community-scripts/ProxmoxVE/pull/18921))
- NoteMark [@MickLesk](https://github.com/MickLesk) ([#18920](https://github.com/community-scripts/ProxmoxVE/pull/18920))
- Bytechef [@MickLesk](https://github.com/MickLesk) ([#18919](https://github.com/community-scripts/ProxmoxVE/pull/18919))
- Lidify [@angusmaul](https://github.com/angusmaul) ([#18918](https://github.com/community-scripts/ProxmoxVE/pull/18918))
- Ideon [@MickLesk](https://github.com/MickLesk) ([#18915](https://github.com/community-scripts/ProxmoxVE/pull/18915))
- Mathesar [@MickLesk](https://github.com/MickLesk) ([#18914](https://github.com/community-scripts/ProxmoxVE/pull/18914))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Keeper: set the build identity and tz data the services now require [@MickLesk](https://github.com/MickLesk) ([#18933](https://github.com/community-scripts/ProxmoxVE/pull/18933))
- Firecrawl: pin nodesig to the commit that matches the 2.11 release [@MickLesk](https://github.com/MickLesk) ([#18934](https://github.com/community-scripts/ProxmoxVE/pull/18934))
- Update authentik to 2026.8.6 [@thieneret](https://github.com/thieneret) ([#18912](https://github.com/community-scripts/ProxmoxVE/pull/18912))
- FIX: Add flag to Grimmory install script to mitigate CVE-2026-114938 [@zekaptain](https://github.com/zekaptain) ([#18923](https://github.com/community-scripts/ProxmoxVE/pull/18923))
- #### 🔧 Refactor
- several scripts: update prompts - take the default or skip when nobody can answer [@MickLesk](https://github.com/MickLesk) ([#18931](https://github.com/community-scripts/ProxmoxVE/pull/18931))
- splunk, immich: let var_* answer the last install prompts [@MickLesk](https://github.com/MickLesk) ([#18932](https://github.com/community-scripts/ProxmoxVE/pull/18932))
### 💾 Core
- incus: install what a Proxmox template ships into Incus containers too [@MickLesk](https://github.com/MickLesk) ([core#293](https://github.com/community-scripts/core/pull/293))
- pve/incus: give ct scripts host-side helpers that work on both backends [@MickLesk](https://github.com/MickLesk) ([core#294](https://github.com/community-scripts/core/pull/294))
- Reload systemd units after a .deb install [@MickLesk](https://github.com/MickLesk) ([core#291](https://github.com/community-scripts/core/pull/291))
- Read github.com when the update check hits the API rate limit [@MickLesk](https://github.com/MickLesk) ([core#292](https://github.com/community-scripts/core/pull/292))
- Resume a VM image download that broke off [@MickLesk](https://github.com/MickLesk) ([core#290](https://github.com/community-scripts/core/pull/290))
## 2026-11-21
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Change Detection: create the SockPuppetBrowser unit whenever it is missing [@MickLesk](https://github.com/MickLesk) ([#18895](https://github.com/community-scripts/ProxmoxVE/pull/18895))
- #### ✨ New Features
- Switch Pinchflat to the maintained Pinchflat-NGX fork [@MickLesk](https://github.com/MickLesk) ([#18897](https://github.com/community-scripts/ProxmoxVE/pull/18897))
- #### 🔧 Refactor
- FileFlows: check for updates without the REST API [@MickLesk](https://github.com/MickLesk) ([#18898](https://github.com/community-scripts/ProxmoxVE/pull/18898))
- HAOS VM: fall back to Home Assistant's own hosts for version and image [@MickLesk](https://github.com/MickLesk) ([#18900](https://github.com/community-scripts/ProxmoxVE/pull/18900))
### 💾 Core
- proxmox: accept a template that is on the storage when pveam list does not show it [@MickLesk](https://github.com/MickLesk) ([core#289](https://github.com/community-scripts/core/pull/289))
- proxmox: fetch a template over HTTPS when pveam cannot download it [@MickLesk](https://github.com/MickLesk) ([core#288](https://github.com/community-scripts/core/pull/288))
- tools.func: check the new version's repository before purging the installed one [@MickLesk](https://github.com/MickLesk) ([core#287](https://github.com/community-scripts/core/pull/287))
- setup_uv: Fall back to PyPI and releases.astral.sh [@MickLesk](https://github.com/MickLesk) ([core#286](https://github.com/community-scripts/core/pull/286))
- Keep the installed Go until the new one is downloaded, try dl.google.com as fallback [@MickLesk](https://github.com/MickLesk) ([core#284](https://github.com/community-scripts/core/pull/284))
- Tell a dead connection from a non-JSON answer in forge API calls [@MickLesk](https://github.com/MickLesk) ([core#285](https://github.com/community-scripts/core/pull/285))
### 🧰 Tools
- #### ✨ New Features
- fstrim: read the root volume from the container config [@MickLesk](https://github.com/MickLesk) ([#18894](https://github.com/community-scripts/ProxmoxVE/pull/18894))
## 2026-11-20
### 🆕 New Scripts
- Grimmory [@MickLesk](https://github.com/MickLesk) ([#18880](https://github.com/community-scripts/ProxmoxVE/pull/18880))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Remove thumbnails as opencloud user [@jheyens](https://github.com/jheyens) ([#18865](https://github.com/community-scripts/ProxmoxVE/pull/18865))
- NPMplus: hand Docker the usable DNS servers when resolv.conf has a zone ID [@MickLesk](https://github.com/MickLesk) ([#18860](https://github.com/community-scripts/ProxmoxVE/pull/18860))
- Nginx Proxy Manager: fetch the nginx HTTP/2 patches from the GitHub API [@MickLesk](https://github.com/MickLesk) ([#18855](https://github.com/community-scripts/ProxmoxVE/pull/18855))
- deCONZ: fetch libssl1.1 over HTTPS on arm64 [@MickLesk](https://github.com/MickLesk) ([#18798](https://github.com/community-scripts/ProxmoxVE/pull/18798))
- #### ✨ New Features
- Stalwart: migrate to v1 with stalwart-migrate [@MickLesk](https://github.com/MickLesk) ([#18794](https://github.com/community-scripts/ProxmoxVE/pull/18794))
- #### 🔧 Refactor
- Kasm: show the installer's last lines when it fails [@MickLesk](https://github.com/MickLesk) ([#18869](https://github.com/community-scripts/ProxmoxVE/pull/18869))
- Immich: skip oazapfts in mise install, the build never runs it [@MickLesk](https://github.com/MickLesk) ([#18859](https://github.com/community-scripts/ProxmoxVE/pull/18859))
- QoL - Postgres: keep installing when the Adminer prompt reads a closed console [@MickLesk](https://github.com/MickLesk) ([#18857](https://github.com/community-scripts/ProxmoxVE/pull/18857))
- Plane: install the API from uv.lock, v1.5.0 dropped the requirements files [@MickLesk](https://github.com/MickLesk) ([#18856](https://github.com/community-scripts/ProxmoxVE/pull/18856))
- Pi.Alert: install the crontab after the first scans [@MickLesk](https://github.com/MickLesk) ([#18858](https://github.com/community-scripts/ProxmoxVE/pull/18858))
### 💾 Core
- core: Keep the root filesystem lookup a soft failure [@MickLesk](https://github.com/MickLesk) ([core#280](https://github.com/community-scripts/core/pull/280))
- fix: vm - name why an image step failed and open one message for the disk import [@MickLesk](https://github.com/MickLesk) ([core#279](https://github.com/community-scripts/core/pull/279))
### 🧰 Tools
- #### 🐞 Bug Fixes
- Install the Scrutiny collector on TrueNAS SCALE without apt [@MickLesk](https://github.com/MickLesk) ([#18870](https://github.com/community-scripts/ProxmoxVE/pull/18870))
- #### 🔧 Refactor
- Refactor: Tailscale Script [@MickLesk](https://github.com/MickLesk) ([#18868](https://github.com/community-scripts/ProxmoxVE/pull/18868))
- Report an interrupted update-apps backup as cancelled, not failed [@MickLesk](https://github.com/MickLesk) ([#18867](https://github.com/community-scripts/ProxmoxVE/pull/18867))
- FSTrim: skip a container that will not start instead of ending fstrim [@MickLesk](https://github.com/MickLesk) ([#18864](https://github.com/community-scripts/ProxmoxVE/pull/18864))
- Say which containers update-lxcs failed on and why [@MickLesk](https://github.com/MickLesk) ([#18863](https://github.com/community-scripts/ProxmoxVE/pull/18863))
- clean-lxc: say which containers clean-lxcs failed on and why [@MickLesk](https://github.com/MickLesk) ([#18862](https://github.com/community-scripts/ProxmoxVE/pull/18862))
- LXC-Executer: run the execute command once per container and keep going on failure [@MickLesk](https://github.com/MickLesk) ([#18861](https://github.com/community-scripts/ProxmoxVE/pull/18861))
## 2026-11-19
### 🆕 New Scripts
@@ -1432,141 +1564,4 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- error output: report a failure inside a subshell once [@MickLesk](https://github.com/MickLesk) ([core#162](https://github.com/community-scripts/core/pull/162))
- general: allow Composer as root in every script [@MickLesk](https://github.com/MickLesk) ([core#161](https://github.com/community-scripts/core/pull/161))
- lxc-updater: skip the resource check when the container cannot read its RAM [@MickLesk](https://github.com/MickLesk) ([core#160](https://github.com/community-scripts/core/pull/160))
- vm-core: let vm_timezone_default survive a host without /etc/timezone [@MickLesk](https://github.com/MickLesk) ([core#159](https://github.com/community-scripts/core/pull/159))
## 2026-10-22
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Zabbix: keep unattended updates on the installed series [@florianpunz](https://github.com/florianpunz) ([#18051](https://github.com/community-scripts/ProxmoxVE/pull/18051))
- #### 🔧 Refactor
- Refactor: Cryptpad [@MickLesk](https://github.com/MickLesk) ([#18065](https://github.com/community-scripts/ProxmoxVE/pull/18065))
### 💾 Core
- Incus: drive a remote Incus server from the client's default remote [@MickLesk](https://github.com/MickLesk) ([core#154](https://github.com/community-scripts/core/pull/154))
- Deploy the release again when an update is redone [@MickLesk](https://github.com/MickLesk) ([core#158](https://github.com/community-scripts/core/pull/158))
### ❔ Uncategorized
- chore(ct): sync sparkyfitness defaults with PocketBase [@github-actions[bot]](https://github.com/github-actions[bot]) ([#18061](https://github.com/community-scripts/ProxmoxVE/pull/18061))
## 2026-10-21
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Immich: bump release version to v3.3.5 (CVE) [@CerberusStyle](https://github.com/CerberusStyle) ([#18057](https://github.com/community-scripts/ProxmoxVE/pull/18057))
- DroppedNeedle: pass release version to the app via COMMIT_TAG [@MickLesk](https://github.com/MickLesk) ([#18042](https://github.com/community-scripts/ProxmoxVE/pull/18042))
### 💾 Core
- Keep the version an update started from across a redo [@MickLesk](https://github.com/MickLesk) ([core#156](https://github.com/community-scripts/core/pull/156))
- Redo an update whose run did not finish after the deploy [@MickLesk](https://github.com/MickLesk) ([core#155](https://github.com/community-scripts/core/pull/155))
## 2026-10-20
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Plane: give Silo its own HOME [@MickLesk](https://github.com/MickLesk) ([#18028](https://github.com/community-scripts/ProxmoxVE/pull/18028))
- Immich: Pin version to 3.3.4 [@vhsdream](https://github.com/vhsdream) ([#18036](https://github.com/community-scripts/ProxmoxVE/pull/18036))
- InvenTree: run apt under systemd so postinst can finish [@MickLesk](https://github.com/MickLesk) ([#18029](https://github.com/community-scripts/ProxmoxVE/pull/18029))
- Profilarr: pass the deno pin as the version [@MickLesk](https://github.com/MickLesk) ([#18025](https://github.com/community-scripts/ProxmoxVE/pull/18025))
- Silo: keep the version file out of ~/.silo [@MickLesk](https://github.com/MickLesk) ([#18030](https://github.com/community-scripts/ProxmoxVE/pull/18030))
- InvenTree: move to go.packager.io [@MickLesk](https://github.com/MickLesk) ([#18015](https://github.com/community-scripts/ProxmoxVE/pull/18015))
- Zitadel: run init and setup in the foreground [@MickLesk](https://github.com/MickLesk) ([#18016](https://github.com/community-scripts/ProxmoxVE/pull/18016))
- #### ✨ New Features
- Zitadel: Support v1 and v2 Login [@MickLesk](https://github.com/MickLesk) ([#18031](https://github.com/community-scripts/ProxmoxVE/pull/18031))
- #### 🔧 Refactor
- Refactor: OpenWebUI (remove numba pin) [@MickLesk](https://github.com/MickLesk) ([#18026](https://github.com/community-scripts/ProxmoxVE/pull/18026))
### 💾 Core
- Only treat an NVIDIA GPU as present when its device nodes are [@MickLesk](https://github.com/MickLesk) ([core#153](https://github.com/community-scripts/core/pull/153))
## 2026-10-19
### 🆕 New Scripts
- Calagopus ([#18012](https://github.com/community-scripts/ProxmoxVE/pull/18012))
- Netronome ([#18011](https://github.com/community-scripts/ProxmoxVE/pull/18011))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- immich: record library revisions when the line is missing [@mazelado](https://github.com/mazelado) ([#17990](https://github.com/community-scripts/ProxmoxVE/pull/17990))
- Update authentik 2026.8.4 [@thieneret](https://github.com/thieneret) ([#18004](https://github.com/community-scripts/ProxmoxVE/pull/18004))
- #### ✨ New Features
- feat(mealie): add reverse proxy auth settings to mealie.env [@bferd](https://github.com/bferd) ([#18006](https://github.com/community-scripts/ProxmoxVE/pull/18006))
## 2026-10-18
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Donetick: create selfhosted.yaml from the example [@MickLesk](https://github.com/MickLesk) ([#17992](https://github.com/community-scripts/ProxmoxVE/pull/17992))
- Wiki.js: only back up db.sqlite on SQLite installs [@MickLesk](https://github.com/MickLesk) ([#17993](https://github.com/community-scripts/ProxmoxVE/pull/17993))
- FlareSolverr: pass Chrome an en-US Accept-Language [@MickLesk](https://github.com/MickLesk) ([#17995](https://github.com/community-scripts/ProxmoxVE/pull/17995))
- 2FAuth: install the locked dependencies [@MickLesk](https://github.com/MickLesk) ([#17996](https://github.com/community-scripts/ProxmoxVE/pull/17996))
- Tracearr: drop the pnpm store after the update build [@gioxx](https://github.com/gioxx) ([#17869](https://github.com/community-scripts/ProxmoxVE/pull/17869))
- vaultwarden: build before stopping the service [@mazelado](https://github.com/mazelado) ([#17983](https://github.com/community-scripts/ProxmoxVE/pull/17983))
- #### 💥 Breaking Changes
- fix: geopulse 2.0.0 upgrade support (nginx .mjs, pg18, jwt cleanup) [@CrazyWolf13](https://github.com/CrazyWolf13) ([#17978](https://github.com/community-scripts/ProxmoxVE/pull/17978))
### 💾 Core
- Let get_current_ip reach its IPv6 fallback [@MickLesk](https://github.com/MickLesk) ([core#151](https://github.com/community-scripts/core/pull/151))
- Drop apt autoclean before apt clean [@MickLesk](https://github.com/MickLesk) ([core#152](https://github.com/community-scripts/core/pull/152))
- Silence apt's script warning in $STD [@MickLesk](https://github.com/MickLesk) ([core#150](https://github.com/community-scripts/core/pull/150))
## 2026-10-17
### 🆕 New Scripts
- ProxCenter ([#17961](https://github.com/community-scripts/ProxmoxVE/pull/17961))
- Listenarr ([#17963](https://github.com/community-scripts/ProxmoxVE/pull/17963))
- Youtarr ([#17962](https://github.com/community-scripts/ProxmoxVE/pull/17962))
- Norish ([#17964](https://github.com/community-scripts/ProxmoxVE/pull/17964))
### 🚀 Updated Scripts
- #### 🔧 Refactor
- Sonarr: stay on the newest v4 (pin) [@MickLesk](https://github.com/MickLesk) ([#17958](https://github.com/community-scripts/ProxmoxVE/pull/17958))
## 2026-10-16
### 🆕 New Scripts
- Downtify ([#17959](https://github.com/community-scripts/ProxmoxVE/pull/17959))
- openGym ([#17960](https://github.com/community-scripts/ProxmoxVE/pull/17960))
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Pelican Panel: pass the URL to p:environment:setup [@MickLesk](https://github.com/MickLesk) ([#17948](https://github.com/community-scripts/ProxmoxVE/pull/17948))
- OneDev: use the onedev.server unit of 16.9 [@MickLesk](https://github.com/MickLesk) ([#17949](https://github.com/community-scripts/ProxmoxVE/pull/17949))
- ReadMeABook: start the scheduler with the service [@MickLesk](https://github.com/MickLesk) ([#17950](https://github.com/community-scripts/ProxmoxVE/pull/17950))
### 💾 Core
- Clean up after installs and updates again [@MickLesk](https://github.com/MickLesk) ([core#147](https://github.com/community-scripts/core/pull/147))
- Fix apt_conffile_report exiting 1 when uutils comm sees locale-sorted input [@BadFlo](https://github.com/BadFlo) ([core#146](https://github.com/community-scripts/core/pull/146))
- vm-core: let vm_timezone_default survive a host without /etc/timezone [@MickLesk](https://github.com/MickLesk) ([core#159](https://github.com/community-scripts/core/pull/159))
+9 -6
View File
@@ -34,20 +34,23 @@ function update_script() {
if check_for_gh_release "airconnect" "philippe44/AirConnect"; then
msg_info "Stopping AirConnect"
systemctl stop airupnp aircast
if systemctl is-active --quiet airupnp; then systemctl stop airupnp; fi
if systemctl is-active --quiet aircast; then systemctl stop aircast; fi
msg_ok "Stopped AirConnect"
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="airupnp.xml aircast.xml" fetch_and_deploy_gh_release "airconnect" "philippe44/AirConnect" "prebuild" "latest" "/opt/airconnect" "AirConnect-*.zip"
msg_info "Configuring AirConnect"
chmod +x /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64)
ln -sf /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/airupnp
ln -sf /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast
find /opt/airconnect -maxdepth 1 -type f ! -name "air*linux-$(arch_resolve x86_64 aarch64)*" ! -name "airupnp" ! -name "aircast" ! -name "*.xml" -delete
ARCH=$(arch_resolve x86_64 aarch64)
chmod +x "/opt/airconnect/airupnp-linux-${ARCH}" "/opt/airconnect/aircast-linux-${ARCH}"
ln -sf "/opt/airconnect/airupnp-linux-${ARCH}" /opt/airconnect/airupnp
ln -sf "/opt/airconnect/aircast-linux-${ARCH}" /opt/airconnect/aircast
find /opt/airconnect -maxdepth 1 -type f ! -name "airupnp-linux-${ARCH}" ! -name "aircast-linux-${ARCH}" ! -name "*.xml" -delete
msg_ok "Configured AirConnect"
msg_info "Starting AirConnect"
systemctl start airupnp aircast
if systemctl is-enabled --quiet airupnp; then systemctl start airupnp; fi
if systemctl is-enabled --quiet aircast; then systemctl start aircast; fi
msg_ok "Started AirConnect"
msg_ok "Updated successfully!"
fi
+1 -2
View File
@@ -34,8 +34,7 @@ function update_script() {
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
echo -e "${TAB}${TAB}${GN}update_komodo${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
echo ""
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
msg_warn "Migration skipped. The old update will continue to work for now."
msg_warn "⚠️ Komodo v2 uses :2 image tags. The :latest tag is deprecated and will not receive v2 updates."
msg_warn "Please migrate to the addon script to receive Komodo v2."
+58
View File
@@ -0,0 +1,58 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Nicolas Pastorello (opastorello)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://anubis.techaro.lol/
APP="Anubis"
var_tags="${var_tags:-proxy;security}"
var_cpu="${var_cpu:-1}"
var_ram="${var_ram:-512}"
var_disk="${var_disk:-4}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}"
var_arm64="${var_arm64:-yes}"
export var_anubis_target="${var_anubis_target:-}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/anubis/main.env ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "anubis" "TecharoHQ/anubis"; then
msg_info "Stopping Service"
systemctl stop anubis@main
msg_ok "Stopped Service"
fetch_and_deploy_gh_release "anubis" "TecharoHQ/anubis" "binary"
msg_info "Starting Service"
systemctl start anubis@main
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}:8923${CL}"
+3 -3
View File
@@ -47,9 +47,9 @@ function update_script() {
RUST_PROFILE="minimal" RUST_TOOLCHAIN="stable" setup_rust
setup_yq
AUTHENTIK_VERSION="version/2026.8.5"
AUTHENTIK_VERSION="version/2026.8.6"
# Source: https://github.com/goauthentik/fips/blob/main/Makefile#L26
XMLSEC_VERSION="1.3.12"
XMLSEC_VERSION="1.3.13"
if check_for_gh_release "geoipupdate" "maxmind/geoipupdate"; then
fetch_and_deploy_gh_release "geoipupdate" "maxmind/geoipupdate" "binary"
@@ -93,7 +93,7 @@ function update_script() {
fi
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "authentik" "goauthentik/authentik" "tarball" "${AUTHENTIK_VERSION}" "/opt/authentik"
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.7" UV_PROJECT_DIR="/opt/authentik" setup_uv
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.10" UV_PROJECT_DIR="/opt/authentik" setup_uv
GO_VERSION="$(grep -m1 '^go ' /opt/authentik/go.mod | awk '{print $2}')" setup_go
msg_info "Configuring rust"
+4
View File
@@ -50,6 +50,10 @@ function update_script() {
if [[ -n "$STORAGE_KB" && -n "$FREE_KB" && "$FREE_KB" -lt "$STORAGE_KB" ]]; then
echo -e "\n${RD}Warning: migration needs about $((STORAGE_KB / 1024))MB, only $((FREE_KB / 1024))MB free.${CL}"
echo -e "${RD}The new bichon-blob store is written alongside the existing fjall data.${CL}"
if is_unattended; then
msg_warn "Not enough free space for the migration - skipping update, requires an interactive run"
exit 75
fi
read -r -p "Are you sure you want to proceed with the update? (y/N): " proceed
if [[ ! $proceed =~ ^[Yy]$ ]]; then
msg_error "Update cancelled by user."
+1 -1
View File
@@ -38,7 +38,7 @@ function update_script() {
systemctl stop bulwark
msg_ok "Stopped Bulwark"
NODE_VERSION="24" setup_nodejs
NODE_VERSION="26" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bulwark" "bulwarkmail/webmail" "prebuild" "latest" "/opt/bulwark" "bulwark-standalone-*-linux-$(arch_resolve).tar.gz"
msg_info "Starting Bulwark"
+71
View File
@@ -0,0 +1,71 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/bytechefhq/bytechef
APP="ByteChef"
var_tags="${var_tags:-automation;workflow;integration}"
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}" # 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/bytechef ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "bytechef" "bytechefhq/bytechef"; then
msg_info "Stopping ByteChef"
systemctl stop bytechef
msg_ok "Stopped ByteChef"
JAVA_VERSION="25" setup_java
NODE_VERSION="24" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "bytechef" "bytechefhq/bytechef" "tarball"
msg_info "Building ByteChef (Patience)"
mv /opt/bytechef /opt/bytechef-build
cd /opt/bytechef-build/client
$STD npm ci
$STD npm run build
cd /opt/bytechef-build
$STD ./gradlew --no-daemon :server:apps:server-app:bootJar -Pprod -Pkotlin.compiler.execution.strategy=in-process
mkdir -p /opt/bytechef/server
mv /opt/bytechef-build/server/apps/server-app/build/libs/server-app-*.jar /opt/bytechef/server/server-app.jar
mv /opt/bytechef-build/client/dist /opt/bytechef/client
rm -rf /opt/bytechef-build
msg_ok "Built ByteChef"
msg_info "Starting ByteChef"
systemctl start bytechef
msg_ok "Started ByteChef"
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}"
+10 -5
View File
@@ -93,6 +93,15 @@ function update_script() {
rm -rf /opt/browserless /root/.cache/ms-playwright
$STD apt purge -y microsoft-edge-stable
rm -f /etc/apt/sources.list.d/microsoft-edge-stable.list
sed -i 's/browserless\.service/sockpuppetbrowser.service/g' "$SERVICE_FILE"
sed -i -e '/^WEBDRIVER_URL=/d' \
-e 's|^PLAYWRIGHT_DRIVER_URL=ws://localhost:3000/chrome.*|PLAYWRIGHT_DRIVER_URL=ws://127.0.0.1:3000/?headful=true\&--window-size=1920,1080|' \
/opt/changedetection/.env
msg_ok "Replaced Browserless with SockPuppetBrowser"
fi
if [[ ! -f /etc/systemd/system/sockpuppetbrowser.service ]]; then
msg_info "Creating SockPuppetBrowser Service"
cat <<EOF >/etc/systemd/system/sockpuppetbrowser.service
[Unit]
Description=SockPuppetBrowser
@@ -110,13 +119,9 @@ Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
sed -i 's/browserless\.service/sockpuppetbrowser.service/g' "$SERVICE_FILE"
sed -i -e '/^WEBDRIVER_URL=/d' \
-e 's|^PLAYWRIGHT_DRIVER_URL=ws://localhost:3000/chrome.*|PLAYWRIGHT_DRIVER_URL=ws://127.0.0.1:3000/?headful=true\&--window-size=1920,1080|' \
/opt/changedetection/.env
systemctl daemon-reload
systemctl enable -q sockpuppetbrowser
msg_ok "Replaced Browserless with SockPuppetBrowser"
msg_ok "Created SockPuppetBrowser Service"
fi
systemctl daemon-reload
+1 -2
View File
@@ -36,8 +36,7 @@ function update_script() {
msg_ok "Updated ${APP} LXC"
if [[ ! -f /etc/apt/sources.list.d/45drives.sources ]]; then
[[ "$(arch_resolve)" == "arm64" ]] || read -r -p "Would you like to install 45Drives' cockpit-file-sharing, cockpit-identities, and cockpit-navigator now? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
if [[ "$(arch_resolve)" != "arm64" ]] && prompt_confirm "Would you like to install 45Drives' cockpit-file-sharing, cockpit-identities, and cockpit-navigator now?" "n"; then
msg_info "Installing 45Drives' cockpit extensions"
setup_deb822_repo "45drives" \
"https://repo.45drives.com/key/gpg.asc" \
+2
View File
@@ -32,6 +32,8 @@ function update_script() {
msg_info "Updating deCONZ"
apt_update_safe
$STD apt upgrade -y
setcap -r /usr/bin/deCONZ 2>/dev/null || true
systemctl restart deconz
msg_ok "Updated deCONZ"
msg_ok "Updated successfully!"
exit
+1 -2
View File
@@ -38,8 +38,7 @@ function update_script() {
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
echo -e "${TAB}${TAB}${GN}update_dockge${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
echo ""
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
msg_warn "Migration skipped. The old update will continue to work for now."
msg_info "Updating ${APP} (legacy)"
cd /opt/dockge
+1 -2
View File
@@ -38,8 +38,7 @@ function update_script() {
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
echo -e "${TAB}${TAB}${GN}update_dokploy${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
echo ""
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
msg_warn "Migration skipped. The old update will continue to work for now."
msg_info "Updating ${APP} (legacy)"
curl -sSL https://dokploy.com/install.sh | $STD bash -s update
+15 -36
View File
@@ -32,45 +32,24 @@ function update_script() {
exit
fi
local proceed=false
# Since 26.10 the REST API is off by default and answers 404, so compare the
# installed build with the version FileFlows' own updater asks for.
current_version=$(grep -h -m1 -oP '"FileFlows\.(Server|Agent)/\K[0-9.]+' /opt/fileflows/Server/FileFlows.Server.deps.json /opt/fileflows/Agent/FileFlows.Agent.deps.json 2>/dev/null | head -n1 || true)
latest_version=$(curl -fsSL --max-time 20 "https://fileflows.com/auto-update/latest-version?platform=linux" 2>/dev/null | tr -d '[:space:]' || true)
if systemctl list-unit-files 'fileflows.service' --no-legend 2>/dev/null | grep -q '^fileflows\.service'; then
tmp=$(mktemp)
http_code=$(curl -sSL -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' -o "$tmp" -w '%{http_code}' 2>/dev/null) || http_code="000"
if [[ "$http_code" == "200" ]]; then
update_available=$(jq -r '.UpdateAvailable // false' "$tmp" 2>/dev/null)
rm -f "$tmp"
if [[ "${update_available}" == "true" ]]; then
proceed=true
else
msg_ok "No update required. ${APP} is already at latest version"
exit
fi
else
rm -f "$tmp"
if [[ "$http_code" == "401" ]]; then
msg_warn "Could not check for updates: API returned 401 (security may be enabled)."
else
msg_warn "Could not check for updates: API unreachable (HTTP ${http_code})."
fi
if [[ "${FORCE_UPDATE:-}" == "1" ]]; then
proceed=true
else
read -r -p "${TAB3}Force update without version check? [y/N]: " CONFIRM
if [[ "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
proceed=true
else
msg_error "Update aborted."
exit
fi
fi
if [[ "${FORCE_UPDATE:-}" == "1" ]]; then
msg_warn "FORCE_UPDATE=1: updating without the version check"
elif [[ ! "$latest_version" =~ ^[0-9]+(\.[0-9]+)+$ ]]; then
msg_warn "Could not get the latest ${APP} version from fileflows.com"
if ! prompt_confirm "${TAB3}Update without the version check?" "n" 60; then
msg_warn "Update skipped. Run 'FORCE_UPDATE=1 update' to update without the version check."
exit
fi
else
proceed=true
fi
if [[ "$proceed" != "true" ]]; then
elif [[ -n "$current_version" && "$(printf '%s\n' "$current_version" "$latest_version" | sort -V | tail -n1)" == "$current_version" ]]; then
msg_ok "No update required. ${APP} is already at v${current_version}"
exit
else
msg_ok "Update available: ${current_version:-unknown} -> ${latest_version}"
fi
msg_info "Stopping Service"
+1
View File
@@ -64,6 +64,7 @@ function update_script() {
msg_info "Building Firecrawl API"
source "$HOME/.cargo/env"
cd /opt/firecrawl/apps/api
grep -q '^kuchikiki = "0.8.2"' native/Cargo.toml && sed -i 's|^nodesig = { git = "https://github.com/firecrawl/nodesig" }|nodesig = { git = "https://github.com/firecrawl/nodesig", rev = "b8ebc4a71081" }|' native/Cargo.toml
$STD pnpm install --frozen-lockfile
$STD pnpm build
CI=true $STD pnpm prune --prod --ignore-scripts
+1 -1
View File
@@ -33,7 +33,7 @@ function update_script() {
APP_VERSION=$(grep -o '"version": *"[^"]*"' /opt/gitea-mirror/package.json | cut -d'"' -f4)
if [[ $APP_VERSION =~ ^2\. ]]; then
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
if is_unattended; then
msg_warn "Version $APP_VERSION detected. Major version upgrade requires interactive confirmation, skipping."
exit 75
fi
+56
View File
@@ -0,0 +1,56 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/GopeedLab/gopeed
APP="Gopeed"
var_tags="${var_tags:-downloader;torrent}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-1024}"
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/gopeed ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "gopeed" "GopeedLab/gopeed"; then
msg_info "Stopping Gopeed"
systemctl stop gopeed
msg_ok "Stopped Gopeed"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "gopeed" "GopeedLab/gopeed" "prebuild" "latest" "/opt/gopeed" "gopeed-web-v*-linux-$(arch_resolve "amd64" "arm64").zip"
msg_info "Starting Gopeed"
systemctl start gopeed
msg_ok "Started Gopeed"
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}"
+61
View File
@@ -0,0 +1,61 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/grimmory-tools/grimmory
APP="Grimmory"
var_tags="${var_tags:-books;ebooks;library}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_arm64="${var_arm64:-no}" # release jar bundles x64-only PDFium natives
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/grimmory/grimmory.jar ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "kepubify" "pgaskin/kepubify"; then
fetch_and_deploy_gh_release "kepubify" "pgaskin/kepubify" "singlefile" "latest" "/usr/local/bin" "kepubify-linux-64bit"
fi
if check_for_gh_release "grimmory" "grimmory-tools/grimmory"; then
msg_info "Stopping Grimmory"
systemctl stop grimmory
msg_ok "Stopped Grimmory"
JAVA_VERSION="25" setup_java
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "grimmory" "grimmory-tools/grimmory" "singlefile" "latest" "/opt/grimmory" "grimmory.jar"
msg_info "Starting Grimmory"
systemctl start grimmory
msg_ok "Started Grimmory"
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}:6060${CL}"
+67
View File
@@ -0,0 +1,67 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/3xpyth0n/ideon
APP="Ideon"
var_tags="${var_tags:-notes;canvas;collaboration}"
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:-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/ideon ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
$STD sudo -u postgres psql -c "ALTER ROLE ideon BYPASSRLS;"
if check_for_gh_release "ideon" "3xpyth0n/ideon"; then
msg_info "Stopping Ideon"
systemctl stop ideon
msg_ok "Stopped Ideon"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ideon" "3xpyth0n/ideon" "tarball"
msg_info "Building Ideon"
cd /opt/ideon
$STD npm ci
NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production IS_NEXT_BUILD=1 $STD npm run build
$STD npm prune --omit=dev
rm -rf /opt/ideon/.next/cache ~/.npm
ln -s /opt/ideon_data/storage /opt/ideon/storage
msg_ok "Built Ideon"
msg_info "Starting Ideon"
systemctl start ideon
msg_ok "Started Ideon"
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}"
+1 -1
View File
@@ -227,7 +227,7 @@ EOF
# plugins
cd "$SRC_DIR"
export MISE_TRUSTED_CONFIG_PATHS="$SRC_DIR"/mise.toml
export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg,java,terragrunt,opentofu,restic,npm:@openapitools/openapi-generator-cli
export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg,java,terragrunt,opentofu,restic,npm:@openapitools/openapi-generator-cli,npm:oazapfts
export MISE_LOCKFILE_MODE=merge MISE_LOCKFILE_PLATFORMS="linux-$(arch_resolve x64 arm64)"
mise_ok=0
for i in 1 2 3; do
+1 -1
View File
@@ -39,7 +39,7 @@ function update_script() {
echo "Seerr is the new unified Jellyseerr and Overseerr."
echo "More info: https://docs.seerr.dev/blog/seerr-release"
echo
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
if is_unattended; then
msg_warn "Seerr migration detected - skipping update, requires an interactive run"
exit 75
fi
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.kali.org/
APP="Kali Linux"
var_tags="${var_tags:-os}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-kali}"
var_version="${var_version:-current}"
#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
msg_info "Updating $APP LXC"
$STD apt update
$STD apt upgrade -y
msg_ok "Updated $APP LXC"
cleanup_lxc
exit
}
start
build_container
description
msg_ok "Completed successfully!"
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
+7
View File
@@ -51,6 +51,13 @@ function update_script() {
$STD bun run --cwd applications/web build
msg_ok "Built Keeper"
sed -i -e '/^COMMIT_SHA=/d' -e '/^VERSION=/d' -e '/^ICU_TIMEZONE_FILES_DIR=/d' /opt/keeper_data/.env
cat <<EOF >>/opt/keeper_data/.env
COMMIT_SHA=v$(cat ~/.keeper)
VERSION=$(cat ~/.keeper)
ICU_TIMEZONE_FILES_DIR=/opt/keeper/docker/icu-timezone
EOF
msg_info "Migrating Keeper Database"
$STD bun --env-file=/opt/keeper_data/.env packages/database/scripts/migrate.ts
msg_ok "Migrated Keeper Database"
+1 -2
View File
@@ -38,8 +38,7 @@ function update_script() {
msg_custom "ℹ️" "${YW}" "This is a one-time migration. After this, you can update ${APP} anytime with:"
echo -e "${TAB}${TAB}${GN}update_komodo${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
echo ""
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
msg_warn "Migration skipped. The old update will continue to work for now."
msg_warn "⚠️ Komodo v2 uses :2 image tags. The :latest tag is deprecated and will not receive v2 updates."
msg_warn "Please migrate to the addon script to receive Komodo v2."
+65
View File
@@ -0,0 +1,65 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Tim Moore (angusmaul)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/TheWicklowWolf/Lidify
APP="Lidify"
var_tags="${var_tags:-arr;music}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-1024}"
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/lidify ]]; then
msg_error "No Lidify Installation Found!"
exit
fi
if check_for_gh_release "lidify" "TheWicklowWolf/Lidify"; then
msg_info "Stopping Lidify"
systemctl stop lidify
msg_ok "Stopped Lidify"
PYTHON_VERSION="3.12" setup_uv
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="config" fetch_and_deploy_gh_release "lidify" "TheWicklowWolf/Lidify" "tarball"
msg_info "Updating Lidify"
$STD uv venv --python 3.12 /opt/lidify/.venv
$STD uv pip install --python /opt/lidify/.venv/bin/python -r /opt/lidify/requirements.txt
cat <<EOF >/opt/lidify/.env
RELEASE_VERSION=$(cat ~/.lidify)
EOF
msg_ok "Updated Lidify"
msg_info "Starting Lidify"
systemctl start lidify
msg_ok "Started Lidify"
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}:5000${CL}"
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://linuxmint.com/
APP="Linux Mint"
var_tags="${var_tags:-os}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-mint}"
var_version="${var_version:-zena}"
var_arm64="${var_arm64:-no}" # linuxcontainers publishes this one for amd64 only
var_unprivileged="${var_unprivileged:-1}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
msg_info "Updating $APP LXC"
$STD apt update
$STD apt upgrade -y
msg_ok "Updated $APP LXC"
cleanup_lxc
exit
}
start
build_container
description
msg_ok "Completed successfully!"
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
+67
View File
@@ -0,0 +1,67 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/mathesar-foundation/mathesar
APP="Mathesar"
var_tags="${var_tags:-database;postgresql;spreadsheet}"
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/mathesar ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "mathesar" "mathesar-foundation/mathesar"; then
msg_info "Stopping Mathesar"
systemctl stop mathesar
msg_ok "Stopped Mathesar"
PYTHON_VERSION="3.12" setup_uv
CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="sso.yml file_storage.yml login_page.yml" fetch_and_deploy_gh_release "mathesar" "mathesar-foundation/mathesar" "prebuild" "latest" "/opt/mathesar" "mathesar.tar.gz"
msg_info "Updating Mathesar"
cd /opt/mathesar
$STD uv venv --python 3.12 /opt/mathesar/.venv
$STD uv pip install --python /opt/mathesar/.venv/bin/python -r requirements.txt
set -a
source /opt/mathesar_data/.env
set +a
$STD /opt/mathesar/.venv/bin/python -m mathesar.install
msg_ok "Updated Mathesar"
msg_info "Starting Mathesar"
systemctl start mathesar
msg_ok "Started Mathesar"
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}"
+4 -1
View File
@@ -68,7 +68,10 @@ function update_script() {
msg_info "Patching nginx HTTP/2 (CVE-2026-123007, CVE-2026-123633)"
for commit in 61031503dc8087c2c17cd2142c9b4b19062f90c4 2df48a501d0fb8212b7d39dffeeff5876332ba59 e27f5fa84fe6e98505e70bc543b748747dad0a3b; do
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "-" | patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s
curl_with_retry "https://api.github.com/repos/nginx/nginx/commits/${commit}" "/tmp/nginx-${commit}.patch" "-HAccept:application/vnd.github.patch" ||
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "/tmp/nginx-${commit}.patch"
patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s <"/tmp/nginx-${commit}.patch"
rm -f "/tmp/nginx-${commit}.patch"
done
msg_ok "Patched nginx HTTP/2"
+72
View File
@@ -0,0 +1,72 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/enchant97/note-mark
APP="Note Mark"
var_tags="${var_tags:-notes;markdown}"
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/notemark ]]; then
msg_error "No Note Mark Installation Found!"
exit
fi
if check_for_gh_release "notemark" "enchant97/note-mark"; then
msg_info "Stopping Note Mark"
systemctl stop notemark
msg_ok "Stopped Note Mark"
setup_go
NODE_VERSION="24" NODE_MODULE="pnpm@11" setup_nodejs
RUST_PROFILE="minimal" setup_rust
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "notemark" "enchant97/note-mark" "tarball"
msg_info "Building Note Mark"
$STD rustup target add wasm32-unknown-unknown
cd /opt/notemark/frontend
$STD pnpm install --frozen-lockfile
$STD pnpm run wasm
$STD pnpm run build
cd /opt/notemark/backend
$STD go tool sqlc generate
CGO_ENABLED=0 $STD go build -ldflags "-X main.Version=$(cat ~/.notemark)" -o /opt/notemark/note-mark
rm -rf /opt/notemark/frontend/node_modules /opt/notemark/frontend/renderer/target
$STD go clean -cache -modcache
msg_ok "Built Note Mark"
msg_info "Starting Note Mark"
systemctl start notemark
msg_ok "Started Note Mark"
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}"
+1 -1
View File
@@ -90,7 +90,7 @@ function update_script() {
# 9.0: the default space quota is read only under its new name, and thumbnails are cached in thumbnails/cache
sed -i 's/^GRAPH_SPACES_DEFAULT_QUOTA=/OC_SPACES_DEFAULT_QUOTA=/' /etc/opencloud/opencloud.env
rm -rf /var/lib/opencloud/thumbnails/files
sudo -u opencloud rm -rf /var/lib/opencloud/thumbnails/files
msg_info "Starting services"
systemctl start opencloud opencloud-wopi
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.oracle.com/linux/
APP="Oracle Linux"
var_tags="${var_tags:-os}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-2048}"
var_disk="${var_disk:-8}"
var_os="${var_os:-oracle}"
var_version="${var_version:-9}"
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
msg_info "Updating $APP LXC"
$STD dnf -y upgrade
msg_ok "Updated $APP LXC"
cleanup_lxc
exit
}
start
build_container
description
msg_ok "Completed successfully!"
msg_custom "🚀" "${GN}" "${APP} setup has been successfully initialized!"
+1 -1
View File
@@ -38,7 +38,7 @@ function update_script() {
echo "Seerr is the new unified Jellyseerr and Overseerr."
echo "More info: https://docs.seerr.dev/blog/seerr-release"
echo
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
if is_unattended; then
msg_warn "Seerr migration detected - skipping update, requires an interactive run"
exit 75
fi
+2 -2
View File
@@ -63,7 +63,7 @@ function update_script() {
echo -e "${GATEWAY}${BGN}https://docs.paperless-ngx.com/migration-v3/#encryption-support${CL}"
msg_warn "Before continuing make sure that you do not use encryption or have decrypted all documents."
echo ""
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
if is_unattended; then
msg_warn "Paperless-ngx v3 migration detected - skipping update, requires an interactive run"
exit 75
fi
@@ -75,7 +75,7 @@ function update_script() {
fi
fi
if [[ "${PHS_SILENT:-0}" == "1" ]] && ! grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
if is_unattended && ! grep -q "uv run" /etc/systemd/system/paperless-webserver.service; then
msg_warn "Paperless-ngx uv migration detected - skipping update, requires an interactive run"
exit 75
fi
+22 -5
View File
@@ -4,7 +4,7 @@ source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_
# Copyright (c) 2021-2026 community-scripts ORG
# Author: nnsense
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/kieraneglin/pinchflat
# Source: https://github.com/TheBadFella/Pinchflat-NGX
APP="Pinchflat"
var_tags="${var_tags:-media;youtube;downloader}"
@@ -32,17 +32,27 @@ function update_script() {
exit 1
fi
if check_for_gh_release "pinchflat" "kieraneglin/pinchflat"; then
if check_for_gh_release "pinchflat" "TheBadFella/Pinchflat-NGX"; then
msg_info "Stopping Service"
systemctl stop pinchflat
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "pinchflat" "kieraneglin/pinchflat" "tarball" "latest" "/opt/pinchflat-src"
if [[ ! -f /opt/pinchflat-src/lib/pinchflat/legacy_migration.ex && ! -f /opt/pinchflat-pre-ngx.tar.gz ]]; then
NGX_SWITCH=1
msg_info "Backing up Pinchflat before the switch to Pinchflat-NGX"
tar -czf /opt/pinchflat-pre-ngx.tar.gz.part -C /opt/pinchflat --exclude=config/metadata --exclude=config/logs .env app config
mv /opt/pinchflat-pre-ngx.tar.gz.part /opt/pinchflat-pre-ngx.tar.gz
msg_ok "Backed up to /opt/pinchflat-pre-ngx.tar.gz"
fi
msg_info "Building Pinchflat"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "pinchflat" "TheBadFella/Pinchflat-NGX" "tarball" "latest" "/opt/pinchflat-src"
msg_info "Building Pinchflat-NGX"
cd /opt/pinchflat-src
export MIX_ENV=prod
export ERL_FLAGS="+JPperf true"
$STD mix local.hex --force
$STD mix local.rebar --force
$STD mix deps.get --only prod
$STD mix deps.compile
$STD yarn --cwd assets install
@@ -51,11 +61,18 @@ function update_script() {
$STD mix release --overwrite
rm -rf /opt/pinchflat/app
cp -r _build/prod/rel/pinchflat /opt/pinchflat/app
msg_ok "Built Pinchflat"
msg_ok "Built Pinchflat-NGX"
msg_info "Migrating Database"
$STD systemd-run --wait --pipe --quiet --collect -p EnvironmentFile=/opt/pinchflat/.env -p WorkingDirectory=/opt/pinchflat/app /opt/pinchflat/app/bin/migrate
msg_ok "Migrated Database"
msg_info "Starting Service"
systemctl start pinchflat
msg_ok "Started Service"
if [[ -n "${NGX_SWITCH:-}" ]]; then
msg_warn "Open the web UI and confirm the migration review, downloads stay on hold until then"
fi
msg_ok "Updated successfully!"
fi
exit
+3 -2
View File
@@ -57,10 +57,11 @@ function update_script() {
$STD pnpm turbo run build --filter=web --filter=admin --filter=space --filter=live
msg_ok "Rebuilt Frontend"
PYTHON_VERSION="3.12" UV_PROJECT_DIR="/opt/plane/apps/api" setup_uv
msg_info "Updating Python Dependencies"
cd /opt/plane/apps/api
export VIRTUAL_ENV=/opt/plane-venv
$STD uv pip install --upgrade -r requirements/production.txt
UV_PROJECT_ENVIRONMENT=/opt/plane-venv $STD uv sync --locked --no-default-groups --group production
msg_ok "Updated Python Dependencies"
msg_info "Running Migrations"
+1 -2
View File
@@ -38,8 +38,7 @@ function update_script() {
echo -e "${INFO}${YW}This is a one-time migration. After this, you can update ${APP} anytime with:${CL}"
echo -e "${TAB}${TAB}${GN}update_runtipi${CL} or ${GN}bash <(curl -fsSL ${ADDON_SCRIPT})${CL}"
echo ""
read -r -p "${TAB}Migrate update function now? [y/N]: " CONFIRM
if [[ ! "${CONFIRM,,}" =~ ^(y|yes)$ ]]; then
if ! prompt_confirm "${TAB}Migrate update function now?" "n"; then
msg_warn "Migration skipped. The old update will continue to work for now."
msg_info "Updating ${APP} (legacy)"
cd /opt/runtipi && ./runtipi-cli update latest
+4
View File
@@ -38,6 +38,10 @@ function update_script() {
msg_warn "WARNING: Due to bugs with BoltDB database, update script will move your application"
msg_warn "to use SQLite database instead. Make sure you have a backup of your data!"
echo ""
if is_unattended; then
msg_warn "BoltDB to SQLite migration detected - skipping update, requires an interactive run"
exit 75
fi
read -r -p "${TAB3}Do you want to continue? (y/N): " CONFIRM
if [[ ! "$CONFIRM" =~ ^[Yy]$ ]]; then
exit 0
+64 -3
View File
@@ -31,13 +31,74 @@ function update_script() {
exit
fi
RELEASE="v0.16.27"
if check_for_gh_release "stalwart" "stalwartlabs/stalwart" "${RELEASE}" "Stalwart v1 changes the data store layout and requires an offline migration with stalwartlabs/stalwart-migrate; pinned until this script supports it"; then
if [[ "$(cat ~/.stalwart 2>/dev/null)" == 0.* ]]; then
if check_for_gh_release "stalwart" "stalwartlabs/stalwart" "v0.16.27" "v1 needs the migration below"; then
msg_info "Stopping Service"
systemctl stop stalwart
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "v0.16.27" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
chmod +x /opt/stalwart/stalwart
msg_info "Starting Service"
systemctl start stalwart
msg_ok "Started Service"
fi
CONFIG_DIR="/opt/stalwart_data/etc"
if [[ ! -t 0 ]]; then
msg_warn "Stalwart v1 needs a migration that asks questions. Run update from the container console."
exit
fi
if ! grep -q '"@type":"RocksDb"' "${CONFIG_DIR}/config.json"; then
msg_error "This script migrates only the default RocksDB store to Stalwart v1. Migrate manually: https://stalw.art/docs/migration/upgrade-0-16/"
exit 1
fi
SOURCE_PATH=$(grep -oP '"path":"\K[^"]+' "${CONFIG_DIR}/config.json")
TARGET_PATH="${SOURCE_PATH%/}-v1/"
DATA_KB=$(du -sk "$SOURCE_PATH" | cut -f1)
FREE_KB=$(df -Pk "$(dirname "${SOURCE_PATH%/}")" | awk 'NR==2 {print $4}')
if ((FREE_KB < DATA_KB * 11 / 10 + 524288)); then
msg_error "The migration copies the data store ($((DATA_KB / 1024)) MB) but only $((FREE_KB / 1024)) MB are free. Resize the container disk and run update again."
exit 1
fi
fetch_and_deploy_gh_release "stalwart-migrate" "stalwartlabs/stalwart-migrate" "prebuild" "latest" "/opt/stalwart-migrate" "stalwart-migrate-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.xz"
echo "{\"@type\":\"RocksDb\",\"path\":\"${TARGET_PATH}\"}" >"${CONFIG_DIR}/config-v1.json"
msg_warn "Stalwart v1 cannot open the v0.16 data store, so it is copied to ${TARGET_PATH}. Mail is down while the copy runs."
echo -e "${TAB}Press Enter to accept the recommended answers."
/opt/stalwart-migrate/stalwart-migrate prepare --source "${CONFIG_DIR}/config.json" --state /opt/stalwart_data/migrate
msg_info "Copying data to the v1 store"
systemctl stop stalwart
if ! $STD /opt/stalwart-migrate/stalwart-migrate run --final --yes --source "${CONFIG_DIR}/config.json" --target "${CONFIG_DIR}/config-v1.json" --state /opt/stalwart_data/migrate; then
systemctl start stalwart
msg_error "Migration failed, Stalwart v0.16 is running again. Logs: /opt/stalwart_data/migrate/logs"
exit 1
fi
msg_ok "Copied data to the v1 store"
mv "${CONFIG_DIR}/config.json" "${CONFIG_DIR}/config-0.16.json"
mv "${CONFIG_DIR}/config-v1.json" "${CONFIG_DIR}/config.json"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "latest" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
chmod +x /opt/stalwart/stalwart
msg_info "Starting Service"
systemctl start stalwart
msg_ok "Started Service"
msg_ok "Migrated to Stalwart $(cat ~/.stalwart)"
msg_warn "OAuth clients have to sign in again. Search results stay incomplete until v1 has rebuilt the index."
msg_warn "The v0.16 store stays in ${SOURCE_PATH} (${CONFIG_DIR}/config-0.16.json). Delete it once v1 works."
exit
fi
if check_for_gh_release "stalwart" "stalwartlabs/stalwart"; then
msg_info "Stopping Service"
systemctl stop stalwart
msg_ok "Stopped Service"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "${RELEASE}" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "latest" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
chmod +x /opt/stalwart/stalwart
msg_info "Starting Service"
+83
View File
@@ -0,0 +1,83 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/perminder-klair/subwave
APP="Subwave"
var_tags="${var_tags:-radio;music;ai}"
var_cpu="${var_cpu:-2}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-8}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
#var_arm64="${var_arm64:-no}" # unset = ask the user; set yes/no only when verified
var_unprivileged="${var_unprivileged:-1}"
export var_admin_user="${var_admin_user:-}"
export var_admin_pass="${var_admin_pass:-}"
header_info "$APP"
variables
color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/subwave ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "subwave" "perminder-klair/subwave"; then
msg_info "Stopping Subwave"
systemctl stop subwave-web subwave-controller subwave-broadcast
msg_ok "Stopped Subwave"
NODE_VERSION="24" setup_nodejs
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "subwave" "perminder-klair/subwave" "tarball"
fetch_and_deploy_gh_release "liquidsoap" "savonet/liquidsoap" "binary" "$(grep -oP 'savonet/liquidsoap:\Kv[0-9.]+' /opt/subwave/docker/Dockerfile.broadcast)" "" "liquidsoap_*-debian-trixie-ocaml4.14.2-*_$(arch_resolve).deb"
msg_info "Updating Analyzer and Kokoro"
$STD uv pip install --python /opt/analyzer/venv/bin/python librosa==0.11.0 soundfile==0.14.0 pyloudnorm==0.2.0
$STD uv pip install --python /opt/kokoro/venv/bin/python kokoro-onnx==0.5.0 soundfile==0.12.1 misaki==0.9.4 pyopenjtalk-plus==0.4.1.post10 cn2an==0.5.24 jieba==0.42.1 ordered-set==4.1.0 pypinyin==0.55.0 pypinyin-dict==0.9.0
msg_ok "Updated Analyzer and Kokoro"
msg_info "Building Subwave"
cd /opt/subwave/controller
$STD npm ci --omit=dev
cd /opt/subwave/web
$STD npm ci
NEXT_TELEMETRY_DISABLED=1 $STD npm run build
cp -r public content .next/standalone/
cp -r .next/static .next/standalone/.next/
rm -rf node_modules .next/cache ~/.npm
cp /opt/subwave/docker/icecast.xml.template /etc/icecast2/icecast.xml.template
cp /opt/subwave/liquidsoap/radio.liq /etc/liquidsoap/radio.liq
sed -i 's/^settings.server.telnet.bind_addr := .*/settings.server.telnet.bind_addr := "127.0.0.1"/' /etc/liquidsoap/radio.liq
cp /opt/subwave/docker/aio/Caddyfile /etc/caddy/Caddyfile
msg_ok "Built Subwave"
msg_info "Starting Subwave"
systemctl reload caddy
systemctl start subwave-broadcast subwave-controller subwave-web
msg_ok "Started Subwave"
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}/onboarding${CL}"
echo -e "${INFO}${YW}Admin credentials: ~/subwave.creds (inside the container)${CL}"
+2 -2
View File
@@ -224,8 +224,8 @@ EOF
msg_custom "💾" "Your current config will be backed up to nginx.conf.bak"
msg_custom "⚠️ " "Note: Custom modifications (reverse proxy, SSL) will be overwritten!"
echo ""
read -rp "${TAB3}Update Nginx configuration? [Y/n]: " REPLY
if [[ "${REPLY,,}" =~ ^(y|yes|)$ ]]; then
# Unattended keeps the current file: the new one drops reverse-proxy and SSL edits.
if ! is_unattended && prompt_confirm "${TAB3}Update Nginx configuration?" "y"; then
msg_info "Updating Nginx Configuration"
cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak
curl -fsSL "https://raw.githubusercontent.com/Termix-SSH/Termix/main/docker/nginx.conf" -o /etc/nginx/nginx.conf
+2 -2
View File
@@ -36,7 +36,7 @@ function update_script() {
msg_warn "This requires MANUAL config changes in /etc/vikunja/config.yml."
msg_warn "See: https://vikunja.io/changelog/whats-new-in-vikunja-1.0.0/#config-changes"
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
if is_unattended; then
msg_warn "Vikunja 1.0 config migration detected - skipping update, requires an interactive run"
exit 75
fi
@@ -64,7 +64,7 @@ function update_script() {
echo -e "${TAB}${YW}How do you want to handle /etc/vikunja/config.yml?${CL}"
echo -e "${TAB} 1) Keep your current config"
echo -e "${TAB} 2) Install the new package maintainer's config"
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
if is_unattended; then
CONFIG_CHOICE="1"
else
read -rp " Choose [1/2] (default: 1): " -t 60 CONFIG_CHOICE || CONFIG_CHOICE="1"
+59
View File
@@ -0,0 +1,59 @@
#!/usr/bin/env bash
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/windmill-labs/windmill
APP="Windmill"
var_tags="${var_tags:-automation;workflow;scripts}"
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:-no}" # upstream ships the CE binary for amd64 only
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/windmill/windmill ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "windmill" "windmill-labs/windmill"; then
msg_info "Stopping Windmill"
systemctl stop windmill
msg_ok "Stopped Windmill"
setup_uv
NODE_VERSION="24" NODE_MODULE="bun" setup_nodejs
fetch_and_deploy_gh_release "windmill" "windmill-labs/windmill" "singlefile" "latest" "/opt/windmill" "windmill-amd64"
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "windmill-duckdb" "windmill-labs/windmill" "singlefile" "latest" "/opt/windmill" "windmill_duckdb_runner"
msg_info "Starting Windmill"
systemctl start windmill
msg_ok "Started Windmill"
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}"
+1 -1
View File
@@ -49,7 +49,7 @@ function update_script() {
ZABBIX_SERIES="$(dpkg-query -W -f='${Version}' zabbix-release 2>/dev/null || true)"
ZABBIX_SERIES="${ZABBIX_SERIES#*:}"
ZABBIX_SERIES="${ZABBIX_SERIES%%[!0-9.]*}"
if [[ "${PHS_SILENT:-0}" == "1" ]]; then
if is_unattended; then
if [[ ! "$ZABBIX_SERIES" =~ ^[0-9]+\.[0-9]+$ ]]; then
msg_warn "Could not detect the installed Zabbix series - skipping update, requires an interactive run"
exit 75
+13 -6
View File
@@ -16,10 +16,15 @@ update_os
fetch_and_deploy_gh_release "airconnect" "philippe44/AirConnect" "prebuild" "latest" "/opt/airconnect" "AirConnect-*.zip"
msg_info "Configuring AirConnect"
chmod +x /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64)
ln -sf /opt/airconnect/airupnp-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/airupnp
ln -sf /opt/airconnect/aircast-linux-$(arch_resolve x86_64 aarch64) /opt/airconnect/aircast
find /opt/airconnect -maxdepth 1 -type f ! -name "air*linux-$(arch_resolve x86_64 aarch64)*" ! -name "airupnp" ! -name "aircast" ! -name "*.xml" -delete
ARCH=$(arch_resolve x86_64 aarch64)
chmod +x "/opt/airconnect/airupnp-linux-${ARCH}" "/opt/airconnect/aircast-linux-${ARCH}"
ln -sf "/opt/airconnect/airupnp-linux-${ARCH}" /opt/airconnect/airupnp
ln -sf "/opt/airconnect/aircast-linux-${ARCH}" /opt/airconnect/aircast
find /opt/airconnect -maxdepth 1 -type f ! -name "airupnp-linux-${ARCH}" ! -name "aircast-linux-${ARCH}" ! -name "*.xml" -delete
cat <<EOF >/etc/default/airconnect
AIRUPNP_OPTS="-l 1000:2000"
AIRCAST_OPTS=""
EOF
msg_ok "Configured AirConnect"
msg_info "Creating Services"
@@ -33,7 +38,8 @@ Wants=network-online.target
Type=simple
User=root
WorkingDirectory=/opt/airconnect
ExecStart=/opt/airconnect/airupnp -l 1000:2000 -Z -x /opt/airconnect/airupnp.xml
EnvironmentFile=-/etc/default/airconnect
ExecStart=/opt/airconnect/airupnp -Z -x /opt/airconnect/airupnp.xml \$AIRUPNP_OPTS
Restart=on-failure
RestartSec=5
@@ -52,7 +58,8 @@ Wants=network-online.target
Type=simple
User=root
WorkingDirectory=/opt/airconnect
ExecStart=/opt/airconnect/aircast -Z -x /opt/airconnect/aircast.xml
EnvironmentFile=-/etc/default/airconnect
ExecStart=/opt/airconnect/aircast -Z -x /opt/airconnect/aircast.xml \$AIRCAST_OPTS
Restart=on-failure
RestartSec=5
+38
View File
@@ -0,0 +1,38 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Nicolas Pastorello (opastorello)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://anubis.techaro.lol/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
fetch_and_deploy_gh_release "anubis" "TecharoHQ/anubis" "binary"
msg_info "Configuring Anubis"
cp /usr/share/doc/anubis/botPolicies.yaml /etc/anubis/main.botPolicies.yaml
cat <<EOF >/etc/anubis/main.env
BIND=:8923
BIND_NETWORK=tcp
METRICS_BIND=:9090
METRICS_BIND_NETWORK=tcp
DIFFICULTY=4
SERVE_ROBOTS_TXT=0
COOKIE_SECURE=false
USE_REMOTE_ADDRESS=true
POLICY_FNAME=/etc/anubis/main.botPolicies.yaml
ED25519_PRIVATE_KEY_HEX=$(openssl rand -hex 32)
TARGET=${var_anubis_target:-http://localhost:3000}
EOF
systemctl enable -q --now anubis@main
msg_ok "Configured Anubis"
motd_ssh
customize
cleanup_lxc
+3 -3
View File
@@ -56,13 +56,13 @@ RUST_PROFILE="minimal" RUST_TOOLCHAIN="stable" setup_rust
PG_VERSION="17" setup_postgresql
PG_DB_NAME="authentik" PG_DB_USER="authentik" PG_DB_GRANT_SUPERUSER="true" setup_postgresql_db
XMLSEC_VERSION="1.3.12"
AUTHENTIK_VERSION="version/2026.8.5"
XMLSEC_VERSION="1.3.13"
AUTHENTIK_VERSION="version/2026.8.6"
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"
GO_VERSION="$(grep -m1 '^go ' /opt/authentik/go.mod | awk '{print $2}')" setup_go
fetch_and_deploy_gh_release "geoipupdate" "maxmind/geoipupdate" "binary"
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.7" UV_PROJECT_DIR="/opt/authentik" setup_uv
UV_PYTHON_INSTALL_DIR="/usr/local/bin" PYTHON_VERSION="3.14.10" UV_PROJECT_DIR="/opt/authentik" setup_uv
msg_info "Setting up xmlsec"
cd /opt/xmlsec
+1 -1
View File
@@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
NODE_VERSION="24" setup_nodejs
NODE_VERSION="26" setup_nodejs
fetch_and_deploy_gh_release "bulwark" "bulwarkmail/webmail" "prebuild" "latest" "/opt/bulwark" "bulwark-standalone-*-linux-$(arch_resolve).tar.gz"
+79
View File
@@ -0,0 +1,79 @@
#!/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/bytechefhq/bytechef
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
JAVA_VERSION="25" setup_java
NODE_VERSION="24" setup_nodejs
PG_VERSION="16" setup_postgresql
PG_DB_NAME="bytechef" PG_DB_USER="bytechef" setup_postgresql_db
fetch_and_deploy_gh_release "bytechef" "bytechefhq/bytechef" "tarball"
msg_info "Building ByteChef (Patience)"
mv /opt/bytechef /opt/bytechef-build
cd /opt/bytechef-build/client
$STD npm ci
$STD npm run build
cd /opt/bytechef-build
$STD ./gradlew --no-daemon :server:apps:server-app:bootJar -Pprod -Pkotlin.compiler.execution.strategy=in-process
mkdir -p /opt/bytechef/server
mv /opt/bytechef-build/server/apps/server-app/build/libs/server-app-*.jar /opt/bytechef/server/server-app.jar
mv /opt/bytechef-build/client/dist /opt/bytechef/client
rm -rf /opt/bytechef-build
msg_ok "Built ByteChef"
msg_info "Configuring ByteChef"
mkdir -p /opt/bytechef_data/file-storage
cat <<EOF >/opt/bytechef_data/.env
BYTECHEF_DATASOURCE_URL=jdbc:postgresql://localhost:5432/bytechef
BYTECHEF_DATASOURCE_USERNAME=bytechef
BYTECHEF_DATASOURCE_PASSWORD=${PG_DB_PASS}
BYTECHEF_PUBLIC_URL=http://${LOCAL_IP}:8080
BYTECHEF_ANALYTICS_ENABLED=false
BYTECHEF_ENCRYPTION_PROVIDER=property
BYTECHEF_ENCRYPTION_PROPERTY_KEY=$(openssl rand -base64 32)
BYTECHEF_SECURITY_REMEMBER_ME_KEY=$(openssl rand -base64 32)
BYTECHEF_FILE_STORAGE_FILESYSTEM_BASEDIR=/opt/bytechef_data/file-storage
LOGGING_LEVEL_ROOT=INFO
LOGGING_LEVEL_COM_BYTECHEF=INFO
EOF
chmod 600 /opt/bytechef_data/.env
msg_ok "Configured ByteChef"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/bytechef.service
[Unit]
Description=ByteChef
After=network.target postgresql.service
Requires=postgresql.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/bytechef
EnvironmentFile=/opt/bytechef_data/.env
ExecStart=/usr/bin/java -Dfile.encoding=UTF-8 -Duser.timezone=GMT -jar /opt/bytechef/server/server-app.jar
SuccessExitStatus=143
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now bytechef
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+5 -3
View File
@@ -22,11 +22,13 @@ setup_deb822_repo \
msg_ok "Setup Phoscon Repository"
msg_info "Installing deConz"
pool="$(arch_resolve "https://security.ubuntu.com/ubuntu/pool/main/o/openssl/" "http://ports.ubuntu.com/ubuntu-ports/pool/main/o/openssl/")"
libssl=$(curl -fsSL --proto '=http,https' "$pool" | grep -o "libssl1\.1_1\.1\.1f-1ubuntu2\.2[^\"]*$(arch_resolve)\.deb" | head -n1)
curl -fsSL --proto '=http,https' "$pool$libssl" -o "$libssl"
pool="$(arch_resolve "https://security.ubuntu.com/ubuntu/pool/main/o/openssl/" "https://ports.ubuntu.com/ubuntu-ports/pool/main/o/openssl/")"
libssl=$(curl -fsSL --proto '=https' "$pool" | grep -o "libssl1\.1_1\.1\.1f-1ubuntu2\.2[^\"]*$(arch_resolve)\.deb" | head -n1)
curl -fsSL --proto '=https' "$pool$libssl" -o "$libssl"
$STD dpkg -i "$libssl"
$STD apt install -y deconz
# The service runs as root; the postinst file caps break exec in privileged Incus containers
setcap -r /usr/bin/deCONZ 2>/dev/null || true
rm -rf "$libssl"
msg_ok "Installed deConz"
+2 -2
View File
@@ -46,9 +46,9 @@ $STD ln -svf /usr/bin/ffprobe /usr/local/bin/ffprobe
$STD rm -rf /opt/fileflows/Server/runtimes/win-*
install_server="${var_fileflows_mode:-}"
[[ -n "$install_server" ]] || read -r -p "${TAB3}Do you want to install FileFlows Server or Agent? (S/A): " install_server || true
[[ -n "$install_server" ]] || read -r -p "${TAB3}Do you want to install FileFlows Server or Agent? (S/a): " install_server || true
if [[ "$install_server" =~ ^[Ss]$ ]]; then
if [[ ! "$install_server" =~ ^[Aa]$ ]]; then
msg_info "Installing FileFlows Server"
cd /opt/fileflows/Server
$STD dotnet FileFlows.Server.dll --systemd install --root true
+1
View File
@@ -134,6 +134,7 @@ msg_ok "Built Go Library"
msg_info "Building Firecrawl API"
cd /opt/firecrawl/apps/api
grep -q '^kuchikiki = "0.8.2"' native/Cargo.toml && sed -i 's|^nodesig = { git = "https://github.com/firecrawl/nodesig" }|nodesig = { git = "https://github.com/firecrawl/nodesig", rev = "b8ebc4a71081" }|' native/Cargo.toml
$STD pnpm install --frozen-lockfile
$STD pnpm build
CI=true $STD pnpm prune --prod --ignore-scripts
+58
View File
@@ -0,0 +1,58 @@
#!/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/GopeedLab/gopeed
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
fetch_and_deploy_gh_release "gopeed" "GopeedLab/gopeed" "prebuild" "latest" "/opt/gopeed" "gopeed-web-v*-linux-$(arch_resolve "amd64" "arm64").zip"
msg_info "Configuring Gopeed"
mkdir -p /opt/gopeed_data/{storage,downloads}
cat <<EOF >/opt/gopeed_data/config.json
{
"address": "0.0.0.0",
"port": 9999,
"username": "gopeed",
"password": "$(random_password)",
"apiToken": "$(openssl rand -hex 32)",
"storageDir": "/opt/gopeed_data/storage",
"downloadConfig": {
"downloadDir": "/opt/gopeed_data/downloads"
}
}
EOF
chmod 600 /opt/gopeed_data/config.json
msg_ok "Configured Gopeed"
msg_info "Creating Gopeed Service"
cat <<EOF >/etc/systemd/system/gopeed.service
[Unit]
Description=Gopeed
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/gopeed
ExecStart=/opt/gopeed/gopeed -c /opt/gopeed_data/config.json
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now gopeed
msg_ok "Created Gopeed Service"
motd_ssh
customize
cleanup_lxc
+61
View File
@@ -0,0 +1,61 @@
#!/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/grimmory-tools/grimmory
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
setup_ffmpeg
JAVA_VERSION="25" setup_java
setup_mariadb
MARIADB_DB_NAME="grimmory" MARIADB_DB_USER="grimmory" MARIADB_DB_CREDS_FILE="/dev/null" setup_mariadb_db
fetch_and_deploy_gh_release "kepubify" "pgaskin/kepubify" "singlefile" "latest" "/usr/local/bin" "kepubify-linux-64bit"
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "grimmory" "grimmory-tools/grimmory" "singlefile" "latest" "/opt/grimmory" "grimmory.jar"
msg_info "Configuring Grimmory"
mkdir -p /opt/grimmory_data/{data,books,bookdrop}
cat <<EOF >/opt/grimmory_data/.env
DATABASE_HOST=localhost
DATABASE_NAME=${MARIADB_DB_NAME}
DATABASE_USERNAME=${MARIADB_DB_USER}
DATABASE_PASSWORD=${MARIADB_DB_PASS}
APP_PATH_CONFIG=/opt/grimmory_data/data
APP_BOOKDROP_FOLDER=/opt/grimmory_data/bookdrop
SERVER_PORT=6060
EOF
chmod 600 /opt/grimmory_data/.env
msg_ok "Configured Grimmory"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/grimmory.service
[Unit]
Description=Grimmory
After=network.target mariadb.service
Requires=mariadb.service
[Service]
Type=simple
WorkingDirectory=/opt/grimmory_data
EnvironmentFile=/opt/grimmory_data/.env
ExecStart=/usr/bin/java -XX:+UseCompactObjectHeaders -XX:MaxRAMPercentage=60.0 -XX:+ExitOnOutOfMemoryError -XX:-UseBASE64Intrinsics --enable-native-access=ALL-UNNAMED --enable-preview -jar /opt/grimmory/grimmory.jar
SuccessExitStatus=143
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now grimmory
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+85
View File
@@ -0,0 +1,85 @@
#!/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/3xpyth0n/ideon
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
msg_ok "Installed Dependencies"
NODE_VERSION="24" setup_nodejs
PG_VERSION="18" setup_postgresql
PG_DB_NAME="ideon" PG_DB_USER="ideon" setup_postgresql_db
$STD sudo -u postgres psql -c "ALTER ROLE ideon BYPASSRLS;"
fetch_and_deploy_gh_release "ideon" "3xpyth0n/ideon" "tarball"
msg_info "Building Ideon"
cd /opt/ideon
$STD npm ci
NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production IS_NEXT_BUILD=1 $STD npm run build
$STD npm prune --omit=dev
rm -rf /opt/ideon/.next/cache ~/.npm
msg_ok "Built Ideon"
msg_info "Configuring Ideon"
mkdir -p /opt/ideon_data/storage/{avatars,uploads,yjs}
cat <<EOF >/opt/ideon_data/.env
NODE_ENV=production
APP_PORT=3000
APP_URL=http://${LOCAL_IP}:3000
AUTH_TRUST_HOST=true
TIMEZONE=UTC
LOG_LEVEL=info
DB_HOST=localhost
DB_PORT=5432
DB_NAME=ideon
DB_USER=ideon
DB_PASS=${PG_DB_PASS}
SECRET_KEY=$(openssl rand -hex 32)
SMTP_FROM_EMAIL=
SMTP_FROM_NAME=
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
SMTP_PORT=
SMTP_USE_TLS=true
EOF
chmod 600 /opt/ideon_data/.env
msg_ok "Configured Ideon"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/ideon.service
[Unit]
Description=Ideon
After=network.target postgresql.service
Requires=postgresql.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/ideon
EnvironmentFile=/opt/ideon_data/.env
ExecStart=/usr/bin/node dist/server.cjs
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now ideon
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+14 -11
View File
@@ -25,17 +25,20 @@ fi
RELEASE="v3.4.1"
if lscpu | grep -q 'GenuineIntel'; then
echo ""
echo ""
echo -e "🤖 ${BL}Immich Machine-Learning Options${CL}"
echo "─────────────────────────────────────────"
echo "Please choose your machine-learning type:"
echo ""
echo " 1) CPU only (default)"
echo " 2) **NEW** Intel OpenVINO CPU or iGPU"
echo ""
ML_TYPE="${var_immich_ml_type:-}"
if [[ -z "$ML_TYPE" ]]; then
echo ""
echo ""
echo -e "🤖 ${BL}Immich Machine-Learning Options${CL}"
echo "─────────────────────────────────────────"
echo "Please choose your machine-learning type:"
echo ""
echo " 1) CPU only (default)"
echo " 2) **NEW** Intel OpenVINO CPU or iGPU"
echo ""
read -r -p "${TAB3}Select machine-learning type [1]: " ML_TYPE || true
read -r -p "${TAB3}Select machine-learning type [1]: " ML_TYPE || true
fi
ML_TYPE="${ML_TYPE:-1}"
if [[ "$ML_TYPE" == "2" ]]; then
touch ~/.openvino
@@ -284,7 +287,7 @@ cp -a web/build "$APP_DIR"/www
cp LICENSE "$APP_DIR"
cd "$SRC_DIR"
export MISE_TRUSTED_CONFIG_PATHS="$SRC_DIR"/mise.toml
export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg,java,terragrunt,opentofu,restic,npm:@openapitools/openapi-generator-cli
export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg,java,terragrunt,opentofu,restic,npm:@openapitools/openapi-generator-cli,npm:oazapfts
export MISE_LOCKFILE_MODE=merge MISE_LOCKFILE_PLATFORMS="linux-$(arch_resolve x64 arm64)"
mise_ok=0
for i in 1 2 3; do
+22
View File
@@ -0,0 +1,22 @@
#!/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.kali.org/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Base Dependencies"
$STD apt install -y curl wget ca-certificates procps
msg_ok "Installed Base Dependencies"
motd_ssh
customize
cleanup_lxc
+6 -1
View File
@@ -63,7 +63,12 @@ curl_download "/opt/kasm_release_${KASM_VERSION}.tar.gz" "$KASM_URL"
cd /opt
tar -xf "kasm_release_${KASM_VERSION}.tar.gz"
chmod +x /opt/kasm_release/install.sh
bash /opt/kasm_release/install.sh --accept-eula --no-swap-check --no-check-disk --ignore-dep-failures >~/kasm-install.output 2>&1
bash /opt/kasm_release/install.sh --accept-eula --no-swap-check --no-check-disk --ignore-dep-failures >~/kasm-install.output 2>&1 || {
KASM_RC=$?
$STD tail -n 25 ~/kasm-install.output
msg_error "The Kasm installer failed (exit ${KASM_RC}), see ~/kasm-install.output"
exit "$KASM_RC"
}
awk '
/^Kasm UI Login Credentials$/ {capture=1}
capture {print}
+3
View File
@@ -59,6 +59,9 @@ GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
MICROSOFT_CLIENT_ID=
MICROSOFT_CLIENT_SECRET=
COMMIT_SHA=v$(cat ~/.keeper)
VERSION=$(cat ~/.keeper)
ICU_TIMEZONE_FILES_DIR=/opt/keeper/docker/icu-timezone
EOF
chmod 600 /opt/keeper_data/.env
msg_ok "Configured Keeper"
+52
View File
@@ -0,0 +1,52 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Tim Moore (angusmaul)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/TheWicklowWolf/Lidify
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
PYTHON_VERSION="3.12" setup_uv
fetch_and_deploy_gh_release "lidify" "TheWicklowWolf/Lidify" "tarball"
msg_info "Setting up Lidify"
$STD uv venv --python 3.12 /opt/lidify/.venv
$STD uv pip install --python /opt/lidify/.venv/bin/python -r /opt/lidify/requirements.txt
install -d -m 700 /opt/lidify/config
cat <<EOF >/opt/lidify/.env
RELEASE_VERSION=$(cat ~/.lidify)
EOF
msg_ok "Set up Lidify"
msg_info "Creating Lidify Service"
cat <<EOF >/etc/systemd/system/lidify.service
[Unit]
Description=Lidify
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/lidify
EnvironmentFile=/opt/lidify/.env
ExecStart=/opt/lidify/.venv/bin/gunicorn src.Lidify:app -c gunicorn_config.py
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now lidify
msg_ok "Created Lidify Service"
motd_ssh
customize
cleanup_lxc
+22
View File
@@ -0,0 +1,22 @@
#!/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://linuxmint.com/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Base Dependencies"
$STD apt install -y curl wget ca-certificates
msg_ok "Installed Base Dependencies"
motd_ssh
customize
cleanup_lxc
+74
View File
@@ -0,0 +1,74 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/mathesar-foundation/mathesar
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 libcairo2
msg_ok "Installed Dependencies"
PG_VERSION="17" setup_postgresql
PG_DB_NAME="mathesar_django" PG_DB_USER="mathesar" PG_DB_SCHEMA_PERMS="true" setup_postgresql_db
PYTHON_VERSION="3.12" setup_uv
fetch_and_deploy_gh_release "mathesar" "mathesar-foundation/mathesar" "prebuild" "latest" "/opt/mathesar" "mathesar.tar.gz"
msg_info "Installing Mathesar"
cd /opt/mathesar
$STD uv venv --python 3.12 /opt/mathesar/.venv
$STD uv pip install --python /opt/mathesar/.venv/bin/python -r requirements.txt
msg_ok "Installed Mathesar"
msg_info "Configuring Mathesar"
mkdir -p /opt/mathesar_data/media
cat <<EOF >/opt/mathesar_data/.env
SECRET_KEY=$(random_password 50)
ALLOWED_HOSTS=*
WEB_CONCURRENCY=3
MEDIA_ROOT=/opt/mathesar_data/media/
POSTGRES_HOST=127.0.0.1
POSTGRES_PORT=5432
POSTGRES_DB=mathesar_django
POSTGRES_USER=mathesar
POSTGRES_PASSWORD=${PG_DB_PASS}
EOF
chmod 600 /opt/mathesar_data/.env
set -a
source /opt/mathesar_data/.env
set +a
$STD /opt/mathesar/.venv/bin/python -m mathesar.install
msg_ok "Configured Mathesar"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/mathesar.service
[Unit]
Description=Mathesar
After=network.target postgresql.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/mathesar
EnvironmentFile=/opt/mathesar_data/.env
ExecStart=/opt/mathesar/.venv/bin/gunicorn config.wsgi -b 0.0.0.0:8000 --timeout 180
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now mathesar
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+4 -1
View File
@@ -42,7 +42,10 @@ fetch_and_deploy_from_url "https://openresty.org/download/openresty-${OPENRESTY_
msg_info "Patching nginx HTTP/2 (CVE-2026-123007, CVE-2026-123633)"
for commit in 61031503dc8087c2c17cd2142c9b4b19062f90c4 2df48a501d0fb8212b7d39dffeeff5876332ba59 e27f5fa84fe6e98505e70bc543b748747dad0a3b; do
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "-" | patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s
curl_with_retry "https://api.github.com/repos/nginx/nginx/commits/${commit}" "/tmp/nginx-${commit}.patch" "-HAccept:application/vnd.github.patch" ||
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "/tmp/nginx-${commit}.patch"
patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s <"/tmp/nginx-${commit}.patch"
rm -f "/tmp/nginx-${commit}.patch"
done
msg_ok "Patched nginx HTTP/2"
+76
View File
@@ -0,0 +1,76 @@
#!/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/enchant97/note-mark
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
msg_ok "Installed Dependencies"
setup_go
NODE_VERSION="24" NODE_MODULE="pnpm@11" setup_nodejs
RUST_PROFILE="minimal" setup_rust
fetch_and_deploy_gh_release "notemark" "enchant97/note-mark" "tarball"
msg_info "Building Note Mark"
$STD rustup target add wasm32-unknown-unknown
cd /opt/notemark/frontend
$STD pnpm install --frozen-lockfile
$STD pnpm run wasm
$STD pnpm run build
cd /opt/notemark/backend
$STD go tool sqlc generate
CGO_ENABLED=0 $STD go build -ldflags "-X main.Version=$(cat ~/.notemark)" -o /opt/notemark/note-mark
rm -rf /opt/notemark/frontend/node_modules /opt/notemark/frontend/renderer/target
$STD go clean -cache -modcache
msg_ok "Built Note Mark"
msg_info "Configuring Note Mark"
mkdir -p /opt/notemark_data
cat <<EOF >/opt/notemark_data/.env
BIND__HOST=0.0.0.0
BIND__PORT=8080
DATA_PATH=/opt/notemark_data
STATIC_PATH=/opt/notemark/frontend/dist
PUBLIC_URL=http://${LOCAL_IP}:8080
AUTH_TOKEN__SECRET=$(openssl rand -base64 32)
ENABLE_INTERNAL_SIGNUP=true
EOF
chmod 600 /opt/notemark_data/.env
msg_ok "Configured Note Mark"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/notemark.service
[Unit]
Description=Note Mark
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/notemark_data
EnvironmentFile=/opt/notemark_data/.env
ExecStart=/opt/notemark/note-mark serve
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now notemark
msg_ok "Created Service"
motd_ssh
customize
cleanup_lxc
+5
View File
@@ -68,6 +68,11 @@ yq -i "
(map(select(. != \"TZ=*\" and . != \"ACME_EMAIL=*\" and . != \"INITIAL_ADMIN_EMAIL=*\" and . != \"INITIAL_ADMIN_PASSWORD=*\")) +
[\"TZ=$TZ_INPUT\", \"ACME_EMAIL=$ACME_EMAIL_INPUT\", \"INITIAL_ADMIN_EMAIL=admin@local.com\", \"INITIAL_ADMIN_PASSWORD=${ADMIN_PASS}\"])
" /opt/compose.yaml
# nginx in the NPMplus image cannot parse a link-local resolver with a zone ID (fe80::1%eth0)
DNS_SERVERS="$(awk '/^nameserver/ && $2 !~ /%/ {print $2}' /etc/resolv.conf)"
if grep -qE '^nameserver[[:space:]]+[^[:space:]]*%' /etc/resolv.conf && [[ -n "$DNS_SERVERS" ]]; then
DNS_SERVERS="$DNS_SERVERS" yq -i '.services.npmplus.dns = (strenv(DNS_SERVERS) | split("\n"))' /opt/compose.yaml
fi
{
echo "NPMplus Credentials"
echo "Email: admin@local.com"
+22
View File
@@ -0,0 +1,22 @@
#!/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.oracle.com/linux/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
msg_info "Installing Base Dependencies"
$STD dnf install -y curl ca-certificates hostname
msg_ok "Installed Base Dependencies"
motd_ssh
customize
cleanup_lxc
+1 -1
View File
@@ -83,7 +83,6 @@ for file in pialert.vendors.log pialert.IP.log pialert.1.log pialert.cleanup.log
done
sed -i 's#PIALERT_PATH\s*=\s*'\''/home/pi/pialert'\''#PIALERT_PATH = '\''/opt/pialert'\''#' /opt/pialert/config/pialert.conf
sed -i 's/$HOME/\/opt/g' /opt/pialert/install/pialert.cron
crontab /opt/pialert/install/pialert.cron
echo "python3 /opt/pialert/back/pialert.py 1" >/usr/bin/scan
chmod +x /usr/bin/scan
echo "/opt/pialert/back/pialert-cli set_permissions --lxc" >/usr/bin/permissions
@@ -96,6 +95,7 @@ msg_info "Start Pi.Alert Scan (Patience)"
$STD python3 /opt/pialert/back/pialert.py update_vendors
$STD python3 /opt/pialert/back/pialert.py internet_IP
$STD python3 /opt/pialert/back/pialert.py 1
crontab /opt/pialert/install/pialert.cron
msg_ok "Finished Pi.Alert Scan"
motd_ssh
+4 -4
View File
@@ -3,7 +3,7 @@
# Copyright (c) 2021-2026 community-scripts ORG
# Author: nnsense
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://github.com/kieraneglin/pinchflat
# Source: https://github.com/TheBadFella/Pinchflat-NGX
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
@@ -48,7 +48,7 @@ export PIPX_BIN_DIR=/usr/local/bin
$STD pipx install apprise
msg_ok "Installed Apprise"
fetch_and_deploy_gh_release "pinchflat" "kieraneglin/pinchflat" "tarball" "latest" "/opt/pinchflat-src"
fetch_and_deploy_gh_release "pinchflat" "TheBadFella/Pinchflat-NGX" "tarball" "latest" "/opt/pinchflat-src"
msg_info "Configuring Pinchflat"
CONFIG_PATH="/opt/pinchflat/config"
@@ -81,7 +81,7 @@ SECRET_KEY_BASE=$(openssl rand -base64 48)
EOF
msg_ok "Configured Pinchflat"
msg_info "Building Pinchflat"
msg_info "Building Pinchflat-NGX"
cd /opt/pinchflat-src
export MIX_ENV=prod
export ERL_FLAGS="+JPperf true"
@@ -95,7 +95,7 @@ $STD mix compile
$STD mix release --overwrite
rm -rf /opt/pinchflat/app
cp -r _build/prod/rel/pinchflat /opt/pinchflat/app
msg_ok "Built Pinchflat"
msg_ok "Built Pinchflat-NGX"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/pinchflat.service
+4 -4
View File
@@ -96,11 +96,11 @@ $STD pnpm install --frozen-lockfile
$STD pnpm turbo run build --filter=web --filter=admin --filter=space --filter=live
msg_ok "Built Frontend Apps"
PYTHON_VERSION="3.12" UV_PROJECT_DIR="/opt/plane/apps/api" setup_uv
msg_info "Setting up Python API"
setup_uv
$STD uv venv /opt/plane-venv
export VIRTUAL_ENV=/opt/plane-venv
$STD uv pip install -r /opt/plane/apps/api/requirements/production.txt
cd /opt/plane/apps/api
UV_PROJECT_ENVIRONMENT=/opt/plane-venv $STD uv sync --locked --no-default-groups --group production
msg_ok "Set up Python API"
msg_info "Configuring Plane"
+2 -2
View File
@@ -127,7 +127,7 @@ EOF
msg_ok "Installed PostgreSQL"
prompt="${var_postgresql_adminer:-}"
[[ -n "$prompt" ]] || read -r -p "${TAB3}Would you like to add Adminer? <y/N> " prompt
[[ -n "$prompt" ]] || read -r -p "${TAB3}Would you like to add Adminer? <y/N> " prompt || true
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
msg_info "Installing Adminer"
$STD apt install -y adminer
@@ -167,7 +167,7 @@ setup_alpine() {
msg_ok "Configured and Restarted PostgreSQL"
prompt="${var_postgresql_adminer:-}"
[[ -n "$prompt" ]] || read -r -p "${TAB3}Would you like to install Adminer with lighttpd? <y/N>: " prompt
[[ -n "$prompt" ]] || read -r -p "${TAB3}Would you like to install Adminer with lighttpd? <y/N>: " prompt || true
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing Adminer and dependencies"
$STD apk add --no-cache \
+10 -2
View File
@@ -23,9 +23,16 @@ echo -e "${TAB3}Please review the terms at:"
echo -e "${TAB3}${GATEWAY}${BGN}https://www.splunk.com/en_us/legal/splunk-general-terms.html${CL}"
echo ""
response="${var_splunk_accept_terms:-}"
while true; do
echo -e "${TAB3}Do you accept the Splunk General Terms? (y/N): \c"
read -r response
if [[ -z "$response" ]]; then
echo -e "${TAB3}Do you accept the Splunk General Terms? (y/N): \c"
if ! read -r response; then
echo ""
msg_error "No terminal to accept the terms on. Set var_splunk_accept_terms=yes to install unattended."
exit 254
fi
fi
case $response in
[Yy] | [Yy][Ee][Ss])
msg_ok "Terms accepted. Proceeding with installation..."
@@ -38,6 +45,7 @@ while true; do
;;
*)
msg_error "Invalid response. Please enter 'y' for yes or 'n' for no."
response=""
;;
esac
done
+1 -1
View File
@@ -13,7 +13,7 @@ setting_up_container
network_check
update_os
fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "v0.16.27" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
fetch_and_deploy_gh_release "stalwart" "stalwartlabs/stalwart" "prebuild" "latest" "/opt/stalwart" "stalwart-$(arch_resolve x86_64 aarch64)-unknown-linux-gnu.tar.gz"
chmod +x /opt/stalwart/stalwart
msg_info "Configuring Stalwart"
+176
View File
@@ -0,0 +1,176 @@
#!/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/perminder-klair/subwave
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
var_admin_user="${var_admin_user:-admin}"
var_admin_pass="${var_admin_pass:-$(random_password)}"
msg_info "Installing Dependencies"
$STD apt install -y \
caddy \
espeak-ng \
libsndfile1
msg_ok "Installed Dependencies"
setup_ffmpeg
NODE_VERSION="24" setup_nodejs
PYTHON_VERSION="3.12" setup_uv
# Upstream's broadcast image runs Icecast-KH from deb-multimedia (trusted-proxy list, listener auth); the pin keeps every other package on Debian's build
cat <<EOF >/etc/apt/preferences.d/deb-multimedia
Package: *
Pin: origin www.deb-multimedia.org
Pin-Priority: 100
Package: icecast2
Pin: origin www.deb-multimedia.org
Pin-Priority: 990
EOF
setup_deb822_repo "deb-multimedia" "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA401FF99368FA1F98152DE755C808C2B65558117" "https://www.deb-multimedia.org" "trixie" "main"
msg_info "Installing Icecast-KH"
$STD apt install -y icecast2
systemctl disable -q --now icecast2
msg_ok "Installed Icecast-KH"
fetch_and_deploy_gh_release "subwave" "perminder-klair/subwave" "tarball"
fetch_and_deploy_gh_release "liquidsoap" "savonet/liquidsoap" "binary" "$(grep -oP 'savonet/liquidsoap:\Kv[0-9.]+' /opt/subwave/docker/Dockerfile.broadcast)" "" "liquidsoap_*-debian-trixie-ocaml4.14.2-*_$(arch_resolve).deb"
fetch_and_deploy_gh_release "piper" "rhasspy/piper" "prebuild" "latest" "/opt/piper" "piper_linux_$(arch_resolve "x86_64" "aarch64").tar.gz"
msg_info "Downloading Voice Models"
mkdir -p /opt/piper/voices /opt/kokoro/models
curl_with_retry "https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_GB/alan/medium/en_GB-alan-medium.onnx" "/opt/piper/voices/en_GB-alan-medium.onnx"
curl_with_retry "https://huggingface.co/rhasspy/piper-voices/resolve/main/en/en_GB/alan/medium/en_GB-alan-medium.onnx.json" "/opt/piper/voices/en_GB-alan-medium.onnx.json"
# model-files-v1.0, not v1.1: same weights, but v1.1 renders ~3.7 dB quieter (upstream Dockerfile.aio)
curl_with_retry "https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/kokoro-v1.0.onnx" "/opt/kokoro/models/kokoro-v1.0.onnx"
curl_with_retry "https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/voices-v1.0.bin" "/opt/kokoro/models/voices-v1.0.bin"
msg_ok "Downloaded Voice Models"
msg_info "Setting up Analyzer and Kokoro"
$STD uv venv --python 3.12 /opt/analyzer/venv
$STD uv pip install --python /opt/analyzer/venv/bin/python librosa==0.11.0 soundfile==0.14.0 pyloudnorm==0.2.0
$STD uv venv --python 3.12 /opt/kokoro/venv
$STD uv pip install --python /opt/kokoro/venv/bin/python kokoro-onnx==0.5.0 soundfile==0.12.1 misaki==0.9.4 pyopenjtalk-plus==0.4.1.post10 cn2an==0.5.24 jieba==0.42.1 ordered-set==4.1.0 pypinyin==0.55.0 pypinyin-dict==0.9.0
msg_ok "Set up Analyzer and Kokoro"
msg_info "Building Subwave"
cd /opt/subwave/controller
$STD npm ci --omit=dev
cd /opt/subwave/web
$STD npm ci
NEXT_TELEMETRY_DISABLED=1 $STD npm run build
cp -r public content .next/standalone/
cp -r .next/static .next/standalone/.next/
rm -rf node_modules .next/cache ~/.npm
msg_ok "Built Subwave"
msg_info "Configuring Subwave"
mkdir -p /opt/subwave_data/state /etc/liquidsoap
# Upstream hardcodes its container paths: /app (controller, cwd of the tagger/analyzer), /sounds and /var/sub-wave (state)
ln -sfn /opt/subwave/controller /app
ln -sfn /opt/subwave/sounds /sounds
ln -sfn /opt/subwave_data/state /var/sub-wave
mkdir -p /var/sub-wave/logs
rm -rf /var/log/liquidsoap
ln -sfn /var/sub-wave/logs /var/log/liquidsoap
cp /opt/subwave/docker/icecast.xml.template /etc/icecast2/icecast.xml.template
cp /opt/subwave/liquidsoap/radio.liq /etc/liquidsoap/radio.liq
# Liquidsoap's telnet control has no auth; the containers never publish it, here it would face the LAN
sed -i 's/^settings.server.telnet.bind_addr := .*/settings.server.telnet.bind_addr := "127.0.0.1"/' /etc/liquidsoap/radio.liq
cp /opt/subwave/docker/aio/Caddyfile /etc/caddy/Caddyfile
cat <<EOF >/opt/subwave_data/.env
NODE_ENV=production
ADMIN_USER=${var_admin_user}
ADMIN_PASS=${var_admin_pass}
SITE_URL=http://${LOCAL_IP}
STATE_DIR=/var/sub-wave
SOUNDS_DIR=/sounds
HF_HOME=/var/sub-wave/hf-cache
LIQUIDSOAP_HOST=127.0.0.1
ICECAST_STATUS_URL=http://127.0.0.1:7702/status-json.xsl
ICECAST_ADMIN_URL=http://127.0.0.1:7702/admin/listclients
ICECAST_TRUSTED_PROXY_IPS=127.0.0.1
LISTENER_AUTH_URL=http://127.0.0.1:7701/listener-auth
CONTROLLER_INTERNAL_URL=http://127.0.0.1:7701
PIPER_BIN=/opt/piper/piper
ANALYZE_PYTHON=/opt/analyzer/venv/bin/python
EOF
chmod 600 /opt/subwave_data/.env
cat <<EOF >~/subwave.creds
Subwave Admin
Username: ${var_admin_user}
Password: ${var_admin_pass}
EOF
chmod 600 ~/subwave.creds
systemctl restart caddy
msg_ok "Configured Subwave"
msg_info "Creating Services"
cat <<EOF >/etc/systemd/system/subwave-broadcast.service
[Unit]
Description=Subwave Broadcast (Icecast + Liquidsoap)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
EnvironmentFile=/opt/subwave_data/.env
ExecStart=/usr/bin/bash /opt/subwave/docker/broadcast-entrypoint.sh
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/subwave-controller.service
[Unit]
Description=Subwave Controller
After=network-online.target subwave-broadcast.service
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/opt/subwave/controller
EnvironmentFile=/opt/subwave_data/.env
ExecStart=/opt/subwave/controller/node_modules/.bin/tsx src/server.ts
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
cat <<EOF >/etc/systemd/system/subwave-web.service
[Unit]
Description=Subwave Web
After=network-online.target subwave-controller.service
[Service]
Type=simple
WorkingDirectory=/opt/subwave/web/.next/standalone
EnvironmentFile=/opt/subwave_data/.env
Environment=PORT=7700
Environment=HOSTNAME=127.0.0.1
ExecStart=/usr/bin/node server.js
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now subwave-broadcast subwave-controller subwave-web
msg_ok "Created Services"
motd_ssh
customize
cleanup_lxc
+65
View File
@@ -0,0 +1,65 @@
#!/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/windmill-labs/windmill
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
PG_VERSION="18" setup_postgresql
PG_DB_NAME="windmill" PG_DB_USER="windmill" setup_postgresql_db
setup_uv
NODE_VERSION="24" NODE_MODULE="bun" setup_nodejs
fetch_and_deploy_gh_release "windmill" "windmill-labs/windmill" "singlefile" "latest" "/opt/windmill" "windmill-amd64"
USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "windmill-duckdb" "windmill-labs/windmill" "singlefile" "latest" "/opt/windmill" "windmill_duckdb_runner"
msg_info "Creating Windmill Database Roles"
# Windmill's migrations can only create these as superuser (windmill_admin needs BYPASSRLS)
$STD sudo -u postgres psql -c "CREATE ROLE windmill_user; CREATE ROLE windmill_admin WITH BYPASSRLS; GRANT windmill_user TO windmill_admin; GRANT windmill_admin, windmill_user TO windmill;"
msg_ok "Created Windmill Database Roles"
msg_info "Configuring Windmill"
mkdir -p /opt/windmill_data
cat <<EOF >/opt/windmill_data/.env
DATABASE_URL=postgres://windmill:${PG_DB_PASS}@127.0.0.1:5432/windmill?sslmode=disable
MODE=standalone
BASE_URL=http://${LOCAL_IP}:8000
EOF
chmod 600 /opt/windmill_data/.env
msg_ok "Configured Windmill"
msg_info "Creating Windmill Service"
cat <<EOF >/etc/systemd/system/windmill.service
[Unit]
Description=Windmill
After=network.target postgresql.service
Requires=postgresql.service
[Service]
Type=simple
User=root
WorkingDirectory=/opt/windmill
EnvironmentFile=/opt/windmill_data/.env
# ~/.windmill is the version file, but Windmill keeps its standalone bundles in \$HOME/.windmill
Environment=HOME=/opt/windmill_data
Environment=WINDMILL_DIR=/opt/windmill_data
ExecStart=/opt/windmill/windmill
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now windmill
msg_ok "Created Windmill Service"
motd_ssh
customize
cleanup_lxc
+32 -14
View File
@@ -89,13 +89,22 @@ esac
CTID_CONFIG_PATH="/etc/pve/lxc/${CTID}.conf"
# Skip if already configured
grep -q "lxc.cgroup2.devices.allow: c 10:200 rwm" "$CTID_CONFIG_PATH" || echo "lxc.cgroup2.devices.allow: c 10:200 rwm" >>"$CTID_CONFIG_PATH"
grep -q "lxc.mount.entry: /dev/net/tun" "$CTID_CONFIG_PATH" || echo "lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file" >>"$CTID_CONFIG_PATH"
# Snapshots follow the container's own settings as [name] sections, so a line
# appended to the file ends up in the last snapshot instead of the container.
CONF_MAIN=$(awk '/^\[/ {exit} {print}' "$CTID_CONFIG_PATH")
CONF_SNAPSHOTS=$(awk '/^\[/ {s=1} s' "$CTID_CONFIG_PATH")
CONF_ADD=""
grep -q "^lxc.cgroup2.devices.allow: c 10:200 rwm" <<<"$CONF_MAIN" || CONF_ADD+=$'\n'"lxc.cgroup2.devices.allow: c 10:200 rwm"
grep -q "^lxc.mount.entry: /dev/net/tun" <<<"$CONF_MAIN" || CONF_ADD+=$'\n'"lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file"
if [[ -n "$CONF_ADD" && -n "$CONF_SNAPSHOTS" ]]; then
printf '%s%s\n\n%s\n' "$CONF_MAIN" "$CONF_ADD" "$CONF_SNAPSHOTS" >"$CTID_CONFIG_PATH"
elif [[ -n "$CONF_ADD" ]]; then
printf '%s\n' "${CONF_ADD#$'\n'}" >>"$CTID_CONFIG_PATH"
fi
msg_info "Installing Tailscale in CT $CTID"
pct exec "$CTID" -- bash -c '
$STD pct exec "$CTID" -- bash -c '
set -e
# Detect OS inside container
@@ -119,6 +128,8 @@ if [ -f /etc/alpine-release ]; then
else
# ── Debian / Ubuntu ──
export DEBIAN_FRONTEND=noninteractive
# The helpers then print apt output instead of logging it inside the container.
export VERBOSE=yes
# Source os-release properly (handles quoted values)
. /etc/os-release
@@ -130,7 +141,8 @@ else
# Check DNS resolution using multiple methods (dig may not be installed)
dns_check_failed=true
if command -v dig >/dev/null 2>&1; then
if dig +short pkgs.tailscale.com 2>/dev/null | grep -qvE "^127\.|^0\.0\.0\.0$|^$"; then
# dig prints its own errors (";; no servers could be reached") on stdout
if dig +short pkgs.tailscale.com 2>/dev/null | grep -E "^[0-9.]+$" | grep -qvE "^127\.|^0\.0\.0\.0$"; then
dns_check_failed=false
fi
elif command -v host >/dev/null 2>&1; then
@@ -156,6 +168,8 @@ else
cp "$ORIG_RESOLV" "$BACKUP_RESOLV"
echo "nameserver 1.1.1.1" >"$ORIG_RESOLV"
fi
RESTORE_RESOLV="[ ! -f $BACKUP_RESOLV ] || mv -f $BACKUP_RESOLV $ORIG_RESOLV"
trap "$RESTORE_RESOLV" EXIT
if ! command -v curl >/dev/null 2>&1; then
echo "[INFO] curl not found, installing..."
@@ -166,6 +180,13 @@ else
# Reuse the shared repository helper instead of hand-rolling the sources entry
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/core.func")
source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/lib/tools.func")
# core.func sets its own EXIT trap
trap "$RESTORE_RESOLV" EXIT
# A failed download is sourced as an empty file
if ! declare -f load_functions setup_deb822_repo >/dev/null; then
echo "[ERROR] Could not download the community-scripts helpers inside the container. Check its network and DNS." >&2
exit 7
fi
load_functions
# Drop the legacy keyring from the pre-deb822 layout
@@ -178,18 +199,15 @@ else
"${VERSION_CODENAME}" \
"main"
apt-get install -y tailscale >/dev/null
if [ -f /tmp/resolv.conf.backup ]; then
echo "[INFO] Restoring original /etc/resolv.conf"
mv /tmp/resolv.conf.backup /etc/resolv.conf
fi
apt-get install -y tailscale
fi
'
TAGS=$(awk -F': ' '/^tags:/ {print $2}' "$CTID_CONFIG_PATH")
TAGS="${TAGS:+$TAGS; }tailscale"
pct set "$CTID" -tags "$TAGS"
# The tag is cosmetic; Tailscale is installed by now.
TAGS=$(pct config "$CTID" | awk -F': ' '/^tags:/ {print $2}')
if [[ ";${TAGS};" != *";tailscale;"* ]] && ! TAG_OUTPUT=$(pct set "$CTID" -tags "${TAGS:+$TAGS;}tailscale" 2>&1); then
msg_warn "Could not add the tailscale tag to CT $CTID: ${TAG_OUTPUT}"
fi
msg_ok "Tailscale installed on CT $CTID"
echo -e "${YW}Reboot the container${CL}, then run 'tailscale up' inside the container to activate."
+36 -6
View File
@@ -49,6 +49,11 @@ if ! excluded_containers=$(whiptail --backtitle "Proxmox VE Helper Scripts" --ti
exit 0
fi
# The failing containers' output, for the user and for the telemetry trace.
RUN_LOG="/tmp/clean-lxcs-$(date +%Y%m%d_%H%M%S).log"
SILENT_LOGFILE="$RUN_LOG"
CLEAN_OUTPUT=$(mktemp)
function run_lxc_clean() {
local container=$1
header_info
@@ -79,7 +84,19 @@ function run_lxc_clean() {
apt -y autoclean
apt update
fi
'
' 2>&1 | tee "$CLEAN_OUTPUT"
}
# record_failure <ctid> <what> [output file] - adds the output's last error line
function record_failure() {
local name reason=""
name=$(pct config "$1" 2>/dev/null | awk '/^hostname:/ {print $2}' || true)
if [[ -s "${3:-}" ]]; then
reason=$(sed 's/\x1b\[[0-9;]*[a-zA-Z]//g; s/\r//g' "$3" | grep -E '^(E:|ERROR|Error|error)' | tail -n1 || true)
[[ -n "$reason" ]] || reason=$(sed 's/\x1b\[[0-9;]*[a-zA-Z]//g; s/\r//g' "$3" | grep -v '^[[:space:]]*$' | tail -n1 || true)
{ echo "CT $1${name:+ ($name)}: $2"; tail -n 20 "$3"; echo; } >>"$RUN_LOG"
fi
failed_containers+=("$1${name:+ ($name)}: $2${reason:+ - $reason}")
}
failed_containers=()
@@ -107,30 +124,43 @@ for container in $(pct list | awk '{if(NR>1) print $1}'); do
continue
fi
status=$(pct status "$container")
if ! status=$(pct status "$container" 2>&1); then
record_failure "$container" "pct status failed: $status"
continue
fi
template=$(pct config "$container" | grep -q "template:" && echo "true" || echo "false")
if [ "$template" == "false" ] && [ "$status" == "status: stopped" ]; then
echo -e "${BL}[Info]${GN} Starting${BL} $container ${CL} \n"
if ! pct start "$container"; then
failed_containers+=("$container (start)")
if ! pct start "$container" >"$CLEAN_OUTPUT" 2>&1; then
cat "$CLEAN_OUTPUT"
record_failure "$container" "did not start" "$CLEAN_OUTPUT"
continue
fi
echo -e "${BL}[Info]${GN} Waiting For${BL} $container${CL}${GN} To Start ${CL} \n"
sleep 5
run_lxc_clean "$container" || failed_containers+=("$container")
rc=0
run_lxc_clean "$container" || rc=$?
[ "$rc" -eq 0 ] || record_failure "$container" "cleaning exited with $rc" "$CLEAN_OUTPUT"
echo -e "${BL}[Info]${GN} Shutting down${BL} $container ${CL} \n"
pct shutdown "$container" &
elif [ "$status" == "status: running" ]; then
run_lxc_clean "$container" || failed_containers+=("$container")
rc=0
run_lxc_clean "$container" || rc=$?
[ "$rc" -eq 0 ] || record_failure "$container" "cleaning exited with $rc" "$CLEAN_OUTPUT"
fi
done
wait
rm -f "$CLEAN_OUTPUT"
header_info
if [ "${#failed_containers[@]}" -gt 0 ]; then
echo -e "${RD}Cleaning failed in these containers:${CL}"
printf '%s\n' "${failed_containers[@]}"
echo ""
[ -s "$RUN_LOG" ] && echo -e "Their output: $RUN_LOG\n"
printf -v CS_ERROR_MSG '%s; ' "${failed_containers[@]}"
CS_ERROR_MSG="Cleaning failed in ${#failed_containers[@]} container(s): ${CS_ERROR_MSG%; }"
exit 1
fi
echo -e "${GN} Finished, Selected Containers Cleaned. ${CL} \n"
+14 -9
View File
@@ -51,18 +51,20 @@ header_info
echo "One moment please...\n"
function execute_in() {
container=$1
name=$(pct exec "$container" hostname)
echo -e "${BL}[Info]${GN} Execute inside${BL} ${name}${GN} with output: ${CL}"
if ! pct exec "$container" -- bash -c "command ${custom_command} >/dev/null 2>&1"; then
echo -e "${BL}[Info]${GN} Skipping ${name} ${RD}$container has no command: ${custom_command}"
else
pct exec "$container" -- bash -c "${custom_command}" | tee
local container=$1 name rc=0
name=$(pct config "$container" | awk '/^hostname:/ {print $2}')
echo -e "${BL}[Info]${GN} Execute inside${BL} ${container} (${name})${GN} with output: ${CL}"
# Run once; a failure in one container must not end the run for the others.
pct exec "$container" -- bash -c "${custom_command}" | tee || rc=$?
if [ "$rc" -eq 127 ]; then
echo -e "${BL}[Info]${RD} ${container} (${name}) has no command: ${custom_command}${CL}"
elif [ "$rc" -ne 0 ]; then
echo -e "${BL}[Info]${RD} Command exited with code ${rc} in ${container} (${name})${CL}"
fi
}
for container in $(pct list | awk '{if(NR>1) print $1}'); do
if [[ " ${excluded_containers[@]} " =~ " $container " ]]; then
if [[ " ${excluded_containers} " == *" ${container} "* ]]; then
echo -e "${BL}[Info]${GN} Skipping ${BL}$container${CL}"
else
os=$(pct config "$container" | awk '/^ostype/ {print $2}')
@@ -75,7 +77,10 @@ for container in $(pct list | awk '{if(NR>1) print $1}'); do
template=$(pct config "$container" | grep -q "template:" && echo "true" || echo "false")
if [ "$template" == "false" ] && [ "$status" == "status: stopped" ]; then
echo -e "${BL}[Info]${GN} Starting${BL} $container ${CL}"
pct start "$container"
if ! pct start "$container"; then
echo -e "${BL}[Info]${RD} Skipping ${container}, it did not start${CL}"
continue
fi
echo -e "${BL}[Info]${GN} Waiting For${BL} $container${CL}${GN} To Start ${CL}"
sleep 5
execute_in "$container"
+16 -2
View File
@@ -108,7 +108,11 @@ function trim_container() {
echo -e "${BL}[Info]${GN} Trimming ${BL}$container${CL} \n"
local before_trim after_trim
local lv_name="vm-${container}-disk-0"
# A restored or moved container's root is not always disk-0; the volume comes
# from its config file, which needs no pct call.
local lv_name
lv_name="$(awk -F'[:,]' '/^rootfs:/ {print $3; exit}' "/etc/pve/lxc/${container}.conf" 2>/dev/null)"
[[ -n "$lv_name" ]] || lv_name="vm-${container}-disk-0"
if lvs --noheadings -o lv_name 2>/dev/null | grep -qw "$lv_name"; then
before_trim=$(lvs --noheadings -o lv_name,data_percent 2>/dev/null | awk -v ctid="$lv_name" '$1 == ctid {gsub(/%/, "", $2); print $2}')
[[ -n "$before_trim" ]] && echo -e "${RD}Data before trim $before_trim%${CL}" || echo -e "${RD}Data before trim: not available${CL}"
@@ -141,6 +145,7 @@ function trim_container() {
sleep 0.5
}
NOT_STARTED=()
for LINE in "${CTLINES[@]}"; do
CTID=$(awk '{print $1}' <<<"$LINE")
STATUS=$(awk '{print $2}' <<<"$LINE")
@@ -161,7 +166,13 @@ for LINE in "${CTLINES[@]}"; do
if [[ -n "${WAS_STOPPED[$CTID]:-}" ]]; then
header_info
echo -e "${BL}[Info]${GN} Starting $CTID ($NAME) for trim...${CL}"
pct start "$CTID"
if ! start_output=$(pct start "$CTID" 2>&1); then
echo -e "${RD}$CTID ($NAME) did not start, skipping it: ${start_output}${CL}"
echo "$(date '+%Y-%m-%d %H:%M:%S') | CTID=$CTID | Name=$NAME | skipped, did not start: ${start_output//$'\n'/ }" >>"$LOGFILE"
NOT_STARTED+=("$CTID ($NAME)")
sleep 1
continue
fi
sleep 2
else
header_info
@@ -189,6 +200,9 @@ for LINE in "${CTLINES[@]}"; do
done
header_info
if [ ${#NOT_STARTED[@]} -gt 0 ]; then
echo -e "${RD}Not trimmed, did not start: ${NOT_STARTED[*]}${CL}\n"
fi
echo -e "${GN}Finished, LXC Containers Trimmed.${CL} \n"
echo -e "${BL}If you want to see the complete log: cat $LOGFILE${CL}"
exit 0
+29 -10
View File
@@ -15,7 +15,10 @@ set -Eeuo pipefail
APP="Scrutiny-Collector"
APP_TYPE="tools"
BIN="/usr/local/bin/scrutiny-collector-metrics"
BIN_DIR="/usr/local/bin"
# TrueNAS SCALE mounts /usr read-only.
[[ -w "$BIN_DIR" ]] || BIN_DIR="/var/lib/scrutiny"
BIN="${BIN_DIR}/scrutiny-collector-metrics"
CONFIG_DIR="/etc/scrutiny"
CONFIG="${CONFIG_DIR}/collector.yaml"
SERVICE="scrutiny-collector"
@@ -23,6 +26,22 @@ REPO="AnalogJ/scrutiny"
header_info
function require_tool() {
local cmd="$1" pkg="$2"
command -v "$cmd" &>/dev/null && return 0
# TrueNAS SCALE replaces apt with a stub that refuses to run.
if ! apt-get --version &>/dev/null; then
msg_error "${cmd} is missing and apt cannot install ${pkg} on this host. Install ${pkg}, then run this again."
exit 1
fi
msg_info "Installing ${pkg}"
if ! $STD apt install -y "$pkg"; then
msg_error "apt could not install ${pkg}. Run 'apt install ${pkg}' to see why."
exit 1
fi
msg_ok "Installed ${pkg}"
}
if [[ "$(id -u)" -ne 0 ]]; then
msg_error "Run this as root (sudo) on the machine that has the disks."
exit 1
@@ -30,14 +49,11 @@ fi
if systemd-detect-virt -cq 2>/dev/null; then
msg_warn "This looks like a container: only disks passed through to it can be read."
fi
if ! command -v apt &>/dev/null; then
msg_error "This tool needs a Debian or Ubuntu based host (apt)."
exit 1
fi
command -v whiptail &>/dev/null || $STD apt install -y whiptail
require_tool whiptail whiptail
function deploy_binary() {
fetch_and_deploy_gh_release "scrutiny-collector-metrics" "$REPO" "singlefile" "latest" "/usr/local/bin" "scrutiny-collector-metrics-linux-$(arch_resolve "amd64" "arm64")"
# uname, not dpkg: the dpkg stub on TrueNAS SCALE prints a notice that would be read as the architecture.
fetch_and_deploy_gh_release "scrutiny-collector-metrics" "$REPO" "singlefile" "latest" "$BIN_DIR" "scrutiny-collector-metrics-linux-$(PCT_ARCH="$(uname -m)" arch_resolve "amd64" "arm64")"
# Only catch_errors' on_exit clears this marker, and tools run without it.
rm -f ~/.scrutiny-collector-metrics.pending
}
@@ -60,9 +76,8 @@ function install_collector() {
msg_warn "Scrutiny does not answer at ${url}/api/health yet; the collector will retry every 15 minutes."
fi
msg_info "Installing smartmontools"
$STD apt install -y smartmontools
msg_ok "Installed smartmontools"
require_tool smartctl smartmontools
msg_ok "Using $(smartctl --version 2>/dev/null | awk 'NR==1 {print $1, $2}')"
deploy_binary
@@ -105,6 +120,9 @@ EOF
echo ""
msg_ok "The disks of $(hostname) show up in Scrutiny at ${BL}${url}${CL} after the first run."
msg_ok "Follow it with: ${BL}journalctl -u ${SERVICE} -f${CL}"
if command -v midclt &>/dev/null; then
msg_warn "A TrueNAS update replaces /etc and /var, which removes the collector: run this again after each update."
fi
}
function update_collector() {
@@ -122,6 +140,7 @@ function uninstall_collector() {
systemctl stop ${SERVICE}.service 2>/dev/null || true
rm -f /etc/systemd/system/${SERVICE}.service /etc/systemd/system/${SERVICE}.timer "$BIN" ~/.scrutiny-collector-metrics
rm -rf "$CONFIG_DIR"
[[ "$BIN_DIR" == /usr/local/bin ]] || rmdir "$BIN_DIR" 2>/dev/null || true
systemctl daemon-reload
msg_ok "Removed ${APP} (smartmontools stays installed)"
}
+7 -1
View File
@@ -275,7 +275,8 @@ function dry_run_container() {
function failure_reason() {
local reason
reason=$(grep -m1 '^ERROR:' <<<"$1" | sed 's/^ERROR: //')
[[ -n "$reason" ]] || reason=$(grep -v '^[[:space:]]*$' <<<"$1" | tail -n1)
# A rejected option ends in the usage line, the option's error is above it.
[[ -n "$reason" ]] || reason=$(grep -v -e '^[[:space:]]*$' -e '\[OPTIONS\]$' <<<"$1" | tail -n1)
printf '%s' "$reason"
}
@@ -286,6 +287,11 @@ function backup_container() {
msg_ok "Backup created"
else
log_write "Container $1: vzdump failed:"$'\n'"$output"
# Ctrl+C, or the task was stopped: the backup did not fail, it was cancelled.
if grep -q "interrupted by signal" <<<"$output"; then
msg_error "Backup of container $1 was interrupted (Ctrl+C or the task was stopped)"
exit 130
fi
msg_error "Backup failed for container $1: $(failure_reason "$output")"
exit 235
fi
+39 -8
View File
@@ -48,6 +48,11 @@ while read -r TAG ITEM; do
done < <(pct list | awk 'NR>1')
excluded_containers=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "Containers on $NODE" --checklist "\nSelect containers to skip from updates:\n" 16 $((MSG_MAX_LENGTH + 23)) 6 "${EXCLUDE_MENU[@]}" 3>&1 1>&2 2>&3 | tr -d '"')
# The failing containers' output, for the user and for the telemetry trace.
RUN_LOG="/tmp/update-lxcs-$(date +%Y%m%d_%H%M%S).log"
SILENT_LOGFILE="$RUN_LOG"
UPDATE_OUTPUT=$(mktemp)
function needs_reboot() {
local container=$1
local os=$(pct config "$container" | awk '/^ostype/ {print $2}')
@@ -78,9 +83,21 @@ function update_container() {
alpine) pct exec "$container" -- ash -c "apk -U upgrade" ;;
archlinux) pct exec "$container" -- bash -c "pacman -Syyu --noconfirm" ;;
fedora | rocky | centos | alma) pct exec "$container" -- bash -c "dnf -y update && dnf -y upgrade" ;;
ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get update 2>/dev/null | grep 'packages.*upgraded'; apt list --upgradable 2>/dev/null | cat && apt-get -yq dist-upgrade 2>&1; apt-get -yq autoremove 2>&1; apt-get -yq autoclean 2>&1; rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED || true" ;;
ubuntu | debian | devuan) pct exec "$container" -- bash -c "apt-get update 2>/dev/null | grep 'packages.*upgraded'; apt list --upgradable 2>/dev/null | cat && apt-get -yq dist-upgrade 2>&1; rc=\$?; apt-get -yq autoremove 2>&1; apt-get -yq autoclean 2>&1; rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED; exit \$rc" ;;
opensuse) pct exec "$container" -- bash -c "zypper ref && zypper --non-interactive dup" ;;
esac
esac 2>&1 | tee "$UPDATE_OUTPUT"
}
# record_failure <ctid> <what> [output file] - adds the output's last error line
function record_failure() {
local name reason=""
name=$(pct config "$1" 2>/dev/null | awk '/^hostname:/ {print $2}' || true)
if [[ -s "${3:-}" ]]; then
reason=$(sed 's/\x1b\[[0-9;]*[a-zA-Z]//g; s/\r//g' "$3" | grep -E '^(E:|ERROR|Error|error)' | tail -n1 || true)
[[ -n "$reason" ]] || reason=$(sed 's/\x1b\[[0-9;]*[a-zA-Z]//g; s/\r//g' "$3" | grep -v '^[[:space:]]*$' | tail -n1 || true)
{ echo "CT $1${name:+ ($name)}: $2"; tail -n 20 "$3"; echo; } >>"$RUN_LOG"
fi
failed_containers+=("$1${name:+ ($name)}: $2${reason:+ - $reason}")
}
containers_needing_reboot=()
@@ -92,7 +109,10 @@ for container in $(pct list | awk '{if(NR>1) print $1}'); do
echo -e "${BL}[Info]${GN} Skipping ${BL}$container${CL}"
sleep 1
else
status=$(pct status $container)
if ! status=$(pct status "$container" 2>&1); then
record_failure "$container" "pct status failed: $status"
continue
fi
if [ "$SKIP_STOPPED" == "yes" ] && [ "$status" == "status: stopped" ]; then
header_info
echo -e "${BL}[Info]${GN} Skipping ${BL}$container${CL}${GN} (not running)${CL}"
@@ -102,17 +122,22 @@ for container in $(pct list | awk '{if(NR>1) print $1}'); do
template=$(pct config $container | grep -q "template:" && echo "true" || echo "false")
if [ "$template" == "false" ] && [ "$status" == "status: stopped" ]; then
echo -e "${BL}[Info]${GN} Starting${BL} $container ${CL} \n"
if ! pct start $container; then
failed_containers+=("$container (start)")
if ! pct start "$container" >"$UPDATE_OUTPUT" 2>&1; then
cat "$UPDATE_OUTPUT"
record_failure "$container" "did not start" "$UPDATE_OUTPUT"
continue
fi
echo -e "${BL}[Info]${GN} Waiting For${BL} $container${CL}${GN} To Start ${CL} \n"
sleep 5
update_container $container || failed_containers+=("$container")
rc=0
update_container "$container" || rc=$?
[ "$rc" -eq 0 ] || record_failure "$container" "update exited with $rc" "$UPDATE_OUTPUT"
echo -e "${BL}[Info]${GN} Shutting down${BL} $container ${CL} \n"
pct shutdown $container &
elif [ "$status" == "status: running" ]; then
update_container $container || failed_containers+=("$container")
rc=0
update_container "$container" || rc=$?
[ "$rc" -eq 0 ] || record_failure "$container" "update exited with $rc" "$UPDATE_OUTPUT"
fi
if [ "$status" == "status: running" ]; then
if pct exec "$container" -- [ -e "/var/run/reboot-required" ]; then
@@ -129,11 +154,13 @@ for container in $(pct list | awk '{if(NR>1) print $1}'); do
fi
done
wait
rm -f "$UPDATE_OUTPUT"
header_info
if [ "${#failed_containers[@]}" -gt 0 ]; then
echo -e "${RD}The update failed in these containers:${CL}"
printf '%s\n' "${failed_containers[@]}"
echo ""
[ -s "$RUN_LOG" ] && echo -e "Their output: $RUN_LOG\n"
else
echo -e "${GN}The process is complete, and the containers have been successfully updated.${CL}\n"
fi
@@ -144,4 +171,8 @@ if [ "${#containers_needing_reboot[@]}" -gt 0 ]; then
done
fi
echo ""
[ "${#failed_containers[@]}" -eq 0 ] || exit 1
if [ "${#failed_containers[@]}" -gt 0 ]; then
printf -v CS_ERROR_MSG '%s; ' "${failed_containers[@]}"
CS_ERROR_MSG="Update failed in ${#failed_containers[@]} container(s): ${CS_ERROR_MSG%; }"
exit 1
fi
+5 -1
View File
@@ -18,6 +18,7 @@ DISK_SIZE="32G"
for channel in stable beta dev; do
channel_version=$(curl -fsSL "https://raw.githubusercontent.com/home-assistant/version/master/${channel}.json" | grep '"ova"' | cut -d '"' -f 4) || channel_version=""
[ -n "$channel_version" ] || channel_version=$(curl -fsSL "https://version.home-assistant.io/${channel}.json" | grep '"ova"' | cut -d '"' -f 4) || channel_version=""
printf -v "$channel" '%s' "$channel_version"
done
if [ -z "$stable" ]; then
@@ -117,7 +118,10 @@ fi
CACHE_FILE="$(vm_image_cache_path "$URL")"
msg_ok "${CL}${BL}${URL}${CL}"
vm_fetch_image "$URL" "$CACHE_FILE" --cache --verify-xz || exit 115
ALT_URL="https://os-artifacts.home-assistant.io/${BRANCH}/haos_ova-${BRANCH}.qcow2.xz"
if ! vm_fetch_image "$URL" "$CACHE_FILE" --cache --verify-xz; then
[ "$URL" != "$ALT_URL" ] && vm_fetch_image "$ALT_URL" "$CACHE_FILE" --cache --verify-xz || exit 115
fi
msg_info "Creating Home Assistant OS VM shell"
qm create $VMID${MACHINE} -bios ovmf -agent 1 -tablet 0 -localtime 1 ${CPU_TYPE} \