11 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
2834e6b7fa fix(papermark): add RESEND_API_KEY placeholder, document magic-link login workaround 2026-04-17 09:05:49 +02:00
CanbiZ (MickLesk)
f902c9fe2f fix(papermark): patch middleware to allow IP-based access in self-hosted mode
isCustomDomain() in middleware.ts treats any non-localhost/papermark.*/vercel
host as a custom domain in production, causing DomainMiddleware to redirect
/ to https://www.papermark.com when no Redis entry exists.
Fix: patch middleware.ts before build to exclude IP addresses from custom
domain detection.
2026-04-17 08:55:30 +02:00
CanbiZ (MickLesk)
cc06daf580 fix(papermark): add SLACK_CLIENT_ID/SECRET placeholder env vars for build 2026-04-17 08:49:25 +02:00
CanbiZ (MickLesk)
98791d1427 fix(papermark): add missing EE env vars, increase RAM to 4096, add NODE_OPTIONS for build
- HANKO_API_KEY and NEXT_PUBLIC_HANKO_TENANT_ID are required at build time
  (module throws hard error if unset during page data collection)
- QSTASH_TOKEN, NEXT_PRIVATE_DOCUMENT_PASSWORD_KEY, NEXT_PRIVATE_VERIFICATION_SECRET
  added as placeholders/random values
- NODE_OPTIONS=--max-old-space-size=3584 for npm run build (Next.js OOM fix)
- RAM raised from 2048 to 4096 (Next.js build requires ~3.5GB heap)
2026-04-17 08:42:46 +02:00
CanbiZ (MickLesk)
b3691c0037 fix(matomo,papermark,slink): fix db access, creds path, build env, sqlite create
- matomo: move creds to /root/matomo.creds (out of webroot), keep tests/ dir,
  block dotfiles in Caddy (@blocked /.* pattern)
- papermark: add NEXT_PUBLIC_APP_BASE_HOST and NEXT_PUBLIC_WEBHOOK_BASE_HOST
  placeholder env vars to prevent undefined 'value' in has:host routes
  causing Next.js build failure
- slink: replace doctrine:database:create with touch for SQLite (getCreateDatabaseSQL
  not supported by SQLitePlatform)
2026-04-17 08:10:20 +02:00
CanbiZ (MickLesk)
3aebeb8c8c minor fixes 2026-04-17 07:44:01 +02:00
CanbiZ (MickLesk)
2bf3d73ef6 fix(papermark): replace sed with node to patch next.config has-host item 2026-04-15 08:43:52 +02:00
CanbiZ (MickLesk)
4723dcbc81 fix(papermark): patch invalid next.config has item before build
Papermark v0.22.0 has an invalid has:{type:'host'} without a value
in next.config, causing next build to fail. Patch it to add value.
2026-04-14 19:51:59 +02:00
CanbiZ (MickLesk)
5b26bd2f29 fix(papermark): add missing Prisma env vars and bump PG to 17
Papermark's Prisma schema requires POSTGRES_PRISMA_URL and
POSTGRES_PRISMA_URL_NON_POOLING. Also bump PostgreSQL to 17.
2026-04-14 19:43:53 +02:00
CanbiZ (MickLesk)
b2af68d233 Use explicit app names in install scripts
Replace the generic ${APP} placeholder with explicit, consistently capitalized application names in install scripts to produce clearer log output. Affected scripts: install/{akaunting,blinko,dagu,gogs,invoiceshelf,matomo,papermark,rss-bridge,solidtime}-install.sh. Changes update msg_info and msg_ok messages only.
2026-04-13 16:44:38 +02:00
CanbiZ (MickLesk)
e3d2cbb566 Add container templates and installers for apps
Add new ProxmoxVED container templates (ct/*.sh), install scripts (install/*.sh) and metadata (json/*.json) for multiple applications: Akaunting, Blinko, Certimate, Dagu, Gogs, InvoiceShelf, Matomo, Papermark, RSS-Bridge, SolidTime and WhoDB. Each ct script includes update logic and deployment helpers; install scripts handle dependency installation, service creation (systemd), DB setup, and Caddy/PHP/Node/Postgres configuration where applicable. JSON entries provide UI metadata, resource defaults and access ports for each app.
2026-04-13 16:30:41 +02:00