10 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
94297d0f77 Update akaunting-install.sh 2026-04-14 21:02:11 +02:00
CanbiZ (MickLesk)
ae327fc88e fix(akaunting): remove --seed from migrate (Akaunting uses web wizard) 2026-04-14 20:41:26 +02:00
CanbiZ (MickLesk)
15df6ffbf0 fix(akaunting): add empty APP_KEY= to .env template
key:generate --force needs an existing APP_KEY= line to replace.
2026-04-14 20:38:30 +02:00
CanbiZ (MickLesk)
43e7892b0f fix(akaunting): add --force to artisan key:generate
Without --force, Laravel Prompts tries an interactive confirmation
that fails in a non-interactive script, leaving APP_KEY unset (HTTP 500).
2026-04-14 20:37:46 +02:00
CanbiZ (MickLesk)
068f76efdf fix(akaunting): downgrade Node to 20 and add python3 for node-sass
node-sass requires node-gyp which needs python3, and has no
prebuilt binaries for Node 22. Downgrade to Node 20 and add
python3 dependency to fix npm install failure.
2026-04-14 19:40:06 +02:00
CanbiZ (MickLesk)
a7c184b5e9 Update akaunting-install.sh 2026-04-14 17:13:02 +02:00
CanbiZ (MickLesk)
0af4707d14 Update akaunting-install.sh 2026-04-14 16:48:16 +02:00
CanbiZ (MickLesk)
7f1b977e18 Improve build/install scripts for multiple apps
Switch development builds to production and harden install/update steps across several apps.

- Akaunting: use `npm run production` instead of `npm run dev` in both install and update scripts to produce production assets.

- Blinko: make bun installs run with `--unsafe-perm`, run `bun run build:web` and `bun run build:seed`, copy built public assets into `/opt/blinko/server/public`, run prisma migrations, and execute the generated seed script. Add PORT and NEXT_PUBLIC_BASE_URL to the .env. Update the systemd service to use WorkingDirectory `/opt/blinko/server` and start the app with `node /opt/blinko/dist/index.js`.

- InvoiceShelf & SolidTime: stop capturing APP_KEY via `php artisan key:generate --show` + sed; instead run `php artisan key:generate` during install after composer install. SolidTime also runs `php artisan storage:link` after build. These changes simplify key generation and ensure proper storage linking.

Overall these updates ensure production-ready builds, proper artifact placement, and correct runtime configuration for services.
2026-04-13 17:13:39 +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