Commit Graph

9 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
2b98ea03e9 node24 2026-03-26 07:57:35 +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)
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)
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)
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