Commit Graph
33 Commits
Author SHA1 Message Date
CanbiZ (MickLesk) 19e5a7d99f Dispatcharr: consume the plugins and dvr queues like upstream (#19248)
Since 0.34 plugin actions go to a plugins queue, which no worker read, so
every plugin action timed out after 55 s. Recordings go to dvr, which older
installs never consumed. The main worker now reads celery,plugins and a
second thread-pool worker reads dvr, as upstream's images do. The update
migrates existing installs without waiting for a new release, since it
restored the old start script on every update.
2026-12-02 10:55:48 +01:00
Mandish ShahandClaude Opus 5.5 95f604018f Dispatcharr: load the gevent monkey-patch in uWSGI like upstream (#19045)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:13:40 +01:00
CanbiZ (MickLesk) 7f57d0998c Refactor/core qol adoption (#17655)
* Scripts: close every msg_info block with msg_ok

Past-tense msg_info calls that should have been msg_ok, notices that opened a block before a prompt, and blocks without a closing msg_ok. These already left a stale spinner; with core's block stack they would resume it after every later msg_ok.

* Generate passwords with random_password

openssl rand -base64 | tr -dc | head -c returned fewer characters than asked for, and the unfiltered | cut variants put / and + into passwords that end up in DSNs and sed expressions. Secrets an app decodes as base64 are unchanged. Requires community-scripts/core#61.

* Keep data directories through CLEAN_INSTALL instead of copying them

create_backup copied uploads, storage and similar directories twice per update and needed their size again in free space. CLEAN_INSTALL_KEEP moves them aside instead. Only directories the upstream release does not ship, in scripts that restored right after the fetch. Requires community-scripts/core#61.

* Drop the 300s uv timeout overrides

setup_uv exports UV_HTTP_TIMEOUT=600 now; the scripts' 300 only lowered it. Requires community-scripts/core#61.
2026-10-03 08:19:10 +02:00
CanbiZ (MickLesk) 5515363c84 Drop the scripts base pin from every ct/ script (#17585)
ProxmoxVE is the engine's default scripts base as of community-scripts/core#76,
so the pin no longer changes anything.
2026-09-29 15:23:32 +02:00
CanbiZ (MickLesk) 76b839b04c several scripts: let uv see the project before syncing it | refactor some scripts that use uv (#17436)
* Let uv see the project before syncing it

uv refuses to run when a project pins a required-version it does not
match, in either direction: RomM pins ==0.12.13, which fails against
both the 0.10.3 a container was built with and the 0.12.17 latest
installs.

UV_PROJECT_DIR points setup_uv at the project so it reads that pin. It
is a prefix like PYTHON_VERSION and UV_VERSION, and the call sits
directly under fetch_and_deploy: the project is on disk by then, and
the deploy has closed its message block, which setup_uv needs since it
opens one of its own. That is also the only call needed - nothing
between the old early call and the deploy uses uv or Python, so the two
collapse into one.

Two things found along the way:

UV_PYTHON was set as a command prefix on setup_uv in 14 places. setup_uv
reads PYTHON_VERSION, never UV_PYTHON, and a prefix assignment does not
outlive the call, so those pins did nothing. They now use
PYTHON_VERSION, which installs the interpreter they were asking for.

Five update scripts had no setup_uv at all while their install
counterpart pinned a Python version. They now carry the same pin.

immich is left out: it runs uv through sudo -u inside a retry loop.

* yubal: drop the uv 0.7.19 pin

The pin came in with the script and was never explained. uv 0.7.19 is
from 2025-07-02; yubal's uv.lock has carried revision 3 since at least
2025-12-27, and older uv refuses a newer lockfile revision. The script
runs uv sync --frozen, so there is no fallback.

yubal declares no required-version of its own, so latest is what it
gets - and if it ever pins one, that pin is now honoured.
2026-09-22 16:06:15 +02:00
github-actions[bot] 47955c1e65 chore(ct): sync dispatcharr defaults from PocketBase (#17302)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 13:12:43 +02:00
eXistC 2c6a578343 fix(dispatcharr): add comskip installation and build dependencies (#16224) 2026-09-12 14:30:42 +02:00
CanbiZ (MickLesk) 5a71eb99f7 move the hardware-accelerated scripts onto new core (#16864) 2026-08-31 08:50:21 +02:00
CanbiZ (MickLesk) 8029b208a6 tools.func: add nginx site helper and PHP socket resolver (#16118) 2026-07-28 19:47:13 +02:00
CanbiZ (MickLesk) bd3e3bd5f9 Standardize CT update backup handling (#15937) 2026-07-21 12:52:51 +02:00
Sam Heinz bc9ceb187d add proxy headers to dispatcharr from #15143 (#15293) 2026-06-22 21:12:42 +02:00
Sam Heinz 2b87a54afb set script arm64 statuses to yes (#15052)
these scripts I have already previously confirmed work without any changes to the scripts themselves
2026-06-11 16:16:15 +02:00
Slaviša Arežina f1bc4f1922 [misc]: Fix aligment of status messages (#14900) 2026-06-03 11:03:13 +02:00
Sam Heinz 69aa93a83a workflows: update workflows, templates to support arm64. (#14653)
* set 'var_arm64' to no in all ct scripts

* update files in .github to support arm64
2026-05-23 07:46:44 +10:00
CanbiZ (MickLesk) 35953b6d51 Refactor: Dispatcharr (#14313) 2026-05-22 09:06:48 +02:00
CanbiZ (MickLesk) 0c1d6c688b feat: add custom Postgres port support for Dispatcharr upgrade (#13347) 2026-03-27 14:45:53 +01:00
CanbiZ (MickLesk) 1ce0af9455 Bump Node to 24; pin webworkify-webpack
Update Node.js version from 22 to 24 in ct/dispatcharr.sh and install/dispatcharr-install.sh. Add a package.json override to force webworkify-webpack@2.1.3 and remove package-lock.json before running npm install during the frontend build to avoid dependency/lock conflicts and ensure a successful build.
2026-03-19 09:26:15 +01:00
CanbiZ (MickLesk) 8879b8ec2e downgrade to node22 2026-03-19 09:00:47 +01:00
CanbiZ (MickLesk) 2a11d8e2d3 Dispatcharr: use npm install --no-audit --progress=false (#13074) 2026-03-19 08:35:09 +01:00
CanbiZ (MickLesk) ee2c3a20ee fix(dispatcharr): migrate from requirements.txt to uv sync (pyproject.toml) (#11831) 2026-02-12 14:50:42 +01:00
CanbiZ (MickLesk) d09dd0b664 dispatcharr: include port 9191 in success-message (#11808) 2026-02-11 22:05:32 +01:00
CanbiZ (MickLesk) 14755d5efe fix: add --clear to uv venv calls for uv 0.10 compatibility (#11723)
uv 0.10 requires --clear flag to overwrite existing virtual environments.
Without it, update scripts fail when the venv already exists.

Affected: 13 ct/ update scripts, 25 install/ scripts, glances addon
2026-02-09 15:54:22 +01:00
CanbiZ (MickLesk) 7fc77fe5be various scripts: use ensure_dependencies instead of apt (#11463)
* refactor(ct): replace apt install with ensure_dependencies in update_script functions

* refactor(ct): replace remaining apt install with ensure_dependencies

* refactor(ct): replace remaining apt install with ensure_dependencies

* refactor(ct): remove redundant dpkg checks before ensure_dependencies

* refactor(ct): remove ALL redundant checks before ensure_dependencies

* Update neo4j.sh
2026-02-02 13:01:17 +01:00
Slaviša Arežina e4c382e42c Fix fetch method (#10608) 2026-01-07 08:49:12 +01:00
Tobias 08d67aa722 chore: fix update msg (#10593) 2026-01-06 22:57:40 +01:00
Slaviša ArežinaandTobias 6fccb76e1a Refactor: Dispatcharr (#10599)
* Refactor

* Oops

* add new deps

* fix: add new deps

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-01-06 22:44:27 +01:00
Tobias c1fe8b91b4 chore: bump copyright to 2026 - happy new year (#10585)
* chore: bump copyright to 2026 - happy new year

* fix

* meilisearch fix source url

* livebook: fix space

* fix source cmd

* fix source cmd
2026-01-06 13:28:12 +01:00
CanbiZ (MickLesk) d058dc515e add hardware acceleration support for 17 additional apps (#10061) 2025-12-17 14:13:27 +01:00
CopilotandMickLesk 1ecb5bbeab Add DJANGO_SECRET_KEY support for Dispatcharr v0.13.1+ (#9730)
* Initial plan

* Add DJANGO_SECRET_KEY support for Dispatcharr v0.13.1+

Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>

* Improve DJANGO_SECRET_KEY generation to ensure consistent 50 character length

Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>

* short

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
2025-12-07 12:38:37 +01:00
CanbiZ 9777abe56d Remove redundant cleanup steps from update scripts (#9359) 2025-11-22 16:41:22 +01:00
CanbiZ be7d0704d7 Standardize update success messages in scripts (#8757) 2025-10-30 17:24:16 +01:00
CanbiZ be539981f8 Dispatcharr: add folders in installer / add more build ressources (#8708) 2025-10-29 13:09:23 +01:00
abdbca59ff Dispatcharr (#8658)
* 'Add new script'

* Update dispatcharr.sh

* Apply suggestion from @tremor021

* Update install/dispatcharr-install.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update install/dispatcharr-install.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update install/dispatcharr-install.sh

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>

* Update author information in dispatcharr.sh

* Update RAM and version in dispatcharr.json

* Remove gcc from dependency installation

* Update website and logo URLs in dispatcharr.json

---------

Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-10-27 20:25:16 +01:00