Commit Graph

9517 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
628b2925e3 Fix Baserow migrations and LobeHub copy
Set PYTHONPATH and run manage.py migrate for Baserow so backend, premium, and enterprise source packages are discovered during migrations. In the LobeHub installer, copy all files from scripts/migrateServerDB into the .next/standalone directory (instead of only docker.cjs) so required migration and helper files are included.
2026-03-26 10:12:08 +01:00
tremor021
2ff1e56c27 foldergram: backup env vars 2026-03-26 10:11:10 +01:00
tremor021
0412f50e09 foldergram: add more RAM 2026-03-26 10:01:13 +01:00
tremor021
fe043e624c foldergram: update node to 25 2026-03-26 09:50:19 +01:00
CanbiZ (MickLesk)
16d2c38219 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-03-26 09:32:58 +01:00
CanbiZ (MickLesk)
aee4cb06a8 Update baserow-install.sh 2026-03-26 09:32:56 +01:00
tremor021
6147ba89b9 foldergram: update pnp install 2026-03-26 09:17:05 +01:00
tremor021
14497b3923 update apt 2026-03-26 08:52:37 +01:00
tremor021
d960ad3870 add Foldergram script 2026-03-26 08:50:16 +01:00
CrazyWolf13
fdd5efc9a9 add: geopulse 2026-03-26 08:47:41 +01:00
CanbiZ (MickLesk)
087491cae8 cleanup 2026-03-26 08:29:26 +01:00
CanbiZ (MickLesk)
692823fa16 Update baserow-install.sh 2026-03-26 08:28:37 +01:00
CanbiZ (MickLesk)
70bd50d839 Update lobehub-install.sh 2026-03-26 08:21:44 +01:00
Joerg Heinemann
ddf4e2f2ba Refactoring step-ca-install.sh
Reduce msg_xxx blocks
Replace whiptail by 'prompt_input' function
Moved all helper-scripts into 'step-ca-admin.sh'
2026-03-26 08:14:09 +01:00
CanbiZ (MickLesk)
4d07835798 cleanup 2026-03-26 08:02:26 +01:00
CanbiZ (MickLesk)
2b98ea03e9 node24 2026-03-26 07:57:35 +01:00
CanbiZ (MickLesk)
12623452a7 upgrade to node24 2026-03-26 07:56:40 +01:00
Tobias
b93120a5b2 Merge pull request #1621 from ocelik94/main
fix: use correct url for downloading forgejo-runner
2026-03-25 20:51:16 +01:00
Okan Celik
0708d43dc2 fix: use correct url for downloading forgejo-runner 2026-03-25 19:45:29 +01:00
CanbiZ (MickLesk)
558c27ec88 Add Baserow, LabCA, and LobeHub installers
Add container templates, install scripts, and metadata for Baserow, LabCA, and LobeHub. New ct/*.sh scripts provide container build and update logic (fetching GitHub releases, backup/restore, build steps). New install/*.sh scripts install dependencies, configure PostgreSQL/Node/uv/PNPM as needed, run migrations, and create systemd services for each app. Corresponding json/*.json entries add metadata (ports, resource defaults, docs, and notes) for UI/registry integration.
2026-03-25 17:34:25 +01:00
CanbiZ (MickLesk)
864761104c fix(tubearchivist): restart nginx after writing config
Debian auto-starts nginx on install with default config (port 80).
'enable --now' is a no-op if already running. Use explicit restart
to pick up our port 8000 config.
2026-03-25 17:08:56 +01:00
CanbiZ (MickLesk)
6983456e68 fix(tubearchivist): add ES_SNAPSHOT_DIR to .env
ES snapshot repo defaults to Docker path /usr/share/elasticsearch/data/snapshot
but our elasticsearch.yml uses path.repo: /var/lib/elasticsearch/snapshot.
Add ES_SNAPSHOT_DIR=/var/lib/elasticsearch/snapshot to match.
2026-03-25 17:05:16 +01:00
CanbiZ (MickLesk)
df6fabdbc4 fix(tubearchivist): source .env in run.sh + symlink for dotenv
run.sh needs env vars (TA_CACHE_DIR etc) before Django starts.
- Add set -a/source .env in run.sh so vars are available
- Symlink .env to backend/ so Django's load_dotenv('.env') finds it
- Fixes 'unable to open database file' (CACHE_DIR defaulting to /cache)
2026-03-25 17:02:45 +01:00
CanbiZ (MickLesk)
3bce8dd3f8 fix(tubearchivist): use startup wrapper script like Docker
Move Django management commands (migrate, collectstatic, ta_envcheck,
ta_connection, ta_startup) into run.sh startup wrapper that:
- Waits up to 60s for ElasticSearch to be healthy
- Runs all init commands before starting uvicorn
- Matches Docker's run.sh approach

This fixes ta_startup failing during install because ES wasn't ready.
The commands now run at every service start with ES readiness check.
2026-03-25 16:43:07 +01:00
CanbiZ (MickLesk)
462c95ee19 fix(tubearchivist): add nginx reverse proxy + celery services
TubeArchivist requires nginx to serve the frontend SPA and proxy API
requests to Django. Without nginx, only API routes work.

Changes:
- Add nginx with config matching Docker's nginx.conf (port 8000)
- Add TA_APP_DIR, TA_CACHE_DIR, TA_MEDIA_DIR env vars for bare-metal paths
- Run Django migrate, collectstatic, ta_envcheck, ta_connection, ta_startup
- Add celery worker + beat scheduler as separate systemd services
- Fix interface port from 8080 to 8000 (nginx)
- Add migrations step to update script
2026-03-25 16:30:36 +01:00
CanbiZ (MickLesk)
617b4443f9 fix(tubearchivist): correct port to 8080
backend_start.py reads TA_BACKEND_PORT (default 8080), not TA_PORT.
Fix .env var name and all port references from 8000 to 8080.
2026-03-25 16:19:04 +01:00
CanbiZ (MickLesk)
d5412462fe Update jitsi.json 2026-03-25 16:11:52 +01:00
CanbiZ (MickLesk)
2a03c9194d fix json 2026-03-25 16:11:26 +01:00
CanbiZ (MickLesk)
b3df4b8cb2 fix(teable): remove unnecessary .creds file
PG_DB_PASS is auto-generated by setup_postgresql_db and stored in
.env. No user-facing credentials are generated - accounts are
created via the web UI.
2026-03-25 16:09:08 +01:00
CanbiZ (MickLesk)
c5e5a938c7 feat: add .creds files for erpnext, teable, tubearchivist, storyteller
Write credentials to ~/appname.creds matching existing convention
(affine, discourse, ente). Update CT scripts to reference .creds.

- erpnext: admin pass, db root pass
- teable: db pass, secret key
- tubearchivist: admin pass, ES pass
- storyteller: secret key
2026-03-25 16:07:52 +01:00
CanbiZ (MickLesk)
f8e8feea87 fix(erpnext): link supervisor config and load process groups
bench setup production generates supervisor.conf but doesn't
symlink it into /etc/supervisor/conf.d/. Without the link,
supervisord has no programs and gunicorn never starts (502).

Add: symlink + supervisorctl reread/update after bench setup.
2026-03-25 16:01:13 +01:00
CanbiZ (MickLesk)
8c9c69aa22 fix(erpnext): symlink ansible binaries to /usr/local/bin
bench setup role spawns a subprocess that checks for ansible on
PATH. The binaries are inside the uv venv and not discoverable.
Symlink ansible* to /usr/local/bin/ to make them available.
2026-03-25 15:56:35 +01:00
CanbiZ (MickLesk)
61b8d3e088 fix(erpnext): use get-pip.py instead of ensurepip
uv's bundled Python has ensurepip stripped out.
Bootstrap pip via get-pip.py from pypa instead.
2026-03-25 15:54:39 +01:00
CanbiZ (MickLesk)
d817b4326c fix(erpnext): bootstrap pip in uv venv for ansible install
bench setup production internally runs:
  sudo <uv-venv-python> -m pip install ansible
but uv tool environments don't include pip by default.

Fix: run ensurepip + pip install ansible before bench setup
production to satisfy the dependency.
2026-03-25 15:38:18 +01:00
CanbiZ (MickLesk)
1e9311e67f fix(teable): rm -rf static dir before symlinking
The build creates /opt/teable/static/ as a real directory.
ln -sf on an existing directory creates the symlink INSIDE it
instead of replacing it. Must rm -rf first.
2026-03-25 15:36:35 +01:00
CanbiZ (MickLesk)
20c6c3e74f fix(teable): point static symlink to nested static/static dir
Build process reorganizes apps/nestjs-backend/static/ creating a
nested static/static/{plugin,system} structure. The code resolves
paths like 'static/system/automation-robot.png' relative to cwd,
so the symlink must point to the inner static/ directory.

Adds fallback: checks for nested structure first, falls back to
direct path if not present.
2026-03-25 15:29:38 +01:00
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)
929e78f39b fix(storyteller): sync CT update_script with install bugfixes
- Bump var_ram 8192 → 10240 to match JSON
- Add NODE_OPTIONS, gcc uuid.c.so, build env vars to update
- Copy migrations/, sqlite/, static/, public/ to standalone
- Symlink .env into standalone working directory
- Restore .env before build so symlink target exists
2026-03-25 14:18:27 +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)
3776f44c1e Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2026-03-25 13:51:38 +01:00
CanbiZ (MickLesk)
2b85a73348 test 2026-03-25 13:51:36 +01:00