Commit Graph

3418 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
4fead19d7d fix(teable): symlink static/ dir for builtin system assets
- NestJS backend expects /opt/teable/static/ at workspace root
- Actual files live in apps/nestjs-backend/static/
- Fixes ENOENT on automation-robot.png during startup
2026-03-25 15:24:24 +01:00
CanbiZ (MickLesk)
9e4d963645 fix(teable): add missing env vars for NestJS config validation
- Add BACKEND_CACHE_PROVIDER=sqlite (no Redis needed)
- Add BACKEND_CACHE_SQLITE_URI for sqlite cache path
- Add NEXTJS_DIR for next.js app resolution
- Create .assets and .temporary dirs for local cache/storage
- Fixes 'PRISMA_DATABASE_URL is required' config validation error
2026-03-25 15:20:48 +01:00
CanbiZ (MickLesk)
402c2f6924 fix(erpnext): add frappe user to sudoers with NOPASSWD
- bench init internally invokes sudo for system operations
- frappe user has no password, causing 'Sorry, try again' hang
- Add /etc/sudoers.d/frappe with NOPASSWD:ALL
2026-03-25 15:04:20 +01:00
CanbiZ (MickLesk)
83a2a4c37e fix(storyteller): use Node.js 24 as recommended by upstream docs
- Upstream requires Node 24.x - fixes SyntaxError in worker.cjs
- Add sqlite3 CLI tool as recommended dependency
2026-03-25 15:03:28 +01:00
CanbiZ (MickLesk)
2ca9ae4d1b fix(storyteller): use cp -rT to merge into existing standalone dirs
- cp -r creates nested dirs when target already exists (sqlite/sqlite/)
- cp -rT merges source contents INTO the target directory
- mkdir -p ensures target dirs exist before merge
- Fixes uuid.c.so not being found in standalone/web/sqlite/
2026-03-25 14:59:43 +01:00
CanbiZ (MickLesk)
17b027da9b feat(teable): add Teable no-code database LXC script
- NestJS backend serves both API and Next.js frontend on port 3000
- PostgreSQL 16 with Prisma ORM for database management
- pnpm monorepo build with NODE_OPTIONS=8192MB heap
- Symlink /app -> /opt/teable for upstream compatibility
- 4 CPU / 10GB RAM / 25GB disk (heavy build process)
2026-03-25 14:56:16 +01:00
CanbiZ (MickLesk)
f42318842e fix(jitsi): remove sysctl tuning - not available in LXC containers
- net.core.rmem_max and netdev_max_backlog are kernel params
- Unprivileged LXC containers cannot modify /proc/sys/net/core/*
- These are optional performance tunings, not required for Jitsi
2026-03-25 14:26:39 +01:00
CanbiZ (MickLesk)
825a718a07 fix(erpnext): run bench setup production as root, add nginx+supervisor
- bench setup production requires root (is_root check) - was failing as frappe user
- Add nginx and supervisor as apt dependencies for production setup
- Remove custom erpnext.service - bench manages gunicorn+workers via supervisor
- Port 8000 → 80 (nginx reverse proxy)
- Fix bench update in CT to run as frappe user with proper PATH
2026-03-25 14:26:04 +01:00
CanbiZ (MickLesk)
1c939ff0cc fix(storyteller): copy migrations, sqlite and .env to standalone dir
- cp migrations/ and sqlite/ (dlopen needs real files, not symlinks)
- symlink .env into standalone working directory
- Fixes standalone mode missing database and config files
2026-03-25 14:17:24 +01:00
CanbiZ (MickLesk)
ba21020873 fix(erpnext): set MariaDB root password for frappe user access
- MariaDB uses unix_socket auth - frappe user can't connect as MySQL root
- Set proper password and pass via --db-root-password to bench new-site
- Store DB_ROOT_PASSWORD in .env for reference
2026-03-25 14:04:04 +01:00
CanbiZ (MickLesk)
5352292d5b fix(storyteller): OOM fix - limit Node heap, restore \, bump RAM to 10GB
- NODE_OPTIONS=--max-old-space-size=4096 to cap V8 heap during yarn install/build
- Restore \ prefixes removed by formatter
- RAM 8192 -> 10240 in JSON
- yarn install --network-timeout 600000 for large monorepo fetch
2026-03-25 13:52:18 +01:00
CanbiZ (MickLesk)
2b85a73348 test 2026-03-25 13:51:36 +01:00
CanbiZ (MickLesk)
18c29e3ce2 fix(erpnext): add python3-dev for hiredis compilation (Python.h) 2026-03-25 13:43:03 +01:00
CanbiZ (MickLesk)
bfbafb781b fix(jitsi): remove prosody.im repo, use Debian's prosody 0.12.x
Prosody 13.x from prosody.im requires Lua 5.2+ but Debian 12 only has
Lua 5.1. Debian's own prosody (0.12.x) is compatible and satisfies
jitsi-meet's >= 0.12.0 dependency.
2026-03-25 13:34:35 +01:00
CanbiZ (MickLesk)
0ac7fa4e2f Run Frappe bench as 'frappe' system user
Create a dedicated 'frappe' user and run all bench/uv commands as that user. Chown /opt, install frappe-bench and perform bench init, get-app and new-site via sudo -u frappe (preserving PATH), and run 'bench setup production frappe --yes'. Update the systemd service to User=frappe so Gunicorn and bench processes do not run as root, improving security and isolation.
2026-03-25 13:28:03 +01:00
CanbiZ (MickLesk)
8dc0295f13 fix(storybook): add --no-dev to prevent init from starting dev server
storybook v10 starts the dev server after init by default, causing the
install script to hang forever
2026-03-25 12:46:25 +01:00
CanbiZ (MickLesk)
f5a72358f3 fix(tubearchivist): remove nginx, backend listens directly on 8000
- Remove nginx reverse proxy (caused 502 because backend didn't start)
- TA_PORT=8000 so Django serves directly on port 8000
2026-03-25 12:15:16 +01:00
CanbiZ (MickLesk)
419893df01 fix(storyteller): correct standalone path, add CI=1, copy static assets
- WorkingDirectory: web/.next/standalone/web (not .next/standalone/web)
- CI=1 to prevent interactive prompts during yarn build
- Copy .next/static and public into standalone output
2026-03-25 12:14:36 +01:00
CanbiZ (MickLesk)
1f94843c9c fix: tubearchivist port conflict, jitsi flat repo, erpnext root env
- tubearchivist: backend on 8100 behind nginx on 8000 (was both 8000)
- jitsi: URI=download.jitsi.org suite=stable/ component=empty for flat repo
- erpnext: use CI=1 and FRAPPE_ALLOW_SUPERUSER=1 (not BENCH_ALLOW_SUPERUSER)
2026-03-25 12:08:20 +01:00
CanbiZ (MickLesk)
c2f189e9f9 fix(jitsi): use ./ suite for flat repo format
stable/ is also a flat repo but setup_deb822_repo only recognizes
./ as flat. Use URI with /stable and suite ./ to avoid malformed
sources entry.
2026-03-25 11:56:13 +01:00
CanbiZ (MickLesk)
01e5884ae4 fix: erpnext bench root, jitsi repo URL, tubearchivist python3-dev, storyteller deps
- erpnext: add BENCH_ALLOW_SUPERUSER=1 for root execution
- jitsi: fix double stable/stable/ in repo URL
- tubearchivist: add python3-dev for python-ldap C extension build
- storyteller: add python3-setuptools and pkg-config for sqlite3 build
2026-03-25 11:47:22 +01:00
CanbiZ (MickLesk)
7a68fd9a24 Set Debian version to 12 and drop Java setup
Align defaults to Debian 12 and remove the explicit Java setup call from the installer. Updated ct/jitsi-meet.sh to default var_version to 12, json/jitsi.json to reflect version "12", and removed the `JAVA_VERSION=17 setup_java` line from install/jitsi-meet-install.sh so Java is no longer forced by the installer.
2026-03-25 11:27:57 +01:00
CanbiZ (MickLesk)
85d41e542d Update install scripts for storybook, readium, ES
Small fixes and improvements to installer scripts:

- storybook-install.sh: make npx non-interactive (add -y) and cd into the detected project path before writing .projectpath to ensure generated files land in the project directory.
- storyteller-install.sh: replace manual Readium curl/chmod flow with fetch_and_deploy_gh_release helper for consistent deployment; keep symlink to /usr/local/bin/readium.
- tubearchivist-install.sh: set ES_JAVA_OPTS during elasticsearch install to limit heap (-Xms1g -Xmx1g) and explicitly disable xpack transport/http SSL in the config to avoid local SSL requirements.

These changes improve automation reliability and resource/config defaults during automated installs.
2026-03-25 11:18:47 +01:00
CanbiZ (MickLesk)
525387e6d5 fix(erpnext): add ~/.local/bin to PATH after uv tool install
uv tool install frappe-bench places the bench executable in
~/.local/bin which is not on PATH by default, causing 'command
not found' (exit 127) when running bench init.
2026-03-25 11:07:17 +01:00
CanbiZ (MickLesk)
65a9b046c2 ffmpeg 2026-03-25 10:59:03 +01:00
CanbiZ (MickLesk)
91e1d2831e add java 2026-03-25 10:57:08 +01:00
CanbiZ (MickLesk)
1778396549 fixes 2026-03-25 10:51:12 +01:00
CanbiZ (MickLesk)
f77a0fd9cc rename jitsy 2026-03-25 10:43:54 +01:00
CanbiZ (MickLesk)
4d40f65286 Include ffmpeg and drop setup_ffmpeg from install
Add ffmpeg to the apt packages installed by install/birdnet-install.sh and remove the now-unnecessary setup_ffmpeg invocation. Also apply a minor whitespace change to json/birdnet.json (remove trailing newline).
2026-03-25 10:37:09 +01:00
CanbiZ (MickLesk)
c64a0c60ab rename birdnet 2026-03-25 10:27:09 +01:00
CanbiZ (MickLesk)
9d21dfa112 Add CT installers and metadata for six apps
Add container templates, install scripts and metadata for six applications: BirdNET-Go, ERPNext, Jitsi Meet, Storybook, Storyteller and Tube Archivist. New files include ct/* scripts (container templates and update handlers), install/* scripts (installation and systemd service setup, dependency installation and build steps) and json/* metadata entries (app catalog data, default resources, ports and notes). Each install script configures required dependencies, creates services, and prepares runtime configuration (e.g. DB, ElasticSearch, Node/Python environments, ffmpeg/Readium). This commit enables automated LXC provisioning and update flows for these apps.
2026-03-25 10:21:42 +01:00
CanbiZ (MickLesk)
adcb155210 Expose Matter Server data at /data; fix scripts
Create a /data symlink to /opt/matter-server/data (remove existing symlink if present) and update the matter-server systemd ExecStart to use /data and /data/credentials so storage can be mounted externally. Also clean up step-ca install script formatting: fix sed -i spacing, collapse the while loop header, and normalize indentation for whiptail and step-ca command lines (no functional behavior changes).
2026-03-25 08:46:01 +01:00
CanbiZ (MickLesk)
8c47039d0f Merge pull request #1519 from onionrings29/feat/add-plane
feat: add Plane LXC helper script
2026-03-25 08:42:51 +01:00
MickLesk
a794aa7fcc finalize 2026-03-24 21:49:43 +01:00
MickLesk
5ee4a927d9 fixes 2026-03-24 21:41:34 +01:00
MickLesk
b218d07e99 fixes 2026-03-24 21:38:06 +01:00
MickLesk
0edd132259 godoxy 2026-03-24 21:26:33 +01:00
MickLesk
39893c9c79 yourls 2026-03-24 21:24:49 +01:00
MickLesk
1a02433bfb fixes 2026-03-24 20:25:32 +01:00
MickLesk
e420a561e4 matter-server 2026-03-24 20:21:58 +01:00
github-actions[bot]
080f394e2d Delete nextexplorer (ct) after migration to ProxmoxVE (#1608)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-24 10:49:36 +00:00
CanbiZ (MickLesk)
99319cd358 Update garmin-grafana-install.sh 2026-03-24 09:47:40 +01:00
CanbiZ (MickLesk)
68fce5f1b3 fix: second round audit - backup paths, cleanup, dead code
CT scripts:
- ct/hoodik.sh: backup to /opt instead of /tmp
- ct/pixelfed.sh: backup to /opt, add CLEAN_INSTALL=1
- ct/skylite-ux.sh: backup to /opt instead of /tmp

Install scripts:
- install/alpine-install.sh: add missing cleanup_lxc
- install/ubuntu-install.sh: replace manual apt-get cleanup with cleanup_lxc
- install/debian-install.sh: apt-get -> apt
- install/hoodik-install.sh: remove 40 lines of dead commented code
- install/step-ca-install.sh: remove  from export builtins
2026-03-23 15:38:20 +01:00
github-actions[bot]
7b8792fbb3 Delete alpine-borgbackup-server (ct) after migration to ProxmoxVE (#1607)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-23 14:32:08 +00:00
CanbiZ (MickLesk)
5c2ec3a549 Format authentik update script and trim blank line
Reformat ct/authentik.sh for consistent indentation and add an explicit exit at the end of the update_script function to ensure the updater stops after completing. Also remove an extra blank line in install/github-runner-install.sh. No functional logic changes beyond the added exit and whitespace cleanup.
2026-03-23 15:29:25 +01:00
CanbiZ (MickLesk)
e63137e9d2 fix(arm): fix MakeMKV version detection on download page
The grep pattern 'makemkv-bin-' no longer matches the download page HTML.
Switched to 'MakeMKV v?X.Y.Z' which matches the visible page content.
Also added -f flag to curl and a guard for empty version.
2026-03-23 15:28:12 +01:00
CanbiZ (MickLesk)
53c1ee08fc fix: comprehensive script audit - bug fixes and optimizations
- ct/invidious.sh: fix copy-paste bug (OxiCloud code in update block)
- install/invidious-install.sh: fix sed redirect, service filename mismatch
- ct/forgejo-runner.sh: fix binary download path, bump Debian to 13
- ct/authentik.sh: add -f flag to curl (fail on HTTP errors)
- ct/localagi.sh: add -f flag to curl, add installation check guard
- ct/ente.sh: fix broken install check (/var -> /opt/ente), apt-get -> apt
- ct/garmin-grafana.sh: add explicit tarball mode to fetch_and_deploy
- install/garmin-grafana-install.sh: fix local outside function, add tarball mode
- install/ente-install.sh: uncomment cleanup_lxc
- install/github-runner-install.sh: add missing , fix msg_info text
- ct/step-ca.sh: remove duplicate success message
- ct/devuan.sh, ct/ubuntu.sh: apt-get -> apt, remove duplicate msg_ok
2026-03-23 15:26:04 +01:00
CanbiZ (MickLesk)
8606f62a73 - 2026-03-23 15:11:21 +01:00
Tobias
c5177f0e37 remove $application 2026-03-22 13:53:41 +01:00
Tobias
87bb2a34ca Merge pull request #1603 from heinemannj/patch-1
Enhance step-ca installation and initialization process
2026-03-22 10:30:41 +01:00