tududi/backend/scripts
Antonis c7220c3060
Fix #291 (#444)
* Fix password validation on container restart

Only validate password for new users, not when updating existing users.
This prevents container crashes when TUDUDI_USER_PASSWORD is set but
doesn't meet current validation requirements for existing users.

* Fix entrypoint crash when app user doesn't exist

Check if app user exists before getting UID/GID to prevent
'id: unknown user app' error on restart. Fall back to build-time
defaults (APP_UID/APP_GID) if user is missing.

---------

Co-authored-by: antanst <>
2025-10-23 21:41:21 +03:00
..
add-sample-users.js Add translations 2025-10-15 13:05:57 +03:00
db-init.js Linting cleanup (#99) 2025-07-01 11:40:09 +03:00
db-migrate.js Linting cleanup (#99) 2025-07-01 11:40:09 +03:00
db-reset.js Linting cleanup (#99) 2025-07-01 11:40:09 +03:00
db-status.js Linting cleanup (#99) 2025-07-01 11:40:09 +03:00
db-sync.js Linting cleanup (#99) 2025-07-01 11:40:09 +03:00
fix-inbox-uids.js Add UIDs to database items missing 2025-10-18 23:05:34 +03:00
migration-create.js Linting cleanup (#99) 2025-07-01 11:40:09 +03:00
seed-dev-data.js Parallelize test running (#166) 2025-07-16 13:27:57 +03:00
user-create.js Fix #291 (#444) 2025-10-23 21:41:21 +03:00