feat: Major system improvements and production deployment
✨ New Features: - Added view_orders route with proper table display - Implemented CSV upload with preview workflow and date parsing - Added production WSGI server configuration with Gunicorn - Created comprehensive production management scripts 🔧 Bug Fixes: - Fixed upload_data route column mapping for actual CSV structure - Resolved print module database queries and template rendering - Fixed view orders navigation routing (was pointing to JSON API) - Corrected barcode display width constraints in print module - Added proper date format parsing for MySQL compatibility 🎨 UI/UX Improvements: - Updated view_orders template with theme-compliant styling - Hidden barcode text in print module preview for cleaner display - Enhanced CSV upload with two-step preview-then-save workflow - Improved error handling and debugging throughout upload process 🚀 Production Infrastructure: - Added Gunicorn WSGI server with proper configuration - Created systemd service for production deployment - Implemented production management scripts (start/stop/status) - Added comprehensive logging setup - Updated requirements.txt with production dependencies 📊 Database & Data: - Enhanced order_for_labels table compatibility - Fixed column mappings for real CSV data structure - Added proper date parsing and validation - Improved error handling with detailed debugging 🔧 Technical Debt: - Reorganized database setup documentation - Added proper error handling throughout upload workflow - Enhanced debugging capabilities for troubleshooting - Improved code organization and documentation
This commit is contained in:
54
logs/error.log
Normal file
54
logs/error.log
Normal file
@@ -0,0 +1,54 @@
|
||||
[2025-10-11 21:52:09 +0300] [11218] [INFO] Starting gunicorn 23.0.0
|
||||
[2025-10-11 21:52:09 +0300] [11218] [ERROR] Connection in use: ('0.0.0.0', 8781)
|
||||
[2025-10-11 21:52:09 +0300] [11218] [ERROR] connection to ('0.0.0.0', 8781) failed: [Errno 98] Address already in use
|
||||
[2025-10-11 21:52:10 +0300] [11218] [ERROR] Connection in use: ('0.0.0.0', 8781)
|
||||
[2025-10-11 21:52:10 +0300] [11218] [ERROR] connection to ('0.0.0.0', 8781) failed: [Errno 98] Address already in use
|
||||
[2025-10-11 21:52:11 +0300] [11218] [ERROR] Connection in use: ('0.0.0.0', 8781)
|
||||
[2025-10-11 21:52:11 +0300] [11218] [ERROR] connection to ('0.0.0.0', 8781) failed: [Errno 98] Address already in use
|
||||
[2025-10-11 21:52:12 +0300] [11218] [ERROR] Connection in use: ('0.0.0.0', 8781)
|
||||
[2025-10-11 21:52:12 +0300] [11218] [ERROR] connection to ('0.0.0.0', 8781) failed: [Errno 98] Address already in use
|
||||
[2025-10-11 21:52:13 +0300] [11218] [ERROR] Connection in use: ('0.0.0.0', 8781)
|
||||
[2025-10-11 21:52:13 +0300] [11218] [ERROR] connection to ('0.0.0.0', 8781) failed: [Errno 98] Address already in use
|
||||
[2025-10-11 21:52:14 +0300] [11218] [ERROR] Can't connect to ('0.0.0.0', 8781)
|
||||
[2025-10-11 21:54:00 +0300] [11502] [INFO] Starting gunicorn 23.0.0
|
||||
[2025-10-11 21:54:00 +0300] [11502] [INFO] Listening at: http://0.0.0.0:8781 (11502)
|
||||
[2025-10-11 21:54:00 +0300] [11502] [INFO] Using worker: sync
|
||||
[2025-10-11 21:54:00 +0300] [11502] [INFO] Trasabilitate Application server is ready. Listening on: [('0.0.0.0', 8781)]
|
||||
[2025-10-11 21:54:00 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:00 +0300] [11519] [INFO] Booting worker with pid: 11519
|
||||
[2025-10-11 21:54:00 +0300] [11519] [INFO] Worker spawned (pid: 11519)
|
||||
[2025-10-11 21:54:01 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:01 +0300] [11526] [INFO] Booting worker with pid: 11526
|
||||
[2025-10-11 21:54:01 +0300] [11526] [INFO] Worker spawned (pid: 11526)
|
||||
[2025-10-11 21:54:01 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:01 +0300] [11527] [INFO] Booting worker with pid: 11527
|
||||
[2025-10-11 21:54:01 +0300] [11527] [INFO] Worker spawned (pid: 11527)
|
||||
[2025-10-11 21:54:01 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:01 +0300] [11528] [INFO] Booting worker with pid: 11528
|
||||
[2025-10-11 21:54:01 +0300] [11528] [INFO] Worker spawned (pid: 11528)
|
||||
[2025-10-11 21:54:01 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:01 +0300] [11529] [INFO] Booting worker with pid: 11529
|
||||
[2025-10-11 21:54:01 +0300] [11529] [INFO] Worker spawned (pid: 11529)
|
||||
[2025-10-11 21:54:01 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:01 +0300] [11530] [INFO] Booting worker with pid: 11530
|
||||
[2025-10-11 21:54:01 +0300] [11530] [INFO] Worker spawned (pid: 11530)
|
||||
[2025-10-11 21:54:01 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:01 +0300] [11531] [INFO] Booting worker with pid: 11531
|
||||
[2025-10-11 21:54:01 +0300] [11531] [INFO] Worker spawned (pid: 11531)
|
||||
[2025-10-11 21:54:01 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:01 +0300] [11532] [INFO] Booting worker with pid: 11532
|
||||
[2025-10-11 21:54:01 +0300] [11532] [INFO] Worker spawned (pid: 11532)
|
||||
[2025-10-11 21:54:01 +0300] [11502] [INFO] Worker spawned (pid: [booting])
|
||||
[2025-10-11 21:54:01 +0300] [11533] [INFO] Booting worker with pid: 11533
|
||||
[2025-10-11 21:54:01 +0300] [11533] [INFO] Worker spawned (pid: 11533)
|
||||
[2025-10-11 21:58:19 +0300] [11502] [INFO] Handling signal: term
|
||||
[2025-10-11 21:58:19 +0300] [11519] [INFO] Worker exiting (pid: 11519)
|
||||
[2025-10-11 21:58:19 +0300] [11526] [INFO] Worker exiting (pid: 11526)
|
||||
[2025-10-11 21:58:19 +0300] [11527] [INFO] Worker exiting (pid: 11527)
|
||||
[2025-10-11 21:58:19 +0300] [11533] [INFO] Worker exiting (pid: 11533)
|
||||
[2025-10-11 21:58:19 +0300] [11528] [INFO] Worker exiting (pid: 11528)
|
||||
[2025-10-11 21:58:19 +0300] [11529] [INFO] Worker exiting (pid: 11529)
|
||||
[2025-10-11 21:58:19 +0300] [11530] [INFO] Worker exiting (pid: 11530)
|
||||
[2025-10-11 21:58:19 +0300] [11531] [INFO] Worker exiting (pid: 11531)
|
||||
[2025-10-11 21:58:19 +0300] [11532] [INFO] Worker exiting (pid: 11532)
|
||||
[2025-10-11 21:58:20 +0300] [11502] [INFO] Shutting down: Master
|
||||
Reference in New Issue
Block a user