Files
quality_app/logs/error.log
2025-11-06 20:37:19 +02:00

3399 lines
301 KiB
Plaintext

[2025-10-15 00:30:05 +0300] [284017] [INFO] Starting gunicorn 23.0.0
[2025-10-15 00:30:05 +0300] [284017] [INFO] Listening at: http://0.0.0.0:8781 (284017)
[2025-10-15 00:30:05 +0300] [284017] [INFO] Using worker: sync
[2025-10-15 00:30:05 +0300] [284017] [INFO] Trasabilitate Application server is ready. Listening on: [('0.0.0.0', 8781)]
[2025-10-15 00:30:05 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:05 +0300] [284040] [INFO] Booting worker with pid: 284040
[2025-10-15 00:30:05 +0300] [284040] [INFO] Worker spawned (pid: 284040)
[2025-10-15 00:30:05 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:05 +0300] [284041] [INFO] Booting worker with pid: 284041
[2025-10-15 00:30:05 +0300] [284041] [INFO] Worker spawned (pid: 284041)
[2025-10-15 00:30:05 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:05 +0300] [284042] [INFO] Booting worker with pid: 284042
[2025-10-15 00:30:05 +0300] [284042] [INFO] Worker spawned (pid: 284042)
[2025-10-15 00:30:05 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:05 +0300] [284043] [INFO] Booting worker with pid: 284043
[2025-10-15 00:30:05 +0300] [284043] [INFO] Worker spawned (pid: 284043)
[2025-10-15 00:30:06 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:06 +0300] [284044] [INFO] Booting worker with pid: 284044
[2025-10-15 00:30:06 +0300] [284044] [INFO] Worker spawned (pid: 284044)
[2025-10-15 00:30:06 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:06 +0300] [284047] [INFO] Booting worker with pid: 284047
[2025-10-15 00:30:06 +0300] [284047] [INFO] Worker spawned (pid: 284047)
[2025-10-15 00:30:06 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:06 +0300] [284052] [INFO] Booting worker with pid: 284052
[2025-10-15 00:30:06 +0300] [284052] [INFO] Worker spawned (pid: 284052)
[2025-10-15 00:30:06 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:06 +0300] [284053] [INFO] Booting worker with pid: 284053
[2025-10-15 00:30:06 +0300] [284053] [INFO] Worker spawned (pid: 284053)
[2025-10-15 00:30:06 +0300] [284017] [INFO] Worker spawned (pid: [booting])
[2025-10-15 00:30:06 +0300] [284054] [INFO] Booting worker with pid: 284054
[2025-10-15 00:30:06 +0300] [284054] [INFO] Worker spawned (pid: 284054)
[2025-10-15 01:04:40 +0300] [284041] [INFO] Worker exiting (pid: 284041)
[2025-10-15 01:04:40 +0300] [284040] [INFO] Worker exiting (pid: 284040)
[2025-10-15 01:04:40 +0300] [284054] [INFO] Worker exiting (pid: 284054)
[2025-10-15 01:04:40 +0300] [284017] [INFO] Handling signal: term
[2025-10-15 01:04:40 +0300] [284053] [INFO] Worker exiting (pid: 284053)
[2025-10-15 01:04:40 +0300] [284042] [INFO] Worker exiting (pid: 284042)
[2025-10-15 01:04:40 +0300] [284047] [INFO] Worker exiting (pid: 284047)
[2025-10-15 01:04:40 +0300] [284043] [INFO] Worker exiting (pid: 284043)
[2025-10-15 01:04:40 +0300] [284044] [INFO] Worker exiting (pid: 284044)
[2025-10-15 01:04:40 +0300] [284052] [INFO] Worker exiting (pid: 284052)
[2025-10-15 01:04:40 +0300] [284017] [ERROR] Worker (pid:284041) was sent SIGTERM!
[2025-10-15 01:04:41 +0300] [284017] [INFO] Shutting down: Master
[2025-10-15 01:28:55 +0300] [288316] [INFO] Starting gunicorn 23.0.0
[2025-10-15 01:28:55 +0300] [288316] [INFO] Listening at: http://0.0.0.0:8781 (288316)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Using worker: sync
[2025-10-15 01:28:55 +0300] [288316] [INFO] Trasabilitate Application server is ready. Listening on: [('0.0.0.0', 8781)]
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288317] [INFO] Booting worker with pid: 288317
[2025-10-15 01:28:55 +0300] [288317] [INFO] Worker spawned (pid: 288317)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288318] [INFO] Booting worker with pid: 288318
[2025-10-15 01:28:55 +0300] [288318] [INFO] Worker spawned (pid: 288318)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288319] [INFO] Booting worker with pid: 288319
[2025-10-15 01:28:55 +0300] [288319] [INFO] Worker spawned (pid: 288319)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288320] [INFO] Booting worker with pid: 288320
[2025-10-15 01:28:55 +0300] [288320] [INFO] Worker spawned (pid: 288320)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288321] [INFO] Booting worker with pid: 288321
[2025-10-15 01:28:55 +0300] [288321] [INFO] Worker spawned (pid: 288321)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288322] [INFO] Booting worker with pid: 288322
[2025-10-15 01:28:55 +0300] [288322] [INFO] Worker spawned (pid: 288322)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288323] [INFO] Booting worker with pid: 288323
[2025-10-15 01:28:55 +0300] [288323] [INFO] Worker spawned (pid: 288323)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288324] [INFO] Booting worker with pid: 288324
[2025-10-15 01:28:55 +0300] [288324] [INFO] Worker spawned (pid: 288324)
[2025-10-15 01:28:55 +0300] [288316] [INFO] Worker spawned (pid: [booting])
[2025-10-15 01:28:55 +0300] [288325] [INFO] Booting worker with pid: 288325
[2025-10-15 01:28:55 +0300] [288325] [INFO] Worker spawned (pid: 288325)
[2025-10-16 00:06:02 +0300] [288316] [INFO] Handling signal: term
[2025-10-16 00:06:02 +0300] [288317] [INFO] Worker exiting (pid: 288317)
[2025-10-16 00:06:02 +0300] [288318] [INFO] Worker exiting (pid: 288318)
[2025-10-16 00:06:02 +0300] [288319] [INFO] Worker exiting (pid: 288319)
[2025-10-16 00:06:02 +0300] [288320] [INFO] Worker exiting (pid: 288320)
[2025-10-16 00:06:02 +0300] [288322] [INFO] Worker exiting (pid: 288322)
[2025-10-16 00:06:02 +0300] [288321] [INFO] Worker exiting (pid: 288321)
[2025-10-16 00:06:02 +0300] [288323] [INFO] Worker exiting (pid: 288323)
[2025-10-16 00:06:02 +0300] [288324] [INFO] Worker exiting (pid: 288324)
[2025-10-16 00:06:02 +0300] [288325] [INFO] Worker exiting (pid: 288325)
[2025-10-16 00:06:03 +0300] [288316] [INFO] Shutting down: Master
[2025-10-16 02:34:31 +0300] [299414] [INFO] Starting gunicorn 23.0.0
[2025-10-16 02:34:31 +0300] [299414] [INFO] Listening at: http://0.0.0.0:8781 (299414)
[2025-10-16 02:34:31 +0300] [299414] [INFO] Using worker: sync
[2025-10-16 02:34:31 +0300] [299414] [INFO] Trasabilitate Application server is ready. Listening on: [('0.0.0.0', 8781)]
[2025-10-16 02:34:31 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:31 +0300] [299432] [INFO] Booting worker with pid: 299432
[2025-10-16 02:34:31 +0300] [299432] [INFO] Worker spawned (pid: 299432)
[2025-10-16 02:34:31 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:31 +0300] [299438] [INFO] Booting worker with pid: 299438
[2025-10-16 02:34:31 +0300] [299438] [INFO] Worker spawned (pid: 299438)
[2025-10-16 02:34:32 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:32 +0300] [299439] [INFO] Booting worker with pid: 299439
[2025-10-16 02:34:32 +0300] [299439] [INFO] Worker spawned (pid: 299439)
[2025-10-16 02:34:32 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:32 +0300] [299440] [INFO] Booting worker with pid: 299440
[2025-10-16 02:34:32 +0300] [299440] [INFO] Worker spawned (pid: 299440)
[2025-10-16 02:34:32 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:32 +0300] [299441] [INFO] Booting worker with pid: 299441
[2025-10-16 02:34:32 +0300] [299441] [INFO] Worker spawned (pid: 299441)
[2025-10-16 02:34:32 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:32 +0300] [299442] [INFO] Booting worker with pid: 299442
[2025-10-16 02:34:32 +0300] [299442] [INFO] Worker spawned (pid: 299442)
[2025-10-16 02:34:32 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:32 +0300] [299443] [INFO] Booting worker with pid: 299443
[2025-10-16 02:34:32 +0300] [299443] [INFO] Worker spawned (pid: 299443)
[2025-10-16 02:34:32 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:32 +0300] [299444] [INFO] Booting worker with pid: 299444
[2025-10-16 02:34:32 +0300] [299444] [INFO] Worker spawned (pid: 299444)
[2025-10-16 02:34:32 +0300] [299414] [INFO] Worker spawned (pid: [booting])
[2025-10-16 02:34:32 +0300] [299445] [INFO] Booting worker with pid: 299445
[2025-10-16 02:34:32 +0300] [299445] [INFO] Worker spawned (pid: 299445)
[2025-10-22 20:52:12 +0300] [299414] [INFO] Handling signal: term
[2025-10-22 20:52:12 +0300] [299432] [INFO] Worker exiting (pid: 299432)
[2025-10-22 20:52:12 +0300] [299439] [INFO] Worker exiting (pid: 299439)
[2025-10-22 20:52:12 +0300] [299441] [INFO] Worker exiting (pid: 299441)
[2025-10-22 20:52:12 +0300] [299438] [INFO] Worker exiting (pid: 299438)
[2025-10-22 20:52:12 +0300] [299442] [INFO] Worker exiting (pid: 299442)
[2025-10-22 20:52:12 +0300] [299444] [INFO] Worker exiting (pid: 299444)
[2025-10-22 20:52:12 +0300] [299440] [INFO] Worker exiting (pid: 299440)
[2025-10-22 20:52:12 +0300] [299445] [INFO] Worker exiting (pid: 299445)
[2025-10-22 20:52:12 +0300] [299443] [INFO] Worker exiting (pid: 299443)
[2025-10-22 20:52:13 +0300] [299414] [INFO] Shutting down: Master
[2025-11-03 20:05:59 +0200] [395583] [INFO] Starting gunicorn 23.0.0
[2025-11-03 20:05:59 +0200] [395583] [INFO] ============================================================
[2025-11-03 20:05:59 +0200] [395583] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 20:05:59 +0200] [395583] [INFO] ============================================================
[2025-11-03 20:05:59 +0200] [395583] [INFO] 📍 Configuration:
[2025-11-03 20:05:59 +0200] [395583] [INFO] • Workers: 9
[2025-11-03 20:05:59 +0200] [395583] [INFO] • Worker Class: sync
[2025-11-03 20:05:59 +0200] [395583] [INFO] • Timeout: 120s
[2025-11-03 20:05:59 +0200] [395583] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 20:05:59 +0200] [395583] [INFO] • Preload App: True
[2025-11-03 20:05:59 +0200] [395583] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 20:05:59 +0200] [395583] [INFO] ============================================================
[2025-11-03 20:05:59 +0200] [395583] [INFO] Listening at: http://0.0.0.0:8781 (395583)
[2025-11-03 20:05:59 +0200] [395583] [INFO] Using worker: sync
[2025-11-03 20:05:59 +0200] [395583] [INFO] ============================================================
[2025-11-03 20:05:59 +0200] [395583] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 20:05:59 +0200] [395583] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 20:05:59 +0200] [395583] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 20:05:59 +0200] [395583] [INFO] ============================================================
[2025-11-03 20:05:59 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:05:59 +0200] [395608] [INFO] Booting worker with pid: 395608
[2025-11-03 20:05:59 +0200] [395608] [INFO] ✨ Worker spawned successfully (pid: 395608)
[2025-11-03 20:05:59 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:05:59 +0200] [395609] [INFO] Booting worker with pid: 395609
[2025-11-03 20:05:59 +0200] [395609] [INFO] ✨ Worker spawned successfully (pid: 395609)
[2025-11-03 20:05:59 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:05:59 +0200] [395610] [INFO] Booting worker with pid: 395610
[2025-11-03 20:05:59 +0200] [395610] [INFO] ✨ Worker spawned successfully (pid: 395610)
[2025-11-03 20:05:59 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:05:59 +0200] [395611] [INFO] Booting worker with pid: 395611
[2025-11-03 20:05:59 +0200] [395611] [INFO] ✨ Worker spawned successfully (pid: 395611)
[2025-11-03 20:05:59 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:05:59 +0200] [395612] [INFO] Booting worker with pid: 395612
[2025-11-03 20:05:59 +0200] [395612] [INFO] ✨ Worker spawned successfully (pid: 395612)
[2025-11-03 20:05:59 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:05:59 +0200] [395613] [INFO] Booting worker with pid: 395613
[2025-11-03 20:05:59 +0200] [395613] [INFO] ✨ Worker spawned successfully (pid: 395613)
[2025-11-03 20:06:00 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:06:00 +0200] [395614] [INFO] Booting worker with pid: 395614
[2025-11-03 20:06:00 +0200] [395614] [INFO] ✨ Worker spawned successfully (pid: 395614)
[2025-11-03 20:06:00 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:06:00 +0200] [395615] [INFO] Booting worker with pid: 395615
[2025-11-03 20:06:00 +0200] [395615] [INFO] ✨ Worker spawned successfully (pid: 395615)
[2025-11-03 20:06:00 +0200] [395583] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:06:00 +0200] [395616] [INFO] Booting worker with pid: 395616
[2025-11-03 20:06:00 +0200] [395616] [INFO] ✨ Worker spawned successfully (pid: 395616)
[2025-11-03 20:16:00 +0200] [395610] [INFO] Worker exiting (pid: 395610)
[2025-11-03 20:16:00 +0200] [395609] [INFO] Worker exiting (pid: 395609)
[2025-11-03 20:16:00 +0200] [395608] [INFO] Worker exiting (pid: 395608)
[2025-11-03 20:16:00 +0200] [395583] [INFO] Handling signal: term
[2025-11-03 20:16:00 +0200] [395613] [INFO] Worker exiting (pid: 395613)
[2025-11-03 20:16:00 +0200] [395611] [INFO] Worker exiting (pid: 395611)
[2025-11-03 20:16:00 +0200] [395614] [INFO] Worker exiting (pid: 395614)
[2025-11-03 20:16:00 +0200] [395612] [INFO] Worker exiting (pid: 395612)
[2025-11-03 20:16:00 +0200] [395615] [INFO] Worker exiting (pid: 395615)
[2025-11-03 20:16:00 +0200] [395616] [INFO] Worker exiting (pid: 395616)
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 223, in run
handler()
~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 256, in handle_term
raise StopIteration
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/bin/gunicorn", line 8, in <module>
sys.exit(run())
~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 66, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 235, in run
super().run()
~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 71, in run
Arbiter(self).run()
~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 226, in run
self.halt()
~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 341, in halt
self.stop()
~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 395, in stop
time.sleep(0.1)
~~~~~~~~~~^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 241, in handle_chld
self.reap_workers()
~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 559, in reap_workers
self.cfg.child_exit(self, worker)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/srv/quality_app/py_app/gunicorn.conf.py", line 167, in child_exit
server.log.info("👋 Worker %s exited", worker.pid)
AttributeError: 'WorkerTmp' object has no attribute 'last_mtime'
[2025-11-03 20:16:05 +0200] [395971] [INFO] Starting gunicorn 23.0.0
[2025-11-03 20:16:05 +0200] [395971] [INFO] ============================================================
[2025-11-03 20:16:05 +0200] [395971] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 20:16:05 +0200] [395971] [INFO] ============================================================
[2025-11-03 20:16:05 +0200] [395971] [INFO] 📍 Configuration:
[2025-11-03 20:16:05 +0200] [395971] [INFO] • Workers: 9
[2025-11-03 20:16:05 +0200] [395971] [INFO] • Worker Class: sync
[2025-11-03 20:16:05 +0200] [395971] [INFO] • Timeout: 120s
[2025-11-03 20:16:05 +0200] [395971] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 20:16:05 +0200] [395971] [INFO] • Preload App: True
[2025-11-03 20:16:05 +0200] [395971] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 20:16:05 +0200] [395971] [INFO] ============================================================
[2025-11-03 20:16:05 +0200] [395971] [INFO] Listening at: http://0.0.0.0:8781 (395971)
[2025-11-03 20:16:05 +0200] [395971] [INFO] Using worker: sync
[2025-11-03 20:16:05 +0200] [395971] [INFO] ============================================================
[2025-11-03 20:16:05 +0200] [395971] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 20:16:05 +0200] [395971] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 20:16:05 +0200] [395971] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 20:16:05 +0200] [395971] [INFO] ============================================================
[2025-11-03 20:16:05 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:05 +0200] [395976] [INFO] Booting worker with pid: 395976
[2025-11-03 20:16:05 +0200] [395976] [INFO] ✨ Worker spawned successfully (pid: 395976)
[2025-11-03 20:16:05 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:05 +0200] [395977] [INFO] Booting worker with pid: 395977
[2025-11-03 20:16:05 +0200] [395977] [INFO] ✨ Worker spawned successfully (pid: 395977)
[2025-11-03 20:16:05 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:05 +0200] [395978] [INFO] Booting worker with pid: 395978
[2025-11-03 20:16:05 +0200] [395978] [INFO] ✨ Worker spawned successfully (pid: 395978)
[2025-11-03 20:16:05 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:05 +0200] [395979] [INFO] Booting worker with pid: 395979
[2025-11-03 20:16:05 +0200] [395979] [INFO] ✨ Worker spawned successfully (pid: 395979)
[2025-11-03 20:16:05 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:05 +0200] [395980] [INFO] Booting worker with pid: 395980
[2025-11-03 20:16:05 +0200] [395980] [INFO] ✨ Worker spawned successfully (pid: 395980)
[2025-11-03 20:16:05 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:05 +0200] [395981] [INFO] Booting worker with pid: 395981
[2025-11-03 20:16:05 +0200] [395981] [INFO] ✨ Worker spawned successfully (pid: 395981)
[2025-11-03 20:16:06 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:06 +0200] [395982] [INFO] Booting worker with pid: 395982
[2025-11-03 20:16:06 +0200] [395982] [INFO] ✨ Worker spawned successfully (pid: 395982)
[2025-11-03 20:16:06 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:06 +0200] [395983] [INFO] Booting worker with pid: 395983
[2025-11-03 20:16:06 +0200] [395983] [INFO] ✨ Worker spawned successfully (pid: 395983)
[2025-11-03 20:16:06 +0200] [395971] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:16:06 +0200] [395984] [INFO] Booting worker with pid: 395984
[2025-11-03 20:16:06 +0200] [395984] [INFO] ✨ Worker spawned successfully (pid: 395984)
Session user: superadmin superadmin
Session user: superadmin superadmin
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', None)
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels']
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
[2025-11-03 20:23:46 +0200] [395971] [INFO] Handling signal: term
[2025-11-03 20:23:46 +0200] [395977] [INFO] Worker exiting (pid: 395977)
[2025-11-03 20:23:46 +0200] [395976] [INFO] Worker exiting (pid: 395976)
[2025-11-03 20:23:46 +0200] [395978] [INFO] Worker exiting (pid: 395978)
[2025-11-03 20:23:46 +0200] [395979] [INFO] Worker exiting (pid: 395979)
[2025-11-03 20:23:46 +0200] [395980] [INFO] Worker exiting (pid: 395980)
[2025-11-03 20:23:46 +0200] [395981] [INFO] Worker exiting (pid: 395981)
[2025-11-03 20:23:46 +0200] [395982] [INFO] Worker exiting (pid: 395982)
[2025-11-03 20:23:46 +0200] [395983] [INFO] Worker exiting (pid: 395983)
[2025-11-03 20:23:46 +0200] [395984] [INFO] Worker exiting (pid: 395984)
[2025-11-03 20:23:47 +0200] [395971] [INFO] 👋 Worker 395980 exited
[2025-11-03 20:23:47 +0200] [395971] [INFO] 👋 Worker 395977 exited
[2025-11-03 20:23:47 +0200] [395971] [INFO] 👋 Worker 395976 exited
[2025-11-03 20:23:47 +0200] [395971] [INFO] 👋 Worker 395981 exited
[2025-11-03 20:23:47 +0200] [395971] [INFO] 👋 Worker 395982 exited
[2025-11-03 20:23:48 +0200] [395971] [INFO] 👋 Worker 395979 exited
[2025-11-03 20:23:48 +0200] [395971] [INFO] 👋 Worker 395984 exited
[2025-11-03 20:23:48 +0200] [395971] [INFO] 👋 Worker 395978 exited
[2025-11-03 20:23:48 +0200] [395971] [INFO] 👋 Worker 395983 exited
[2025-11-03 20:23:48 +0200] [395971] [INFO] Shutting down: Master
[2025-11-03 20:23:48 +0200] [395971] [INFO] ============================================================
[2025-11-03 20:23:48 +0200] [395971] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 20:23:48 +0200] [395971] [INFO] ============================================================
[2025-11-03 20:23:54 +0200] [396278] [INFO] Starting gunicorn 23.0.0
[2025-11-03 20:23:54 +0200] [396278] [INFO] ============================================================
[2025-11-03 20:23:54 +0200] [396278] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 20:23:54 +0200] [396278] [INFO] ============================================================
[2025-11-03 20:23:54 +0200] [396278] [INFO] 📍 Configuration:
[2025-11-03 20:23:54 +0200] [396278] [INFO] • Workers: 9
[2025-11-03 20:23:54 +0200] [396278] [INFO] • Worker Class: sync
[2025-11-03 20:23:54 +0200] [396278] [INFO] • Timeout: 120s
[2025-11-03 20:23:54 +0200] [396278] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 20:23:54 +0200] [396278] [INFO] • Preload App: True
[2025-11-03 20:23:54 +0200] [396278] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 20:23:54 +0200] [396278] [INFO] ============================================================
[2025-11-03 20:23:54 +0200] [396278] [INFO] Listening at: http://0.0.0.0:8781 (396278)
[2025-11-03 20:23:54 +0200] [396278] [INFO] Using worker: sync
[2025-11-03 20:23:54 +0200] [396278] [INFO] ============================================================
[2025-11-03 20:23:54 +0200] [396278] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 20:23:54 +0200] [396278] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 20:23:54 +0200] [396278] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 20:23:54 +0200] [396278] [INFO] ============================================================
[2025-11-03 20:23:54 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:54 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:54 +0200] [396305] [INFO] Booting worker with pid: 396305
[2025-11-03 20:23:54 +0200] [396305] [INFO] ✨ Worker spawned successfully (pid: 396305)
[2025-11-03 20:23:54 +0200] [396306] [INFO] Booting worker with pid: 396306
[2025-11-03 20:23:54 +0200] [396306] [INFO] ✨ Worker spawned successfully (pid: 396306)
[2025-11-03 20:23:54 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:54 +0200] [396307] [INFO] Booting worker with pid: 396307
[2025-11-03 20:23:54 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:54 +0200] [396307] [INFO] ✨ Worker spawned successfully (pid: 396307)
[2025-11-03 20:23:54 +0200] [396308] [INFO] Booting worker with pid: 396308
[2025-11-03 20:23:54 +0200] [396308] [INFO] ✨ Worker spawned successfully (pid: 396308)
[2025-11-03 20:23:55 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:55 +0200] [396309] [INFO] Booting worker with pid: 396309
[2025-11-03 20:23:55 +0200] [396309] [INFO] ✨ Worker spawned successfully (pid: 396309)
[2025-11-03 20:23:55 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:55 +0200] [396310] [INFO] Booting worker with pid: 396310
[2025-11-03 20:23:55 +0200] [396310] [INFO] ✨ Worker spawned successfully (pid: 396310)
[2025-11-03 20:23:55 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:55 +0200] [396311] [INFO] Booting worker with pid: 396311
[2025-11-03 20:23:55 +0200] [396311] [INFO] ✨ Worker spawned successfully (pid: 396311)
[2025-11-03 20:23:55 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:55 +0200] [396312] [INFO] Booting worker with pid: 396312
[2025-11-03 20:23:55 +0200] [396312] [INFO] ✨ Worker spawned successfully (pid: 396312)
[2025-11-03 20:23:55 +0200] [396278] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:23:55 +0200] [396313] [INFO] Booting worker with pid: 396313
[2025-11-03 20:23:55 +0200] [396313] [INFO] ✨ Worker spawned successfully (pid: 396313)
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
Session user: superadmin superadmin
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
Session user: superadmin superadmin
[2025-11-03 20:26:06 +0200] [396278] [INFO] Handling signal: term
[2025-11-03 20:26:06 +0200] [396307] [INFO] Worker exiting (pid: 396307)
[2025-11-03 20:26:06 +0200] [396305] [INFO] Worker exiting (pid: 396305)
[2025-11-03 20:26:06 +0200] [396306] [INFO] Worker exiting (pid: 396306)
[2025-11-03 20:26:06 +0200] [396308] [INFO] Worker exiting (pid: 396308)
[2025-11-03 20:26:06 +0200] [396309] [INFO] Worker exiting (pid: 396309)
[2025-11-03 20:26:06 +0200] [396310] [INFO] Worker exiting (pid: 396310)
[2025-11-03 20:26:06 +0200] [396311] [INFO] Worker exiting (pid: 396311)
[2025-11-03 20:26:06 +0200] [396312] [INFO] Worker exiting (pid: 396312)
[2025-11-03 20:26:06 +0200] [396313] [INFO] Worker exiting (pid: 396313)
[2025-11-03 20:26:06 +0200] [396278] [INFO] 👋 Worker 396305 exited
[2025-11-03 20:26:06 +0200] [396278] [INFO] 👋 Worker 396306 exited
[2025-11-03 20:26:06 +0200] [396278] [INFO] 👋 Worker 396308 exited
[2025-11-03 20:26:07 +0200] [396278] [INFO] 👋 Worker 396312 exited
[2025-11-03 20:26:07 +0200] [396278] [INFO] 👋 Worker 396309 exited
[2025-11-03 20:26:07 +0200] [396278] [INFO] 👋 Worker 396307 exited
[2025-11-03 20:26:07 +0200] [396278] [INFO] 👋 Worker 396310 exited
[2025-11-03 20:26:07 +0200] [396278] [INFO] 👋 Worker 396311 exited
[2025-11-03 20:26:07 +0200] [396278] [INFO] 👋 Worker 396313 exited
[2025-11-03 20:26:07 +0200] [396278] [INFO] Shutting down: Master
[2025-11-03 20:26:07 +0200] [396278] [INFO] ============================================================
[2025-11-03 20:26:07 +0200] [396278] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 20:26:07 +0200] [396278] [INFO] ============================================================
[2025-11-03 20:26:14 +0200] [396699] [INFO] Starting gunicorn 23.0.0
[2025-11-03 20:26:14 +0200] [396699] [INFO] ============================================================
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 20:26:14 +0200] [396699] [INFO] ============================================================
[2025-11-03 20:26:14 +0200] [396699] [INFO] 📍 Configuration:
[2025-11-03 20:26:14 +0200] [396699] [INFO] • Workers: 9
[2025-11-03 20:26:14 +0200] [396699] [INFO] • Worker Class: sync
[2025-11-03 20:26:14 +0200] [396699] [INFO] • Timeout: 120s
[2025-11-03 20:26:14 +0200] [396699] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 20:26:14 +0200] [396699] [INFO] • Preload App: True
[2025-11-03 20:26:14 +0200] [396699] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 20:26:14 +0200] [396699] [INFO] ============================================================
[2025-11-03 20:26:14 +0200] [396699] [INFO] Listening at: http://0.0.0.0:8781 (396699)
[2025-11-03 20:26:14 +0200] [396699] [INFO] Using worker: sync
[2025-11-03 20:26:14 +0200] [396699] [INFO] ============================================================
[2025-11-03 20:26:14 +0200] [396699] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 20:26:14 +0200] [396699] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 20:26:14 +0200] [396699] [INFO] ============================================================
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396708] [INFO] Booting worker with pid: 396708
[2025-11-03 20:26:14 +0200] [396708] [INFO] ✨ Worker spawned successfully (pid: 396708)
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396709] [INFO] Booting worker with pid: 396709
[2025-11-03 20:26:14 +0200] [396709] [INFO] ✨ Worker spawned successfully (pid: 396709)
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396710] [INFO] Booting worker with pid: 396710
[2025-11-03 20:26:14 +0200] [396710] [INFO] ✨ Worker spawned successfully (pid: 396710)
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396711] [INFO] Booting worker with pid: 396711
[2025-11-03 20:26:14 +0200] [396711] [INFO] ✨ Worker spawned successfully (pid: 396711)
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396712] [INFO] Booting worker with pid: 396712
[2025-11-03 20:26:14 +0200] [396712] [INFO] ✨ Worker spawned successfully (pid: 396712)
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396713] [INFO] Booting worker with pid: 396713
[2025-11-03 20:26:14 +0200] [396713] [INFO] ✨ Worker spawned successfully (pid: 396713)
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396714] [INFO] Booting worker with pid: 396714
[2025-11-03 20:26:14 +0200] [396714] [INFO] ✨ Worker spawned successfully (pid: 396714)
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396719] [INFO] Booting worker with pid: 396719
[2025-11-03 20:26:14 +0200] [396719] [INFO] ✨ Worker spawned successfully (pid: 396719)
[2025-11-03 20:26:14 +0200] [396699] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:26:14 +0200] [396725] [INFO] Booting worker with pid: 396725
[2025-11-03 20:26:14 +0200] [396725] [INFO] ✨ Worker spawned successfully (pid: 396725)
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
[2025-11-03 20:29:44 +0200] [396699] [INFO] Handling signal: term
[2025-11-03 20:29:44 +0200] [396710] [INFO] Worker exiting (pid: 396710)
[2025-11-03 20:29:44 +0200] [396709] [INFO] Worker exiting (pid: 396709)
[2025-11-03 20:29:44 +0200] [396708] [INFO] Worker exiting (pid: 396708)
[2025-11-03 20:29:44 +0200] [396711] [INFO] Worker exiting (pid: 396711)
[2025-11-03 20:29:44 +0200] [396712] [INFO] Worker exiting (pid: 396712)
[2025-11-03 20:29:44 +0200] [396713] [INFO] Worker exiting (pid: 396713)
[2025-11-03 20:29:44 +0200] [396714] [INFO] Worker exiting (pid: 396714)
[2025-11-03 20:29:44 +0200] [396719] [INFO] Worker exiting (pid: 396719)
[2025-11-03 20:29:44 +0200] [396725] [INFO] Worker exiting (pid: 396725)
[2025-11-03 20:29:45 +0200] [396699] [INFO] 👋 Worker 396709 exited
[2025-11-03 20:29:45 +0200] [396699] [INFO] 👋 Worker 396708 exited
[2025-11-03 20:29:45 +0200] [396699] [INFO] 👋 Worker 396711 exited
[2025-11-03 20:29:45 +0200] [396699] [INFO] 👋 Worker 396713 exited
[2025-11-03 20:29:45 +0200] [396699] [INFO] 👋 Worker 396714 exited
[2025-11-03 20:29:45 +0200] [396699] [INFO] 👋 Worker 396719 exited
[2025-11-03 20:29:46 +0200] [396699] [INFO] 👋 Worker 396710 exited
[2025-11-03 20:29:46 +0200] [396699] [INFO] 👋 Worker 396725 exited
[2025-11-03 20:29:46 +0200] [396699] [INFO] 👋 Worker 396712 exited
[2025-11-03 20:29:46 +0200] [396699] [INFO] Shutting down: Master
[2025-11-03 20:29:46 +0200] [396699] [INFO] ============================================================
[2025-11-03 20:29:46 +0200] [396699] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 20:29:46 +0200] [396699] [INFO] ============================================================
[2025-11-03 20:29:52 +0200] [397053] [INFO] Starting gunicorn 23.0.0
[2025-11-03 20:29:52 +0200] [397053] [INFO] ============================================================
[2025-11-03 20:29:52 +0200] [397053] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 20:29:52 +0200] [397053] [INFO] ============================================================
[2025-11-03 20:29:52 +0200] [397053] [INFO] 📍 Configuration:
[2025-11-03 20:29:52 +0200] [397053] [INFO] • Workers: 9
[2025-11-03 20:29:52 +0200] [397053] [INFO] • Worker Class: sync
[2025-11-03 20:29:52 +0200] [397053] [INFO] • Timeout: 120s
[2025-11-03 20:29:52 +0200] [397053] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 20:29:52 +0200] [397053] [INFO] • Preload App: True
[2025-11-03 20:29:52 +0200] [397053] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 20:29:52 +0200] [397053] [INFO] ============================================================
[2025-11-03 20:29:52 +0200] [397053] [INFO] Listening at: http://0.0.0.0:8781 (397053)
[2025-11-03 20:29:52 +0200] [397053] [INFO] Using worker: sync
[2025-11-03 20:29:52 +0200] [397053] [INFO] ============================================================
[2025-11-03 20:29:52 +0200] [397053] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 20:29:52 +0200] [397053] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 20:29:52 +0200] [397053] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 20:29:52 +0200] [397053] [INFO] ============================================================
[2025-11-03 20:29:52 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:52 +0200] [397076] [INFO] Booting worker with pid: 397076
[2025-11-03 20:29:52 +0200] [397076] [INFO] ✨ Worker spawned successfully (pid: 397076)
[2025-11-03 20:29:52 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:52 +0200] [397077] [INFO] Booting worker with pid: 397077
[2025-11-03 20:29:52 +0200] [397077] [INFO] ✨ Worker spawned successfully (pid: 397077)
[2025-11-03 20:29:52 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:52 +0200] [397078] [INFO] Booting worker with pid: 397078
[2025-11-03 20:29:52 +0200] [397078] [INFO] ✨ Worker spawned successfully (pid: 397078)
[2025-11-03 20:29:52 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:52 +0200] [397079] [INFO] Booting worker with pid: 397079
[2025-11-03 20:29:52 +0200] [397079] [INFO] ✨ Worker spawned successfully (pid: 397079)
[2025-11-03 20:29:52 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:52 +0200] [397080] [INFO] Booting worker with pid: 397080
[2025-11-03 20:29:52 +0200] [397080] [INFO] ✨ Worker spawned successfully (pid: 397080)
[2025-11-03 20:29:53 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:53 +0200] [397081] [INFO] Booting worker with pid: 397081
[2025-11-03 20:29:53 +0200] [397081] [INFO] ✨ Worker spawned successfully (pid: 397081)
[2025-11-03 20:29:53 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:53 +0200] [397082] [INFO] Booting worker with pid: 397082
[2025-11-03 20:29:53 +0200] [397082] [INFO] ✨ Worker spawned successfully (pid: 397082)
[2025-11-03 20:29:53 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:53 +0200] [397083] [INFO] Booting worker with pid: 397083
[2025-11-03 20:29:53 +0200] [397083] [INFO] ✨ Worker spawned successfully (pid: 397083)
[2025-11-03 20:29:53 +0200] [397053] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:29:53 +0200] [397084] [INFO] Booting worker with pid: 397084
[2025-11-03 20:29:53 +0200] [397084] [INFO] ✨ Worker spawned successfully (pid: 397084)
Session user: superadmin superadmin
Session user: superadmin superadmin
[2025-11-03 20:35:12 +0200] [397053] [INFO] Handling signal: term
[2025-11-03 20:35:12 +0200] [397078] [INFO] Worker exiting (pid: 397078)
[2025-11-03 20:35:12 +0200] [397076] [INFO] Worker exiting (pid: 397076)
[2025-11-03 20:35:12 +0200] [397079] [INFO] Worker exiting (pid: 397079)
[2025-11-03 20:35:12 +0200] [397081] [INFO] Worker exiting (pid: 397081)
[2025-11-03 20:35:12 +0200] [397077] [INFO] Worker exiting (pid: 397077)
[2025-11-03 20:35:12 +0200] [397082] [INFO] Worker exiting (pid: 397082)
[2025-11-03 20:35:12 +0200] [397083] [INFO] Worker exiting (pid: 397083)
[2025-11-03 20:35:12 +0200] [397080] [INFO] Worker exiting (pid: 397080)
[2025-11-03 20:35:12 +0200] [397084] [INFO] Worker exiting (pid: 397084)
[2025-11-03 20:35:13 +0200] [397053] [INFO] 👋 Worker 397081 exited
[2025-11-03 20:35:13 +0200] [397053] [INFO] 👋 Worker 397079 exited
[2025-11-03 20:35:14 +0200] [397053] [INFO] 👋 Worker 397076 exited
[2025-11-03 20:35:14 +0200] [397053] [INFO] 👋 Worker 397083 exited
[2025-11-03 20:35:14 +0200] [397053] [INFO] 👋 Worker 397084 exited
[2025-11-03 20:35:14 +0200] [397053] [INFO] 👋 Worker 397077 exited
[2025-11-03 20:35:14 +0200] [397053] [INFO] 👋 Worker 397078 exited
[2025-11-03 20:35:14 +0200] [397053] [INFO] 👋 Worker 397082 exited
[2025-11-03 20:35:14 +0200] [397053] [INFO] 👋 Worker 397080 exited
[2025-11-03 20:35:14 +0200] [397053] [INFO] Shutting down: Master
[2025-11-03 20:35:14 +0200] [397053] [INFO] ============================================================
[2025-11-03 20:35:14 +0200] [397053] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 20:35:14 +0200] [397053] [INFO] ============================================================
[2025-11-03 20:35:21 +0200] [397553] [INFO] Starting gunicorn 23.0.0
[2025-11-03 20:35:21 +0200] [397553] [INFO] ============================================================
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 20:35:21 +0200] [397553] [INFO] ============================================================
[2025-11-03 20:35:21 +0200] [397553] [INFO] 📍 Configuration:
[2025-11-03 20:35:21 +0200] [397553] [INFO] • Workers: 9
[2025-11-03 20:35:21 +0200] [397553] [INFO] • Worker Class: sync
[2025-11-03 20:35:21 +0200] [397553] [INFO] • Timeout: 120s
[2025-11-03 20:35:21 +0200] [397553] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 20:35:21 +0200] [397553] [INFO] • Preload App: True
[2025-11-03 20:35:21 +0200] [397553] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 20:35:21 +0200] [397553] [INFO] ============================================================
[2025-11-03 20:35:21 +0200] [397553] [INFO] Listening at: http://0.0.0.0:8781 (397553)
[2025-11-03 20:35:21 +0200] [397553] [INFO] Using worker: sync
[2025-11-03 20:35:21 +0200] [397553] [INFO] ============================================================
[2025-11-03 20:35:21 +0200] [397553] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 20:35:21 +0200] [397553] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 20:35:21 +0200] [397553] [INFO] ============================================================
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397580] [INFO] Booting worker with pid: 397580
[2025-11-03 20:35:21 +0200] [397580] [INFO] ✨ Worker spawned successfully (pid: 397580)
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397581] [INFO] Booting worker with pid: 397581
[2025-11-03 20:35:21 +0200] [397581] [INFO] ✨ Worker spawned successfully (pid: 397581)
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397582] [INFO] Booting worker with pid: 397582
[2025-11-03 20:35:21 +0200] [397582] [INFO] ✨ Worker spawned successfully (pid: 397582)
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397583] [INFO] Booting worker with pid: 397583
[2025-11-03 20:35:21 +0200] [397583] [INFO] ✨ Worker spawned successfully (pid: 397583)
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397584] [INFO] Booting worker with pid: 397584
[2025-11-03 20:35:21 +0200] [397584] [INFO] ✨ Worker spawned successfully (pid: 397584)
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397585] [INFO] Booting worker with pid: 397585
[2025-11-03 20:35:21 +0200] [397585] [INFO] ✨ Worker spawned successfully (pid: 397585)
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397586] [INFO] Booting worker with pid: 397586
[2025-11-03 20:35:21 +0200] [397586] [INFO] ✨ Worker spawned successfully (pid: 397586)
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397587] [INFO] Booting worker with pid: 397587
[2025-11-03 20:35:21 +0200] [397587] [INFO] ✨ Worker spawned successfully (pid: 397587)
[2025-11-03 20:35:21 +0200] [397553] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:35:21 +0200] [397588] [INFO] Booting worker with pid: 397588
[2025-11-03 20:35:21 +0200] [397588] [INFO] ✨ Worker spawned successfully (pid: 397588)
[2025-11-03 20:39:58 +0200] [397553] [INFO] Handling signal: term
[2025-11-03 20:39:58 +0200] [397580] [INFO] Worker exiting (pid: 397580)
[2025-11-03 20:39:58 +0200] [397581] [INFO] Worker exiting (pid: 397581)
[2025-11-03 20:39:58 +0200] [397584] [INFO] Worker exiting (pid: 397584)
[2025-11-03 20:39:58 +0200] [397582] [INFO] Worker exiting (pid: 397582)
[2025-11-03 20:39:58 +0200] [397585] [INFO] Worker exiting (pid: 397585)
[2025-11-03 20:39:58 +0200] [397587] [INFO] Worker exiting (pid: 397587)
[2025-11-03 20:39:58 +0200] [397583] [INFO] Worker exiting (pid: 397583)
[2025-11-03 20:39:58 +0200] [397586] [INFO] Worker exiting (pid: 397586)
[2025-11-03 20:39:58 +0200] [397588] [INFO] Worker exiting (pid: 397588)
[2025-11-03 20:39:59 +0200] [397553] [INFO] 👋 Worker 397581 exited
[2025-11-03 20:39:59 +0200] [397553] [INFO] 👋 Worker 397585 exited
[2025-11-03 20:39:59 +0200] [397553] [INFO] 👋 Worker 397580 exited
[2025-11-03 20:39:59 +0200] [397553] [INFO] 👋 Worker 397588 exited
[2025-11-03 20:39:59 +0200] [397553] [INFO] 👋 Worker 397583 exited
[2025-11-03 20:39:59 +0200] [397553] [INFO] 👋 Worker 397586 exited
[2025-11-03 20:40:00 +0200] [397553] [INFO] 👋 Worker 397582 exited
[2025-11-03 20:40:00 +0200] [397553] [INFO] 👋 Worker 397584 exited
[2025-11-03 20:40:00 +0200] [397553] [INFO] 👋 Worker 397587 exited
[2025-11-03 20:40:00 +0200] [397553] [INFO] Shutting down: Master
[2025-11-03 20:40:00 +0200] [397553] [INFO] ============================================================
[2025-11-03 20:40:00 +0200] [397553] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 20:40:00 +0200] [397553] [INFO] ============================================================
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/bin/gunicorn", line 8, in <module>
sys.exit(run())
~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 66, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 235, in run
super().run()
~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 71, in run
Arbiter(self).run()
~~~~~~~^^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 57, in __init__
self.setup(app)
~~~~~~~~~~^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 117, in setup
self.app.wsgi()
~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 57, in load
return self.load_wsgiapp()
~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp
return util.import_app(self.app_uri)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/util.py", line 370, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/srv/quality_app/py_app/wsgi.py", line 15, in <module>
application = create_app()
File "/srv/quality_app/py_app/app/__init__.py", line 11, in create_app
from app.routes import bp as main_bp, warehouse_bp
File "/srv/quality_app/py_app/app/routes.py", line 6, in <module>
from .models import User
File "/srv/quality_app/py_app/app/models.py", line 1, in <module>
from . import db
ImportError: cannot import name 'db' from 'app' (/srv/quality_app/py_app/app/__init__.py)
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/bin/gunicorn", line 8, in <module>
sys.exit(run())
~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 66, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 235, in run
super().run()
~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 71, in run
Arbiter(self).run()
~~~~~~~^^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 57, in __init__
self.setup(app)
~~~~~~~~~~^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 117, in setup
self.app.wsgi()
~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 57, in load
return self.load_wsgiapp()
~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 47, in load_wsgiapp
return util.import_app(self.app_uri)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/util.py", line 370, in import_app
mod = importlib.import_module(module)
File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/srv/quality_app/py_app/wsgi.py", line 15, in <module>
application = create_app()
File "/srv/quality_app/py_app/app/__init__.py", line 11, in create_app
from app.routes import bp as main_bp, warehouse_bp
File "/srv/quality_app/py_app/app/routes.py", line 10, in <module>
from app.settings import (
...<10 lines>...
)
File "/srv/quality_app/py_app/app/settings.py", line 2, in <module>
from .models import User
File "/srv/quality_app/py_app/app/models.py", line 1, in <module>
from . import db
ImportError: cannot import name 'db' from 'app' (/srv/quality_app/py_app/app/__init__.py)
[2025-11-03 20:41:50 +0200] [398202] [INFO] Starting gunicorn 23.0.0
[2025-11-03 20:41:50 +0200] [398202] [INFO] ============================================================
[2025-11-03 20:41:50 +0200] [398202] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 20:41:50 +0200] [398202] [INFO] ============================================================
[2025-11-03 20:41:50 +0200] [398202] [INFO] 📍 Configuration:
[2025-11-03 20:41:50 +0200] [398202] [INFO] • Workers: 9
[2025-11-03 20:41:50 +0200] [398202] [INFO] • Worker Class: sync
[2025-11-03 20:41:50 +0200] [398202] [INFO] • Timeout: 120s
[2025-11-03 20:41:50 +0200] [398202] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 20:41:50 +0200] [398202] [INFO] • Preload App: True
[2025-11-03 20:41:50 +0200] [398202] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 20:41:50 +0200] [398202] [INFO] ============================================================
[2025-11-03 20:41:50 +0200] [398202] [INFO] Listening at: http://0.0.0.0:8781 (398202)
[2025-11-03 20:41:50 +0200] [398202] [INFO] Using worker: sync
[2025-11-03 20:41:50 +0200] [398202] [INFO] ============================================================
[2025-11-03 20:41:50 +0200] [398202] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 20:41:50 +0200] [398202] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 20:41:50 +0200] [398202] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 20:41:50 +0200] [398202] [INFO] ============================================================
[2025-11-03 20:41:50 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:50 +0200] [398224] [INFO] Booting worker with pid: 398224
[2025-11-03 20:41:50 +0200] [398224] [INFO] ✨ Worker spawned successfully (pid: 398224)
[2025-11-03 20:41:50 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:50 +0200] [398225] [INFO] Booting worker with pid: 398225
[2025-11-03 20:41:50 +0200] [398225] [INFO] ✨ Worker spawned successfully (pid: 398225)
[2025-11-03 20:41:50 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:50 +0200] [398226] [INFO] Booting worker with pid: 398226
[2025-11-03 20:41:50 +0200] [398226] [INFO] ✨ Worker spawned successfully (pid: 398226)
[2025-11-03 20:41:50 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:50 +0200] [398227] [INFO] Booting worker with pid: 398227
[2025-11-03 20:41:50 +0200] [398227] [INFO] ✨ Worker spawned successfully (pid: 398227)
[2025-11-03 20:41:51 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:51 +0200] [398228] [INFO] Booting worker with pid: 398228
[2025-11-03 20:41:51 +0200] [398228] [INFO] ✨ Worker spawned successfully (pid: 398228)
[2025-11-03 20:41:51 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:51 +0200] [398235] [INFO] Booting worker with pid: 398235
[2025-11-03 20:41:51 +0200] [398235] [INFO] ✨ Worker spawned successfully (pid: 398235)
[2025-11-03 20:41:51 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:51 +0200] [398236] [INFO] Booting worker with pid: 398236
[2025-11-03 20:41:51 +0200] [398236] [INFO] ✨ Worker spawned successfully (pid: 398236)
[2025-11-03 20:41:51 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:51 +0200] [398237] [INFO] Booting worker with pid: 398237
[2025-11-03 20:41:51 +0200] [398237] [INFO] ✨ Worker spawned successfully (pid: 398237)
[2025-11-03 20:41:51 +0200] [398202] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:41:51 +0200] [398238] [INFO] Booting worker with pid: 398238
[2025-11-03 20:41:51 +0200] [398238] [INFO] ✨ Worker spawned successfully (pid: 398238)
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', 'quality,warehouse,labels,daily_mirror')
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels']
Session user: superadmin superadmin
Error loading Daily Mirror main page: daily_mirror_main.html
Session user: superadmin superadmin
Session user: superadmin superadmin
Session user: superadmin superadmin
[2025-11-03 20:45:46 +0200] [398202] [INFO] Handling signal: term
[2025-11-03 20:45:46 +0200] [398226] [INFO] Worker exiting (pid: 398226)
[2025-11-03 20:45:46 +0200] [398225] [INFO] Worker exiting (pid: 398225)
[2025-11-03 20:45:46 +0200] [398224] [INFO] Worker exiting (pid: 398224)
[2025-11-03 20:45:46 +0200] [398237] [INFO] Worker exiting (pid: 398237)
[2025-11-03 20:45:46 +0200] [398228] [INFO] Worker exiting (pid: 398228)
[2025-11-03 20:45:46 +0200] [398236] [INFO] Worker exiting (pid: 398236)
[2025-11-03 20:45:46 +0200] [398227] [INFO] Worker exiting (pid: 398227)
[2025-11-03 20:45:46 +0200] [398235] [INFO] Worker exiting (pid: 398235)
[2025-11-03 20:45:46 +0200] [398238] [INFO] Worker exiting (pid: 398238)
[2025-11-03 20:45:46 +0200] [398202] [INFO] 👋 Worker 398237 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Worker 398238 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Worker 398226 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Worker 398235 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Worker 398225 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Worker 398236 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Worker 398228 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Worker 398224 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Worker 398227 exited
[2025-11-03 20:45:47 +0200] [398202] [INFO] Shutting down: Master
[2025-11-03 20:45:47 +0200] [398202] [INFO] ============================================================
[2025-11-03 20:45:47 +0200] [398202] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 20:45:47 +0200] [398202] [INFO] ============================================================
[2025-11-03 20:45:53 +0200] [398661] [INFO] Starting gunicorn 23.0.0
[2025-11-03 20:45:53 +0200] [398661] [INFO] ============================================================
[2025-11-03 20:45:53 +0200] [398661] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 20:45:53 +0200] [398661] [INFO] ============================================================
[2025-11-03 20:45:53 +0200] [398661] [INFO] 📍 Configuration:
[2025-11-03 20:45:53 +0200] [398661] [INFO] • Workers: 9
[2025-11-03 20:45:53 +0200] [398661] [INFO] • Worker Class: sync
[2025-11-03 20:45:53 +0200] [398661] [INFO] • Timeout: 120s
[2025-11-03 20:45:53 +0200] [398661] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 20:45:53 +0200] [398661] [INFO] • Preload App: True
[2025-11-03 20:45:53 +0200] [398661] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 20:45:53 +0200] [398661] [INFO] ============================================================
[2025-11-03 20:45:53 +0200] [398661] [INFO] Listening at: http://0.0.0.0:8781 (398661)
[2025-11-03 20:45:53 +0200] [398661] [INFO] Using worker: sync
[2025-11-03 20:45:53 +0200] [398661] [INFO] ============================================================
[2025-11-03 20:45:53 +0200] [398661] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 20:45:53 +0200] [398661] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 20:45:53 +0200] [398661] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 20:45:53 +0200] [398661] [INFO] ============================================================
[2025-11-03 20:45:53 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:53 +0200] [398683] [INFO] Booting worker with pid: 398683
[2025-11-03 20:45:53 +0200] [398683] [INFO] ✨ Worker spawned successfully (pid: 398683)
[2025-11-03 20:45:53 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:53 +0200] [398684] [INFO] Booting worker with pid: 398684
[2025-11-03 20:45:53 +0200] [398684] [INFO] ✨ Worker spawned successfully (pid: 398684)
[2025-11-03 20:45:54 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:54 +0200] [398685] [INFO] Booting worker with pid: 398685
[2025-11-03 20:45:54 +0200] [398685] [INFO] ✨ Worker spawned successfully (pid: 398685)
[2025-11-03 20:45:54 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:54 +0200] [398686] [INFO] Booting worker with pid: 398686
[2025-11-03 20:45:54 +0200] [398686] [INFO] ✨ Worker spawned successfully (pid: 398686)
[2025-11-03 20:45:54 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:54 +0200] [398687] [INFO] Booting worker with pid: 398687
[2025-11-03 20:45:54 +0200] [398687] [INFO] ✨ Worker spawned successfully (pid: 398687)
[2025-11-03 20:45:54 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:54 +0200] [398690] [INFO] Booting worker with pid: 398690
[2025-11-03 20:45:54 +0200] [398690] [INFO] ✨ Worker spawned successfully (pid: 398690)
[2025-11-03 20:45:54 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:54 +0200] [398695] [INFO] Booting worker with pid: 398695
[2025-11-03 20:45:54 +0200] [398695] [INFO] ✨ Worker spawned successfully (pid: 398695)
[2025-11-03 20:45:54 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:54 +0200] [398696] [INFO] Booting worker with pid: 398696
[2025-11-03 20:45:54 +0200] [398696] [INFO] ✨ Worker spawned successfully (pid: 398696)
[2025-11-03 20:45:54 +0200] [398661] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 20:45:54 +0200] [398697] [INFO] Booting worker with pid: 398697
[2025-11-03 20:45:54 +0200] [398697] [INFO] ✨ Worker spawned successfully (pid: 398697)
[2025-11-03 21:06:13 +0200] [398661] [INFO] Handling signal: term
[2025-11-03 21:06:13 +0200] [398683] [INFO] Worker exiting (pid: 398683)
[2025-11-03 21:06:13 +0200] [398684] [INFO] Worker exiting (pid: 398684)
[2025-11-03 21:06:13 +0200] [398685] [INFO] Worker exiting (pid: 398685)
[2025-11-03 21:06:13 +0200] [398686] [INFO] Worker exiting (pid: 398686)
[2025-11-03 21:06:13 +0200] [398687] [INFO] Worker exiting (pid: 398687)
[2025-11-03 21:06:13 +0200] [398695] [INFO] Worker exiting (pid: 398695)
[2025-11-03 21:06:13 +0200] [398690] [INFO] Worker exiting (pid: 398690)
[2025-11-03 21:06:13 +0200] [398696] [INFO] Worker exiting (pid: 398696)
[2025-11-03 21:06:13 +0200] [398697] [INFO] Worker exiting (pid: 398697)
[2025-11-03 21:06:13 +0200] [398661] [INFO] 👋 Worker 398683 exited
[2025-11-03 21:06:13 +0200] [398661] [INFO] 👋 Worker 398686 exited
[2025-11-03 21:06:13 +0200] [398661] [INFO] 👋 Worker 398697 exited
[2025-11-03 21:06:14 +0200] [398661] [INFO] 👋 Worker 398685 exited
[2025-11-03 21:06:14 +0200] [398661] [INFO] 👋 Worker 398695 exited
[2025-11-03 21:06:14 +0200] [398661] [INFO] 👋 Worker 398684 exited
[2025-11-03 21:06:14 +0200] [398661] [INFO] 👋 Worker 398690 exited
[2025-11-03 21:06:14 +0200] [398661] [INFO] 👋 Worker 398696 exited
[2025-11-03 21:06:14 +0200] [398661] [INFO] 👋 Worker 398687 exited
[2025-11-03 21:06:14 +0200] [398661] [INFO] Shutting down: Master
[2025-11-03 21:06:14 +0200] [398661] [INFO] ============================================================
[2025-11-03 21:06:14 +0200] [398661] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 21:06:14 +0200] [398661] [INFO] ============================================================
[2025-11-03 21:06:20 +0200] [399048] [INFO] Starting gunicorn 23.0.0
[2025-11-03 21:06:20 +0200] [399048] [INFO] ============================================================
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 21:06:20 +0200] [399048] [INFO] ============================================================
[2025-11-03 21:06:20 +0200] [399048] [INFO] 📍 Configuration:
[2025-11-03 21:06:20 +0200] [399048] [INFO] • Workers: 9
[2025-11-03 21:06:20 +0200] [399048] [INFO] • Worker Class: sync
[2025-11-03 21:06:20 +0200] [399048] [INFO] • Timeout: 120s
[2025-11-03 21:06:20 +0200] [399048] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 21:06:20 +0200] [399048] [INFO] • Preload App: True
[2025-11-03 21:06:20 +0200] [399048] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 21:06:20 +0200] [399048] [INFO] ============================================================
[2025-11-03 21:06:20 +0200] [399048] [INFO] Listening at: http://0.0.0.0:8781 (399048)
[2025-11-03 21:06:20 +0200] [399048] [INFO] Using worker: sync
[2025-11-03 21:06:20 +0200] [399048] [INFO] ============================================================
[2025-11-03 21:06:20 +0200] [399048] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 21:06:20 +0200] [399048] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 21:06:20 +0200] [399048] [INFO] ============================================================
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:20 +0200] [399070] [INFO] Booting worker with pid: 399070
[2025-11-03 21:06:20 +0200] [399070] [INFO] ✨ Worker spawned successfully (pid: 399070)
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:20 +0200] [399071] [INFO] Booting worker with pid: 399071
[2025-11-03 21:06:20 +0200] [399071] [INFO] ✨ Worker spawned successfully (pid: 399071)
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:20 +0200] [399072] [INFO] Booting worker with pid: 399072
[2025-11-03 21:06:20 +0200] [399072] [INFO] ✨ Worker spawned successfully (pid: 399072)
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:20 +0200] [399073] [INFO] Booting worker with pid: 399073
[2025-11-03 21:06:20 +0200] [399073] [INFO] ✨ Worker spawned successfully (pid: 399073)
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:20 +0200] [399076] [INFO] Booting worker with pid: 399076
[2025-11-03 21:06:20 +0200] [399076] [INFO] ✨ Worker spawned successfully (pid: 399076)
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:20 +0200] [399080] [INFO] Booting worker with pid: 399080
[2025-11-03 21:06:20 +0200] [399080] [INFO] ✨ Worker spawned successfully (pid: 399080)
[2025-11-03 21:06:20 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:21 +0200] [399082] [INFO] Booting worker with pid: 399082
[2025-11-03 21:06:21 +0200] [399082] [INFO] ✨ Worker spawned successfully (pid: 399082)
[2025-11-03 21:06:21 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:21 +0200] [399083] [INFO] Booting worker with pid: 399083
[2025-11-03 21:06:21 +0200] [399083] [INFO] ✨ Worker spawned successfully (pid: 399083)
[2025-11-03 21:06:21 +0200] [399048] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:06:21 +0200] [399084] [INFO] Booting worker with pid: 399084
[2025-11-03 21:06:21 +0200] [399084] [INFO] ✨ Worker spawned successfully (pid: 399084)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-03 21:19:36 +0200] [399048] [INFO] Handling signal: term
[2025-11-03 21:19:36 +0200] [399070] [INFO] Worker exiting (pid: 399070)
[2025-11-03 21:19:36 +0200] [399071] [INFO] Worker exiting (pid: 399071)
[2025-11-03 21:19:36 +0200] [399072] [INFO] Worker exiting (pid: 399072)
[2025-11-03 21:19:36 +0200] [399073] [INFO] Worker exiting (pid: 399073)
[2025-11-03 21:19:36 +0200] [399076] [INFO] Worker exiting (pid: 399076)
[2025-11-03 21:19:36 +0200] [399080] [INFO] Worker exiting (pid: 399080)
[2025-11-03 21:19:36 +0200] [399082] [INFO] Worker exiting (pid: 399082)
[2025-11-03 21:19:36 +0200] [399083] [INFO] Worker exiting (pid: 399083)
[2025-11-03 21:19:37 +0200] [399084] [INFO] Worker exiting (pid: 399084)
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399071 exited
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399070 exited
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399073 exited
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399084 exited
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399082 exited
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399080 exited
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399072 exited
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399076 exited
[2025-11-03 21:19:37 +0200] [399048] [INFO] 👋 Worker 399083 exited
[2025-11-03 21:19:38 +0200] [399048] [INFO] Shutting down: Master
[2025-11-03 21:19:38 +0200] [399048] [INFO] ============================================================
[2025-11-03 21:19:38 +0200] [399048] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 21:19:38 +0200] [399048] [INFO] ============================================================
[2025-11-03 21:19:44 +0200] [399930] [INFO] Starting gunicorn 23.0.0
[2025-11-03 21:19:44 +0200] [399930] [INFO] ============================================================
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 21:19:44 +0200] [399930] [INFO] ============================================================
[2025-11-03 21:19:44 +0200] [399930] [INFO] 📍 Configuration:
[2025-11-03 21:19:44 +0200] [399930] [INFO] • Workers: 9
[2025-11-03 21:19:44 +0200] [399930] [INFO] • Worker Class: sync
[2025-11-03 21:19:44 +0200] [399930] [INFO] • Timeout: 120s
[2025-11-03 21:19:44 +0200] [399930] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 21:19:44 +0200] [399930] [INFO] • Preload App: True
[2025-11-03 21:19:44 +0200] [399930] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 21:19:44 +0200] [399930] [INFO] ============================================================
[2025-11-03 21:19:44 +0200] [399930] [INFO] Listening at: http://0.0.0.0:8781 (399930)
[2025-11-03 21:19:44 +0200] [399930] [INFO] Using worker: sync
[2025-11-03 21:19:44 +0200] [399930] [INFO] ============================================================
[2025-11-03 21:19:44 +0200] [399930] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 21:19:44 +0200] [399930] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 21:19:44 +0200] [399930] [INFO] ============================================================
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399954] [INFO] Booting worker with pid: 399954
[2025-11-03 21:19:44 +0200] [399954] [INFO] ✨ Worker spawned successfully (pid: 399954)
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399956] [INFO] Booting worker with pid: 399956
[2025-11-03 21:19:44 +0200] [399956] [INFO] ✨ Worker spawned successfully (pid: 399956)
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399957] [INFO] Booting worker with pid: 399957
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399957] [INFO] ✨ Worker spawned successfully (pid: 399957)
[2025-11-03 21:19:44 +0200] [399959] [INFO] Booting worker with pid: 399959
[2025-11-03 21:19:44 +0200] [399959] [INFO] ✨ Worker spawned successfully (pid: 399959)
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399960] [INFO] Booting worker with pid: 399960
[2025-11-03 21:19:44 +0200] [399960] [INFO] ✨ Worker spawned successfully (pid: 399960)
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399961] [INFO] Booting worker with pid: 399961
[2025-11-03 21:19:44 +0200] [399961] [INFO] ✨ Worker spawned successfully (pid: 399961)
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399962] [INFO] Booting worker with pid: 399962
[2025-11-03 21:19:44 +0200] [399962] [INFO] ✨ Worker spawned successfully (pid: 399962)
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399965] [INFO] Booting worker with pid: 399965
[2025-11-03 21:19:44 +0200] [399965] [INFO] ✨ Worker spawned successfully (pid: 399965)
[2025-11-03 21:19:44 +0200] [399930] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:19:44 +0200] [399970] [INFO] Booting worker with pid: 399970
[2025-11-03 21:19:44 +0200] [399970] [INFO] ✨ Worker spawned successfully (pid: 399970)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup error: mysqldump: Couldn't execute 'SHOW FIELDS FROM `v_daily_quality_summary`': View 'trasabilitate.v_daily_quality_summary' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them (1356)
Backup directory ensured: /srv/quality_app/backups
Backup error: mysqldump: Couldn't execute 'SHOW FIELDS FROM `v_daily_quality_summary`': View 'trasabilitate.v_daily_quality_summary' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them (1356)
[2025-11-03 21:25:07 +0200] [399930] [INFO] Handling signal: term
[2025-11-03 21:25:07 +0200] [399954] [INFO] Worker exiting (pid: 399954)
[2025-11-03 21:25:07 +0200] [399956] [INFO] Worker exiting (pid: 399956)
[2025-11-03 21:25:07 +0200] [399957] [INFO] Worker exiting (pid: 399957)
[2025-11-03 21:25:07 +0200] [399960] [INFO] Worker exiting (pid: 399960)
[2025-11-03 21:25:07 +0200] [399961] [INFO] Worker exiting (pid: 399961)
[2025-11-03 21:25:07 +0200] [399959] [INFO] Worker exiting (pid: 399959)
[2025-11-03 21:25:07 +0200] [399970] [INFO] Worker exiting (pid: 399970)
[2025-11-03 21:25:07 +0200] [399962] [INFO] Worker exiting (pid: 399962)
[2025-11-03 21:25:07 +0200] [399965] [INFO] Worker exiting (pid: 399965)
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399954 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399960 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399959 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399965 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399961 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399957 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399962 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399970 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Worker 399956 exited
[2025-11-03 21:25:08 +0200] [399930] [INFO] Shutting down: Master
[2025-11-03 21:25:08 +0200] [399930] [INFO] ============================================================
[2025-11-03 21:25:08 +0200] [399930] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 21:25:08 +0200] [399930] [INFO] ============================================================
[2025-11-03 21:25:15 +0200] [400115] [INFO] Starting gunicorn 23.0.0
[2025-11-03 21:25:15 +0200] [400115] [INFO] ============================================================
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 21:25:15 +0200] [400115] [INFO] ============================================================
[2025-11-03 21:25:15 +0200] [400115] [INFO] 📍 Configuration:
[2025-11-03 21:25:15 +0200] [400115] [INFO] • Workers: 9
[2025-11-03 21:25:15 +0200] [400115] [INFO] • Worker Class: sync
[2025-11-03 21:25:15 +0200] [400115] [INFO] • Timeout: 120s
[2025-11-03 21:25:15 +0200] [400115] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 21:25:15 +0200] [400115] [INFO] • Preload App: True
[2025-11-03 21:25:15 +0200] [400115] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 21:25:15 +0200] [400115] [INFO] ============================================================
[2025-11-03 21:25:15 +0200] [400115] [INFO] Listening at: http://0.0.0.0:8781 (400115)
[2025-11-03 21:25:15 +0200] [400115] [INFO] Using worker: sync
[2025-11-03 21:25:15 +0200] [400115] [INFO] ============================================================
[2025-11-03 21:25:15 +0200] [400115] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 21:25:15 +0200] [400115] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 21:25:15 +0200] [400115] [INFO] ============================================================
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400141] [INFO] Booting worker with pid: 400141
[2025-11-03 21:25:15 +0200] [400141] [INFO] ✨ Worker spawned successfully (pid: 400141)
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400142] [INFO] Booting worker with pid: 400142
[2025-11-03 21:25:15 +0200] [400142] [INFO] ✨ Worker spawned successfully (pid: 400142)
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400143] [INFO] Booting worker with pid: 400143
[2025-11-03 21:25:15 +0200] [400143] [INFO] ✨ Worker spawned successfully (pid: 400143)
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400144] [INFO] Booting worker with pid: 400144
[2025-11-03 21:25:15 +0200] [400144] [INFO] ✨ Worker spawned successfully (pid: 400144)
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400145] [INFO] Booting worker with pid: 400145
[2025-11-03 21:25:15 +0200] [400145] [INFO] ✨ Worker spawned successfully (pid: 400145)
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400146] [INFO] Booting worker with pid: 400146
[2025-11-03 21:25:15 +0200] [400146] [INFO] ✨ Worker spawned successfully (pid: 400146)
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400149] [INFO] Booting worker with pid: 400149
[2025-11-03 21:25:15 +0200] [400149] [INFO] ✨ Worker spawned successfully (pid: 400149)
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400154] [INFO] Booting worker with pid: 400154
[2025-11-03 21:25:15 +0200] [400154] [INFO] ✨ Worker spawned successfully (pid: 400154)
[2025-11-03 21:25:15 +0200] [400115] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:25:15 +0200] [400155] [INFO] Booting worker with pid: 400155
[2025-11-03 21:25:15 +0200] [400155] [INFO] ✨ Worker spawned successfully (pid: 400155)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup error: mysqldump: Couldn't execute 'SHOW FIELDS FROM `v_daily_quality_summary`': View 'trasabilitate.v_daily_quality_summary' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them (1356)
Backup directory ensured: /srv/quality_app/backups
Backup error: mysqldump: Couldn't execute 'SHOW FIELDS FROM `v_daily_quality_summary`': View 'trasabilitate.v_daily_quality_summary' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them (1356)
[2025-11-03 21:28:44 +0200] [400115] [INFO] Handling signal: term
[2025-11-03 21:28:44 +0200] [400141] [INFO] Worker exiting (pid: 400141)
[2025-11-03 21:28:44 +0200] [400142] [INFO] Worker exiting (pid: 400142)
[2025-11-03 21:28:44 +0200] [400143] [INFO] Worker exiting (pid: 400143)
[2025-11-03 21:28:44 +0200] [400144] [INFO] Worker exiting (pid: 400144)
[2025-11-03 21:28:44 +0200] [400145] [INFO] Worker exiting (pid: 400145)
[2025-11-03 21:28:44 +0200] [400146] [INFO] Worker exiting (pid: 400146)
[2025-11-03 21:28:44 +0200] [400149] [INFO] Worker exiting (pid: 400149)
[2025-11-03 21:28:44 +0200] [400154] [INFO] Worker exiting (pid: 400154)
[2025-11-03 21:28:44 +0200] [400155] [INFO] Worker exiting (pid: 400155)
[2025-11-03 21:28:44 +0200] [400115] [INFO] 👋 Worker 400141 exited
[2025-11-03 21:28:44 +0200] [400115] [INFO] 👋 Worker 400142 exited
[2025-11-03 21:28:44 +0200] [400115] [INFO] 👋 Worker 400144 exited
[2025-11-03 21:28:45 +0200] [400115] [INFO] 👋 Worker 400154 exited
[2025-11-03 21:28:45 +0200] [400115] [INFO] 👋 Worker 400155 exited
[2025-11-03 21:28:45 +0200] [400115] [INFO] 👋 Worker 400146 exited
[2025-11-03 21:28:45 +0200] [400115] [INFO] 👋 Worker 400143 exited
[2025-11-03 21:28:45 +0200] [400115] [INFO] 👋 Worker 400149 exited
[2025-11-03 21:28:45 +0200] [400115] [INFO] 👋 Worker 400145 exited
[2025-11-03 21:28:45 +0200] [400115] [INFO] Shutting down: Master
[2025-11-03 21:28:45 +0200] [400115] [INFO] ============================================================
[2025-11-03 21:28:45 +0200] [400115] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 21:28:45 +0200] [400115] [INFO] ============================================================
[2025-11-03 21:28:51 +0200] [400431] [INFO] Starting gunicorn 23.0.0
[2025-11-03 21:28:51 +0200] [400431] [INFO] ============================================================
[2025-11-03 21:28:51 +0200] [400431] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 21:28:51 +0200] [400431] [INFO] ============================================================
[2025-11-03 21:28:51 +0200] [400431] [INFO] 📍 Configuration:
[2025-11-03 21:28:51 +0200] [400431] [INFO] • Workers: 9
[2025-11-03 21:28:51 +0200] [400431] [INFO] • Worker Class: sync
[2025-11-03 21:28:51 +0200] [400431] [INFO] • Timeout: 120s
[2025-11-03 21:28:51 +0200] [400431] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 21:28:51 +0200] [400431] [INFO] • Preload App: True
[2025-11-03 21:28:51 +0200] [400431] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 21:28:51 +0200] [400431] [INFO] ============================================================
[2025-11-03 21:28:51 +0200] [400431] [INFO] Listening at: http://0.0.0.0:8781 (400431)
[2025-11-03 21:28:51 +0200] [400431] [INFO] Using worker: sync
[2025-11-03 21:28:51 +0200] [400431] [INFO] ============================================================
[2025-11-03 21:28:51 +0200] [400431] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 21:28:51 +0200] [400431] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 21:28:51 +0200] [400431] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 21:28:51 +0200] [400431] [INFO] ============================================================
[2025-11-03 21:28:51 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:51 +0200] [400457] [INFO] Booting worker with pid: 400457
[2025-11-03 21:28:51 +0200] [400457] [INFO] ✨ Worker spawned successfully (pid: 400457)
[2025-11-03 21:28:52 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:52 +0200] [400458] [INFO] Booting worker with pid: 400458
[2025-11-03 21:28:52 +0200] [400458] [INFO] ✨ Worker spawned successfully (pid: 400458)
[2025-11-03 21:28:52 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:52 +0200] [400459] [INFO] Booting worker with pid: 400459
[2025-11-03 21:28:52 +0200] [400459] [INFO] ✨ Worker spawned successfully (pid: 400459)
[2025-11-03 21:28:52 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:52 +0200] [400460] [INFO] Booting worker with pid: 400460
[2025-11-03 21:28:52 +0200] [400460] [INFO] ✨ Worker spawned successfully (pid: 400460)
[2025-11-03 21:28:52 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:52 +0200] [400461] [INFO] Booting worker with pid: 400461
[2025-11-03 21:28:52 +0200] [400461] [INFO] ✨ Worker spawned successfully (pid: 400461)
[2025-11-03 21:28:52 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:52 +0200] [400462] [INFO] Booting worker with pid: 400462
[2025-11-03 21:28:52 +0200] [400462] [INFO] ✨ Worker spawned successfully (pid: 400462)
[2025-11-03 21:28:52 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:52 +0200] [400465] [INFO] Booting worker with pid: 400465
[2025-11-03 21:28:52 +0200] [400465] [INFO] ✨ Worker spawned successfully (pid: 400465)
[2025-11-03 21:28:52 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:52 +0200] [400466] [INFO] Booting worker with pid: 400466
[2025-11-03 21:28:52 +0200] [400466] [INFO] ✨ Worker spawned successfully (pid: 400466)
[2025-11-03 21:28:52 +0200] [400431] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:28:52 +0200] [400471] [INFO] Booting worker with pid: 400471
[2025-11-03 21:28:52 +0200] [400471] [INFO] ✨ Worker spawned successfully (pid: 400471)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-03 21:38:11 +0200] [400431] [INFO] Handling signal: term
[2025-11-03 21:38:11 +0200] [400460] [INFO] Worker exiting (pid: 400460)
[2025-11-03 21:38:11 +0200] [400458] [INFO] Worker exiting (pid: 400458)
[2025-11-03 21:38:11 +0200] [400459] [INFO] Worker exiting (pid: 400459)
[2025-11-03 21:38:11 +0200] [400457] [INFO] Worker exiting (pid: 400457)
[2025-11-03 21:38:11 +0200] [400461] [INFO] Worker exiting (pid: 400461)
[2025-11-03 21:38:11 +0200] [400462] [INFO] Worker exiting (pid: 400462)
[2025-11-03 21:38:11 +0200] [400465] [INFO] Worker exiting (pid: 400465)
[2025-11-03 21:38:11 +0200] [400466] [INFO] Worker exiting (pid: 400466)
[2025-11-03 21:38:11 +0200] [400471] [INFO] Worker exiting (pid: 400471)
[2025-11-03 21:38:11 +0200] [400431] [INFO] 👋 Worker 400458 exited
[2025-11-03 21:38:11 +0200] [400431] [INFO] 👋 Worker 400457 exited
[2025-11-03 21:38:11 +0200] [400431] [INFO] 👋 Worker 400459 exited
[2025-11-03 21:38:11 +0200] [400431] [INFO] 👋 Worker 400460 exited
[2025-11-03 21:38:11 +0200] [400431] [INFO] 👋 Worker 400466 exited
[2025-11-03 21:38:11 +0200] [400431] [INFO] 👋 Worker 400462 exited
[2025-11-03 21:38:12 +0200] [400431] [INFO] 👋 Worker 400465 exited
[2025-11-03 21:38:12 +0200] [400431] [INFO] 👋 Worker 400471 exited
[2025-11-03 21:38:12 +0200] [400431] [INFO] 👋 Worker 400461 exited
[2025-11-03 21:38:12 +0200] [400431] [INFO] Shutting down: Master
[2025-11-03 21:38:12 +0200] [400431] [INFO] ============================================================
[2025-11-03 21:38:12 +0200] [400431] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 21:38:12 +0200] [400431] [INFO] ============================================================
[2025-11-03 21:38:16 +0200] [400657] [INFO] Starting gunicorn 23.0.0
[2025-11-03 21:38:16 +0200] [400657] [INFO] ============================================================
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 21:38:16 +0200] [400657] [INFO] ============================================================
[2025-11-03 21:38:16 +0200] [400657] [INFO] 📍 Configuration:
[2025-11-03 21:38:16 +0200] [400657] [INFO] • Workers: 9
[2025-11-03 21:38:16 +0200] [400657] [INFO] • Worker Class: sync
[2025-11-03 21:38:16 +0200] [400657] [INFO] • Timeout: 120s
[2025-11-03 21:38:16 +0200] [400657] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 21:38:16 +0200] [400657] [INFO] • Preload App: True
[2025-11-03 21:38:16 +0200] [400657] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 21:38:16 +0200] [400657] [INFO] ============================================================
[2025-11-03 21:38:16 +0200] [400657] [INFO] Listening at: http://0.0.0.0:8781 (400657)
[2025-11-03 21:38:16 +0200] [400657] [INFO] Using worker: sync
[2025-11-03 21:38:16 +0200] [400657] [INFO] ============================================================
[2025-11-03 21:38:16 +0200] [400657] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 21:38:16 +0200] [400657] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 21:38:16 +0200] [400657] [INFO] ============================================================
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:16 +0200] [400661] [INFO] Booting worker with pid: 400661
[2025-11-03 21:38:16 +0200] [400661] [INFO] ✨ Worker spawned successfully (pid: 400661)
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:16 +0200] [400665] [INFO] Booting worker with pid: 400665
[2025-11-03 21:38:16 +0200] [400665] [INFO] ✨ Worker spawned successfully (pid: 400665)
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:16 +0200] [400671] [INFO] Booting worker with pid: 400671
[2025-11-03 21:38:16 +0200] [400671] [INFO] ✨ Worker spawned successfully (pid: 400671)
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:16 +0200] [400672] [INFO] Booting worker with pid: 400672
[2025-11-03 21:38:16 +0200] [400672] [INFO] ✨ Worker spawned successfully (pid: 400672)
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:16 +0200] [400673] [INFO] Booting worker with pid: 400673
[2025-11-03 21:38:16 +0200] [400673] [INFO] ✨ Worker spawned successfully (pid: 400673)
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:16 +0200] [400679] [INFO] Booting worker with pid: 400679
[2025-11-03 21:38:16 +0200] [400679] [INFO] ✨ Worker spawned successfully (pid: 400679)
[2025-11-03 21:38:16 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:16 +0200] [400681] [INFO] Booting worker with pid: 400681
[2025-11-03 21:38:16 +0200] [400681] [INFO] ✨ Worker spawned successfully (pid: 400681)
[2025-11-03 21:38:17 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:17 +0200] [400685] [INFO] Booting worker with pid: 400685
[2025-11-03 21:38:17 +0200] [400685] [INFO] ✨ Worker spawned successfully (pid: 400685)
[2025-11-03 21:38:17 +0200] [400657] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:38:17 +0200] [400686] [INFO] Booting worker with pid: 400686
[2025-11-03 21:38:17 +0200] [400686] [INFO] ✨ Worker spawned successfully (pid: 400686)
ERROR:app:Exception on /settings [GET]
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/srv/quality_app/py_app/app/access_control.py", line 52, in decorated_function
return f(*args, **kwargs)
File "/srv/quality_app/py_app/app/routes.py", line 194, in settings
return settings_handler()
File "/srv/quality_app/py_app/app/settings.py", line 220, in settings_handler
return render_template('settings.html', users=users, external_settings=external_settings)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/templating.py", line 150, in render_template
return _render(app, template, context)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/templating.py", line 131, in _render
rv = template.render(context)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/srv/quality_app/py_app/app/templates/settings.html", line 1, in top-level template code
{% extends "base.html" %}
File "/srv/quality_app/py_app/app/templates/base.html", line 63, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "/srv/quality_app/py_app/app/templates/settings.html", line 119, in block 'content'
{% if current_user.role == 'superadmin' %}
^^^^^^^^^^^^^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 490, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'current_user' is undefined
ERROR:app:Exception on /settings [GET]
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/srv/quality_app/py_app/app/access_control.py", line 52, in decorated_function
return f(*args, **kwargs)
File "/srv/quality_app/py_app/app/routes.py", line 194, in settings
return settings_handler()
File "/srv/quality_app/py_app/app/settings.py", line 220, in settings_handler
return render_template('settings.html', users=users, external_settings=external_settings)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/templating.py", line 150, in render_template
return _render(app, template, context)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/templating.py", line 131, in _render
rv = template.render(context)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/srv/quality_app/py_app/app/templates/settings.html", line 1, in top-level template code
{% extends "base.html" %}
File "/srv/quality_app/py_app/app/templates/base.html", line 63, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "/srv/quality_app/py_app/app/templates/settings.html", line 119, in block 'content'
{% if current_user.role == 'superadmin' %}
^^^^^^^^^^^^^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 490, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'current_user' is undefined
ERROR:app:Exception on /settings [GET]
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/srv/quality_app/py_app/app/access_control.py", line 52, in decorated_function
return f(*args, **kwargs)
File "/srv/quality_app/py_app/app/routes.py", line 194, in settings
return settings_handler()
File "/srv/quality_app/py_app/app/settings.py", line 220, in settings_handler
return render_template('settings.html', users=users, external_settings=external_settings)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/templating.py", line 150, in render_template
return _render(app, template, context)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/flask/templating.py", line 131, in _render
rv = template.render(context)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/srv/quality_app/py_app/app/templates/settings.html", line 1, in top-level template code
{% extends "base.html" %}
File "/srv/quality_app/py_app/app/templates/base.html", line 63, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^^^^^
File "/srv/quality_app/py_app/app/templates/settings.html", line 119, in block 'content'
{% if current_user.role == 'superadmin' %}
^^^^^^^^^^^^^^^^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/jinja2/environment.py", line 490, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'current_user' is undefined
[2025-11-03 21:40:44 +0200] [400657] [INFO] Handling signal: term
[2025-11-03 21:40:44 +0200] [400673] [INFO] Worker exiting (pid: 400673)
[2025-11-03 21:40:44 +0200] [400671] [INFO] Worker exiting (pid: 400671)
[2025-11-03 21:40:44 +0200] [400661] [INFO] Worker exiting (pid: 400661)
[2025-11-03 21:40:44 +0200] [400665] [INFO] Worker exiting (pid: 400665)
[2025-11-03 21:40:44 +0200] [400681] [INFO] Worker exiting (pid: 400681)
[2025-11-03 21:40:44 +0200] [400685] [INFO] Worker exiting (pid: 400685)
[2025-11-03 21:40:44 +0200] [400672] [INFO] Worker exiting (pid: 400672)
[2025-11-03 21:40:44 +0200] [400686] [INFO] Worker exiting (pid: 400686)
[2025-11-03 21:40:44 +0200] [400679] [INFO] Worker exiting (pid: 400679)
[2025-11-03 21:40:44 +0200] [400657] [INFO] 👋 Worker 400665 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Worker 400661 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Worker 400671 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Worker 400685 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Worker 400673 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Worker 400679 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Worker 400672 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Worker 400686 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Worker 400681 exited
[2025-11-03 21:40:45 +0200] [400657] [INFO] Shutting down: Master
[2025-11-03 21:40:45 +0200] [400657] [INFO] ============================================================
[2025-11-03 21:40:45 +0200] [400657] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 21:40:45 +0200] [400657] [INFO] ============================================================
[2025-11-03 21:40:49 +0200] [400956] [INFO] Starting gunicorn 23.0.0
[2025-11-03 21:40:49 +0200] [400956] [INFO] ============================================================
[2025-11-03 21:40:49 +0200] [400956] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 21:40:49 +0200] [400956] [INFO] ============================================================
[2025-11-03 21:40:49 +0200] [400956] [INFO] 📍 Configuration:
[2025-11-03 21:40:49 +0200] [400956] [INFO] • Workers: 9
[2025-11-03 21:40:49 +0200] [400956] [INFO] • Worker Class: sync
[2025-11-03 21:40:49 +0200] [400956] [INFO] • Timeout: 120s
[2025-11-03 21:40:49 +0200] [400956] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 21:40:49 +0200] [400956] [INFO] • Preload App: True
[2025-11-03 21:40:49 +0200] [400956] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 21:40:49 +0200] [400956] [INFO] ============================================================
[2025-11-03 21:40:49 +0200] [400956] [INFO] Listening at: http://0.0.0.0:8781 (400956)
[2025-11-03 21:40:49 +0200] [400956] [INFO] Using worker: sync
[2025-11-03 21:40:49 +0200] [400956] [INFO] ============================================================
[2025-11-03 21:40:49 +0200] [400956] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 21:40:49 +0200] [400956] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 21:40:49 +0200] [400956] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 21:40:49 +0200] [400956] [INFO] ============================================================
[2025-11-03 21:40:49 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:49 +0200] [400960] [INFO] Booting worker with pid: 400960
[2025-11-03 21:40:49 +0200] [400960] [INFO] ✨ Worker spawned successfully (pid: 400960)
[2025-11-03 21:40:49 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:49 +0200] [400961] [INFO] Booting worker with pid: 400961
[2025-11-03 21:40:49 +0200] [400961] [INFO] ✨ Worker spawned successfully (pid: 400961)
[2025-11-03 21:40:49 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:49 +0200] [400962] [INFO] Booting worker with pid: 400962
[2025-11-03 21:40:49 +0200] [400962] [INFO] ✨ Worker spawned successfully (pid: 400962)
[2025-11-03 21:40:49 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:49 +0200] [400963] [INFO] Booting worker with pid: 400963
[2025-11-03 21:40:50 +0200] [400963] [INFO] ✨ Worker spawned successfully (pid: 400963)
[2025-11-03 21:40:50 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:50 +0200] [400964] [INFO] Booting worker with pid: 400964
[2025-11-03 21:40:50 +0200] [400964] [INFO] ✨ Worker spawned successfully (pid: 400964)
[2025-11-03 21:40:50 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:50 +0200] [400967] [INFO] Booting worker with pid: 400967
[2025-11-03 21:40:50 +0200] [400967] [INFO] ✨ Worker spawned successfully (pid: 400967)
[2025-11-03 21:40:50 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:50 +0200] [400972] [INFO] Booting worker with pid: 400972
[2025-11-03 21:40:50 +0200] [400972] [INFO] ✨ Worker spawned successfully (pid: 400972)
[2025-11-03 21:40:50 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:50 +0200] [400973] [INFO] Booting worker with pid: 400973
[2025-11-03 21:40:50 +0200] [400973] [INFO] ✨ Worker spawned successfully (pid: 400973)
[2025-11-03 21:40:50 +0200] [400956] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:40:50 +0200] [400974] [INFO] Booting worker with pid: 400974
[2025-11-03 21:40:50 +0200] [400974] [INFO] ✨ Worker spawned successfully (pid: 400974)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-03 21:53:14 +0200] [400956] [INFO] Handling signal: term
[2025-11-03 21:53:14 +0200] [400960] [INFO] Worker exiting (pid: 400960)
[2025-11-03 21:53:14 +0200] [400961] [INFO] Worker exiting (pid: 400961)
[2025-11-03 21:53:14 +0200] [400962] [INFO] Worker exiting (pid: 400962)
[2025-11-03 21:53:14 +0200] [400964] [INFO] Worker exiting (pid: 400964)
[2025-11-03 21:53:14 +0200] [400963] [INFO] Worker exiting (pid: 400963)
[2025-11-03 21:53:14 +0200] [400967] [INFO] Worker exiting (pid: 400967)
[2025-11-03 21:53:14 +0200] [400972] [INFO] Worker exiting (pid: 400972)
[2025-11-03 21:53:14 +0200] [400973] [INFO] Worker exiting (pid: 400973)
[2025-11-03 21:53:14 +0200] [400974] [INFO] Worker exiting (pid: 400974)
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Worker 400961 exited
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Worker 400962 exited
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Worker 400964 exited
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Worker 400974 exited
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Worker 400960 exited
--- Logging error ---
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 223, in run
handler()
~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 256, in handle_term
raise StopIteration
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.13/logging/__init__.py", line 1155, in emit
self.flush()
~~~~~~~~~~^^
File "/usr/lib/python3.13/logging/__init__.py", line 1137, in flush
self.stream.flush()
~~~~~~~~~~~~~~~~~^^
RuntimeError: reentrant call inside <_io.BufferedWriter name='/srv/quality_app/logs/error.log'>
Call stack:
File "/srv/quality_recticel/recticel/bin/gunicorn", line 8, in <module>
sys.exit(run())
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 66, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 235, in run
super().run()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 71, in run
Arbiter(self).run()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 226, in run
self.halt()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 341, in halt
self.stop()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 395, in stop
time.sleep(0.1)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 241, in handle_chld
self.reap_workers()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 559, in reap_workers
self.cfg.child_exit(self, worker)
File "/srv/quality_app/py_app/gunicorn.conf.py", line 167, in child_exit
server.log.info("👋 Worker %s exited", worker.pid)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/glogging.py", line 277, in info
self.error_log.info(msg, *args, **kwargs)
File "/usr/lib/python3.13/logging/__init__.py", line 1520, in info
self._log(INFO, msg, args, **kwargs)
File "/usr/lib/python3.13/logging/__init__.py", line 1665, in _log
self.handle(record)
File "/usr/lib/python3.13/logging/__init__.py", line 1681, in handle
self.callHandlers(record)
File "/usr/lib/python3.13/logging/__init__.py", line 1737, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.13/logging/__init__.py", line 1027, in handle
self.emit(record)
File "/usr/lib/python3.13/logging/__init__.py", line 1265, in emit
StreamHandler.emit(self, record)
File "/usr/lib/python3.13/logging/__init__.py", line 1155, in emit
self.flush()
File "/usr/lib/python3.13/logging/__init__.py", line 1137, in flush
self.stream.flush()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 241, in handle_chld
self.reap_workers()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 559, in reap_workers
self.cfg.child_exit(self, worker)
File "/srv/quality_app/py_app/gunicorn.conf.py", line 167, in child_exit
server.log.info("👋 Worker %s exited", worker.pid)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/glogging.py", line 277, in info
self.error_log.info(msg, *args, **kwargs)
Message: '👋 Worker %s exited'
Arguments: (400972,)
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Worker 400973 exited
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Worker 400967 exited
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Worker 400963 exited
[2025-11-03 21:53:15 +0200] [400956] [INFO] Shutting down: Master
[2025-11-03 21:53:15 +0200] [400956] [INFO] ============================================================
[2025-11-03 21:53:15 +0200] [400956] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 21:53:15 +0200] [400956] [INFO] ============================================================
[2025-11-03 21:53:20 +0200] [401403] [INFO] Starting gunicorn 23.0.0
[2025-11-03 21:53:20 +0200] [401403] [INFO] ============================================================
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 21:53:20 +0200] [401403] [INFO] ============================================================
[2025-11-03 21:53:20 +0200] [401403] [INFO] 📍 Configuration:
[2025-11-03 21:53:20 +0200] [401403] [INFO] • Workers: 9
[2025-11-03 21:53:20 +0200] [401403] [INFO] • Worker Class: sync
[2025-11-03 21:53:20 +0200] [401403] [INFO] • Timeout: 120s
[2025-11-03 21:53:20 +0200] [401403] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 21:53:20 +0200] [401403] [INFO] • Preload App: True
[2025-11-03 21:53:20 +0200] [401403] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 21:53:20 +0200] [401403] [INFO] ============================================================
[2025-11-03 21:53:20 +0200] [401403] [INFO] Listening at: http://0.0.0.0:8781 (401403)
[2025-11-03 21:53:20 +0200] [401403] [INFO] Using worker: sync
[2025-11-03 21:53:20 +0200] [401403] [INFO] ============================================================
[2025-11-03 21:53:20 +0200] [401403] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 21:53:20 +0200] [401403] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 21:53:20 +0200] [401403] [INFO] ============================================================
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401407] [INFO] Booting worker with pid: 401407
[2025-11-03 21:53:20 +0200] [401407] [INFO] ✨ Worker spawned successfully (pid: 401407)
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401408] [INFO] Booting worker with pid: 401408
[2025-11-03 21:53:20 +0200] [401408] [INFO] ✨ Worker spawned successfully (pid: 401408)
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401409] [INFO] Booting worker with pid: 401409
[2025-11-03 21:53:20 +0200] [401409] [INFO] ✨ Worker spawned successfully (pid: 401409)
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401410] [INFO] Booting worker with pid: 401410
[2025-11-03 21:53:20 +0200] [401410] [INFO] ✨ Worker spawned successfully (pid: 401410)
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401413] [INFO] Booting worker with pid: 401413
[2025-11-03 21:53:20 +0200] [401413] [INFO] ✨ Worker spawned successfully (pid: 401413)
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401418] [INFO] Booting worker with pid: 401418
[2025-11-03 21:53:20 +0200] [401418] [INFO] ✨ Worker spawned successfully (pid: 401418)
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401419] [INFO] Booting worker with pid: 401419
[2025-11-03 21:53:20 +0200] [401419] [INFO] ✨ Worker spawned successfully (pid: 401419)
[2025-11-03 21:53:20 +0200] [401420] [INFO] Booting worker with pid: 401420
[2025-11-03 21:53:20 +0200] [401420] [INFO] ✨ Worker spawned successfully (pid: 401420)
[2025-11-03 21:53:20 +0200] [401403] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:53:20 +0200] [401421] [INFO] Booting worker with pid: 401421
[2025-11-03 21:53:20 +0200] [401421] [INFO] ✨ Worker spawned successfully (pid: 401421)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-03 21:58:28 +0200] [401403] [INFO] Handling signal: term
[2025-11-03 21:58:28 +0200] [401408] [INFO] Worker exiting (pid: 401408)
[2025-11-03 21:58:28 +0200] [401407] [INFO] Worker exiting (pid: 401407)
[2025-11-03 21:58:28 +0200] [401409] [INFO] Worker exiting (pid: 401409)
[2025-11-03 21:58:28 +0200] [401410] [INFO] Worker exiting (pid: 401410)
[2025-11-03 21:58:28 +0200] [401413] [INFO] Worker exiting (pid: 401413)
[2025-11-03 21:58:28 +0200] [401418] [INFO] Worker exiting (pid: 401418)
[2025-11-03 21:58:28 +0200] [401419] [INFO] Worker exiting (pid: 401419)
[2025-11-03 21:58:28 +0200] [401420] [INFO] Worker exiting (pid: 401420)
[2025-11-03 21:58:28 +0200] [401421] [INFO] Worker exiting (pid: 401421)
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401407 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401409 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401410 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401413 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401420 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401421 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401418 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401408 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Worker 401419 exited
[2025-11-03 21:58:29 +0200] [401403] [INFO] Shutting down: Master
[2025-11-03 21:58:29 +0200] [401403] [INFO] ============================================================
[2025-11-03 21:58:29 +0200] [401403] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 21:58:29 +0200] [401403] [INFO] ============================================================
[2025-11-03 21:58:34 +0200] [401714] [INFO] Starting gunicorn 23.0.0
[2025-11-03 21:58:34 +0200] [401714] [INFO] ============================================================
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 21:58:34 +0200] [401714] [INFO] ============================================================
[2025-11-03 21:58:34 +0200] [401714] [INFO] 📍 Configuration:
[2025-11-03 21:58:34 +0200] [401714] [INFO] • Workers: 9
[2025-11-03 21:58:34 +0200] [401714] [INFO] • Worker Class: sync
[2025-11-03 21:58:34 +0200] [401714] [INFO] • Timeout: 120s
[2025-11-03 21:58:34 +0200] [401714] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 21:58:34 +0200] [401714] [INFO] • Preload App: True
[2025-11-03 21:58:34 +0200] [401714] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 21:58:34 +0200] [401714] [INFO] ============================================================
[2025-11-03 21:58:34 +0200] [401714] [INFO] Listening at: http://0.0.0.0:8781 (401714)
[2025-11-03 21:58:34 +0200] [401714] [INFO] Using worker: sync
[2025-11-03 21:58:34 +0200] [401714] [INFO] ============================================================
[2025-11-03 21:58:34 +0200] [401714] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 21:58:34 +0200] [401714] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 21:58:34 +0200] [401714] [INFO] ============================================================
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401718] [INFO] Booting worker with pid: 401718
[2025-11-03 21:58:34 +0200] [401718] [INFO] ✨ Worker spawned successfully (pid: 401718)
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401719] [INFO] Booting worker with pid: 401719
[2025-11-03 21:58:34 +0200] [401719] [INFO] ✨ Worker spawned successfully (pid: 401719)
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401720] [INFO] Booting worker with pid: 401720
[2025-11-03 21:58:34 +0200] [401720] [INFO] ✨ Worker spawned successfully (pid: 401720)
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401721] [INFO] Booting worker with pid: 401721
[2025-11-03 21:58:34 +0200] [401721] [INFO] ✨ Worker spawned successfully (pid: 401721)
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401722] [INFO] Booting worker with pid: 401722
[2025-11-03 21:58:34 +0200] [401722] [INFO] ✨ Worker spawned successfully (pid: 401722)
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401723] [INFO] Booting worker with pid: 401723
[2025-11-03 21:58:34 +0200] [401723] [INFO] ✨ Worker spawned successfully (pid: 401723)
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401726] [INFO] Booting worker with pid: 401726
[2025-11-03 21:58:34 +0200] [401726] [INFO] ✨ Worker spawned successfully (pid: 401726)
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401731] [INFO] Booting worker with pid: 401731
[2025-11-03 21:58:34 +0200] [401731] [INFO] ✨ Worker spawned successfully (pid: 401731)
[2025-11-03 21:58:34 +0200] [401714] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 21:58:34 +0200] [401732] [INFO] Booting worker with pid: 401732
[2025-11-03 21:58:34 +0200] [401732] [INFO] ✨ Worker spawned successfully (pid: 401732)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-03 22:03:41 +0200] [401714] [INFO] Handling signal: term
[2025-11-03 22:03:41 +0200] [401718] [INFO] Worker exiting (pid: 401718)
[2025-11-03 22:03:41 +0200] [401720] [INFO] Worker exiting (pid: 401720)
[2025-11-03 22:03:41 +0200] [401719] [INFO] Worker exiting (pid: 401719)
[2025-11-03 22:03:41 +0200] [401721] [INFO] Worker exiting (pid: 401721)
[2025-11-03 22:03:41 +0200] [401722] [INFO] Worker exiting (pid: 401722)
[2025-11-03 22:03:41 +0200] [401723] [INFO] Worker exiting (pid: 401723)
[2025-11-03 22:03:42 +0200] [401726] [INFO] Worker exiting (pid: 401726)
[2025-11-03 22:03:42 +0200] [401731] [INFO] Worker exiting (pid: 401731)
[2025-11-03 22:03:42 +0200] [401732] [INFO] Worker exiting (pid: 401732)
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401718 exited
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401719 exited
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401721 exited
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401723 exited
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401731 exited
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401732 exited
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401722 exited
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401720 exited
[2025-11-03 22:03:42 +0200] [401714] [INFO] 👋 Worker 401726 exited
[2025-11-03 22:03:43 +0200] [401714] [INFO] Shutting down: Master
[2025-11-03 22:03:43 +0200] [401714] [INFO] ============================================================
[2025-11-03 22:03:43 +0200] [401714] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 22:03:43 +0200] [401714] [INFO] ============================================================
[2025-11-03 22:03:47 +0200] [401952] [INFO] Starting gunicorn 23.0.0
[2025-11-03 22:03:47 +0200] [401952] [INFO] ============================================================
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 22:03:47 +0200] [401952] [INFO] ============================================================
[2025-11-03 22:03:47 +0200] [401952] [INFO] 📍 Configuration:
[2025-11-03 22:03:47 +0200] [401952] [INFO] • Workers: 9
[2025-11-03 22:03:47 +0200] [401952] [INFO] • Worker Class: sync
[2025-11-03 22:03:47 +0200] [401952] [INFO] • Timeout: 1800s
[2025-11-03 22:03:47 +0200] [401952] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 22:03:47 +0200] [401952] [INFO] • Preload App: True
[2025-11-03 22:03:47 +0200] [401952] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 22:03:47 +0200] [401952] [INFO] ============================================================
[2025-11-03 22:03:47 +0200] [401952] [INFO] Listening at: http://0.0.0.0:8781 (401952)
[2025-11-03 22:03:47 +0200] [401952] [INFO] Using worker: sync
[2025-11-03 22:03:47 +0200] [401952] [INFO] ============================================================
[2025-11-03 22:03:47 +0200] [401952] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 22:03:47 +0200] [401952] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 22:03:47 +0200] [401952] [INFO] ============================================================
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401956] [INFO] Booting worker with pid: 401956
[2025-11-03 22:03:47 +0200] [401956] [INFO] ✨ Worker spawned successfully (pid: 401956)
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401957] [INFO] Booting worker with pid: 401957
[2025-11-03 22:03:47 +0200] [401957] [INFO] ✨ Worker spawned successfully (pid: 401957)
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401958] [INFO] Booting worker with pid: 401958
[2025-11-03 22:03:47 +0200] [401958] [INFO] ✨ Worker spawned successfully (pid: 401958)
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401961] [INFO] Booting worker with pid: 401961
[2025-11-03 22:03:47 +0200] [401961] [INFO] ✨ Worker spawned successfully (pid: 401961)
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401965] [INFO] Booting worker with pid: 401965
[2025-11-03 22:03:47 +0200] [401965] [INFO] ✨ Worker spawned successfully (pid: 401965)
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401967] [INFO] Booting worker with pid: 401967
[2025-11-03 22:03:47 +0200] [401967] [INFO] ✨ Worker spawned successfully (pid: 401967)
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401968] [INFO] Booting worker with pid: 401968
[2025-11-03 22:03:47 +0200] [401968] [INFO] ✨ Worker spawned successfully (pid: 401968)
[2025-11-03 22:03:47 +0200] [401969] [INFO] Booting worker with pid: 401969
[2025-11-03 22:03:47 +0200] [401969] [INFO] ✨ Worker spawned successfully (pid: 401969)
[2025-11-03 22:03:47 +0200] [401952] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:03:47 +0200] [401970] [INFO] Booting worker with pid: 401970
[2025-11-03 22:03:47 +0200] [401970] [INFO] ✨ Worker spawned successfully (pid: 401970)
[2025-11-03 22:10:03 +0200] [401952] [INFO] Handling signal: term
[2025-11-03 22:10:03 +0200] [401961] [INFO] Worker exiting (pid: 401961)
[2025-11-03 22:10:03 +0200] [401957] [INFO] Worker exiting (pid: 401957)
[2025-11-03 22:10:03 +0200] [401967] [INFO] Worker exiting (pid: 401967)
[2025-11-03 22:10:03 +0200] [401958] [INFO] Worker exiting (pid: 401958)
[2025-11-03 22:10:03 +0200] [401956] [INFO] Worker exiting (pid: 401956)
[2025-11-03 22:10:03 +0200] [401970] [INFO] Worker exiting (pid: 401970)
[2025-11-03 22:10:03 +0200] [401965] [INFO] Worker exiting (pid: 401965)
[2025-11-03 22:10:03 +0200] [401968] [INFO] Worker exiting (pid: 401968)
[2025-11-03 22:10:03 +0200] [401969] [INFO] Worker exiting (pid: 401969)
[2025-11-03 22:10:03 +0200] [401952] [INFO] 👋 Worker 401957 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Worker 401969 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Worker 401965 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Worker 401967 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Worker 401961 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Worker 401970 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Worker 401968 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Worker 401958 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Worker 401956 exited
[2025-11-03 22:10:04 +0200] [401952] [INFO] Shutting down: Master
[2025-11-03 22:10:04 +0200] [401952] [INFO] ============================================================
[2025-11-03 22:10:04 +0200] [401952] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-03 22:10:04 +0200] [401952] [INFO] ============================================================
[2025-11-03 22:10:08 +0200] [402172] [INFO] Starting gunicorn 23.0.0
[2025-11-03 22:10:08 +0200] [402172] [INFO] ============================================================
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-03 22:10:08 +0200] [402172] [INFO] ============================================================
[2025-11-03 22:10:08 +0200] [402172] [INFO] 📍 Configuration:
[2025-11-03 22:10:08 +0200] [402172] [INFO] • Workers: 9
[2025-11-03 22:10:08 +0200] [402172] [INFO] • Worker Class: sync
[2025-11-03 22:10:08 +0200] [402172] [INFO] • Timeout: 1800s
[2025-11-03 22:10:08 +0200] [402172] [INFO] • Bind: 0.0.0.0:8781
[2025-11-03 22:10:08 +0200] [402172] [INFO] • Preload App: True
[2025-11-03 22:10:08 +0200] [402172] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-03 22:10:08 +0200] [402172] [INFO] ============================================================
[2025-11-03 22:10:08 +0200] [402172] [INFO] Listening at: http://0.0.0.0:8781 (402172)
[2025-11-03 22:10:08 +0200] [402172] [INFO] Using worker: sync
[2025-11-03 22:10:08 +0200] [402172] [INFO] ============================================================
[2025-11-03 22:10:08 +0200] [402172] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-03 22:10:08 +0200] [402172] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-03 22:10:08 +0200] [402172] [INFO] ============================================================
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:08 +0200] [402176] [INFO] Booting worker with pid: 402176
[2025-11-03 22:10:08 +0200] [402176] [INFO] ✨ Worker spawned successfully (pid: 402176)
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:08 +0200] [402177] [INFO] Booting worker with pid: 402177
[2025-11-03 22:10:08 +0200] [402177] [INFO] ✨ Worker spawned successfully (pid: 402177)
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:08 +0200] [402178] [INFO] Booting worker with pid: 402178
[2025-11-03 22:10:08 +0200] [402178] [INFO] ✨ Worker spawned successfully (pid: 402178)
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:08 +0200] [402179] [INFO] Booting worker with pid: 402179
[2025-11-03 22:10:08 +0200] [402179] [INFO] ✨ Worker spawned successfully (pid: 402179)
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:08 +0200] [402180] [INFO] Booting worker with pid: 402180
[2025-11-03 22:10:08 +0200] [402180] [INFO] ✨ Worker spawned successfully (pid: 402180)
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:08 +0200] [402181] [INFO] Booting worker with pid: 402181
[2025-11-03 22:10:08 +0200] [402181] [INFO] ✨ Worker spawned successfully (pid: 402181)
[2025-11-03 22:10:08 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:08 +0200] [402182] [INFO] Booting worker with pid: 402182
[2025-11-03 22:10:08 +0200] [402182] [INFO] ✨ Worker spawned successfully (pid: 402182)
[2025-11-03 22:10:09 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:09 +0200] [402189] [INFO] Booting worker with pid: 402189
[2025-11-03 22:10:09 +0200] [402189] [INFO] ✨ Worker spawned successfully (pid: 402189)
[2025-11-03 22:10:09 +0200] [402172] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-03 22:10:09 +0200] [402190] [INFO] Booting worker with pid: 402190
[2025-11-03 22:10:09 +0200] [402190] [INFO] ✨ Worker spawned successfully (pid: 402190)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Session user: superadmin superadmin
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', 'quality,warehouse,labels,daily_mirror')
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels', 'daily_mirror']
Session user: superadmin superadmin
Session user: None None
All form data received: {'username': 'Ciprian', 'password': 'ciprian@123'}
Raw form input: 'Ciprian' 'ciprian@123'
External DB query result (with modules): ('Ciprian', 'ciprian@123', 'manager', '["quality", "warehouse", "labels"]')
Logged in as: Ciprian manager modules: ['quality', 'warehouse', 'labels']
Session user: Ciprian manager
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Session user: Ciprian manager
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Session user: None None
All form data received: {'username': 'Ciprian', 'password': 'ciprian@123'}
Raw form input: 'Ciprian' 'ciprian@123'
External DB query result (with modules): ('Ciprian', 'ciprian@123', 'manager', '["quality", "warehouse", "labels"]')
Logged in as: Ciprian manager modules: ['quality', 'warehouse', 'labels']
Session user: Ciprian manager
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Session user: Ciprian manager
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
All form data received: {'username': 'Ciprian', 'password': 'ciprian@123'}
Raw form input: 'Ciprian' 'ciprian@123'
External DB query result (with modules): ('Ciprian', 'ciprian@123', 'manager', '["quality", "warehouse", "labels"]')
Logged in as: Ciprian manager modules: ['quality', 'warehouse', 'labels']
Session user: Ciprian manager
DEBUG: Total FG records in scanfg_orders table: 90
DEBUG: Fetched 90 FG rows for report 5 (all rows)
FG Data being returned: {'headers': ['Id', 'Operator Code', 'CP Base Code', 'CP Full Code', 'OC1 Code', 'OC2 Code', 'Quality Code', 'Date', 'Time', 'Approved Quantity', 'Rejected Quantity'], 'rows': [[90, 'OP01', 'CP00001429', 'CP00001429-32', 'OC19', 'OC00', 0, '03/11/2025', '17:59:54', 10, 1], [89, 'OP01', 'CP00001429', 'CP00001429-24', 'OC27', 'OC00', 0, '03/11/2025', '17:58:00', 10, 1], [88, 'OP01', 'CP00001429', 'CP00001429-23', 'OC19', 'OC00', 0, '03/11/2025', '17:57:15', 10, 1], [87, 'OP01', 'CP00001429', 'CP00001429-22', 'OC19', 'OC00', 0, '03/11/2025', '17:56:55', 10, 1], [86, 'OP01', 'CP00001429', 'CP00001429-21', 'OC01', 'OC00', 0, '03/11/2025', '17:56:04', 10, 1], [85, 'OP01', 'CP00001429', 'CP00001429-1', 'OC11', 'OC04', 0, '03/11/2025', '17:50:37', 10, 1], [84, 'OP01', 'CP00001429', 'CP00001429-21', 'OC04', 'OC00', 0, '03/11/2025', '17:44:01', 10, 1], [83, 'OP01', 'CP00001429', 'CP00001429-20', 'OC05', 'OC00', 1, '03/11/2025', '17:43:35', 10, 1], [82, 'OP01', 'CP00001429', 'CP00001429-1', 'OC09', 'OC00', 0, '03/11/2025', '17:43:16', 10, 1], [81, 'OP01', 'CP00001429', 'CP00001429-18', 'OC19', 'OC00', 0, '03/11/2025', '17:42:53', 10, 1], [80, 'OP01', 'CP00001429', 'CP00001429-17', 'OC11', 'OC00', 0, '03/11/2025', '17:42:35', 10, 1], [79, 'OP01', 'CP00001432', 'CP00001432-30', 'OC05', 'OC00', 0, '03/11/2025', '16:00:06', 21, 2], [78, 'OP01', 'CP00001432', 'CP00001432-29', 'OC19', 'OC00', 0, '03/11/2025', '15:59:52', 21, 2], [77, 'OP01', 'CP00001432', 'CP00001432-28', 'OC04', 'OC00', 0, '03/11/2025', '15:59:37', 21, 2], [76, 'OP01', 'CP00001432', 'CP00001432-26', 'OC05', 'OC00', 0, '03/11/2025', '15:59:25', 21, 2], [75, 'OP01', 'CP00001432', 'CP00001432-25', 'OC11', 'OC00', 0, '03/11/2025', '15:59:06', 21, 2], [74, 'OP01', 'CP00001432', 'CP00001432-23', 'OC19', 'OC00', 0, '03/11/2025', '15:58:51', 21, 2], [73, 'OP01', 'CP00001432', 'CP00001432-23', 'OC05', 'OC00', 0, '03/11/2025', '15:58:37', 21, 2], [72, 'OP01', 'CP00001432', 'CP00001432-21', 'OC26', 'OC00', 0, '03/11/2025', '15:58:19', 21, 2], [71, 'OP01', 'CP00001432', 'CP00001432-20', 'OC19', 'OC00', 26, '03/11/2025', '15:58:04', 21, 2], [70, 'OP01', 'CP00001432', 'CP00001432-19', 'OC09', 'OC00', 1, '03/11/2025', '15:57:36', 21, 2], [69, 'OP01', 'CP00001432', 'CP00001432-18U', 'OC26', 'OC00', 0, '03/11/2025', '15:56:19', 21, 2], [68, 'OP01', 'CP00001432', 'CP00001432-16', 'OC19', 'OC04', 0, '03/11/2025', '15:56:02', 21, 2], [67, 'OP01', 'CP00001432', 'CP00001432-14', 'OC19', 'OC00', 0, '03/11/2025', '15:55:45', 21, 2], [66, 'OP01', 'CP00001432', 'CP00001432-13', 'OC11', 'OC00', 0, '03/11/2025', '15:55:33', 21, 2], [65, 'OP01', 'CP00001432', 'CP00001432-11', 'OC11', 'OC00', 0, '03/11/2025', '15:55:20', 21, 2], [64, 'OP01', 'CP00001432', 'CP00001432-10', 'OC26', 'OC00', 0, '03/11/2025', '15:55:04', 21, 2], [63, 'OP01', 'CP00001432', 'CP00001432-8', 'OC19', 'OC00', 0, '03/11/2025', '15:54:46', 21, 2], [62, 'OP01', 'CP00001432', 'CP00001432-7', 'OC04', 'OC00', 0, '03/11/2025', '15:54:28', 21, 2], [61, 'OP01', 'CP00001432', 'CP00001432-6', 'OC19', 'OC00', 0, '03/11/2025', '15:54:08', 21, 2], [60, 'OP01', 'CP00001432', 'CP00001432-5', 'OC11', 'OC00', 0, '03/11/2025', '15:53:52', 21, 2], [59, 'OP01', 'CP00001432', 'CP00001432-4', 'OC09', 'OC00', 0, '03/11/2025', '15:53:36', 21, 2], [58, 'OP01', 'CP00001432', 'CP00001432-2', 'OC11', 'OC00', 0, '03/11/2025', '15:53:21', 21, 2], [57, 'OP01', 'CP00001432', 'CP00001432-1', 'OC05', 'OC00', 0, '03/11/2025', '15:53:05', 21, 2], [56, 'OP01', 'CP00001421', 'CP00001421-23', 'OC11', 'OC00', 2, '03/11/2025', '15:52:44', 15, 3], [55, 'OP01', 'CP00001421', 'CP00001421-21', 'OC19', 'OC00', 0, '03/11/2025', '15:52:16', 15, 3], [54, 'OP01', 'CP00001421', 'CP00001421-20', 'OC05', 'OC00', 0, '03/11/2025', '15:51:56', 15, 3], [53, 'OP01', 'CP00001421', 'CP00001421-18', 'OC09', 'OC00', 26, '03/11/2025', '15:51:31', 15, 3], [52, 'OP01', 'CP00001421', 'CP00001421-16', 'OC26', 'OC00', 0, '03/11/2025', '15:51:04', 15, 3], [51, 'OP01', 'CP00001421', 'CP00001421-14', 'OC05', 'OC00', 0, '03/11/2025', '15:50:46', 15, 3], [50, 'OP01', 'CP00001421', 'CP00001421-12', 'OC11', 'OC00', 0, '03/11/2025', '15:50:27', 15, 3], [49, 'OP01', 'CP00001421', 'CP00001421-11', 'OC19', 'OC00', 0, '03/11/2025', '15:50:10', 15, 3], [48, 'OP01', 'CP00001421', 'CP00001421-10', 'OC11', 'OC00', 0, '03/11/2025', '15:49:50', 15, 3], [47, 'OP01', 'CP00001421', 'CP00001421-9', 'OC09', 'OC00', 0, '03/11/2025', '15:49:34', 15, 3], [46, 'OP01', 'CP00001421', 'CP00001421-8', 'OC05', 'OC00', 0, '03/11/2025', '15:49:06', 15, 3], [45, 'OP01', 'CP00001421', 'CP00001421-7', 'OC11', 'OC00', 0, '03/11/2025', '15:48:45', 15, 3], [44, 'OP01', 'CP00001421', 'CP00001421-6', 'OC04', 'OC00', 0, '03/11/2025', '15:48:19', 15, 3], [43, 'OP01', 'CP00001421', 'CP00001421-5', 'OC26', 'OC00', 0, '03/11/2025', '15:48:01', 15, 3], [42, 'OP01', 'CP00001421', 'CP00001421-4', 'OC05', 'OC00', 1, '03/11/2025', '15:47:37', 15, 3], [41, 'OP01', 'CP00001421', 'CP00001421-3', 'OC09', 'OC19', 0, '03/11/2025', '15:46:43', 15, 3], [40, 'OP01', 'CP00001421', 'CP00001421-2', 'OC04', 'OC04', 0, '03/11/2025', '15:46:03', 15, 3], [39, 'OP01', 'CP00001421', 'CP00001421-1', 'OC26', 'OC04', 0, '03/11/2025', '13:52:26', 15, 3], [38, 'OP01', 'CP00001596', 'CP00001596-1', 'OC00', 'OC00', 0, '03/11/2025', '12:04:38', 1, 0], [37, 'OP01', 'CP00001702', 'CP00001702-1', 'OC01', 'OC00', 25, '03/11/2025', '11:55:22', 0, 1], [36, 'OP01', 'CP00001593', 'CP00001593-25', 'OC11', 'OC04', 0, '16/10/2025', '09:04:38', 12, 13], [35, 'OP01', 'CP00001593', 'CP00001593-24', 'OC05', 'OC26', 6, '16/10/2025', '09:04:29', 12, 13], [34, 'OP01', 'CP00001593', 'CP00001593-23', 'OC05', 'OC04', 0, '16/10/2025', '09:04:22', 12, 13], [33, 'OP01', 'CP00001593', 'CP00001593-22', 'OC05', 'OC26', 0, '16/10/2025', '09:04:15', 12, 13], [32, 'OP01', 'CP00001593', 'CP00001593-22', 'OC19', 'OC11', 0, '16/10/2025', '09:04:09', 12, 13], [31, 'OP01', 'CP00001593', 'CP00001593-20', 'OC09', 'OC04', 0, '16/10/2025', '09:04:01', 12, 13], [30, 'OP01', 'CP00001593', 'CP00001593-20', 'OC11', 'OC04', 24, '16/10/2025', '09:03:55', 12, 13], [29, 'OP01', 'CP00001593', 'CP00001593-18', 'OC26', 'OC19', 6, '16/10/2025', '09:03:47', 12, 13], [28, 'OP01', 'CP00001593', 'CP00001593-17', 'OC04', 'OC09', 0, '16/10/2025', '09:03:36', 12, 13], [27, 'OP01', 'CP00001593', 'CP00001593-16', 'OC26', 'OC19', 18, '16/10/2025', '09:03:29', 12, 13], [26, 'OP01', 'CP00001593', 'CP00001593-15', 'OC11', 'OC04', 0, '16/10/2025', '09:03:22', 12, 13], [25, 'OP01', 'CP00001593', 'CP00001593-15', 'OC11', 'OC19', 25, '16/10/2025', '09:03:14', 12, 13], [24, 'OP01', 'CP00001593', 'CP00001593-13', 'OC05', 'OC26', 0, '16/10/2025', '09:03:08', 12, 13], [23, 'OP01', 'CP00001593', 'CP00001593-12', 'OC26', 'OC19', 0, '16/10/2025', '09:03:02', 12, 13], [22, 'OP01', 'CP00001593', 'CP00001593-11', 'OC26', 'OC19', 1, '16/10/2025', '09:02:55', 12, 13], [21, 'OP01', 'CP00001593', 'CP00001593-10', 'OC26', 'OC19', 18, '16/10/2025', '09:02:49', 12, 13], [20, 'OP01', 'CP00001593', 'CP00001593-9', 'OC11', 'OC04', 8, '16/10/2025', '09:02:40', 12, 13], [19, 'OP01', 'CP00001593', 'CP00001593-8', 'OC05', 'OC26', 0, '16/10/2025', '09:02:32', 12, 13], [18, 'OP01', 'CP00001593', 'CP00001593-7', 'OC09', 'OC04', 1, '16/10/2025', '09:02:26', 12, 13], [17, 'OP01', 'CP00001593', 'CP00001593-6', 'OC11', 'OC19', 22, '16/10/2025', '09:02:18', 12, 13], [16, 'OP01', 'CP00001593', 'CP00001593-5', 'OC11', 'OC19', 0, '16/10/2025', '09:02:12', 12, 13], [15, 'OP01', 'CP00001593', 'CP00001593-4', 'OC09', 'OC05', 13, '16/10/2025', '09:02:03', 12, 13], [14, 'OP01', 'CP00001593', 'CP00001593-3', 'OC26', 'OC05', 0, '16/10/2025', '09:01:55', 12, 13], [13, 'OP01', 'CP00001593', 'CP00001593-2', 'OC04', 'OC09', 1, '16/10/2025', '09:01:46', 12, 13], [12, 'OP01', 'CP00001593', 'CP00001593-1', 'OC26', 'OC19', 20, '16/10/2025', '09:01:37', 12, 13], [11, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 0, '16/10/2025', '08:52:58', 4, 6], [10, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 0, '15/10/2025', '15:50:01', 4, 6], [9, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 20, '15/10/2025', '15:49:55', 4, 6], [8, 'OP01', 'CP00001594', 'CP00001594-9', 'OC26', 'OC19', 21, '15/10/2025', '15:49:47', 4, 6], [7, 'OP01', 'CP00001594', 'CP00001594-4', 'OC11', 'OC04', 0, '15/10/2025', '15:49:37', 4, 6], [6, 'OP01', 'CP00001594', 'CP00001594-25', 'OC19', 'OC26', 16, '15/10/2025', '15:49:20', 4, 6], [5, 'OP01', 'CP00001594', 'CP00001594-6', 'OC05', 'OC11', 25, '15/10/2025', '15:48:25', 4, 6], [4, 'OP01', 'CP00001594', 'CP00001594-14', 'OC26', 'OC11', 0, '15/10/2025', '15:48:02', 4, 6], [3, 'OP01', 'CP00001594', 'CP00001594-3', 'OC04', 'OC09', 1, '15/10/2025', '15:47:43', 4, 6], [2, 'OP01', 'CP00001594', 'CP00001594-2', 'OC05', 'OC19', 21, '15/10/2025', '15:46:57', 4, 6], [1, 'OP01', 'CP00001386', 'CP00001386-29', 'OC19', 'OC26', 41, '15/10/2025', '15:39:47', 0, 1]]}
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
All form data received: {'username': 'superadmin', 'password': 'superadmin123'}
Raw form input: 'superadmin' 'superadmin123'
External DB query result (with modules): None
Login failed for: superadmin superadmin123
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', 'quality,warehouse,labels,daily_mirror')
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels', 'daily_mirror']
Session user: superadmin superadmin
DEBUG: Total FG records in scanfg_orders table: 90
DEBUG: Fetched 90 FG rows for report 5 (all rows)
FG Data being returned: {'headers': ['Id', 'Operator Code', 'CP Base Code', 'CP Full Code', 'OC1 Code', 'OC2 Code', 'Quality Code', 'Date', 'Time', 'Approved Quantity', 'Rejected Quantity'], 'rows': [[90, 'OP01', 'CP00001429', 'CP00001429-32', 'OC19', 'OC00', 0, '03/11/2025', '17:59:54', 10, 1], [89, 'OP01', 'CP00001429', 'CP00001429-24', 'OC27', 'OC00', 0, '03/11/2025', '17:58:00', 10, 1], [88, 'OP01', 'CP00001429', 'CP00001429-23', 'OC19', 'OC00', 0, '03/11/2025', '17:57:15', 10, 1], [87, 'OP01', 'CP00001429', 'CP00001429-22', 'OC19', 'OC00', 0, '03/11/2025', '17:56:55', 10, 1], [86, 'OP01', 'CP00001429', 'CP00001429-21', 'OC01', 'OC00', 0, '03/11/2025', '17:56:04', 10, 1], [85, 'OP01', 'CP00001429', 'CP00001429-1', 'OC11', 'OC04', 0, '03/11/2025', '17:50:37', 10, 1], [84, 'OP01', 'CP00001429', 'CP00001429-21', 'OC04', 'OC00', 0, '03/11/2025', '17:44:01', 10, 1], [83, 'OP01', 'CP00001429', 'CP00001429-20', 'OC05', 'OC00', 1, '03/11/2025', '17:43:35', 10, 1], [82, 'OP01', 'CP00001429', 'CP00001429-1', 'OC09', 'OC00', 0, '03/11/2025', '17:43:16', 10, 1], [81, 'OP01', 'CP00001429', 'CP00001429-18', 'OC19', 'OC00', 0, '03/11/2025', '17:42:53', 10, 1], [80, 'OP01', 'CP00001429', 'CP00001429-17', 'OC11', 'OC00', 0, '03/11/2025', '17:42:35', 10, 1], [79, 'OP01', 'CP00001432', 'CP00001432-30', 'OC05', 'OC00', 0, '03/11/2025', '16:00:06', 21, 2], [78, 'OP01', 'CP00001432', 'CP00001432-29', 'OC19', 'OC00', 0, '03/11/2025', '15:59:52', 21, 2], [77, 'OP01', 'CP00001432', 'CP00001432-28', 'OC04', 'OC00', 0, '03/11/2025', '15:59:37', 21, 2], [76, 'OP01', 'CP00001432', 'CP00001432-26', 'OC05', 'OC00', 0, '03/11/2025', '15:59:25', 21, 2], [75, 'OP01', 'CP00001432', 'CP00001432-25', 'OC11', 'OC00', 0, '03/11/2025', '15:59:06', 21, 2], [74, 'OP01', 'CP00001432', 'CP00001432-23', 'OC19', 'OC00', 0, '03/11/2025', '15:58:51', 21, 2], [73, 'OP01', 'CP00001432', 'CP00001432-23', 'OC05', 'OC00', 0, '03/11/2025', '15:58:37', 21, 2], [72, 'OP01', 'CP00001432', 'CP00001432-21', 'OC26', 'OC00', 0, '03/11/2025', '15:58:19', 21, 2], [71, 'OP01', 'CP00001432', 'CP00001432-20', 'OC19', 'OC00', 26, '03/11/2025', '15:58:04', 21, 2], [70, 'OP01', 'CP00001432', 'CP00001432-19', 'OC09', 'OC00', 1, '03/11/2025', '15:57:36', 21, 2], [69, 'OP01', 'CP00001432', 'CP00001432-18U', 'OC26', 'OC00', 0, '03/11/2025', '15:56:19', 21, 2], [68, 'OP01', 'CP00001432', 'CP00001432-16', 'OC19', 'OC04', 0, '03/11/2025', '15:56:02', 21, 2], [67, 'OP01', 'CP00001432', 'CP00001432-14', 'OC19', 'OC00', 0, '03/11/2025', '15:55:45', 21, 2], [66, 'OP01', 'CP00001432', 'CP00001432-13', 'OC11', 'OC00', 0, '03/11/2025', '15:55:33', 21, 2], [65, 'OP01', 'CP00001432', 'CP00001432-11', 'OC11', 'OC00', 0, '03/11/2025', '15:55:20', 21, 2], [64, 'OP01', 'CP00001432', 'CP00001432-10', 'OC26', 'OC00', 0, '03/11/2025', '15:55:04', 21, 2], [63, 'OP01', 'CP00001432', 'CP00001432-8', 'OC19', 'OC00', 0, '03/11/2025', '15:54:46', 21, 2], [62, 'OP01', 'CP00001432', 'CP00001432-7', 'OC04', 'OC00', 0, '03/11/2025', '15:54:28', 21, 2], [61, 'OP01', 'CP00001432', 'CP00001432-6', 'OC19', 'OC00', 0, '03/11/2025', '15:54:08', 21, 2], [60, 'OP01', 'CP00001432', 'CP00001432-5', 'OC11', 'OC00', 0, '03/11/2025', '15:53:52', 21, 2], [59, 'OP01', 'CP00001432', 'CP00001432-4', 'OC09', 'OC00', 0, '03/11/2025', '15:53:36', 21, 2], [58, 'OP01', 'CP00001432', 'CP00001432-2', 'OC11', 'OC00', 0, '03/11/2025', '15:53:21', 21, 2], [57, 'OP01', 'CP00001432', 'CP00001432-1', 'OC05', 'OC00', 0, '03/11/2025', '15:53:05', 21, 2], [56, 'OP01', 'CP00001421', 'CP00001421-23', 'OC11', 'OC00', 2, '03/11/2025', '15:52:44', 15, 3], [55, 'OP01', 'CP00001421', 'CP00001421-21', 'OC19', 'OC00', 0, '03/11/2025', '15:52:16', 15, 3], [54, 'OP01', 'CP00001421', 'CP00001421-20', 'OC05', 'OC00', 0, '03/11/2025', '15:51:56', 15, 3], [53, 'OP01', 'CP00001421', 'CP00001421-18', 'OC09', 'OC00', 26, '03/11/2025', '15:51:31', 15, 3], [52, 'OP01', 'CP00001421', 'CP00001421-16', 'OC26', 'OC00', 0, '03/11/2025', '15:51:04', 15, 3], [51, 'OP01', 'CP00001421', 'CP00001421-14', 'OC05', 'OC00', 0, '03/11/2025', '15:50:46', 15, 3], [50, 'OP01', 'CP00001421', 'CP00001421-12', 'OC11', 'OC00', 0, '03/11/2025', '15:50:27', 15, 3], [49, 'OP01', 'CP00001421', 'CP00001421-11', 'OC19', 'OC00', 0, '03/11/2025', '15:50:10', 15, 3], [48, 'OP01', 'CP00001421', 'CP00001421-10', 'OC11', 'OC00', 0, '03/11/2025', '15:49:50', 15, 3], [47, 'OP01', 'CP00001421', 'CP00001421-9', 'OC09', 'OC00', 0, '03/11/2025', '15:49:34', 15, 3], [46, 'OP01', 'CP00001421', 'CP00001421-8', 'OC05', 'OC00', 0, '03/11/2025', '15:49:06', 15, 3], [45, 'OP01', 'CP00001421', 'CP00001421-7', 'OC11', 'OC00', 0, '03/11/2025', '15:48:45', 15, 3], [44, 'OP01', 'CP00001421', 'CP00001421-6', 'OC04', 'OC00', 0, '03/11/2025', '15:48:19', 15, 3], [43, 'OP01', 'CP00001421', 'CP00001421-5', 'OC26', 'OC00', 0, '03/11/2025', '15:48:01', 15, 3], [42, 'OP01', 'CP00001421', 'CP00001421-4', 'OC05', 'OC00', 1, '03/11/2025', '15:47:37', 15, 3], [41, 'OP01', 'CP00001421', 'CP00001421-3', 'OC09', 'OC19', 0, '03/11/2025', '15:46:43', 15, 3], [40, 'OP01', 'CP00001421', 'CP00001421-2', 'OC04', 'OC04', 0, '03/11/2025', '15:46:03', 15, 3], [39, 'OP01', 'CP00001421', 'CP00001421-1', 'OC26', 'OC04', 0, '03/11/2025', '13:52:26', 15, 3], [38, 'OP01', 'CP00001596', 'CP00001596-1', 'OC00', 'OC00', 0, '03/11/2025', '12:04:38', 1, 0], [37, 'OP01', 'CP00001702', 'CP00001702-1', 'OC01', 'OC00', 25, '03/11/2025', '11:55:22', 0, 1], [36, 'OP01', 'CP00001593', 'CP00001593-25', 'OC11', 'OC04', 0, '16/10/2025', '09:04:38', 12, 13], [35, 'OP01', 'CP00001593', 'CP00001593-24', 'OC05', 'OC26', 6, '16/10/2025', '09:04:29', 12, 13], [34, 'OP01', 'CP00001593', 'CP00001593-23', 'OC05', 'OC04', 0, '16/10/2025', '09:04:22', 12, 13], [33, 'OP01', 'CP00001593', 'CP00001593-22', 'OC05', 'OC26', 0, '16/10/2025', '09:04:15', 12, 13], [32, 'OP01', 'CP00001593', 'CP00001593-22', 'OC19', 'OC11', 0, '16/10/2025', '09:04:09', 12, 13], [31, 'OP01', 'CP00001593', 'CP00001593-20', 'OC09', 'OC04', 0, '16/10/2025', '09:04:01', 12, 13], [30, 'OP01', 'CP00001593', 'CP00001593-20', 'OC11', 'OC04', 24, '16/10/2025', '09:03:55', 12, 13], [29, 'OP01', 'CP00001593', 'CP00001593-18', 'OC26', 'OC19', 6, '16/10/2025', '09:03:47', 12, 13], [28, 'OP01', 'CP00001593', 'CP00001593-17', 'OC04', 'OC09', 0, '16/10/2025', '09:03:36', 12, 13], [27, 'OP01', 'CP00001593', 'CP00001593-16', 'OC26', 'OC19', 18, '16/10/2025', '09:03:29', 12, 13], [26, 'OP01', 'CP00001593', 'CP00001593-15', 'OC11', 'OC04', 0, '16/10/2025', '09:03:22', 12, 13], [25, 'OP01', 'CP00001593', 'CP00001593-15', 'OC11', 'OC19', 25, '16/10/2025', '09:03:14', 12, 13], [24, 'OP01', 'CP00001593', 'CP00001593-13', 'OC05', 'OC26', 0, '16/10/2025', '09:03:08', 12, 13], [23, 'OP01', 'CP00001593', 'CP00001593-12', 'OC26', 'OC19', 0, '16/10/2025', '09:03:02', 12, 13], [22, 'OP01', 'CP00001593', 'CP00001593-11', 'OC26', 'OC19', 1, '16/10/2025', '09:02:55', 12, 13], [21, 'OP01', 'CP00001593', 'CP00001593-10', 'OC26', 'OC19', 18, '16/10/2025', '09:02:49', 12, 13], [20, 'OP01', 'CP00001593', 'CP00001593-9', 'OC11', 'OC04', 8, '16/10/2025', '09:02:40', 12, 13], [19, 'OP01', 'CP00001593', 'CP00001593-8', 'OC05', 'OC26', 0, '16/10/2025', '09:02:32', 12, 13], [18, 'OP01', 'CP00001593', 'CP00001593-7', 'OC09', 'OC04', 1, '16/10/2025', '09:02:26', 12, 13], [17, 'OP01', 'CP00001593', 'CP00001593-6', 'OC11', 'OC19', 22, '16/10/2025', '09:02:18', 12, 13], [16, 'OP01', 'CP00001593', 'CP00001593-5', 'OC11', 'OC19', 0, '16/10/2025', '09:02:12', 12, 13], [15, 'OP01', 'CP00001593', 'CP00001593-4', 'OC09', 'OC05', 13, '16/10/2025', '09:02:03', 12, 13], [14, 'OP01', 'CP00001593', 'CP00001593-3', 'OC26', 'OC05', 0, '16/10/2025', '09:01:55', 12, 13], [13, 'OP01', 'CP00001593', 'CP00001593-2', 'OC04', 'OC09', 1, '16/10/2025', '09:01:46', 12, 13], [12, 'OP01', 'CP00001593', 'CP00001593-1', 'OC26', 'OC19', 20, '16/10/2025', '09:01:37', 12, 13], [11, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 0, '16/10/2025', '08:52:58', 4, 6], [10, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 0, '15/10/2025', '15:50:01', 4, 6], [9, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 20, '15/10/2025', '15:49:55', 4, 6], [8, 'OP01', 'CP00001594', 'CP00001594-9', 'OC26', 'OC19', 21, '15/10/2025', '15:49:47', 4, 6], [7, 'OP01', 'CP00001594', 'CP00001594-4', 'OC11', 'OC04', 0, '15/10/2025', '15:49:37', 4, 6], [6, 'OP01', 'CP00001594', 'CP00001594-25', 'OC19', 'OC26', 16, '15/10/2025', '15:49:20', 4, 6], [5, 'OP01', 'CP00001594', 'CP00001594-6', 'OC05', 'OC11', 25, '15/10/2025', '15:48:25', 4, 6], [4, 'OP01', 'CP00001594', 'CP00001594-14', 'OC26', 'OC11', 0, '15/10/2025', '15:48:02', 4, 6], [3, 'OP01', 'CP00001594', 'CP00001594-3', 'OC04', 'OC09', 1, '15/10/2025', '15:47:43', 4, 6], [2, 'OP01', 'CP00001594', 'CP00001594-2', 'OC05', 'OC19', 21, '15/10/2025', '15:46:57', 4, 6], [1, 'OP01', 'CP00001386', 'CP00001386-29', 'OC19', 'OC26', 41, '15/10/2025', '15:39:47', 0, 1]]}
DEBUG: Testing FG database connection...
DEBUG: FG Database connection successful!
DEBUG: Table scanfg_orders exists: True
DEBUG: FG Table structure: [('Id', 'int(11)', 'NO', 'PRI', None, 'auto_increment'), ('operator_code', 'varchar(4)', 'NO', '', None, ''), ('CP_full_code', 'varchar(15)', 'NO', '', None, ''), ('OC1_code', 'varchar(4)', 'NO', '', None, ''), ('OC2_code', 'varchar(4)', 'NO', '', None, ''), ('CP_base_code', 'varchar(10)', 'YES', '', None, 'STORED GENERATED'), ('quality_code', 'int(3)', 'NO', '', None, ''), ('date', 'date', 'NO', '', None, ''), ('time', 'time', 'NO', '', None, ''), ('approved_quantity', 'int(11)', 'YES', '', '0', ''), ('rejected_quantity', 'int(11)', 'YES', '', '0', '')]
DEBUG: Total FG records: 90
DEBUG: Available FG dates: ['2025-11-03', '2025-10-16', '2025-10-15']
DEBUG: FG Sample data: [{'id': 90, 'operator_code': 'OP01', 'cp_full_code': 'CP00001429-32', 'oc1_code': 'OC19', 'oc2_code': 'OC00', 'cp_base_code': 'CP00001429', 'quality_code': 0, 'date': '2025-11-03', 'time': '17:59:54', 'approved_quantity': 10, 'rejected_quantity': 1}, {'id': 89, 'operator_code': 'OP01', 'cp_full_code': 'CP00001429-24', 'oc1_code': 'OC27', 'oc2_code': 'OC00', 'cp_base_code': 'CP00001429', 'quality_code': 0, 'date': '2025-11-03', 'time': '17:58:00', 'approved_quantity': 10, 'rejected_quantity': 1}, {'id': 88, 'operator_code': 'OP01', 'cp_full_code': 'CP00001429-23', 'oc1_code': 'OC19', 'oc2_code': 'OC00', 'cp_base_code': 'CP00001429', 'quality_code': 0, 'date': '2025-11-03', 'time': '17:57:15', 'approved_quantity': 10, 'rejected_quantity': 1}]
Session user: superadmin superadmin
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', 'quality,warehouse,labels,daily_mirror')
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels', 'daily_mirror']
Session user: superadmin superadmin
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Backup directory ensured: /srv/quality_app/backups
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Session user: None None
[2025-11-05 18:16:52 +0200] [402172] [INFO] Handling signal: term
[2025-11-05 18:16:52 +0200] [402176] [INFO] Worker exiting (pid: 402176)
[2025-11-05 18:16:52 +0200] [402177] [INFO] Worker exiting (pid: 402177)
[2025-11-05 18:16:52 +0200] [402178] [INFO] Worker exiting (pid: 402178)
[2025-11-05 18:16:52 +0200] [402179] [INFO] Worker exiting (pid: 402179)
[2025-11-05 18:16:52 +0200] [402180] [INFO] Worker exiting (pid: 402180)
[2025-11-05 18:16:52 +0200] [402181] [INFO] Worker exiting (pid: 402181)
[2025-11-05 18:16:52 +0200] [402182] [INFO] Worker exiting (pid: 402182)
[2025-11-05 18:16:52 +0200] [402189] [INFO] Worker exiting (pid: 402189)
[2025-11-05 18:16:52 +0200] [402190] [INFO] Worker exiting (pid: 402190)
[2025-11-05 18:16:52 +0200] [402172] [INFO] 👋 Worker 402176 exited
[2025-11-05 18:16:52 +0200] [402172] [INFO] 👋 Worker 402179 exited
[2025-11-05 18:16:52 +0200] [402172] [INFO] 👋 Worker 402177 exited
[2025-11-05 18:16:52 +0200] [402172] [INFO] 👋 Worker 402189 exited
[2025-11-05 18:16:52 +0200] [402172] [INFO] 👋 Worker 402178 exited
[2025-11-05 18:16:52 +0200] [402172] [INFO] 👋 Worker 402181 exited
[2025-11-05 18:16:53 +0200] [402172] [INFO] 👋 Worker 402182 exited
[2025-11-05 18:16:53 +0200] [402172] [INFO] 👋 Worker 402190 exited
[2025-11-05 18:16:53 +0200] [402172] [INFO] 👋 Worker 402180 exited
[2025-11-05 18:16:53 +0200] [402172] [INFO] Shutting down: Master
[2025-11-05 18:16:53 +0200] [402172] [INFO] ============================================================
[2025-11-05 18:16:53 +0200] [402172] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 18:16:53 +0200] [402172] [INFO] ============================================================
[2025-11-05 18:16:59 +0200] [411409] [INFO] Starting gunicorn 23.0.0
[2025-11-05 18:16:59 +0200] [411409] [INFO] ============================================================
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 18:16:59 +0200] [411409] [INFO] ============================================================
[2025-11-05 18:16:59 +0200] [411409] [INFO] 📍 Configuration:
[2025-11-05 18:16:59 +0200] [411409] [INFO] • Workers: 9
[2025-11-05 18:16:59 +0200] [411409] [INFO] • Worker Class: sync
[2025-11-05 18:16:59 +0200] [411409] [INFO] • Timeout: 1800s
[2025-11-05 18:16:59 +0200] [411409] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 18:16:59 +0200] [411409] [INFO] • Preload App: True
[2025-11-05 18:16:59 +0200] [411409] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 18:16:59 +0200] [411409] [INFO] ============================================================
[2025-11-05 18:16:59 +0200] [411409] [INFO] Listening at: http://0.0.0.0:8781 (411409)
[2025-11-05 18:16:59 +0200] [411409] [INFO] Using worker: sync
[2025-11-05 18:16:59 +0200] [411409] [INFO] ============================================================
[2025-11-05 18:16:59 +0200] [411409] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 18:16:59 +0200] [411409] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 18:16:59 +0200] [411409] [INFO] ============================================================
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411435] [INFO] Booting worker with pid: 411435
[2025-11-05 18:16:59 +0200] [411435] [INFO] ✨ Worker spawned successfully (pid: 411435)
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411436] [INFO] Booting worker with pid: 411436
[2025-11-05 18:16:59 +0200] [411436] [INFO] ✨ Worker spawned successfully (pid: 411436)
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411437] [INFO] Booting worker with pid: 411437
[2025-11-05 18:16:59 +0200] [411437] [INFO] ✨ Worker spawned successfully (pid: 411437)
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411438] [INFO] Booting worker with pid: 411438
[2025-11-05 18:16:59 +0200] [411438] [INFO] ✨ Worker spawned successfully (pid: 411438)
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411439] [INFO] Booting worker with pid: 411439
[2025-11-05 18:16:59 +0200] [411439] [INFO] ✨ Worker spawned successfully (pid: 411439)
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411440] [INFO] Booting worker with pid: 411440
[2025-11-05 18:16:59 +0200] [411440] [INFO] ✨ Worker spawned successfully (pid: 411440)
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411443] [INFO] Booting worker with pid: 411443
[2025-11-05 18:16:59 +0200] [411443] [INFO] ✨ Worker spawned successfully (pid: 411443)
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411448] [INFO] Booting worker with pid: 411448
[2025-11-05 18:16:59 +0200] [411448] [INFO] ✨ Worker spawned successfully (pid: 411448)
[2025-11-05 18:16:59 +0200] [411409] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:16:59 +0200] [411449] [INFO] Booting worker with pid: 411449
[2025-11-05 18:16:59 +0200] [411449] [INFO] ✨ Worker spawned successfully (pid: 411449)
Session user: None None
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', 'quality,warehouse,labels,daily_mirror')
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels', 'daily_mirror']
Session user: superadmin superadmin
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
Error saving finish goods scan data: Can't update table 'scanfg_orders' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
[2025-11-05 18:47:38 +0200] [411409] [INFO] Handling signal: term
[2025-11-05 18:47:38 +0200] [411435] [INFO] Worker exiting (pid: 411435)
[2025-11-05 18:47:38 +0200] [411436] [INFO] Worker exiting (pid: 411436)
[2025-11-05 18:47:38 +0200] [411438] [INFO] Worker exiting (pid: 411438)
[2025-11-05 18:47:38 +0200] [411437] [INFO] Worker exiting (pid: 411437)
[2025-11-05 18:47:38 +0200] [411440] [INFO] Worker exiting (pid: 411440)
[2025-11-05 18:47:38 +0200] [411439] [INFO] Worker exiting (pid: 411439)
[2025-11-05 18:47:38 +0200] [411443] [INFO] Worker exiting (pid: 411443)
[2025-11-05 18:47:38 +0200] [411448] [INFO] Worker exiting (pid: 411448)
[2025-11-05 18:47:38 +0200] [411449] [INFO] Worker exiting (pid: 411449)
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411435 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411437 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411438 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411439 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411449 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411440 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411436 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411448 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Worker 411443 exited
[2025-11-05 18:47:39 +0200] [411409] [INFO] Shutting down: Master
[2025-11-05 18:47:39 +0200] [411409] [INFO] ============================================================
[2025-11-05 18:47:39 +0200] [411409] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 18:47:39 +0200] [411409] [INFO] ============================================================
[2025-11-05 18:50:31 +0200] [413017] [INFO] Starting gunicorn 23.0.0
[2025-11-05 18:50:31 +0200] [413017] [INFO] ============================================================
[2025-11-05 18:50:31 +0200] [413017] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 18:50:31 +0200] [413017] [INFO] ============================================================
[2025-11-05 18:50:31 +0200] [413017] [INFO] 📍 Configuration:
[2025-11-05 18:50:31 +0200] [413017] [INFO] • Workers: 9
[2025-11-05 18:50:31 +0200] [413017] [INFO] • Worker Class: sync
[2025-11-05 18:50:31 +0200] [413017] [INFO] • Timeout: 1800s
[2025-11-05 18:50:31 +0200] [413017] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 18:50:31 +0200] [413017] [INFO] • Preload App: True
[2025-11-05 18:50:31 +0200] [413017] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 18:50:31 +0200] [413017] [INFO] ============================================================
[2025-11-05 18:50:31 +0200] [413017] [INFO] Listening at: http://0.0.0.0:8781 (413017)
[2025-11-05 18:50:31 +0200] [413017] [INFO] Using worker: sync
[2025-11-05 18:50:31 +0200] [413017] [INFO] ============================================================
[2025-11-05 18:50:31 +0200] [413017] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 18:50:31 +0200] [413017] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 18:50:31 +0200] [413017] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 18:50:31 +0200] [413017] [INFO] ============================================================
[2025-11-05 18:50:31 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:31 +0200] [413043] [INFO] Booting worker with pid: 413043
[2025-11-05 18:50:31 +0200] [413043] [INFO] ✨ Worker spawned successfully (pid: 413043)
[2025-11-05 18:50:31 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:31 +0200] [413044] [INFO] Booting worker with pid: 413044
[2025-11-05 18:50:31 +0200] [413044] [INFO] ✨ Worker spawned successfully (pid: 413044)
[2025-11-05 18:50:32 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:32 +0200] [413045] [INFO] Booting worker with pid: 413045
[2025-11-05 18:50:32 +0200] [413045] [INFO] ✨ Worker spawned successfully (pid: 413045)
[2025-11-05 18:50:32 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:32 +0200] [413046] [INFO] Booting worker with pid: 413046
[2025-11-05 18:50:32 +0200] [413046] [INFO] ✨ Worker spawned successfully (pid: 413046)
[2025-11-05 18:50:32 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:32 +0200] [413047] [INFO] Booting worker with pid: 413047
[2025-11-05 18:50:32 +0200] [413047] [INFO] ✨ Worker spawned successfully (pid: 413047)
[2025-11-05 18:50:32 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:32 +0200] [413054] [INFO] Booting worker with pid: 413054
[2025-11-05 18:50:32 +0200] [413054] [INFO] ✨ Worker spawned successfully (pid: 413054)
[2025-11-05 18:50:32 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:32 +0200] [413055] [INFO] Booting worker with pid: 413055
[2025-11-05 18:50:32 +0200] [413055] [INFO] ✨ Worker spawned successfully (pid: 413055)
[2025-11-05 18:50:32 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:32 +0200] [413056] [INFO] Booting worker with pid: 413056
[2025-11-05 18:50:32 +0200] [413056] [INFO] ✨ Worker spawned successfully (pid: 413056)
[2025-11-05 18:50:32 +0200] [413017] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 18:50:32 +0200] [413057] [INFO] Booting worker with pid: 413057
[2025-11-05 18:50:32 +0200] [413057] [INFO] ✨ Worker spawned successfully (pid: 413057)
[2025-11-05 19:03:48 +0200] [413017] [INFO] Handling signal: term
[2025-11-05 19:03:48 +0200] [413043] [INFO] Worker exiting (pid: 413043)
[2025-11-05 19:03:48 +0200] [413044] [INFO] Worker exiting (pid: 413044)
[2025-11-05 19:03:48 +0200] [413047] [INFO] Worker exiting (pid: 413047)
[2025-11-05 19:03:48 +0200] [413046] [INFO] Worker exiting (pid: 413046)
[2025-11-05 19:03:48 +0200] [413045] [INFO] Worker exiting (pid: 413045)
[2025-11-05 19:03:48 +0200] [413055] [INFO] Worker exiting (pid: 413055)
[2025-11-05 19:03:48 +0200] [413054] [INFO] Worker exiting (pid: 413054)
[2025-11-05 19:03:48 +0200] [413056] [INFO] Worker exiting (pid: 413056)
[2025-11-05 19:03:48 +0200] [413057] [INFO] Worker exiting (pid: 413057)
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413044 exited
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413047 exited
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413057 exited
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413045 exited
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413054 exited
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413043 exited
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413046 exited
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413055 exited
[2025-11-05 19:03:49 +0200] [413017] [INFO] 👋 Worker 413056 exited
[2025-11-05 19:03:50 +0200] [413017] [INFO] Shutting down: Master
[2025-11-05 19:03:50 +0200] [413017] [INFO] ============================================================
[2025-11-05 19:03:50 +0200] [413017] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 19:03:50 +0200] [413017] [INFO] ============================================================
[2025-11-05 19:03:56 +0200] [413505] [INFO] Starting gunicorn 23.0.0
[2025-11-05 19:03:56 +0200] [413505] [INFO] ============================================================
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 19:03:56 +0200] [413505] [INFO] ============================================================
[2025-11-05 19:03:56 +0200] [413505] [INFO] 📍 Configuration:
[2025-11-05 19:03:56 +0200] [413505] [INFO] • Workers: 9
[2025-11-05 19:03:56 +0200] [413505] [INFO] • Worker Class: sync
[2025-11-05 19:03:56 +0200] [413505] [INFO] • Timeout: 1800s
[2025-11-05 19:03:56 +0200] [413505] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 19:03:56 +0200] [413505] [INFO] • Preload App: True
[2025-11-05 19:03:56 +0200] [413505] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 19:03:56 +0200] [413505] [INFO] ============================================================
[2025-11-05 19:03:56 +0200] [413505] [INFO] Listening at: http://0.0.0.0:8781 (413505)
[2025-11-05 19:03:56 +0200] [413505] [INFO] Using worker: sync
[2025-11-05 19:03:56 +0200] [413505] [INFO] ============================================================
[2025-11-05 19:03:56 +0200] [413505] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 19:03:56 +0200] [413505] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 19:03:56 +0200] [413505] [INFO] ============================================================
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413527] [INFO] Booting worker with pid: 413527
[2025-11-05 19:03:56 +0200] [413527] [INFO] ✨ Worker spawned successfully (pid: 413527)
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413528] [INFO] Booting worker with pid: 413528
[2025-11-05 19:03:56 +0200] [413528] [INFO] ✨ Worker spawned successfully (pid: 413528)
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413529] [INFO] Booting worker with pid: 413529
[2025-11-05 19:03:56 +0200] [413529] [INFO] ✨ Worker spawned successfully (pid: 413529)
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413530] [INFO] Booting worker with pid: 413530
[2025-11-05 19:03:56 +0200] [413530] [INFO] ✨ Worker spawned successfully (pid: 413530)
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413531] [INFO] Booting worker with pid: 413531
[2025-11-05 19:03:56 +0200] [413531] [INFO] ✨ Worker spawned successfully (pid: 413531)
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413532] [INFO] Booting worker with pid: 413532
[2025-11-05 19:03:56 +0200] [413532] [INFO] ✨ Worker spawned successfully (pid: 413532)
[2025-11-05 19:03:56 +0200] [413533] [INFO] Booting worker with pid: 413533
[2025-11-05 19:03:56 +0200] [413533] [INFO] ✨ Worker spawned successfully (pid: 413533)
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413534] [INFO] Booting worker with pid: 413534
[2025-11-05 19:03:56 +0200] [413534] [INFO] ✨ Worker spawned successfully (pid: 413534)
[2025-11-05 19:03:56 +0200] [413505] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 19:03:56 +0200] [413541] [INFO] Booting worker with pid: 413541
[2025-11-05 19:03:56 +0200] [413541] [INFO] ✨ Worker spawned successfully (pid: 413541)
Session user: superadmin superadmin
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-05 20:34:13 +0200] [413505] [INFO] Handling signal: term
[2025-11-05 20:34:13 +0200] [413530] [INFO] Worker exiting (pid: 413530)
[2025-11-05 20:34:13 +0200] [413527] [INFO] Worker exiting (pid: 413527)
[2025-11-05 20:34:13 +0200] [413528] [INFO] Worker exiting (pid: 413528)
[2025-11-05 20:34:13 +0200] [413532] [INFO] Worker exiting (pid: 413532)
[2025-11-05 20:34:13 +0200] [413529] [INFO] Worker exiting (pid: 413529)
[2025-11-05 20:34:13 +0200] [413531] [INFO] Worker exiting (pid: 413531)
[2025-11-05 20:34:13 +0200] [413533] [INFO] Worker exiting (pid: 413533)
[2025-11-05 20:34:13 +0200] [413534] [INFO] Worker exiting (pid: 413534)
[2025-11-05 20:34:13 +0200] [413541] [INFO] Worker exiting (pid: 413541)
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413532 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413534 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413527 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413541 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413528 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413531 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413529 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413533 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Worker 413530 exited
[2025-11-05 20:34:14 +0200] [413505] [INFO] Shutting down: Master
[2025-11-05 20:34:14 +0200] [413505] [INFO] ============================================================
[2025-11-05 20:34:14 +0200] [413505] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 20:34:14 +0200] [413505] [INFO] ============================================================
[2025-11-05 20:34:21 +0200] [415087] [INFO] Starting gunicorn 23.0.0
[2025-11-05 20:34:21 +0200] [415087] [INFO] ============================================================
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 20:34:21 +0200] [415087] [INFO] ============================================================
[2025-11-05 20:34:21 +0200] [415087] [INFO] 📍 Configuration:
[2025-11-05 20:34:21 +0200] [415087] [INFO] • Workers: 9
[2025-11-05 20:34:21 +0200] [415087] [INFO] • Worker Class: sync
[2025-11-05 20:34:21 +0200] [415087] [INFO] • Timeout: 1800s
[2025-11-05 20:34:21 +0200] [415087] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 20:34:21 +0200] [415087] [INFO] • Preload App: True
[2025-11-05 20:34:21 +0200] [415087] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 20:34:21 +0200] [415087] [INFO] ============================================================
[2025-11-05 20:34:21 +0200] [415087] [INFO] Listening at: http://0.0.0.0:8781 (415087)
[2025-11-05 20:34:21 +0200] [415087] [INFO] Using worker: sync
[2025-11-05 20:34:21 +0200] [415087] [INFO] ============================================================
[2025-11-05 20:34:21 +0200] [415087] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 20:34:21 +0200] [415087] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 20:34:21 +0200] [415087] [INFO] ============================================================
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415112] [INFO] Booting worker with pid: 415112
[2025-11-05 20:34:21 +0200] [415112] [INFO] ✨ Worker spawned successfully (pid: 415112)
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415114] [INFO] Booting worker with pid: 415114
[2025-11-05 20:34:21 +0200] [415114] [INFO] ✨ Worker spawned successfully (pid: 415114)
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415115] [INFO] Booting worker with pid: 415115
[2025-11-05 20:34:21 +0200] [415115] [INFO] ✨ Worker spawned successfully (pid: 415115)
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415116] [INFO] Booting worker with pid: 415116
[2025-11-05 20:34:21 +0200] [415116] [INFO] ✨ Worker spawned successfully (pid: 415116)
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415117] [INFO] Booting worker with pid: 415117
[2025-11-05 20:34:21 +0200] [415117] [INFO] ✨ Worker spawned successfully (pid: 415117)
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415118] [INFO] Booting worker with pid: 415118
[2025-11-05 20:34:21 +0200] [415118] [INFO] ✨ Worker spawned successfully (pid: 415118)
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415119] [INFO] Booting worker with pid: 415119
[2025-11-05 20:34:21 +0200] [415119] [INFO] ✨ Worker spawned successfully (pid: 415119)
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415122] [INFO] Booting worker with pid: 415122
[2025-11-05 20:34:21 +0200] [415122] [INFO] ✨ Worker spawned successfully (pid: 415122)
[2025-11-05 20:34:21 +0200] [415087] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:34:21 +0200] [415127] [INFO] Booting worker with pid: 415127
[2025-11-05 20:34:21 +0200] [415127] [INFO] ✨ Worker spawned successfully (pid: 415127)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-05 20:45:15 +0200] [415087] [INFO] Handling signal: term
[2025-11-05 20:45:15 +0200] [415116] [INFO] Worker exiting (pid: 415116)
[2025-11-05 20:45:15 +0200] [415112] [INFO] Worker exiting (pid: 415112)
[2025-11-05 20:45:15 +0200] [415114] [INFO] Worker exiting (pid: 415114)
[2025-11-05 20:45:15 +0200] [415119] [INFO] Worker exiting (pid: 415119)
[2025-11-05 20:45:15 +0200] [415117] [INFO] Worker exiting (pid: 415117)
[2025-11-05 20:45:15 +0200] [415115] [INFO] Worker exiting (pid: 415115)
[2025-11-05 20:45:15 +0200] [415118] [INFO] Worker exiting (pid: 415118)
[2025-11-05 20:45:15 +0200] [415122] [INFO] Worker exiting (pid: 415122)
[2025-11-05 20:45:15 +0200] [415127] [INFO] Worker exiting (pid: 415127)
[2025-11-05 20:45:15 +0200] [415087] [INFO] 👋 Worker 415112 exited
[2025-11-05 20:45:15 +0200] [415087] [INFO] 👋 Worker 415122 exited
[2025-11-05 20:45:16 +0200] [415087] [INFO] 👋 Worker 415117 exited
[2025-11-05 20:45:16 +0200] [415087] [INFO] 👋 Worker 415114 exited
[2025-11-05 20:45:16 +0200] [415087] [INFO] 👋 Worker 415115 exited
[2025-11-05 20:45:16 +0200] [415087] [INFO] 👋 Worker 415116 exited
[2025-11-05 20:45:16 +0200] [415087] [INFO] 👋 Worker 415119 exited
[2025-11-05 20:45:16 +0200] [415087] [INFO] 👋 Worker 415118 exited
[2025-11-05 20:45:16 +0200] [415087] [INFO] 👋 Worker 415127 exited
[2025-11-05 20:45:16 +0200] [415087] [INFO] Shutting down: Master
[2025-11-05 20:45:16 +0200] [415087] [INFO] ============================================================
[2025-11-05 20:45:16 +0200] [415087] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 20:45:16 +0200] [415087] [INFO] ============================================================
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Backup schedule configured: data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-05 20:45:22 +0200] [415702] [INFO] Starting gunicorn 23.0.0
[2025-11-05 20:45:22 +0200] [415702] [INFO] ============================================================
[2025-11-05 20:45:22 +0200] [415702] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 20:45:22 +0200] [415702] [INFO] ============================================================
[2025-11-05 20:45:22 +0200] [415702] [INFO] 📍 Configuration:
[2025-11-05 20:45:22 +0200] [415702] [INFO] • Workers: 9
[2025-11-05 20:45:22 +0200] [415702] [INFO] • Worker Class: sync
[2025-11-05 20:45:22 +0200] [415702] [INFO] • Timeout: 1800s
[2025-11-05 20:45:22 +0200] [415702] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 20:45:22 +0200] [415702] [INFO] • Preload App: True
[2025-11-05 20:45:22 +0200] [415702] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 20:45:22 +0200] [415702] [INFO] ============================================================
[2025-11-05 20:45:22 +0200] [415702] [INFO] Listening at: http://0.0.0.0:8781 (415702)
[2025-11-05 20:45:22 +0200] [415702] [INFO] Using worker: sync
[2025-11-05 20:45:22 +0200] [415702] [INFO] ============================================================
[2025-11-05 20:45:22 +0200] [415702] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 20:45:22 +0200] [415702] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 20:45:22 +0200] [415702] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 20:45:22 +0200] [415702] [INFO] ============================================================
[2025-11-05 20:45:22 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:22 +0200] [415732] [INFO] Booting worker with pid: 415732
[2025-11-05 20:45:22 +0200] [415732] [INFO] ✨ Worker spawned successfully (pid: 415732)
[2025-11-05 20:45:22 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:22 +0200] [415734] [INFO] Booting worker with pid: 415734
[2025-11-05 20:45:22 +0200] [415734] [INFO] ✨ Worker spawned successfully (pid: 415734)
[2025-11-05 20:45:23 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:23 +0200] [415736] [INFO] Booting worker with pid: 415736
[2025-11-05 20:45:23 +0200] [415736] [INFO] ✨ Worker spawned successfully (pid: 415736)
[2025-11-05 20:45:23 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:23 +0200] [415741] [INFO] Booting worker with pid: 415741
[2025-11-05 20:45:23 +0200] [415741] [INFO] ✨ Worker spawned successfully (pid: 415741)
[2025-11-05 20:45:23 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:23 +0200] [415742] [INFO] Booting worker with pid: 415742
[2025-11-05 20:45:23 +0200] [415742] [INFO] ✨ Worker spawned successfully (pid: 415742)
[2025-11-05 20:45:23 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:23 +0200] [415743] [INFO] Booting worker with pid: 415743
[2025-11-05 20:45:23 +0200] [415743] [INFO] ✨ Worker spawned successfully (pid: 415743)
[2025-11-05 20:45:23 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:23 +0200] [415744] [INFO] Booting worker with pid: 415744
[2025-11-05 20:45:23 +0200] [415744] [INFO] ✨ Worker spawned successfully (pid: 415744)
[2025-11-05 20:45:23 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:23 +0200] [415745] [INFO] Booting worker with pid: 415745
[2025-11-05 20:45:23 +0200] [415745] [INFO] ✨ Worker spawned successfully (pid: 415745)
[2025-11-05 20:45:23 +0200] [415702] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:45:23 +0200] [415746] [INFO] Booting worker with pid: 415746
[2025-11-05 20:45:23 +0200] [415746] [INFO] ✨ Worker spawned successfully (pid: 415746)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-05 20:50:27 +0200] [415702] [INFO] Handling signal: term
[2025-11-05 20:50:27 +0200] [415736] [INFO] Worker exiting (pid: 415736)
[2025-11-05 20:50:27 +0200] [415732] [INFO] Worker exiting (pid: 415732)
[2025-11-05 20:50:27 +0200] [415734] [INFO] Worker exiting (pid: 415734)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 20:50:27 +0200] [415742] [INFO] Worker exiting (pid: 415742)
[2025-11-05 20:50:27 +0200] [415743] [INFO] Worker exiting (pid: 415743)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 20:50:27 +0200] [415741] [INFO] Worker exiting (pid: 415741)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 20:50:27 +0200] [415745] [INFO] Worker exiting (pid: 415745)
[2025-11-05 20:50:27 +0200] [415746] [INFO] Worker exiting (pid: 415746)
[2025-11-05 20:50:27 +0200] [415744] [INFO] Worker exiting (pid: 415744)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415734 exited
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415743 exited
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415736 exited
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415742 exited
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415745 exited
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415744 exited
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415732 exited
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415746 exited
[2025-11-05 20:50:28 +0200] [415702] [INFO] 👋 Worker 415741 exited
[2025-11-05 20:50:29 +0200] [415702] [INFO] Shutting down: Master
[2025-11-05 20:50:29 +0200] [415702] [INFO] ============================================================
[2025-11-05 20:50:29 +0200] [415702] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 20:50:29 +0200] [415702] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Backup schedule configured: data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-05 20:50:35 +0200] [415998] [INFO] Starting gunicorn 23.0.0
[2025-11-05 20:50:35 +0200] [415998] [INFO] ============================================================
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 20:50:35 +0200] [415998] [INFO] ============================================================
[2025-11-05 20:50:35 +0200] [415998] [INFO] 📍 Configuration:
[2025-11-05 20:50:35 +0200] [415998] [INFO] • Workers: 9
[2025-11-05 20:50:35 +0200] [415998] [INFO] • Worker Class: sync
[2025-11-05 20:50:35 +0200] [415998] [INFO] • Timeout: 1800s
[2025-11-05 20:50:35 +0200] [415998] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 20:50:35 +0200] [415998] [INFO] • Preload App: True
[2025-11-05 20:50:35 +0200] [415998] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 20:50:35 +0200] [415998] [INFO] ============================================================
[2025-11-05 20:50:35 +0200] [415998] [INFO] Listening at: http://0.0.0.0:8781 (415998)
[2025-11-05 20:50:35 +0200] [415998] [INFO] Using worker: sync
[2025-11-05 20:50:35 +0200] [415998] [INFO] ============================================================
[2025-11-05 20:50:35 +0200] [415998] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 20:50:35 +0200] [415998] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 20:50:35 +0200] [415998] [INFO] ============================================================
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416025] [INFO] Booting worker with pid: 416025
[2025-11-05 20:50:35 +0200] [416025] [INFO] ✨ Worker spawned successfully (pid: 416025)
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416026] [INFO] Booting worker with pid: 416026
[2025-11-05 20:50:35 +0200] [416026] [INFO] ✨ Worker spawned successfully (pid: 416026)
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416027] [INFO] Booting worker with pid: 416027
[2025-11-05 20:50:35 +0200] [416027] [INFO] ✨ Worker spawned successfully (pid: 416027)
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416029] [INFO] Booting worker with pid: 416029
[2025-11-05 20:50:35 +0200] [416029] [INFO] ✨ Worker spawned successfully (pid: 416029)
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416034] [INFO] Booting worker with pid: 416034
[2025-11-05 20:50:35 +0200] [416034] [INFO] ✨ Worker spawned successfully (pid: 416034)
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416036] [INFO] Booting worker with pid: 416036
[2025-11-05 20:50:35 +0200] [416036] [INFO] ✨ Worker spawned successfully (pid: 416036)
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416037] [INFO] Booting worker with pid: 416037
[2025-11-05 20:50:35 +0200] [416037] [INFO] ✨ Worker spawned successfully (pid: 416037)
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416038] [INFO] Booting worker with pid: 416038
[2025-11-05 20:50:35 +0200] [416038] [INFO] ✨ Worker spawned successfully (pid: 416038)
[2025-11-05 20:50:35 +0200] [415998] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 20:50:35 +0200] [416039] [INFO] Booting worker with pid: 416039
[2025-11-05 20:50:35 +0200] [416039] [INFO] ✨ Worker spawned successfully (pid: 416039)
[2025-11-05 21:07:56 +0200] [415998] [INFO] Handling signal: term
[2025-11-05 21:07:56 +0200] [416025] [INFO] Worker exiting (pid: 416025)
[2025-11-05 21:07:56 +0200] [416026] [INFO] Worker exiting (pid: 416026)
[2025-11-05 21:07:56 +0200] [416034] [INFO] Worker exiting (pid: 416034)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:07:56 +0200] [416027] [INFO] Worker exiting (pid: 416027)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:07:56 +0200] [416029] [INFO] Worker exiting (pid: 416029)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:07:56 +0200] [416036] [INFO] Worker exiting (pid: 416036)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:07:56 +0200] [416037] [INFO] Worker exiting (pid: 416037)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:07:56 +0200] [416038] [INFO] Worker exiting (pid: 416038)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:07:56 +0200] [416039] [INFO] Worker exiting (pid: 416039)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:07:56 +0200] [415998] [INFO] 👋 Worker 416025 exited
[2025-11-05 21:07:56 +0200] [415998] [INFO] 👋 Worker 416027 exited
[2025-11-05 21:07:56 +0200] [415998] [INFO] 👋 Worker 416026 exited
[2025-11-05 21:07:56 +0200] [415998] [INFO] 👋 Worker 416038 exited
[2025-11-05 21:07:56 +0200] [415998] [INFO] 👋 Worker 416037 exited
[2025-11-05 21:07:56 +0200] [415998] [INFO] 👋 Worker 416034 exited
[2025-11-05 21:07:57 +0200] [415998] [INFO] 👋 Worker 416036 exited
[2025-11-05 21:07:57 +0200] [415998] [INFO] 👋 Worker 416039 exited
[2025-11-05 21:07:57 +0200] [415998] [INFO] 👋 Worker 416029 exited
[2025-11-05 21:07:57 +0200] [415998] [INFO] Shutting down: Master
[2025-11-05 21:07:57 +0200] [415998] [INFO] ============================================================
[2025-11-05 21:07:57 +0200] [415998] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 21:07:57 +0200] [415998] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Backup schedule configured: data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-05 21:08:01 +0200] [416525] [INFO] Starting gunicorn 23.0.0
[2025-11-05 21:08:01 +0200] [416525] [INFO] ============================================================
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 21:08:01 +0200] [416525] [INFO] ============================================================
[2025-11-05 21:08:01 +0200] [416525] [INFO] 📍 Configuration:
[2025-11-05 21:08:01 +0200] [416525] [INFO] • Workers: 9
[2025-11-05 21:08:01 +0200] [416525] [INFO] • Worker Class: sync
[2025-11-05 21:08:01 +0200] [416525] [INFO] • Timeout: 1800s
[2025-11-05 21:08:01 +0200] [416525] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 21:08:01 +0200] [416525] [INFO] • Preload App: True
[2025-11-05 21:08:01 +0200] [416525] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 21:08:01 +0200] [416525] [INFO] ============================================================
[2025-11-05 21:08:01 +0200] [416525] [INFO] Listening at: http://0.0.0.0:8781 (416525)
[2025-11-05 21:08:01 +0200] [416525] [INFO] Using worker: sync
[2025-11-05 21:08:01 +0200] [416525] [INFO] ============================================================
[2025-11-05 21:08:01 +0200] [416525] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 21:08:01 +0200] [416525] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 21:08:01 +0200] [416525] [INFO] ============================================================
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416535] [INFO] Booting worker with pid: 416535
[2025-11-05 21:08:01 +0200] [416535] [INFO] ✨ Worker spawned successfully (pid: 416535)
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416536] [INFO] Booting worker with pid: 416536
[2025-11-05 21:08:01 +0200] [416536] [INFO] ✨ Worker spawned successfully (pid: 416536)
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416537] [INFO] Booting worker with pid: 416537
[2025-11-05 21:08:01 +0200] [416537] [INFO] ✨ Worker spawned successfully (pid: 416537)
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416539] [INFO] Booting worker with pid: 416539
[2025-11-05 21:08:01 +0200] [416539] [INFO] ✨ Worker spawned successfully (pid: 416539)
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416541] [INFO] Booting worker with pid: 416541
[2025-11-05 21:08:01 +0200] [416541] [INFO] ✨ Worker spawned successfully (pid: 416541)
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416546] [INFO] Booting worker with pid: 416546
[2025-11-05 21:08:01 +0200] [416546] [INFO] ✨ Worker spawned successfully (pid: 416546)
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416547] [INFO] Booting worker with pid: 416547
[2025-11-05 21:08:01 +0200] [416547] [INFO] ✨ Worker spawned successfully (pid: 416547)
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416548] [INFO] Booting worker with pid: 416548
[2025-11-05 21:08:01 +0200] [416548] [INFO] ✨ Worker spawned successfully (pid: 416548)
[2025-11-05 21:08:01 +0200] [416525] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:08:01 +0200] [416549] [INFO] Booting worker with pid: 416549
[2025-11-05 21:08:01 +0200] [416549] [INFO] ✨ Worker spawned successfully (pid: 416549)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
[2025-11-05 21:10:52 +0200] [416525] [INFO] Handling signal: term
[2025-11-05 21:10:52 +0200] [416539] [INFO] Worker exiting (pid: 416539)
[2025-11-05 21:10:52 +0200] [416535] [INFO] Worker exiting (pid: 416535)
[2025-11-05 21:10:52 +0200] [416536] [INFO] Worker exiting (pid: 416536)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:10:52 +0200] [416537] [INFO] Worker exiting (pid: 416537)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:10:52 +0200] [416546] [INFO] Worker exiting (pid: 416546)
[2025-11-05 21:10:52 +0200] [416549] [INFO] Worker exiting (pid: 416549)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:10:52 +0200] [416541] [INFO] Worker exiting (pid: 416541)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:10:52 +0200] [416547] [INFO] Worker exiting (pid: 416547)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:10:52 +0200] [416548] [INFO] Worker exiting (pid: 416548)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:10:52 +0200] [416525] [INFO] 👋 Worker 416536 exited
[2025-11-05 21:10:52 +0200] [416525] [INFO] 👋 Worker 416537 exited
[2025-11-05 21:10:53 +0200] [416525] [INFO] 👋 Worker 416541 exited
[2025-11-05 21:10:53 +0200] [416525] [INFO] 👋 Worker 416549 exited
[2025-11-05 21:10:53 +0200] [416525] [INFO] 👋 Worker 416546 exited
[2025-11-05 21:10:53 +0200] [416525] [INFO] 👋 Worker 416535 exited
[2025-11-05 21:10:53 +0200] [416525] [INFO] 👋 Worker 416539 exited
[2025-11-05 21:10:53 +0200] [416525] [INFO] 👋 Worker 416547 exited
[2025-11-05 21:10:53 +0200] [416525] [INFO] 👋 Worker 416548 exited
[2025-11-05 21:10:53 +0200] [416525] [INFO] Shutting down: Master
[2025-11-05 21:10:53 +0200] [416525] [INFO] ============================================================
[2025-11-05 21:10:53 +0200] [416525] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 21:10:53 +0200] [416525] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Backup schedule configured: data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-05 21:10:57 +0200] [416774] [INFO] Starting gunicorn 23.0.0
[2025-11-05 21:10:57 +0200] [416774] [INFO] ============================================================
[2025-11-05 21:10:57 +0200] [416774] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 21:10:57 +0200] [416774] [INFO] ============================================================
[2025-11-05 21:10:57 +0200] [416774] [INFO] 📍 Configuration:
[2025-11-05 21:10:57 +0200] [416774] [INFO] • Workers: 9
[2025-11-05 21:10:57 +0200] [416774] [INFO] • Worker Class: sync
[2025-11-05 21:10:57 +0200] [416774] [INFO] • Timeout: 1800s
[2025-11-05 21:10:57 +0200] [416774] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 21:10:57 +0200] [416774] [INFO] • Preload App: True
[2025-11-05 21:10:57 +0200] [416774] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 21:10:57 +0200] [416774] [INFO] ============================================================
[2025-11-05 21:10:57 +0200] [416774] [INFO] Listening at: http://0.0.0.0:8781 (416774)
[2025-11-05 21:10:57 +0200] [416774] [INFO] Using worker: sync
[2025-11-05 21:10:57 +0200] [416774] [INFO] ============================================================
[2025-11-05 21:10:57 +0200] [416774] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 21:10:57 +0200] [416774] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 21:10:57 +0200] [416774] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 21:10:57 +0200] [416774] [INFO] ============================================================
[2025-11-05 21:10:57 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:57 +0200] [416785] [INFO] Booting worker with pid: 416785
[2025-11-05 21:10:57 +0200] [416785] [INFO] ✨ Worker spawned successfully (pid: 416785)
[2025-11-05 21:10:57 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:57 +0200] [416786] [INFO] Booting worker with pid: 416786
[2025-11-05 21:10:57 +0200] [416786] [INFO] ✨ Worker spawned successfully (pid: 416786)
[2025-11-05 21:10:57 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:57 +0200] [416787] [INFO] Booting worker with pid: 416787
[2025-11-05 21:10:57 +0200] [416787] [INFO] ✨ Worker spawned successfully (pid: 416787)
[2025-11-05 21:10:57 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:57 +0200] [416788] [INFO] Booting worker with pid: 416788
[2025-11-05 21:10:58 +0200] [416788] [INFO] ✨ Worker spawned successfully (pid: 416788)
[2025-11-05 21:10:58 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:58 +0200] [416791] [INFO] Booting worker with pid: 416791
[2025-11-05 21:10:58 +0200] [416791] [INFO] ✨ Worker spawned successfully (pid: 416791)
[2025-11-05 21:10:58 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:58 +0200] [416796] [INFO] Booting worker with pid: 416796
[2025-11-05 21:10:58 +0200] [416796] [INFO] ✨ Worker spawned successfully (pid: 416796)
[2025-11-05 21:10:58 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:58 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:58 +0200] [416797] [INFO] Booting worker with pid: 416797
[2025-11-05 21:10:58 +0200] [416797] [INFO] ✨ Worker spawned successfully (pid: 416797)
[2025-11-05 21:10:58 +0200] [416798] [INFO] Booting worker with pid: 416798
[2025-11-05 21:10:58 +0200] [416798] [INFO] ✨ Worker spawned successfully (pid: 416798)
[2025-11-05 21:10:58 +0200] [416774] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:10:58 +0200] [416808] [INFO] Booting worker with pid: 416808
[2025-11-05 21:10:58 +0200] [416808] [INFO] ✨ Worker spawned successfully (pid: 416808)
[2025-11-05 21:18:44 +0200] [416774] [INFO] Handling signal: term
[2025-11-05 21:18:44 +0200] [416788] [INFO] Worker exiting (pid: 416788)
[2025-11-05 21:18:44 +0200] [416786] [INFO] Worker exiting (pid: 416786)
[2025-11-05 21:18:44 +0200] [416785] [INFO] Worker exiting (pid: 416785)
[2025-11-05 21:18:44 +0200] [416787] [INFO] Worker exiting (pid: 416787)
[2025-11-05 21:18:44 +0200] [416797] [INFO] Worker exiting (pid: 416797)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:18:44 +0200] [416791] [INFO] Worker exiting (pid: 416791)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:18:44 +0200] [416796] [INFO] Worker exiting (pid: 416796)
[2025-11-05 21:18:44 +0200] [416808] [INFO] Worker exiting (pid: 416808)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:18:44 +0200] [416798] [INFO] Worker exiting (pid: 416798)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-05 21:18:44 +0200] [416774] [INFO] 👋 Worker 416785 exited
[2025-11-05 21:18:44 +0200] [416774] [INFO] 👋 Worker 416788 exited
[2025-11-05 21:18:44 +0200] [416774] [INFO] 👋 Worker 416797 exited
[2025-11-05 21:18:45 +0200] [416774] [INFO] 👋 Worker 416787 exited
[2025-11-05 21:18:45 +0200] [416774] [INFO] 👋 Worker 416808 exited
[2025-11-05 21:18:45 +0200] [416774] [INFO] 👋 Worker 416786 exited
[2025-11-05 21:18:45 +0200] [416774] [INFO] 👋 Worker 416798 exited
[2025-11-05 21:18:45 +0200] [416774] [INFO] 👋 Worker 416791 exited
[2025-11-05 21:18:45 +0200] [416774] [INFO] 👋 Worker 416796 exited
[2025-11-05 21:18:45 +0200] [416774] [INFO] Shutting down: Master
[2025-11-05 21:18:45 +0200] [416774] [INFO] ============================================================
[2025-11-05 21:18:45 +0200] [416774] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-05 21:18:45 +0200] [416774] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Backup schedule configured: data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-05 21:18:49 +0200] [417124] [INFO] Starting gunicorn 23.0.0
[2025-11-05 21:18:49 +0200] [417124] [INFO] ============================================================
[2025-11-05 21:18:49 +0200] [417124] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-05 21:18:49 +0200] [417124] [INFO] ============================================================
[2025-11-05 21:18:49 +0200] [417124] [INFO] 📍 Configuration:
[2025-11-05 21:18:49 +0200] [417124] [INFO] • Workers: 9
[2025-11-05 21:18:49 +0200] [417124] [INFO] • Worker Class: sync
[2025-11-05 21:18:49 +0200] [417124] [INFO] • Timeout: 1800s
[2025-11-05 21:18:49 +0200] [417124] [INFO] • Bind: 0.0.0.0:8781
[2025-11-05 21:18:49 +0200] [417124] [INFO] • Preload App: True
[2025-11-05 21:18:49 +0200] [417124] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-05 21:18:49 +0200] [417124] [INFO] ============================================================
[2025-11-05 21:18:49 +0200] [417124] [INFO] Listening at: http://0.0.0.0:8781 (417124)
[2025-11-05 21:18:49 +0200] [417124] [INFO] Using worker: sync
[2025-11-05 21:18:49 +0200] [417124] [INFO] ============================================================
[2025-11-05 21:18:49 +0200] [417124] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-05 21:18:49 +0200] [417124] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-05 21:18:49 +0200] [417124] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-05 21:18:49 +0200] [417124] [INFO] ============================================================
[2025-11-05 21:18:49 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:49 +0200] [417129] [INFO] Booting worker with pid: 417129
[2025-11-05 21:18:49 +0200] [417129] [INFO] ✨ Worker spawned successfully (pid: 417129)
[2025-11-05 21:18:49 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:49 +0200] [417130] [INFO] Booting worker with pid: 417130
[2025-11-05 21:18:49 +0200] [417130] [INFO] ✨ Worker spawned successfully (pid: 417130)
[2025-11-05 21:18:49 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:49 +0200] [417131] [INFO] Booting worker with pid: 417131
[2025-11-05 21:18:49 +0200] [417131] [INFO] ✨ Worker spawned successfully (pid: 417131)
[2025-11-05 21:18:49 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:49 +0200] [417134] [INFO] Booting worker with pid: 417134
[2025-11-05 21:18:49 +0200] [417134] [INFO] ✨ Worker spawned successfully (pid: 417134)
[2025-11-05 21:18:49 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:49 +0200] [417138] [INFO] Booting worker with pid: 417138
[2025-11-05 21:18:49 +0200] [417138] [INFO] ✨ Worker spawned successfully (pid: 417138)
[2025-11-05 21:18:49 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:49 +0200] [417140] [INFO] Booting worker with pid: 417140
[2025-11-05 21:18:49 +0200] [417140] [INFO] ✨ Worker spawned successfully (pid: 417140)
[2025-11-05 21:18:50 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:50 +0200] [417141] [INFO] Booting worker with pid: 417141
[2025-11-05 21:18:50 +0200] [417141] [INFO] ✨ Worker spawned successfully (pid: 417141)
[2025-11-05 21:18:50 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:50 +0200] [417142] [INFO] Booting worker with pid: 417142
[2025-11-05 21:18:50 +0200] [417142] [INFO] ✨ Worker spawned successfully (pid: 417142)
[2025-11-05 21:18:50 +0200] [417124] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-05 21:18:50 +0200] [417143] [INFO] Booting worker with pid: 417143
[2025-11-05 21:18:50 +0200] [417143] [INFO] ✨ Worker spawned successfully (pid: 417143)
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Backup directory ensured: /srv/quality_app/backups
Session user: superadmin superadmin
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', 'quality,warehouse,labels,daily_mirror')
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels', 'daily_mirror']
Session user: superadmin superadmin
INFO:apscheduler.executors.default:Running job "Scheduled data-only backup (trigger: cron[hour='3', minute='0'], next run at: 2025-11-06 03:00:00 EET)" (scheduled at 2025-11-06 03:00:00+02:00)
Backup directory ensured: /srv/quality_app/backups
INFO:app.backup_scheduler:Starting scheduled data-only backup (schedule: default)...
INFO:app.backup_scheduler:✅ Scheduled backup completed: data_only_scheduled_20251106_030000.sql (0.29 MB)
INFO:apscheduler.executors.default:Job "Scheduled data-only backup (trigger: cron[hour='3', minute='0'], next run at: 2025-11-07 03:00:00 EET)" executed successfully
Session user: None None
All form data received: {'username': 'Ciprian', 'password': 'ciprian@123'}
Raw form input: 'Ciprian' 'ciprian@123'
External DB query result (with modules): ('Ciprian', 'ciprian@123', 'manager', '["quality", "warehouse", "labels"]')
Logged in as: Ciprian manager modules: ['quality', 'warehouse', 'labels']
Session user: Ciprian manager
All form data received: {'username': 'Ciprian', 'password': 'ciprian@123'}
Raw form input: 'Ciprian' 'ciprian@123'
External DB query result (with modules): ('Ciprian', 'ciprian@123', 'manager', '["quality", "warehouse", "labels"]')
Logged in as: Ciprian manager modules: ['quality', 'warehouse', 'labels']
Session user: Ciprian manager
Session user: Ciprian manager
DEBUG: Total FG records in scanfg_orders table: 119
DEBUG: Fetched 119 FG rows for report 5 (all rows)
FG Data being returned: {'headers': ['Id', 'Operator Code', 'CP Base Code', 'CP Full Code', 'OC1 Code', 'OC2 Code', 'Quality Code', 'Date', 'Time', 'Approved Quantity', 'Rejected Quantity'], 'rows': [[335, 'OP01', 'CP00001552', 'CP00001552-49', 'OC01', 'OC00', 0, '06/11/2025', '11:37:35', 13, 0], [334, 'OP01', 'CP00001552', 'CP00001552-35', 'OC21', 'OC00', 0, '06/11/2025', '11:37:26', 12, 0], [333, 'OP01', 'CP00001552', 'CP00001552-8', 'OC15', 'OC00', 0, '06/11/2025', '11:35:47', 11, 0], [332, 'OP01', 'CP00001552', 'CP00001552-26', 'OC05', 'OC00', 0, '06/11/2025', '11:35:38', 10, 0], [331, 'OP01', 'CP00001552', 'CP00001552-27', 'OC05', 'OC00', 0, '06/11/2025', '11:33:18', 9, 0], [330, 'OP01', 'CP00001399', 'CP00001399-41', 'OC15', 'OC00', 0, '06/11/2025', '11:31:41', 14, 0], [329, 'OP01', 'CP00001552', 'CP00001552-43', 'OC01', 'OC00', 0, '06/11/2025', '10:58:03', 8, 0], [328, 'OP01', 'CP00001399', 'CP00001399-71', 'OC05', 'OC00', 0, '06/11/2025', '10:54:54', 13, 0], [327, 'OP01', 'CP00001399', 'CP00001399-46', 'OC15', 'OC00', 0, '06/11/2025', '10:53:25', 12, 0], [326, 'OP01', 'CP00001552', 'CP00001552-33', 'OC21', 'OC00', 0, '06/11/2025', '10:50:44', 7, 0], [325, 'OP01', 'CP00001552', 'CP00001552-28', 'OC05', 'OC00', 0, '06/11/2025', '10:49:54', 6, 0], [324, 'OP01', 'CP00001399', 'CP00001399-42', 'OC15', 'OC00', 0, '06/11/2025', '10:46:50', 11, 0], [323, 'OP01', 'CP00001552', 'CP00001552-32', 'OC21', 'OC00', 0, '06/11/2025', '10:45:54', 5, 0], [322, 'OP01', 'CP00001552', 'CP00001552-29', 'OC05', 'OC00', 0, '06/11/2025', '10:45:05', 4, 0], [321, 'OP01', 'CP00001552', 'CP00001552-9', 'OC15', 'OC00', 0, '06/11/2025', '10:43:27', 3, 0], [320, 'OP01', 'CP00001552', 'CP00001552-31', 'OC21', 'OC00', 0, '06/11/2025', '10:42:10', 2, 0], [319, 'OP01', 'CP00001399', 'CP00001399-47', 'OC15', 'OC00', 0, '06/11/2025', '10:42:03', 10, 0], [318, 'OP01', 'CP00001552', 'CP00001552-30', 'OC05', 'OC00', 0, '06/11/2025', '10:41:56', 1, 0], [317, 'OP01', 'CP00001399', 'CP00001399-51', 'OC01', 'OC00', 0, '06/11/2025', '10:37:11', 9, 0], [316, 'OP01', 'CP00001399', 'CP00001399-48', 'OC15', 'OC00', 0, '06/11/2025', '10:35:42', 8, 0], [315, 'OP01', 'CP00001399', 'CP00001399-72', 'OC05', 'OC00', 0, '06/11/2025', '10:35:29', 7, 0], [314, 'OP01', 'CP00001399', 'CP00001399-47', 'OC15', 'OC00', 0, '06/11/2025', '10:34:50', 6, 0], [313, 'OP01', 'CP00001399', 'CP00001399-48', 'OC15', 'OC00', 0, '06/11/2025', '10:30:10', 5, 0], [312, 'OP01', 'CP00001399', 'CP00001399-73', 'OC05', 'OC00', 0, '06/11/2025', '10:29:53', 4, 0], [311, 'OP01', 'CP00001399', 'CP00001399-67', 'OC21', 'OC00', 0, '06/11/2025', '10:28:11', 3, 0], [310, 'OP01', 'CP00001399', 'CP00001399-49', 'OC15', 'OC00', 0, '06/11/2025', '10:27:20', 2, 0], [309, 'OP01', 'CP00001399', 'CP00001399-74', 'OC05', 'OC00', 0, '06/11/2025', '10:25:51', 1, 0], [308, 'OP01', 'CP00000005', 'CP00000005-0001', 'OC01', 'OC02', 121, '05/11/2025', '21:23:24', 0, 1], [307, 'OP01', 'CP00001429', 'CP00001429-33', 'OC19', 'OC00', 0, '05/11/2025', '18:20:16', 11, 1], [90, 'OP01', 'CP00001429', 'CP00001429-32', 'OC19', 'OC00', 0, '03/11/2025', '17:59:54', 10, 1], [89, 'OP01', 'CP00001429', 'CP00001429-24', 'OC27', 'OC00', 0, '03/11/2025', '17:58:00', 10, 1], [88, 'OP01', 'CP00001429', 'CP00001429-23', 'OC19', 'OC00', 0, '03/11/2025', '17:57:15', 10, 1], [87, 'OP01', 'CP00001429', 'CP00001429-22', 'OC19', 'OC00', 0, '03/11/2025', '17:56:55', 10, 1], [86, 'OP01', 'CP00001429', 'CP00001429-21', 'OC01', 'OC00', 0, '03/11/2025', '17:56:04', 10, 1], [85, 'OP01', 'CP00001429', 'CP00001429-1', 'OC11', 'OC04', 0, '03/11/2025', '17:50:37', 10, 1], [84, 'OP01', 'CP00001429', 'CP00001429-21', 'OC04', 'OC00', 0, '03/11/2025', '17:44:01', 10, 1], [83, 'OP01', 'CP00001429', 'CP00001429-20', 'OC05', 'OC00', 1, '03/11/2025', '17:43:35', 10, 1], [82, 'OP01', 'CP00001429', 'CP00001429-1', 'OC09', 'OC00', 0, '03/11/2025', '17:43:16', 10, 1], [81, 'OP01', 'CP00001429', 'CP00001429-18', 'OC19', 'OC00', 0, '03/11/2025', '17:42:53', 10, 1], [80, 'OP01', 'CP00001429', 'CP00001429-17', 'OC11', 'OC00', 0, '03/11/2025', '17:42:35', 10, 1], [79, 'OP01', 'CP00001432', 'CP00001432-30', 'OC05', 'OC00', 0, '03/11/2025', '16:00:06', 21, 2], [78, 'OP01', 'CP00001432', 'CP00001432-29', 'OC19', 'OC00', 0, '03/11/2025', '15:59:52', 21, 2], [77, 'OP01', 'CP00001432', 'CP00001432-28', 'OC04', 'OC00', 0, '03/11/2025', '15:59:37', 21, 2], [76, 'OP01', 'CP00001432', 'CP00001432-26', 'OC05', 'OC00', 0, '03/11/2025', '15:59:25', 21, 2], [75, 'OP01', 'CP00001432', 'CP00001432-25', 'OC11', 'OC00', 0, '03/11/2025', '15:59:06', 21, 2], [74, 'OP01', 'CP00001432', 'CP00001432-23', 'OC19', 'OC00', 0, '03/11/2025', '15:58:51', 21, 2], [73, 'OP01', 'CP00001432', 'CP00001432-23', 'OC05', 'OC00', 0, '03/11/2025', '15:58:37', 21, 2], [72, 'OP01', 'CP00001432', 'CP00001432-21', 'OC26', 'OC00', 0, '03/11/2025', '15:58:19', 21, 2], [71, 'OP01', 'CP00001432', 'CP00001432-20', 'OC19', 'OC00', 26, '03/11/2025', '15:58:04', 21, 2], [70, 'OP01', 'CP00001432', 'CP00001432-19', 'OC09', 'OC00', 1, '03/11/2025', '15:57:36', 21, 2], [69, 'OP01', 'CP00001432', 'CP00001432-18U', 'OC26', 'OC00', 0, '03/11/2025', '15:56:19', 21, 2], [68, 'OP01', 'CP00001432', 'CP00001432-16', 'OC19', 'OC04', 0, '03/11/2025', '15:56:02', 21, 2], [67, 'OP01', 'CP00001432', 'CP00001432-14', 'OC19', 'OC00', 0, '03/11/2025', '15:55:45', 21, 2], [66, 'OP01', 'CP00001432', 'CP00001432-13', 'OC11', 'OC00', 0, '03/11/2025', '15:55:33', 21, 2], [65, 'OP01', 'CP00001432', 'CP00001432-11', 'OC11', 'OC00', 0, '03/11/2025', '15:55:20', 21, 2], [64, 'OP01', 'CP00001432', 'CP00001432-10', 'OC26', 'OC00', 0, '03/11/2025', '15:55:04', 21, 2], [63, 'OP01', 'CP00001432', 'CP00001432-8', 'OC19', 'OC00', 0, '03/11/2025', '15:54:46', 21, 2], [62, 'OP01', 'CP00001432', 'CP00001432-7', 'OC04', 'OC00', 0, '03/11/2025', '15:54:28', 21, 2], [61, 'OP01', 'CP00001432', 'CP00001432-6', 'OC19', 'OC00', 0, '03/11/2025', '15:54:08', 21, 2], [60, 'OP01', 'CP00001432', 'CP00001432-5', 'OC11', 'OC00', 0, '03/11/2025', '15:53:52', 21, 2], [59, 'OP01', 'CP00001432', 'CP00001432-4', 'OC09', 'OC00', 0, '03/11/2025', '15:53:36', 21, 2], [58, 'OP01', 'CP00001432', 'CP00001432-2', 'OC11', 'OC00', 0, '03/11/2025', '15:53:21', 21, 2], [57, 'OP01', 'CP00001432', 'CP00001432-1', 'OC05', 'OC00', 0, '03/11/2025', '15:53:05', 21, 2], [56, 'OP01', 'CP00001421', 'CP00001421-23', 'OC11', 'OC00', 2, '03/11/2025', '15:52:44', 15, 3], [55, 'OP01', 'CP00001421', 'CP00001421-21', 'OC19', 'OC00', 0, '03/11/2025', '15:52:16', 15, 3], [54, 'OP01', 'CP00001421', 'CP00001421-20', 'OC05', 'OC00', 0, '03/11/2025', '15:51:56', 15, 3], [53, 'OP01', 'CP00001421', 'CP00001421-18', 'OC09', 'OC00', 26, '03/11/2025', '15:51:31', 15, 3], [52, 'OP01', 'CP00001421', 'CP00001421-16', 'OC26', 'OC00', 0, '03/11/2025', '15:51:04', 15, 3], [51, 'OP01', 'CP00001421', 'CP00001421-14', 'OC05', 'OC00', 0, '03/11/2025', '15:50:46', 15, 3], [50, 'OP01', 'CP00001421', 'CP00001421-12', 'OC11', 'OC00', 0, '03/11/2025', '15:50:27', 15, 3], [49, 'OP01', 'CP00001421', 'CP00001421-11', 'OC19', 'OC00', 0, '03/11/2025', '15:50:10', 15, 3], [48, 'OP01', 'CP00001421', 'CP00001421-10', 'OC11', 'OC00', 0, '03/11/2025', '15:49:50', 15, 3], [47, 'OP01', 'CP00001421', 'CP00001421-9', 'OC09', 'OC00', 0, '03/11/2025', '15:49:34', 15, 3], [46, 'OP01', 'CP00001421', 'CP00001421-8', 'OC05', 'OC00', 0, '03/11/2025', '15:49:06', 15, 3], [45, 'OP01', 'CP00001421', 'CP00001421-7', 'OC11', 'OC00', 0, '03/11/2025', '15:48:45', 15, 3], [44, 'OP01', 'CP00001421', 'CP00001421-6', 'OC04', 'OC00', 0, '03/11/2025', '15:48:19', 15, 3], [43, 'OP01', 'CP00001421', 'CP00001421-5', 'OC26', 'OC00', 0, '03/11/2025', '15:48:01', 15, 3], [42, 'OP01', 'CP00001421', 'CP00001421-4', 'OC05', 'OC00', 1, '03/11/2025', '15:47:37', 15, 3], [41, 'OP01', 'CP00001421', 'CP00001421-3', 'OC09', 'OC19', 0, '03/11/2025', '15:46:43', 15, 3], [40, 'OP01', 'CP00001421', 'CP00001421-2', 'OC04', 'OC04', 0, '03/11/2025', '15:46:03', 15, 3], [39, 'OP01', 'CP00001421', 'CP00001421-1', 'OC26', 'OC04', 0, '03/11/2025', '13:52:26', 15, 3], [38, 'OP01', 'CP00001596', 'CP00001596-1', 'OC00', 'OC00', 0, '03/11/2025', '12:04:38', 1, 0], [37, 'OP01', 'CP00001702', 'CP00001702-1', 'OC01', 'OC00', 25, '03/11/2025', '11:55:22', 0, 1], [36, 'OP01', 'CP00001593', 'CP00001593-25', 'OC11', 'OC04', 0, '16/10/2025', '09:04:38', 12, 13], [35, 'OP01', 'CP00001593', 'CP00001593-24', 'OC05', 'OC26', 6, '16/10/2025', '09:04:29', 12, 13], [34, 'OP01', 'CP00001593', 'CP00001593-23', 'OC05', 'OC04', 0, '16/10/2025', '09:04:22', 12, 13], [33, 'OP01', 'CP00001593', 'CP00001593-22', 'OC05', 'OC26', 0, '16/10/2025', '09:04:15', 12, 13], [32, 'OP01', 'CP00001593', 'CP00001593-22', 'OC19', 'OC11', 0, '16/10/2025', '09:04:09', 12, 13], [31, 'OP01', 'CP00001593', 'CP00001593-20', 'OC09', 'OC04', 0, '16/10/2025', '09:04:01', 12, 13], [30, 'OP01', 'CP00001593', 'CP00001593-20', 'OC11', 'OC04', 24, '16/10/2025', '09:03:55', 12, 13], [29, 'OP01', 'CP00001593', 'CP00001593-18', 'OC26', 'OC19', 6, '16/10/2025', '09:03:47', 12, 13], [28, 'OP01', 'CP00001593', 'CP00001593-17', 'OC04', 'OC09', 0, '16/10/2025', '09:03:36', 12, 13], [27, 'OP01', 'CP00001593', 'CP00001593-16', 'OC26', 'OC19', 18, '16/10/2025', '09:03:29', 12, 13], [26, 'OP01', 'CP00001593', 'CP00001593-15', 'OC11', 'OC04', 0, '16/10/2025', '09:03:22', 12, 13], [25, 'OP01', 'CP00001593', 'CP00001593-15', 'OC11', 'OC19', 25, '16/10/2025', '09:03:14', 12, 13], [24, 'OP01', 'CP00001593', 'CP00001593-13', 'OC05', 'OC26', 0, '16/10/2025', '09:03:08', 12, 13], [23, 'OP01', 'CP00001593', 'CP00001593-12', 'OC26', 'OC19', 0, '16/10/2025', '09:03:02', 12, 13], [22, 'OP01', 'CP00001593', 'CP00001593-11', 'OC26', 'OC19', 1, '16/10/2025', '09:02:55', 12, 13], [21, 'OP01', 'CP00001593', 'CP00001593-10', 'OC26', 'OC19', 18, '16/10/2025', '09:02:49', 12, 13], [20, 'OP01', 'CP00001593', 'CP00001593-9', 'OC11', 'OC04', 8, '16/10/2025', '09:02:40', 12, 13], [19, 'OP01', 'CP00001593', 'CP00001593-8', 'OC05', 'OC26', 0, '16/10/2025', '09:02:32', 12, 13], [18, 'OP01', 'CP00001593', 'CP00001593-7', 'OC09', 'OC04', 1, '16/10/2025', '09:02:26', 12, 13], [17, 'OP01', 'CP00001593', 'CP00001593-6', 'OC11', 'OC19', 22, '16/10/2025', '09:02:18', 12, 13], [16, 'OP01', 'CP00001593', 'CP00001593-5', 'OC11', 'OC19', 0, '16/10/2025', '09:02:12', 12, 13], [15, 'OP01', 'CP00001593', 'CP00001593-4', 'OC09', 'OC05', 13, '16/10/2025', '09:02:03', 12, 13], [14, 'OP01', 'CP00001593', 'CP00001593-3', 'OC26', 'OC05', 0, '16/10/2025', '09:01:55', 12, 13], [13, 'OP01', 'CP00001593', 'CP00001593-2', 'OC04', 'OC09', 1, '16/10/2025', '09:01:46', 12, 13], [12, 'OP01', 'CP00001593', 'CP00001593-1', 'OC26', 'OC19', 20, '16/10/2025', '09:01:37', 12, 13], [11, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 0, '16/10/2025', '08:52:58', 4, 6], [10, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 0, '15/10/2025', '15:50:01', 4, 6], [9, 'OP01', 'CP00001594', 'CP00001594-1', 'OC26', 'OC19', 20, '15/10/2025', '15:49:55', 4, 6], [8, 'OP01', 'CP00001594', 'CP00001594-9', 'OC26', 'OC19', 21, '15/10/2025', '15:49:47', 4, 6], [7, 'OP01', 'CP00001594', 'CP00001594-4', 'OC11', 'OC04', 0, '15/10/2025', '15:49:37', 4, 6], [6, 'OP01', 'CP00001594', 'CP00001594-25', 'OC19', 'OC26', 16, '15/10/2025', '15:49:20', 4, 6], [5, 'OP01', 'CP00001594', 'CP00001594-6', 'OC05', 'OC11', 25, '15/10/2025', '15:48:25', 4, 6], [4, 'OP01', 'CP00001594', 'CP00001594-14', 'OC26', 'OC11', 0, '15/10/2025', '15:48:02', 4, 6], [3, 'OP01', 'CP00001594', 'CP00001594-3', 'OC04', 'OC09', 1, '15/10/2025', '15:47:43', 4, 6], [2, 'OP01', 'CP00001594', 'CP00001594-2', 'OC05', 'OC19', 21, '15/10/2025', '15:46:57', 4, 6], [1, 'OP01', 'CP00001386', 'CP00001386-29', 'OC19', 'OC26', 41, '15/10/2025', '15:39:47', 0, 1]]}
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', 'quality,warehouse,labels,daily_mirror')
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels', 'daily_mirror']
Session user: superadmin superadmin
Session user: None None
All form data received: {'username': 'superadmin', 'password': 'Vanessa_13/05'}
Raw form input: 'superadmin' 'Vanessa_13/05'
External DB query result (with modules): ('superadmin', 'Vanessa_13/05', 'superadmin', 'quality,warehouse,labels,daily_mirror')
Logged in as: superadmin superadmin modules: ['quality', 'warehouse', 'labels', 'daily_mirror']
Session user: superadmin superadmin
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 12 orders
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 12 orders
DEBUG: Generating single label PDF for thermal printing
DEBUG: Piece 1 of 1
DEBUG: Order data keys: ['id', 'comanda_productie', 'cod_articol', 'descr_com_prod', 'cantitate', 'data_livrare', 'dimensiune', 'com_achiz_client', 'nr_linie_com_client', 'customer_name', 'quantity', 'piece_number', 'total_pieces']
DEBUG: Generating label CP00000791/001 (piece 1 of 1)
DEBUG: Single label PDF generated successfully for thermal printing
DEBUG: update_printed_status called for order_id: 11
DEBUG: Successfully updated printed status for order 11
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 11 orders
DEBUG: Generating single label PDF for thermal printing
DEBUG: Piece 1 of 2
DEBUG: Order data keys: ['id', 'comanda_productie', 'cod_articol', 'descr_com_prod', 'cantitate', 'data_livrare', 'dimensiune', 'com_achiz_client', 'nr_linie_com_client', 'customer_name', 'quantity', 'piece_number', 'total_pieces']
DEBUG: Generating label CP00000783/001 (piece 1 of 2)
DEBUG: Single label PDF generated successfully for thermal printing
DEBUG: Generating single label PDF for thermal printing
DEBUG: Piece 2 of 2
DEBUG: Order data keys: ['id', 'comanda_productie', 'cod_articol', 'descr_com_prod', 'cantitate', 'data_livrare', 'dimensiune', 'com_achiz_client', 'nr_linie_com_client', 'customer_name', 'quantity', 'piece_number', 'total_pieces']
DEBUG: Generating label CP00000783/002 (piece 2 of 2)
DEBUG: Single label PDF generated successfully for thermal printing
DEBUG: update_printed_status called for order_id: 13
DEBUG: Successfully updated printed status for order 13
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 10 orders
[2025-11-06 19:30:07 +0200] [417124] [INFO] Handling signal: term
[2025-11-06 19:30:07 +0200] [417142] [INFO] Worker exiting (pid: 417142)
[2025-11-06 19:30:07 +0200] [417129] [INFO] Worker exiting (pid: 417129)
[2025-11-06 19:30:07 +0200] [417130] [INFO] Worker exiting (pid: 417130)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:30:07 +0200] [417131] [INFO] Worker exiting (pid: 417131)
[2025-11-06 19:30:07 +0200] [417134] [INFO] Worker exiting (pid: 417134)
[2025-11-06 19:30:07 +0200] [417138] [INFO] Worker exiting (pid: 417138)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:30:07 +0200] [417140] [INFO] Worker exiting (pid: 417140)
[2025-11-06 19:30:07 +0200] [417141] [INFO] Worker exiting (pid: 417141)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:30:07 +0200] [417143] [INFO] Worker exiting (pid: 417143)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417129 exited
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417130 exited
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417131 exited
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417138 exited
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417143 exited
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417140 exited
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417142 exited
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417134 exited
[2025-11-06 19:30:08 +0200] [417124] [INFO] 👋 Worker 417141 exited
[2025-11-06 19:30:09 +0200] [417124] [INFO] Shutting down: Master
[2025-11-06 19:30:09 +0200] [417124] [INFO] ============================================================
[2025-11-06 19:30:09 +0200] [417124] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-06 19:30:09 +0200] [417124] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Schedule 'default': data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup (default)" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-06 19:30:13 +0200] [421673] [INFO] Starting gunicorn 23.0.0
[2025-11-06 19:30:13 +0200] [421673] [INFO] ============================================================
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-06 19:30:13 +0200] [421673] [INFO] ============================================================
[2025-11-06 19:30:13 +0200] [421673] [INFO] 📍 Configuration:
[2025-11-06 19:30:13 +0200] [421673] [INFO] • Workers: 9
[2025-11-06 19:30:13 +0200] [421673] [INFO] • Worker Class: sync
[2025-11-06 19:30:13 +0200] [421673] [INFO] • Timeout: 1800s
[2025-11-06 19:30:13 +0200] [421673] [INFO] • Bind: 0.0.0.0:8781
[2025-11-06 19:30:13 +0200] [421673] [INFO] • Preload App: True
[2025-11-06 19:30:13 +0200] [421673] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-06 19:30:13 +0200] [421673] [INFO] ============================================================
[2025-11-06 19:30:13 +0200] [421673] [INFO] Listening at: http://0.0.0.0:8781 (421673)
[2025-11-06 19:30:13 +0200] [421673] [INFO] Using worker: sync
[2025-11-06 19:30:13 +0200] [421673] [INFO] ============================================================
[2025-11-06 19:30:13 +0200] [421673] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-06 19:30:13 +0200] [421673] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-06 19:30:13 +0200] [421673] [INFO] ============================================================
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:13 +0200] [421678] [INFO] Booting worker with pid: 421678
[2025-11-06 19:30:13 +0200] [421678] [INFO] ✨ Worker spawned successfully (pid: 421678)
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:13 +0200] [421681] [INFO] Booting worker with pid: 421681
[2025-11-06 19:30:13 +0200] [421681] [INFO] ✨ Worker spawned successfully (pid: 421681)
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:13 +0200] [421688] [INFO] Booting worker with pid: 421688
[2025-11-06 19:30:13 +0200] [421688] [INFO] ✨ Worker spawned successfully (pid: 421688)
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:13 +0200] [421691] [INFO] Booting worker with pid: 421691
[2025-11-06 19:30:13 +0200] [421691] [INFO] ✨ Worker spawned successfully (pid: 421691)
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:13 +0200] [421697] [INFO] Booting worker with pid: 421697
[2025-11-06 19:30:13 +0200] [421697] [INFO] ✨ Worker spawned successfully (pid: 421697)
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:13 +0200] [421698] [INFO] Booting worker with pid: 421698
[2025-11-06 19:30:13 +0200] [421698] [INFO] ✨ Worker spawned successfully (pid: 421698)
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:13 +0200] [421699] [INFO] Booting worker with pid: 421699
[2025-11-06 19:30:13 +0200] [421699] [INFO] ✨ Worker spawned successfully (pid: 421699)
[2025-11-06 19:30:13 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:13 +0200] [421700] [INFO] Booting worker with pid: 421700
[2025-11-06 19:30:13 +0200] [421700] [INFO] ✨ Worker spawned successfully (pid: 421700)
[2025-11-06 19:30:14 +0200] [421673] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:30:14 +0200] [421701] [INFO] Booting worker with pid: 421701
[2025-11-06 19:30:14 +0200] [421701] [INFO] ✨ Worker spawned successfully (pid: 421701)
[2025-11-06 19:46:50 +0200] [421673] [INFO] Handling signal: term
[2025-11-06 19:46:50 +0200] [421697] [INFO] Worker exiting (pid: 421697)
[2025-11-06 19:46:50 +0200] [421681] [INFO] Worker exiting (pid: 421681)
[2025-11-06 19:46:50 +0200] [421678] [INFO] Worker exiting (pid: 421678)
[2025-11-06 19:46:50 +0200] [421700] [INFO] Worker exiting (pid: 421700)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:46:50 +0200] [421699] [INFO] Worker exiting (pid: 421699)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:46:50 +0200] [421688] [INFO] Worker exiting (pid: 421688)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:46:50 +0200] [421701] [INFO] Worker exiting (pid: 421701)
[2025-11-06 19:46:50 +0200] [421691] [INFO] Worker exiting (pid: 421691)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:46:50 +0200] [421698] [INFO] Worker exiting (pid: 421698)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 19:46:50 +0200] [421673] [INFO] 👋 Worker 421700 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Worker 421688 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Worker 421698 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Worker 421699 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Worker 421681 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Worker 421678 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Worker 421701 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Worker 421697 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Worker 421691 exited
[2025-11-06 19:46:51 +0200] [421673] [INFO] Shutting down: Master
[2025-11-06 19:46:51 +0200] [421673] [INFO] ============================================================
[2025-11-06 19:46:51 +0200] [421673] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-06 19:46:51 +0200] [421673] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Schedule 'default': data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup (default)" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-06 19:46:55 +0200] [422239] [INFO] Starting gunicorn 23.0.0
[2025-11-06 19:46:55 +0200] [422239] [INFO] ============================================================
[2025-11-06 19:46:55 +0200] [422239] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-06 19:46:55 +0200] [422239] [INFO] ============================================================
[2025-11-06 19:46:55 +0200] [422239] [INFO] 📍 Configuration:
[2025-11-06 19:46:55 +0200] [422239] [INFO] • Workers: 9
[2025-11-06 19:46:55 +0200] [422239] [INFO] • Worker Class: sync
[2025-11-06 19:46:55 +0200] [422239] [INFO] • Timeout: 1800s
[2025-11-06 19:46:55 +0200] [422239] [INFO] • Bind: 0.0.0.0:8781
[2025-11-06 19:46:55 +0200] [422239] [INFO] • Preload App: True
[2025-11-06 19:46:55 +0200] [422239] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-06 19:46:55 +0200] [422239] [INFO] ============================================================
[2025-11-06 19:46:55 +0200] [422239] [INFO] Listening at: http://0.0.0.0:8781 (422239)
[2025-11-06 19:46:55 +0200] [422239] [INFO] Using worker: sync
[2025-11-06 19:46:55 +0200] [422239] [INFO] ============================================================
[2025-11-06 19:46:55 +0200] [422239] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-06 19:46:55 +0200] [422239] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-06 19:46:55 +0200] [422239] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-06 19:46:55 +0200] [422239] [INFO] ============================================================
[2025-11-06 19:46:55 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:55 +0200] [422244] [INFO] Booting worker with pid: 422244
[2025-11-06 19:46:55 +0200] [422244] [INFO] ✨ Worker spawned successfully (pid: 422244)
[2025-11-06 19:46:56 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:56 +0200] [422245] [INFO] Booting worker with pid: 422245
[2025-11-06 19:46:56 +0200] [422245] [INFO] ✨ Worker spawned successfully (pid: 422245)
[2025-11-06 19:46:56 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:56 +0200] [422247] [INFO] Booting worker with pid: 422247
[2025-11-06 19:46:56 +0200] [422247] [INFO] ✨ Worker spawned successfully (pid: 422247)
[2025-11-06 19:46:56 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:56 +0200] [422253] [INFO] Booting worker with pid: 422253
[2025-11-06 19:46:56 +0200] [422253] [INFO] ✨ Worker spawned successfully (pid: 422253)
[2025-11-06 19:46:56 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:56 +0200] [422254] [INFO] Booting worker with pid: 422254
[2025-11-06 19:46:56 +0200] [422254] [INFO] ✨ Worker spawned successfully (pid: 422254)
[2025-11-06 19:46:56 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:56 +0200] [422255] [INFO] Booting worker with pid: 422255
[2025-11-06 19:46:56 +0200] [422255] [INFO] ✨ Worker spawned successfully (pid: 422255)
[2025-11-06 19:46:56 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:56 +0200] [422256] [INFO] Booting worker with pid: 422256
[2025-11-06 19:46:56 +0200] [422256] [INFO] ✨ Worker spawned successfully (pid: 422256)
[2025-11-06 19:46:56 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:56 +0200] [422257] [INFO] Booting worker with pid: 422257
[2025-11-06 19:46:56 +0200] [422257] [INFO] ✨ Worker spawned successfully (pid: 422257)
[2025-11-06 19:46:56 +0200] [422239] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 19:46:56 +0200] [422258] [INFO] Booting worker with pid: 422258
[2025-11-06 19:46:56 +0200] [422258] [INFO] ✨ Worker spawned successfully (pid: 422258)
[2025-11-06 20:00:54 +0200] [422239] [INFO] Handling signal: term
[2025-11-06 20:00:54 +0200] [422253] [INFO] Worker exiting (pid: 422253)
[2025-11-06 20:00:54 +0200] [422244] [INFO] Worker exiting (pid: 422244)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:00:54 +0200] [422245] [INFO] Worker exiting (pid: 422245)
[2025-11-06 20:00:54 +0200] [422254] [INFO] Worker exiting (pid: 422254)
[2025-11-06 20:00:54 +0200] [422247] [INFO] Worker exiting (pid: 422247)
[2025-11-06 20:00:54 +0200] [422257] [INFO] Worker exiting (pid: 422257)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:00:54 +0200] [422258] [INFO] Worker exiting (pid: 422258)
[2025-11-06 20:00:54 +0200] [422256] [INFO] Worker exiting (pid: 422256)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:00:54 +0200] [422255] [INFO] Worker exiting (pid: 422255)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422254 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422245 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422258 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422247 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422244 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422257 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422255 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422256 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Worker 422253 exited
[2025-11-06 20:00:55 +0200] [422239] [INFO] Shutting down: Master
[2025-11-06 20:00:55 +0200] [422239] [INFO] ============================================================
[2025-11-06 20:00:55 +0200] [422239] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-06 20:00:55 +0200] [422239] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Schedule 'default': data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup (default)" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-06 20:01:00 +0200] [422607] [INFO] Starting gunicorn 23.0.0
[2025-11-06 20:01:00 +0200] [422607] [INFO] ============================================================
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-06 20:01:00 +0200] [422607] [INFO] ============================================================
[2025-11-06 20:01:00 +0200] [422607] [INFO] 📍 Configuration:
[2025-11-06 20:01:00 +0200] [422607] [INFO] • Workers: 9
[2025-11-06 20:01:00 +0200] [422607] [INFO] • Worker Class: sync
[2025-11-06 20:01:00 +0200] [422607] [INFO] • Timeout: 1800s
[2025-11-06 20:01:00 +0200] [422607] [INFO] • Bind: 0.0.0.0:8781
[2025-11-06 20:01:00 +0200] [422607] [INFO] • Preload App: True
[2025-11-06 20:01:00 +0200] [422607] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-06 20:01:00 +0200] [422607] [INFO] ============================================================
[2025-11-06 20:01:00 +0200] [422607] [INFO] Listening at: http://0.0.0.0:8781 (422607)
[2025-11-06 20:01:00 +0200] [422607] [INFO] Using worker: sync
[2025-11-06 20:01:00 +0200] [422607] [INFO] ============================================================
[2025-11-06 20:01:00 +0200] [422607] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-06 20:01:00 +0200] [422607] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-06 20:01:00 +0200] [422607] [INFO] ============================================================
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422612] [INFO] Booting worker with pid: 422612
[2025-11-06 20:01:00 +0200] [422612] [INFO] ✨ Worker spawned successfully (pid: 422612)
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422613] [INFO] Booting worker with pid: 422613
[2025-11-06 20:01:00 +0200] [422613] [INFO] ✨ Worker spawned successfully (pid: 422613)
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422616] [INFO] Booting worker with pid: 422616
[2025-11-06 20:01:00 +0200] [422616] [INFO] ✨ Worker spawned successfully (pid: 422616)
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422621] [INFO] Booting worker with pid: 422621
[2025-11-06 20:01:00 +0200] [422621] [INFO] ✨ Worker spawned successfully (pid: 422621)
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422622] [INFO] Booting worker with pid: 422622
[2025-11-06 20:01:00 +0200] [422622] [INFO] ✨ Worker spawned successfully (pid: 422622)
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422623] [INFO] Booting worker with pid: 422623
[2025-11-06 20:01:00 +0200] [422623] [INFO] ✨ Worker spawned successfully (pid: 422623)
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422631] [INFO] Booting worker with pid: 422631
[2025-11-06 20:01:00 +0200] [422631] [INFO] ✨ Worker spawned successfully (pid: 422631)
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422634] [INFO] Booting worker with pid: 422634
[2025-11-06 20:01:00 +0200] [422607] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:01:00 +0200] [422634] [INFO] ✨ Worker spawned successfully (pid: 422634)
[2025-11-06 20:01:00 +0200] [422635] [INFO] Booting worker with pid: 422635
[2025-11-06 20:01:00 +0200] [422635] [INFO] ✨ Worker spawned successfully (pid: 422635)
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 10 orders
DEBUG: Generating single label PDF for thermal printing
DEBUG: Piece 1 of 1
DEBUG: Order data keys: ['id', 'comanda_productie', 'cod_articol', 'descr_com_prod', 'cantitate', 'data_livrare', 'dimensiune', 'com_achiz_client', 'nr_linie_com_client', 'customer_name', 'quantity', 'piece_number', 'total_pieces']
DEBUG: Generating label CP00000784/001 (piece 1 of 1)
DEBUG: Single label PDF generated successfully for thermal printing
DEBUG: update_printed_status called for order_id: 4
DEBUG: Successfully updated printed status for order 4
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 9 orders
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 9 orders
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 9 orders
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 9 orders
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 9 orders
[2025-11-06 20:14:57 +0200] [422607] [INFO] Handling signal: term
[2025-11-06 20:14:57 +0200] [422612] [INFO] Worker exiting (pid: 422612)
[2025-11-06 20:14:57 +0200] [422631] [INFO] Worker exiting (pid: 422631)
[2025-11-06 20:14:57 +0200] [422613] [INFO] Worker exiting (pid: 422613)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:14:57 +0200] [422634] [INFO] Worker exiting (pid: 422634)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:14:57 +0200] [422616] [INFO] Worker exiting (pid: 422616)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:14:57 +0200] [422635] [INFO] Worker exiting (pid: 422635)
[2025-11-06 20:14:57 +0200] [422621] [INFO] Worker exiting (pid: 422621)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:14:57 +0200] [422622] [INFO] Worker exiting (pid: 422622)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:14:57 +0200] [422623] [INFO] Worker exiting (pid: 422623)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422613 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422612 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422622 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422631 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422634 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422635 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422623 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422616 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Worker 422621 exited
[2025-11-06 20:14:58 +0200] [422607] [INFO] Shutting down: Master
[2025-11-06 20:14:58 +0200] [422607] [INFO] ============================================================
[2025-11-06 20:14:58 +0200] [422607] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-06 20:14:58 +0200] [422607] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Schedule 'default': data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup (default)" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-06 20:15:09 +0200] [423081] [INFO] Starting gunicorn 23.0.0
[2025-11-06 20:15:09 +0200] [423081] [INFO] ============================================================
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-06 20:15:09 +0200] [423081] [INFO] ============================================================
[2025-11-06 20:15:09 +0200] [423081] [INFO] 📍 Configuration:
[2025-11-06 20:15:09 +0200] [423081] [INFO] • Workers: 9
[2025-11-06 20:15:09 +0200] [423081] [INFO] • Worker Class: sync
[2025-11-06 20:15:09 +0200] [423081] [INFO] • Timeout: 1800s
[2025-11-06 20:15:09 +0200] [423081] [INFO] • Bind: 0.0.0.0:8781
[2025-11-06 20:15:09 +0200] [423081] [INFO] • Preload App: True
[2025-11-06 20:15:09 +0200] [423081] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-06 20:15:09 +0200] [423081] [INFO] ============================================================
[2025-11-06 20:15:09 +0200] [423081] [INFO] Listening at: http://0.0.0.0:8781 (423081)
[2025-11-06 20:15:09 +0200] [423081] [INFO] Using worker: sync
[2025-11-06 20:15:09 +0200] [423081] [INFO] ============================================================
[2025-11-06 20:15:09 +0200] [423081] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-06 20:15:09 +0200] [423081] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-06 20:15:09 +0200] [423081] [INFO] ============================================================
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423097] [INFO] Booting worker with pid: 423097
[2025-11-06 20:15:09 +0200] [423097] [INFO] ✨ Worker spawned successfully (pid: 423097)
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423098] [INFO] Booting worker with pid: 423098
[2025-11-06 20:15:09 +0200] [423098] [INFO] ✨ Worker spawned successfully (pid: 423098)
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423108] [INFO] Booting worker with pid: 423108
[2025-11-06 20:15:09 +0200] [423108] [INFO] ✨ Worker spawned successfully (pid: 423108)
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423110] [INFO] Booting worker with pid: 423110
[2025-11-06 20:15:09 +0200] [423110] [INFO] ✨ Worker spawned successfully (pid: 423110)
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423111] [INFO] Booting worker with pid: 423111
[2025-11-06 20:15:09 +0200] [423111] [INFO] ✨ Worker spawned successfully (pid: 423111)
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423112] [INFO] Booting worker with pid: 423112
[2025-11-06 20:15:09 +0200] [423112] [INFO] ✨ Worker spawned successfully (pid: 423112)
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423113] [INFO] Booting worker with pid: 423113
[2025-11-06 20:15:09 +0200] [423113] [INFO] ✨ Worker spawned successfully (pid: 423113)
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423114] [INFO] Booting worker with pid: 423114
[2025-11-06 20:15:09 +0200] [423114] [INFO] ✨ Worker spawned successfully (pid: 423114)
[2025-11-06 20:15:09 +0200] [423081] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:15:09 +0200] [423115] [INFO] Booting worker with pid: 423115
[2025-11-06 20:15:09 +0200] [423115] [INFO] ✨ Worker spawned successfully (pid: 423115)
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 9 orders
DEBUG: get_unprinted_orders called. Session role: superadmin
DEBUG: Calling get_unprinted_orders_data()
DEBUG: Retrieved 9 orders
[2025-11-06 20:21:09 +0200] [423081] [INFO] Handling signal: term
[2025-11-06 20:21:09 +0200] [423110] [INFO] Worker exiting (pid: 423110)
[2025-11-06 20:21:09 +0200] [423108] [INFO] Worker exiting (pid: 423108)
[2025-11-06 20:21:09 +0200] [423098] [INFO] Worker exiting (pid: 423098)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:21:09 +0200] [423113] [INFO] Worker exiting (pid: 423113)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:21:09 +0200] [423097] [INFO] Worker exiting (pid: 423097)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:21:09 +0200] [423112] [INFO] Worker exiting (pid: 423112)
[2025-11-06 20:21:09 +0200] [423111] [INFO] Worker exiting (pid: 423111)
[2025-11-06 20:21:09 +0200] [423114] [INFO] Worker exiting (pid: 423114)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:21:09 +0200] [423115] [INFO] Worker exiting (pid: 423115)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423113 exited
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423110 exited
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423114 exited
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423097 exited
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423112 exited
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423115 exited
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423098 exited
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423111 exited
[2025-11-06 20:21:10 +0200] [423081] [INFO] 👋 Worker 423108 exited
[2025-11-06 20:21:11 +0200] [423081] [INFO] Shutting down: Master
[2025-11-06 20:21:11 +0200] [423081] [INFO] ============================================================
[2025-11-06 20:21:11 +0200] [423081] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-06 20:21:11 +0200] [423081] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down
Backup directory ensured: /srv/quality_app/backups
INFO:apscheduler.scheduler:Adding job tentatively -- it will be properly scheduled when the scheduler starts
INFO:app.backup_scheduler:✅ Schedule 'default': data-only backup daily at 03:00
INFO:apscheduler.scheduler:Added job "Scheduled data-only backup (default)" to job store "default"
INFO:apscheduler.scheduler:Scheduler started
INFO:app.backup_scheduler:Backup scheduler started
✅ Automatic backup scheduler initialized
[2025-11-06 20:21:18 +0200] [423484] [INFO] Starting gunicorn 23.0.0
[2025-11-06 20:21:18 +0200] [423484] [INFO] ============================================================
[2025-11-06 20:21:18 +0200] [423484] [INFO] 🚀 Trasabilitate Application - Starting Server
[2025-11-06 20:21:18 +0200] [423484] [INFO] ============================================================
[2025-11-06 20:21:18 +0200] [423484] [INFO] 📍 Configuration:
[2025-11-06 20:21:18 +0200] [423484] [INFO] • Workers: 9
[2025-11-06 20:21:18 +0200] [423484] [INFO] • Worker Class: sync
[2025-11-06 20:21:18 +0200] [423484] [INFO] • Timeout: 1800s
[2025-11-06 20:21:18 +0200] [423484] [INFO] • Bind: 0.0.0.0:8781
[2025-11-06 20:21:18 +0200] [423484] [INFO] • Preload App: True
[2025-11-06 20:21:18 +0200] [423484] [INFO] • Max Requests: 1000 (+/- 100)
[2025-11-06 20:21:18 +0200] [423484] [INFO] ============================================================
[2025-11-06 20:21:18 +0200] [423484] [INFO] Listening at: http://0.0.0.0:8781 (423484)
[2025-11-06 20:21:18 +0200] [423484] [INFO] Using worker: sync
[2025-11-06 20:21:18 +0200] [423484] [INFO] ============================================================
[2025-11-06 20:21:18 +0200] [423484] [INFO] ✅ Trasabilitate Application Server is READY!
[2025-11-06 20:21:18 +0200] [423484] [INFO] 📡 Listening on: [('0.0.0.0', 8781)]
[2025-11-06 20:21:18 +0200] [423484] [INFO] 🌐 Access the application at: http://0.0.0.0:8781
[2025-11-06 20:21:18 +0200] [423484] [INFO] ============================================================
[2025-11-06 20:21:18 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:18 +0200] [423503] [INFO] Booting worker with pid: 423503
[2025-11-06 20:21:18 +0200] [423503] [INFO] ✨ Worker spawned successfully (pid: 423503)
[2025-11-06 20:21:18 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:18 +0200] [423504] [INFO] Booting worker with pid: 423504
[2025-11-06 20:21:18 +0200] [423504] [INFO] ✨ Worker spawned successfully (pid: 423504)
[2025-11-06 20:21:18 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:18 +0200] [423505] [INFO] Booting worker with pid: 423505
[2025-11-06 20:21:18 +0200] [423505] [INFO] ✨ Worker spawned successfully (pid: 423505)
[2025-11-06 20:21:18 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:18 +0200] [423508] [INFO] Booting worker with pid: 423508
[2025-11-06 20:21:18 +0200] [423508] [INFO] ✨ Worker spawned successfully (pid: 423508)
[2025-11-06 20:21:18 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:18 +0200] [423509] [INFO] Booting worker with pid: 423509
[2025-11-06 20:21:18 +0200] [423509] [INFO] ✨ Worker spawned successfully (pid: 423509)
[2025-11-06 20:21:19 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:19 +0200] [423514] [INFO] Booting worker with pid: 423514
[2025-11-06 20:21:19 +0200] [423514] [INFO] ✨ Worker spawned successfully (pid: 423514)
[2025-11-06 20:21:19 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:19 +0200] [423515] [INFO] Booting worker with pid: 423515
[2025-11-06 20:21:19 +0200] [423515] [INFO] ✨ Worker spawned successfully (pid: 423515)
[2025-11-06 20:21:19 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:19 +0200] [423521] [INFO] Booting worker with pid: 423521
[2025-11-06 20:21:19 +0200] [423521] [INFO] ✨ Worker spawned successfully (pid: 423521)
[2025-11-06 20:21:19 +0200] [423484] [INFO] 🔄 Forking new worker (pid: [booting])
[2025-11-06 20:21:19 +0200] [423522] [INFO] Booting worker with pid: 423522
[2025-11-06 20:21:19 +0200] [423522] [INFO] ✨ Worker spawned successfully (pid: 423522)
DEBUG: Generating single label PDF for thermal printing
DEBUG: Piece 1 of 1
DEBUG: Order data keys: ['id', 'comanda_productie', 'cod_articol', 'descr_com_prod', 'cantitate', 'data_livrare', 'dimensiune', 'com_achiz_client', 'nr_linie_com_client', 'customer_name', 'quantity', 'piece_number', 'total_pieces']
DEBUG: Generating label CP00000791/001 (piece 1 of 1)
DEBUG: Single label PDF generated successfully for thermal printing
DEBUG: Generating single label PDF for thermal printing
DEBUG: Piece 3 of 3
DEBUG: Order data keys: ['id', 'comanda_productie', 'cod_articol', 'descr_com_prod', 'cantitate', 'data_livrare', 'dimensiune', 'com_achiz_client', 'nr_linie_com_client', 'customer_name', 'quantity', 'piece_number', 'total_pieces']
DEBUG: Generating label CP00000781/003 (piece 3 of 3)
DEBUG: Single label PDF generated successfully for thermal printing
[2025-11-06 20:36:43 +0200] [423484] [INFO] Handling signal: term
[2025-11-06 20:36:43 +0200] [423503] [INFO] Worker exiting (pid: 423503)
[2025-11-06 20:36:43 +0200] [423508] [INFO] Worker exiting (pid: 423508)
[2025-11-06 20:36:43 +0200] [423504] [INFO] Worker exiting (pid: 423504)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:36:43 +0200] [423505] [INFO] Worker exiting (pid: 423505)
[2025-11-06 20:36:43 +0200] [423509] [INFO] Worker exiting (pid: 423509)
[2025-11-06 20:36:43 +0200] [423514] [INFO] Worker exiting (pid: 423514)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:36:43 +0200] [423521] [INFO] Worker exiting (pid: 423521)
[2025-11-06 20:36:43 +0200] [423515] [INFO] Worker exiting (pid: 423515)
INFO:apscheduler.scheduler:Scheduler has been shut down
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:36:43 +0200] [423522] [INFO] Worker exiting (pid: 423522)
INFO:apscheduler.scheduler:Scheduler has been shut down
[2025-11-06 20:36:43 +0200] [423484] [INFO] 👋 Worker 423514 exited
[2025-11-06 20:36:44 +0200] [423484] [INFO] 👋 Worker 423509 exited
[2025-11-06 20:36:44 +0200] [423484] [INFO] 👋 Worker 423508 exited
[2025-11-06 20:36:44 +0200] [423484] [INFO] 👋 Worker 423504 exited
[2025-11-06 20:36:44 +0200] [423484] [INFO] 👋 Worker 423503 exited
[2025-11-06 20:36:44 +0200] [423484] [INFO] 👋 Worker 423521 exited
--- Logging error ---
Traceback (most recent call last):
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 223, in run
handler()
~~~~~~~^^
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 256, in handle_term
raise StopIteration
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.13/logging/__init__.py", line 1155, in emit
self.flush()
~~~~~~~~~~^^
File "/usr/lib/python3.13/logging/__init__.py", line 1137, in flush
self.stream.flush()
~~~~~~~~~~~~~~~~~^^
RuntimeError: reentrant call inside <_io.BufferedWriter name='/srv/quality_app/logs/error.log'>
Call stack:
File "/srv/quality_recticel/recticel/bin/gunicorn", line 8, in <module>
sys.exit(run())
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/wsgiapp.py", line 66, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]", prog=prog).run()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 235, in run
super().run()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/app/base.py", line 71, in run
Arbiter(self).run()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 226, in run
self.halt()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 341, in halt
self.stop()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 395, in stop
time.sleep(0.1)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 241, in handle_chld
self.reap_workers()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 559, in reap_workers
self.cfg.child_exit(self, worker)
File "/srv/quality_app/py_app/gunicorn.conf.py", line 168, in child_exit
server.log.info("👋 Worker %s exited", worker.pid)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/glogging.py", line 277, in info
self.error_log.info(msg, *args, **kwargs)
File "/usr/lib/python3.13/logging/__init__.py", line 1520, in info
self._log(INFO, msg, args, **kwargs)
File "/usr/lib/python3.13/logging/__init__.py", line 1665, in _log
self.handle(record)
File "/usr/lib/python3.13/logging/__init__.py", line 1681, in handle
self.callHandlers(record)
File "/usr/lib/python3.13/logging/__init__.py", line 1737, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.13/logging/__init__.py", line 1027, in handle
self.emit(record)
File "/usr/lib/python3.13/logging/__init__.py", line 1265, in emit
StreamHandler.emit(self, record)
File "/usr/lib/python3.13/logging/__init__.py", line 1155, in emit
self.flush()
File "/usr/lib/python3.13/logging/__init__.py", line 1137, in flush
self.stream.flush()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 241, in handle_chld
self.reap_workers()
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/arbiter.py", line 559, in reap_workers
self.cfg.child_exit(self, worker)
File "/srv/quality_app/py_app/gunicorn.conf.py", line 168, in child_exit
server.log.info("👋 Worker %s exited", worker.pid)
File "/srv/quality_recticel/recticel/lib/python3.13/site-packages/gunicorn/glogging.py", line 277, in info
self.error_log.info(msg, *args, **kwargs)
Message: '👋 Worker %s exited'
Arguments: (423522,)
[2025-11-06 20:36:44 +0200] [423484] [INFO] 👋 Worker 423505 exited
[2025-11-06 20:36:44 +0200] [423484] [INFO] 👋 Worker 423515 exited
[2025-11-06 20:36:44 +0200] [423484] [INFO] Shutting down: Master
[2025-11-06 20:36:44 +0200] [423484] [INFO] ============================================================
[2025-11-06 20:36:44 +0200] [423484] [INFO] 👋 Trasabilitate Application - Shutting Down
[2025-11-06 20:36:44 +0200] [423484] [INFO] ============================================================
INFO:apscheduler.scheduler:Scheduler has been shut down