My-Weekly-ToDo-List/scripts
mARTin-B78 6f4fe219dc
Some checks are pending
Playwright Tests / test (push) Waiting to run
fix: make update-app.sh the single update path and run it at boot
There were two near-identical update scripts and they drifted: the npm ci fix
from 1.114.1 only ever landed in update-app.sh, so the boot path kept running
npm install. my-weekly-todo-update.service now runs update-app.sh, and
boot-update.sh is a shim kept only so a not-yet-recopied unit still works.

To be usable at boot the script needed three things it did not have:

- Skip the rebuild when HEAD already matches origin/main and a standalone
  build exists, so a reboot is not a full rebuild every time (--force
  overrides).
- Do not restart PM2 when its daemon is not up yet. At boot this unit runs
  before pm2-root.service, and probing with `pm2 describe` would spawn a
  stray daemon that races the real service, so it checks the pid file.
- A flock single-instance lock, so a boot run and a manual run cannot install
  into the same tree at once.

It also picks up prisma migrate deploy / generate and the .env copy that only
the boot script had. The log moved to /var/log/my-weekly-todo-update.log.

v1.115.2

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-03 13:46:18 +02:00
..
backup-db.sh feat: drag-to-provider sync, recurring task editing, resizable areas, search improvements 2026-03-17 00:50:42 +01:00
boot-update.sh fix: make update-app.sh the single update path and run it at boot 2026-09-03 13:46:18 +02:00
create-test-user.ts feat: add task actions (notes/delete) and refine animation logic 2026-02-01 12:25:53 +01:00
deploy.sh feat: add LXC deployment automation scripts 2026-02-27 09:21:10 +01:00
docker-entrypoint.sh feat: fix Docker deployment, OAuth redirects, event editing, and UI improvements 2026-02-24 23:18:13 +01:00
generate-vapid-keys.ts feat: add push notifications for calendar event reminders 2026-03-16 21:38:15 +01:00
lxc-setup.sh feat: email verification, auto-save settings, calendar UX improvements 2026-02-27 08:57:15 +01:00
my-weekly-todo-update.service fix: make update-app.sh the single update path and run it at boot 2026-09-03 13:46:18 +02:00
push-scheduler.ts fix: push scheduler handles all-day events and adds debug logging 2026-03-16 22:22:58 +01:00
seed-connection.ts feat: localize app to German and add configurable day hours 2026-02-09 12:11:52 +01:00
supabase-setup.sh feat: email verification, auto-save settings, calendar UX improvements 2026-02-27 08:57:15 +01:00
test-cloudkit-reminders.py feat: Add Google Tasks, Apple Reminders, task import/sync, holidays, and UI enhancements 2026-02-20 16:56:14 +01:00
update-app.sh fix: make update-app.sh the single update path and run it at boot 2026-09-03 13:46:18 +02:00
update-server.sh Fix potential LXC MODULE_NOT_FOUND by pinning next/prisma and cleanup 2026-03-13 12:42:24 +01:00
verify-schema.ts feat: localize app to German and add configurable day hours 2026-02-09 12:11:52 +01:00