Commit Graph

14 Commits

Author SHA1 Message Date
4b0b23c024 Fix potential LXC MODULE_NOT_FOUND by pinning next/prisma and cleanup 2026-03-13 12:42:24 +01:00
704738777a fix: add missing migrations and fix deploy script failures
- Fix setval(0) error in accountNumber migration (use GREATEST(..., 1))
- Add migration for dateVerticalAlign, dayHeaderGap, weekday settings, quoteLanguages
- Deploy scripts now fall back to db push if migrate deploy fails

v1.22.3
2026-03-10 15:59:37 +01:00
ef61ec3c20 fix: remove .next/server copy that breaks standalone middleware-manifest
The standalone build already includes the correct server files.
Copying .next/server on top was overwriting middleware-manifest.json,
causing MODULE_NOT_FOUND errors at runtime.

v1.22.1
2026-03-10 15:27:41 +01:00
76445bffc7 fix: copy .next/server to standalone dir in deploy scripts
Both boot-update.sh and update-server.sh were missing the
cp -r .next/server step, causing middleware-manifest.json
not found errors after deployment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v1.14.1
2026-03-07 19:23:45 +01:00
fc1222d5e8 fix: update-server.sh uses git reset --hard to avoid pull conflicts 2026-03-06 12:28:44 +01:00
aff9222f5f fix(lxc): copy .env file to standalone directory for env vars 2026-03-02 21:04:03 +01:00
58a35a0c44 fix(lxc): copy static and public folders to standalone directory for asset serving 2026-03-02 18:00:53 +01:00
d4a08f236d fix(lxc): Revert PORT to 3000 to fix Nginx gateway connection 2026-03-02 17:29:37 +01:00
6103ecc417 fix(lxc): explicitly pass NEXTAUTH_URL to standalone pm2 start 2026-03-02 13:58:46 +01:00
667b3f3b37 fix(lxc): explicitly start standalone server on PORT 3002 2026-03-02 09:21:17 +01:00
f70a235c57 fix(lxc): refactor boot and update scripts for safe migrations and standalone mode
chore(release): bump version to 1.8.6
2026-03-01 15:59:18 +01:00
f4ae9f85aa chore: make update-server.sh safe for crontab (reboot) usage 2026-02-27 09:32:41 +01:00
8d2134b83d chore: add pm2 save to update-server.sh 2026-02-27 09:29:53 +01:00
2c81b348aa feat: add LXC deployment automation scripts 2026-02-27 09:21:10 +01:00