🔧 v0.10.1.2 – Critical Fix for First User Registration on Fresh Deployments
🚨 Critical Bug Fix
This release addresses a blocking issue that affected newly deployed instances, where the first user could not register, resulting in 500 Internal Server Errors.
🛠️ Fixes Included
-
Logger Import Error (
backend/auth_routes.py
):
Fixed missing logger import that caused a crash during user registration on fresh setups. -
Database Migration Timing Issue (
backend/app.py
):
Resolved premature column access (is_owner
) before migrations completed, which previously triggered startup errors. -
Graceful Column Handling:
Added robust checks for column existence to prevent crashes during early-stage database initialization.
✅ Impact
- Eliminates
"name 'logger' is not defined"
and"column 'is_owner' does not exist"
errors. - Ensures first-time user registration works reliably after deploying the application on a fresh database.
- Improves overall resilience of the startup and migration process.
⚠️ Recommended Action: All users deploying new instances should upgrade immediately to ensure proper functionality of initial user creation.
⚠️ Upgrading Action: All users upgrading please ensure to always backup your core warranty information. And delete your warracker instance browser data to refresh the contents.