mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-03-31 06:33:56 -04:00
10776aef31604fb69a41218e897122c1b39d1257
* 🚀 feat: Add database migrations to startup Add database migrations execution to the panel startup process. This ensures the database schema is properly initialized before the application starts. The migration runs with the --force flag to allow non-interactive execution in containerized environments. * 🔧 fix: Add error handling for database migrations Add error handling to the database migration step to detect and abort if migrations fail. This prevents the panel from starting in an inconsistent state when database changes encounter errors. * fix: 🐛 Remove interactive terminal flag from docker exec Remove the `-t` flag from docker exec commands in the startup script. The `-t` flag allocates a pseudo-terminal which is unnecessary for non-interactive command execution and can cause issues in automated environments. Keep the `-i` flag for stdin input handling. * 🛡️ fix: add error handling to startup scripts Add error checking to key generation and cache optimization commands. Exit with status code 1 if either command fails, preventing silent failures during panel startup.
BigBearScripts
YouTube Link: https://www.youtube.com/@bigbeartechworld
BigBearCommunity
If you have a suggestion for a video, post in the BigBearCommunity.
Support My Work
Languages
Shell
99.2%
JavaScript
0.8%