[PR #10] 🔑 feat(reset-password): Add fallback for missing user.db #13

Closed
opened 2025-11-20 04:14:17 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/bigbeartechworld/big-bear-scripts/pull/10

State: closed
Merged: Yes


This change adds a fallback mechanism to handle cases where the
/var/lib/casaos/db/user.db file is not found. If the file is
missing, the script attempts to check if the file exists in an
alternative location. If found, it backs up the file and restarts
the CasaOS user service to ensure the password reset functionality
works correctly.

**Original Pull Request:** https://github.com/bigbeartechworld/big-bear-scripts/pull/10 **State:** closed **Merged:** Yes --- This change adds a fallback mechanism to handle cases where the `/var/lib/casaos/db/user.db` file is not found. If the file is missing, the script attempts to check if the file exists in an alternative location. If found, it backs up the file and restarts the CasaOS user service to ensure the password reset functionality works correctly.
saavagebueno added the pull-request label 2025-11-20 04:14:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/big-bear-scripts#13