Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
[UID:1188][469743] Child process with pid: 469780 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
[UID:1188][478623] Child process with pid: 478629 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
[UID:1188][478623] Child process with pid: 479016 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
[UID:1188][478623] Child process with pid: 479055 was killed by signal: 15, core dumped: no
[UID:1188][478623] Child process with pid: 479056 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
[UID:1188][478623] Child process with pid: 479222 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
[UID:1188][482073] Child process with pid: 482080 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 1, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
[UID:1188][482073] Child process with pid: 482091 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558181] Child process with pid: 558267 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558181] Child process with pid: 558270 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558181] Child process with pid: 558335 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558181] Child process with pid: 558336 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558965] Child process with pid: 558979 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558990] Child process with pid: 559018 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558990] Child process with pid: 559053 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558990] Child process with pid: 559054 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][558990] Child process with pid: 561542 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][565422] Child process with pid: 565458 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][565422] Child process with pid: 565460 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][565422] Child process with pid: 565492 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][565422] Child process with pid: 565493 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][565422] Child process with pid: 565520 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][608349] Child process with pid: 608361 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][630026] Child process with pid: 630034 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][630026] Child process with pid: 630035 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][630026] Child process with pid: 630093 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][630026] Child process with pid: 630094 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][630026] Child process with pid: 632281 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][630026] Child process with pid: 632282 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 16, in <module>
    wsgi = load_source('wsgi', 'run.py')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/passenger_wsgi.py", line 13, in load_source
    loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][630026] Child process with pid: 633373 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][641784] Child process with pid: 641823 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][641824] Child process with pid: 641836 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][659960] Child process with pid: 659969 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][659972] Child process with pid: 659985 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][659960] Child process with pid: 659994 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)
[UID:1188][659972] Child process with pid: 660019 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676080] Child process with pid: 676101 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676080] Child process with pid: 676102 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676080] Child process with pid: 676126 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676080] Child process with pid: 676129 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676080] Child process with pid: 676642 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676657 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676687 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676689 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676705 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676706 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676710 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676711 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676714 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676717 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676722 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676723 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][676644] Child process with pid: 676835 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682202] Child process with pid: 682210 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682217 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682220 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682221 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682236 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682237 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682247 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682248 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682251 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 682252 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 685896 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][682212] Child process with pid: 685898 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][715416] Child process with pid: 715422 was killed by signal: 15, core dumped: no
[UID:1188][715416] Child process with pid: 715423 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 25, in <module>
    f.write(f"\u274c Failed to import app: {str(e)}\n")
UnicodeEncodeError: 'ascii' codec can't encode character '\u274c' in position 0: ordinal not in range(128)
[UID:1188][715416] Child process with pid: 715424 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][739293] Child process with pid: 739297 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][739293] Child process with pid: 739303 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][739293] Child process with pid: 739340 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][739293] Child process with pid: 739342 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][739293] Child process with pid: 740021 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][739293] Child process with pid: 740023 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][833186] Child process with pid: 833192 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][833186] Child process with pid: 833193 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][839735] Child process with pid: 839742 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][839735] Child process with pid: 839744 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][839735] Child process with pid: 839894 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][839735] Child process with pid: 839913 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][839735] Child process with pid: 839914 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][839735] Child process with pid: 842241 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][839735] Child process with pid: 842243 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][869908] Child process with pid: 869919 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][869908] Child process with pid: 869951 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][869908] Child process with pid: 872383 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][873972] Child process with pid: 873979 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][873972] Child process with pid: 875273 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][873972] Child process with pid: 875320 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][873972] Child process with pid: 875450 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][869908] Child process with pid: 875454 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][873972] Child process with pid: 875481 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][873972] Child process with pid: 875736 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][873972] Child process with pid: 875740 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][869908] Child process with pid: 875989 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 18, in <module>
    from app import app
  File "/home/synzhico/public_html/platform/backend/app.py", line 49, in <module>
    print(f"\U0001f525 Loading .env from: {env_path}")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 0: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 27, in <module>
    traceback.print_exc(file=f)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 180, in print_exc
    print_exception(sys.exception(), limit=limit, file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 125, in print_exception
    te.print(file=file, chain=chain)
  File "/opt/alt/python312/lib64/python3.12/traceback.py", line 1050, in print
    print(line, file=file, end="")
UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f525' in position 94: ordinal not in range(128)
[UID:1188][869908] Child process with pid: 876861 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 76, in <module>
    from cli_commands import (
ModuleNotFoundError: No module named 'cli_commands'
[UID:1188][869908] Child process with pid: 877549 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 76, in <module>
    from cli_commands import (
ModuleNotFoundError: No module named 'cli_commands'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 76, in <module>
    from cli_commands import (
ModuleNotFoundError: No module named 'cli_commands'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 76, in <module>
    from cli_commands import (
ModuleNotFoundError: No module named 'cli_commands'
[UID:1188][879695] Child process with pid: 879751 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 76, in <module>
    from cli_commands import (
ModuleNotFoundError: No module named 'cli_commands'
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][882916] Child process with pid: 882948 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][882916] Child process with pid: 882950 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][882916] Child process with pid: 882970 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][882916] Child process with pid: 882975 was killed by signal: 15, core dumped: no
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][883315] Child process with pid: 883396 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][883315] Child process with pid: 883739 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][883315] Child process with pid: 884706 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][883315] Child process with pid: 884821 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][883315] Child process with pid: 886086 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 33, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 12, in <module>
    from services.calendar_providers.google_provider import GoogleCalendarProvider
ModuleNotFoundError: No module named 'services.calendar_providers'
[UID:1188][889833] Child process with pid: 889875 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 44, in <module>
    from routes.ai_agent_routes import ai_agent_bp
  File "/home/synzhico/public_html/platform/backend/routes/ai_agent_routes.py", line 5, in <module>
    from services.agent_orchestrator import agent_orchestrator
  File "/home/synzhico/public_html/platform/backend/services/agent_orchestrator.py", line 8, in <module>
    from .ai_agents.orion_agent import OrionAgent
ModuleNotFoundError: No module named 'services.ai_agents'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 44, in <module>
    from routes.ai_agent_routes import ai_agent_bp
  File "/home/synzhico/public_html/platform/backend/routes/ai_agent_routes.py", line 5, in <module>
    from services.agent_orchestrator import agent_orchestrator
  File "/home/synzhico/public_html/platform/backend/services/agent_orchestrator.py", line 8, in <module>
    from .ai_agents.orion_agent import OrionAgent
ModuleNotFoundError: No module named 'services.ai_agents'
[UID:1188][891962] Child process with pid: 892117 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 44, in <module>
    from routes.ai_agent_routes import ai_agent_bp
  File "/home/synzhico/public_html/platform/backend/routes/ai_agent_routes.py", line 5, in <module>
    from services.agent_orchestrator import agent_orchestrator
  File "/home/synzhico/public_html/platform/backend/services/agent_orchestrator.py", line 8, in <module>
    from .ai_agents.orion_agent import OrionAgent
ModuleNotFoundError: No module named 'services.ai_agents'
[UID:1188][891962] Child process with pid: 892141 was killed by signal: 15, core dumped: no
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 44, in <module>
    from routes.ai_agent_routes import ai_agent_bp
  File "/home/synzhico/public_html/platform/backend/routes/ai_agent_routes.py", line 5, in <module>
    from services.agent_orchestrator import agent_orchestrator
  File "/home/synzhico/public_html/platform/backend/services/agent_orchestrator.py", line 8, in <module>
    from .ai_agents.orion_agent import OrionAgent
ModuleNotFoundError: No module named 'services.ai_agents'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 44, in <module>
    from routes.ai_agent_routes import ai_agent_bp
  File "/home/synzhico/public_html/platform/backend/routes/ai_agent_routes.py", line 5, in <module>
    from services.agent_orchestrator import agent_orchestrator
  File "/home/synzhico/public_html/platform/backend/services/agent_orchestrator.py", line 8, in <module>
    from .ai_agents.orion_agent import OrionAgent
ModuleNotFoundError: No module named 'services.ai_agents'
[UID:1188][895489] Child process with pid: 895669 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
OpenBLAS blas_thread_init: pthread_create failed for thread 37 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 38 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 39 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 40 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 41 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 42 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 43 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 44 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 45 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 48 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 49 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 50 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 51 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 52 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 53 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 54 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 55 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 56 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 57 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 58 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 59 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 60 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 61 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 62 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 48, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 34, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 14, in <module>
    from sklearn.linear_model import LinearRegression
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/__init__.py", line 70, in <module>
    from sklearn.base import clone  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/base.py", line 19, in <module>
    from sklearn.utils._metadata_requests import _MetadataRequester, _routing_enabled
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/__init__.py", line 9, in <module>
    from sklearn.utils._chunking import gen_batches, gen_even_slices
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_chunking.py", line 11, in <module>
    from sklearn.utils._param_validation import Interval, validate_params
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_param_validation.py", line 17, in <module>
    from sklearn.utils.validation import _is_arraylike_not_scalar
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/validation.py", line 24, in <module>
    from sklearn.utils._array_api import (
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_array_api.py", line 13, in <module>
    import scipy.special as special
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/scipy/special/__init__.py", line 785, in <module>
    from . import _ufuncs
  File "<frozen importlib._bootstrap>", line 645, in parent
KeyboardInterrupt
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
OpenBLAS blas_thread_init: pthread_create failed for thread 37 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 38 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 39 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 40 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 41 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 42 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 43 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 44 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 45 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 48 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 49 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 50 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 51 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 52 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 53 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 54 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 55 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 56 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 57 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 58 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 59 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 60 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 61 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 62 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 48, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 34, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 14, in <module>
    from sklearn.linear_model import LinearRegression
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/__init__.py", line 70, in <module>
    from sklearn.base import clone  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/base.py", line 19, in <module>
    from sklearn.utils._metadata_requests import _MetadataRequester, _routing_enabled
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/__init__.py", line 9, in <module>
    from sklearn.utils._chunking import gen_batches, gen_even_slices
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_chunking.py", line 11, in <module>
    from sklearn.utils._param_validation import Interval, validate_params
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_param_validation.py", line 17, in <module>
    from sklearn.utils.validation import _is_arraylike_not_scalar
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/validation.py", line 24, in <module>
    from sklearn.utils._array_api import (
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_array_api.py", line 13, in <module>
    import scipy.special as special
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/scipy/special/__init__.py", line 785, in <module>
    from . import _ufuncs
  File "<frozen importlib._bootstrap>", line 645, in parent
KeyboardInterrupt
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
OpenBLAS blas_thread_init: pthread_create failed for thread 37 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 38 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 39 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 40 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 41 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 42 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 43 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 44 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 45 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 48 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 49 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 50 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 51 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 52 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 53 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 54 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 55 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 56 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 57 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 58 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 59 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 60 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 61 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 62 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 48, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 34, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 14, in <module>
    from sklearn.linear_model import LinearRegression
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/__init__.py", line 70, in <module>
    from sklearn.base import clone  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/base.py", line 19, in <module>
    from sklearn.utils._metadata_requests import _MetadataRequester, _routing_enabled
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/__init__.py", line 9, in <module>
    from sklearn.utils._chunking import gen_batches, gen_even_slices
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_chunking.py", line 11, in <module>
    from sklearn.utils._param_validation import Interval, validate_params
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_param_validation.py", line 17, in <module>
    from sklearn.utils.validation import _is_arraylike_not_scalar
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/validation.py", line 24, in <module>
    from sklearn.utils._array_api import (
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_array_api.py", line 13, in <module>
    import scipy.special as special
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/scipy/special/__init__.py", line 785, in <module>
    from . import _ufuncs
  File "<frozen importlib._bootstrap>", line 645, in parent
KeyboardInterrupt
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
OpenBLAS blas_thread_init: pthread_create failed for thread 37 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 38 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 39 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 40 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 41 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 42 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 43 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 44 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 45 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 48 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 49 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 50 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 51 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 52 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 53 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 54 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 55 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 56 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 57 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 58 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 59 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 60 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 61 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 62 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 48, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 34, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 14, in <module>
    from sklearn.linear_model import LinearRegression
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/__init__.py", line 70, in <module>
    from sklearn.base import clone  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/base.py", line 19, in <module>
    from sklearn.utils._metadata_requests import _MetadataRequester, _routing_enabled
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/__init__.py", line 9, in <module>
    from sklearn.utils._chunking import gen_batches, gen_even_slices
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_chunking.py", line 11, in <module>
    from sklearn.utils._param_validation import Interval, validate_params
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_param_validation.py", line 17, in <module>
    from sklearn.utils.validation import _is_arraylike_not_scalar
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/validation.py", line 24, in <module>
    from sklearn.utils._array_api import (
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_array_api.py", line 13, in <module>
    import scipy.special as special
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/scipy/special/__init__.py", line 785, in <module>
    from . import _ufuncs
  File "<frozen importlib._bootstrap>", line 645, in parent
KeyboardInterrupt
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
OpenBLAS blas_thread_init: pthread_create failed for thread 37 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 38 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 39 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 40 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 41 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 42 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 43 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 44 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 45 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 48 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 49 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 50 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 51 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 52 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 53 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 54 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 55 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 56 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 57 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 58 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 59 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 60 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 61 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 62 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 48, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 34, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 14, in <module>
    from sklearn.linear_model import LinearRegression
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/__init__.py", line 70, in <module>
    from sklearn.base import clone  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/base.py", line 19, in <module>
    from sklearn.utils._metadata_requests import _MetadataRequester, _routing_enabled
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/__init__.py", line 9, in <module>
    from sklearn.utils._chunking import gen_batches, gen_even_slices
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_chunking.py", line 11, in <module>
    from sklearn.utils._param_validation import Interval, validate_params
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_param_validation.py", line 17, in <module>
    from sklearn.utils.validation import _is_arraylike_not_scalar
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/validation.py", line 24, in <module>
    from sklearn.utils._array_api import (
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_array_api.py", line 13, in <module>
    import scipy.special as special
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/scipy/special/__init__.py", line 785, in <module>
    from . import _ufuncs
  File "<frozen importlib._bootstrap>", line 645, in parent
KeyboardInterrupt
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
OpenBLAS blas_thread_init: pthread_create failed for thread 37 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 38 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 39 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 40 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 41 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 42 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 43 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 44 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 45 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 48 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 49 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 50 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 51 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 52 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 53 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 54 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 55 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 56 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 57 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 58 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 59 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 60 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 61 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 62 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Resource temporarily unavailable
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC 1400 current, 1500 max
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 487, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 260, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 48, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 34, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 14, in <module>
    from sklearn.linear_model import LinearRegression
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/__init__.py", line 70, in <module>
    from sklearn.base import clone  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/base.py", line 19, in <module>
    from sklearn.utils._metadata_requests import _MetadataRequester, _routing_enabled
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/__init__.py", line 9, in <module>
    from sklearn.utils._chunking import gen_batches, gen_even_slices
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_chunking.py", line 11, in <module>
    from sklearn.utils._param_validation import Interval, validate_params
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_param_validation.py", line 17, in <module>
    from sklearn.utils.validation import _is_arraylike_not_scalar
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/validation.py", line 24, in <module>
    from sklearn.utils._array_api import (
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sklearn/utils/_array_api.py", line 13, in <module>
    import scipy.special as special
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/scipy/special/__init__.py", line 785, in <module>
    from . import _ufuncs
  File "<frozen importlib._bootstrap>", line 645, in parent
KeyboardInterrupt
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3309, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 447, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1264, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 711, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 388, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 673, in __init__
    self.__connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 899, in __connect
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 895, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 661, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 630, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)  # type: ignore[no-any-return]  # NOQA: E501
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 365, in __init__
    self.connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 681, in connect
    self._request_authentication()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 958, in _request_authentication
    auth_packet = self._read_packet()
                  ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 782, in _read_packet
    packet.raise_for_error()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1044, "Access denied for user 'synzhico_dbsuser'@'localhost' to database 'synzhico_service_platform_prod_db'")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 492, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 476, in create_app
    db.create_all()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 900, in create_all
    self._call_for_binds(bind_key, "create_all")
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 881, in _call_for_binds
    getattr(metadata, op_name)(bind=engine)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/schema.py", line 5928, in create_all
    bind._run_ddl_visitor(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3259, in _run_ddl_visitor
    with self.begin() as conn:
         ^^^^^^^^^^^^
  File "/opt/alt/python312/lib64/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3249, in begin
    with self.connect() as conn:
         ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3285, in connect
    return self._connection_cls(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
    Connection._handle_dbapi_exception_noconnection(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2448, in _handle_dbapi_exception_noconnection
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3309, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 447, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1264, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 711, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 388, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 673, in __init__
    self.__connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 899, in __connect
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 895, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 661, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 630, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)  # type: ignore[no-any-return]  # NOQA: E501
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 365, in __init__
    self.connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 681, in connect
    self._request_authentication()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 958, in _request_authentication
    auth_packet = self._read_packet()
                  ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 782, in _read_packet
    packet.raise_for_error()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1044, "Access denied for user 'synzhico_dbsuser'@'localhost' to database 'synzhico_service_platform_prod_db'")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3309, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 447, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1264, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 711, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 388, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 673, in __init__
    self.__connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 899, in __connect
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 895, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 661, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 630, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)  # type: ignore[no-any-return]  # NOQA: E501
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 365, in __init__
    self.connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 681, in connect
    self._request_authentication()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 958, in _request_authentication
    auth_packet = self._read_packet()
                  ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 782, in _read_packet
    packet.raise_for_error()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1044, "Access denied for user 'synzhico_dbsuser'@'localhost' to database 'synzhico_service_platform_prod_db'")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 492, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 476, in create_app
    db.create_all()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 900, in create_all
    self._call_for_binds(bind_key, "create_all")
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 881, in _call_for_binds
    getattr(metadata, op_name)(bind=engine)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/schema.py", line 5928, in create_all
    bind._run_ddl_visitor(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3259, in _run_ddl_visitor
    with self.begin() as conn:
         ^^^^^^^^^^^^
  File "/opt/alt/python312/lib64/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3249, in begin
    with self.connect() as conn:
         ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3285, in connect
    return self._connection_cls(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
    Connection._handle_dbapi_exception_noconnection(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2448, in _handle_dbapi_exception_noconnection
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3309, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 447, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1264, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 711, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 388, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 673, in __init__
    self.__connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 899, in __connect
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 895, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 661, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 630, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)  # type: ignore[no-any-return]  # NOQA: E501
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 365, in __init__
    self.connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 681, in connect
    self._request_authentication()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 958, in _request_authentication
    auth_packet = self._read_packet()
                  ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 782, in _read_packet
    packet.raise_for_error()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1044, "Access denied for user 'synzhico_dbsuser'@'localhost' to database 'synzhico_service_platform_prod_db'")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[UID:1188][913309] Child process with pid: 913553 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3309, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 447, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1264, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 711, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 388, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 673, in __init__
    self.__connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 899, in __connect
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 895, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 661, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 630, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)  # type: ignore[no-any-return]  # NOQA: E501
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 365, in __init__
    self.connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 681, in connect
    self._request_authentication()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 958, in _request_authentication
    auth_packet = self._read_packet()
                  ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 782, in _read_packet
    packet.raise_for_error()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1044, "Access denied for user 'synzhico_dbsuser'@'localhost' to database 'synzhico_service_platform_prod_db'")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 492, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 476, in create_app
    db.create_all()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 900, in create_all
    self._call_for_binds(bind_key, "create_all")
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 881, in _call_for_binds
    getattr(metadata, op_name)(bind=engine)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/schema.py", line 5928, in create_all
    bind._run_ddl_visitor(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3259, in _run_ddl_visitor
    with self.begin() as conn:
         ^^^^^^^^^^^^
  File "/opt/alt/python312/lib64/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3249, in begin
    with self.connect() as conn:
         ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3285, in connect
    return self._connection_cls(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
    Connection._handle_dbapi_exception_noconnection(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2448, in _handle_dbapi_exception_noconnection
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3309, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 447, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1264, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 711, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/impl.py", line 175, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 388, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 673, in __init__
    self.__connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 899, in __connect
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 895, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 661, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 630, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)  # type: ignore[no-any-return]  # NOQA: E501
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 365, in __init__
    self.connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 681, in connect
    self._request_authentication()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 958, in _request_authentication
    auth_packet = self._read_packet()
                  ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 782, in _read_packet
    packet.raise_for_error()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1044, "Access denied for user 'synzhico_dbsuser'@'localhost' to database 'synzhico_service_platform_prod_db'")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[UID:1188][913309] Child process with pid: 913560 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.685s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.499s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.495s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /api/v1/auth/login' - 404
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
[UID:1188][938855] Child process with pid: 938944 was killed by signal: 15, core dumped: no
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.752s
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
[ERROR] [UID:1188][942720] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2215, in _entity_namespace_key
    return getattr(ns, key)  # type: ignore
           ^^^^^^^^^^^^^^^^
AttributeError: type object 'Company' has no attribute 'subdomain'. Did you mean: 'domain'?

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 37, in before_request
    company = Company.query.filter_by(subdomain=subdomain).first()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 1992, in filter_by
    _entity_namespace_key(from_entity, key) == value
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2217, in _entity_namespace_key
    raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Entity namespace for "companies" has no property "subdomain"
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.498s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /app/api/v1/auth/login - 404
WARNING:middleware.performance:Slow request: OPTIONS /app/api/v1/auth/login - 1.546s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /app/api/v1/auth/login' - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /app/api/v1/auth/login - 404
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.501s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /app/api/v1/auth/login - 404
WARNING:middleware.performance:Slow request: OPTIONS /app/api/v1/auth/login - 1.486s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
[UID:1188][955719] Child process with pid: 955795 was killed by signal: 15, core dumped: no
[UID:1188][955719] Child process with pid: 955796 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.781s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /wordpress/ - 404
WARNING:middleware.performance:Slow request: GET /wordpress/ - 1.765s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.508s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.478s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/login - 1.719s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/login - 1.513s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /api/v1/auth/login' - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /api/v1/auth/login - 405
WARNING:middleware.performance:Slow request: GET /api/v1/auth/login - 1.474s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/login - 1.514s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.504s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.525s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.664s
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.555s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.698s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.641s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
[UID:1188][1102539] Child process with pid: 1102617 was killed by signal: 9, core dumped: no
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 20.388s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1102539] Child process with pid: 1102783 was killed by signal: 9, core dumped: no
[UID:1188][1102630] Child process with pid: 1102858 was killed by signal: 9, core dumped: no
[UID:1188][1102630] Child process with pid: 1102823 was killed by signal: 9, core dumped: no
[ERROR] [UID:1188][1143093] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 144.885s
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
WARNING:middleware.performance:Slow request: GET / - 150.535s
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3309, in raw_connection
    return self.pool.connect()
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 447, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1264, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 716, in checkout
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 714, in checkout
    dbapi_connection = rec.get_connection()
                       ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 865, in get_connection
    self.__connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 899, in __connect
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 895, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 661, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 630, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)  # type: ignore[no-any-return]  # NOQA: E501
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 365, in __init__
    self.connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 681, in connect
    self._request_authentication()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 958, in _request_authentication
    auth_packet = self._read_packet()
                  ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 764, in _read_packet
    raise err.InternalError(
pymysql.err.InternalError: Packet sequence number wrong - got 1 expected 2

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 81, in before_request
    branding = TenantBranding.query.filter_by(custom_domain=custom_domain).first()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2759, in first
    return self.limit(1)._iter().first()  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2857, in _iter
    result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
    return self._execute_internal(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2239, in _execute_internal
    conn = self._connection_for_bind(bind)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2108, in _connection_for_bind
    return trans._connection_for_bind(engine, execution_options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<string>", line 2, in _connection_for_bind
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
    ret_value = fn(self, *arg, **kw)
                ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1187, in _connection_for_bind
    conn = bind.connect()
           ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3285, in connect
    return self._connection_cls(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
    Connection._handle_dbapi_exception_noconnection(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2448, in _handle_dbapi_exception_noconnection
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 143, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 3309, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 447, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1264, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 716, in checkout
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 714, in checkout
    dbapi_connection = rec.get_connection()
                       ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 865, in get_connection
    self.__connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 899, in __connect
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 895, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/create.py", line 661, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 630, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)  # type: ignore[no-any-return]  # NOQA: E501
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 365, in __init__
    self.connect()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 681, in connect
    self._request_authentication()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 958, in _request_authentication
    auth_packet = self._read_packet()
                  ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 764, in _read_packet
    raise err.InternalError(
sqlalchemy.exc.InternalError: (pymysql.err.InternalError) Packet sequence number wrong - got 1 expected 2
(Background on this error at: https://sqlalche.me/e/20/2j85)
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
[ERROR] [UID:1188][1208124] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2215, in _entity_namespace_key
    return getattr(ns, key)  # type: ignore
           ^^^^^^^^^^^^^^^^
AttributeError: type object 'Company' has no attribute 'subdomain'. Did you mean: 'domain'?

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 37, in before_request
    company = Company.query.filter_by(subdomain=subdomain).first()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 1992, in filter_by
    _entity_namespace_key(from_entity, key) == value
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2217, in _entity_namespace_key
    raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Entity namespace for "companies" has no property "subdomain"
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.516s
[ERROR] [UID:1188][1444613] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 920, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 941, in finalize_request
    response = self.process_response(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1319, in process_response
    response = self.ensure_sync(func)(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 163, in add_cors_headers
    origin = request.headers.get('Origin', '')
             ^^^^^^^
NameError: name 'request' is not defined
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
[ERROR] [UID:1188][1444613] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 920, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 941, in finalize_request
    response = self.process_response(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1319, in process_response
    response = self.ensure_sync(func)(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 163, in add_cors_headers
    origin = request.headers.get('Origin', '')
             ^^^^^^^
NameError: name 'request' is not defined
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.620s
[ERROR] [UID:1188][1445017] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 920, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 941, in finalize_request
    response = self.process_response(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1319, in process_response
    response = self.ensure_sync(func)(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 163, in add_cors_headers
    origin = request.headers.get('Origin', '')
             ^^^^^^^
NameError: name 'request' is not defined
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
[ERROR] [UID:1188][1445017] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 920, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 941, in finalize_request
    response = self.process_response(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1319, in process_response
    response = self.ensure_sync(func)(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 163, in add_cors_headers
    origin = request.headers.get('Origin', '')
             ^^^^^^^
NameError: name 'request' is not defined
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.491s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/login - 1.481s
INFO:routes.auth_routes: LOGIN ATTEMPT: email=tpprn@gmail.com
INFO:routes.auth_routes: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:[OK] Login completed in 0.42s for user: tpprn@gmail.com
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] POST /api/v1/auth/login - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.get_current_user_short] OPTIONS /api/v1/auth/me - 200
INFO:routes.auth_routes: /me endpoint: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:   First 5 permissions: ['grassroots_events:update', 'grassroots_overview:update', 'grassroots_overview:manage', 'grassroots_calendar:create', 'grassroots_calendar:access']
INFO:routes.auth_routes:[OK] /me endpoint returning 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.get_current_user_short] GET /api/v1/auth/me - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/user-navigation - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.projects.get_projects] OPTIONS /api/v1/projects - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
ERROR:utils.audit_logger:Failed to write audit log: could not convert string to float: '[]'
INFO:utils.audit_logger:[Tenant:None] [User:None] [api_v1.time_logs_routes.get_recent_time_logs] OPTIONS /api/v1/time-logs/recent - 200
ERROR:app:User lookup error: Could not locate column in row for column 'users.id'
ERROR:utils.permissions_v2:Error getting current user: user_lookup returned None for 39
ERROR:utils.audit_logger:Failed to write audit log: 
WARNING:utils.audit_logger:[Tenant:6] [User:39] [api_v1.projects.get_projects] GET /api/v1/projects - 401
ERROR:sqlalchemy.pool.impl.QueuePool:Exception during reset or similar
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 985, in _finalize_fairy
    fairy._reset(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1433, in _reset
    pool._dialect.do_rollback(self)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 467, in _read_ok_packet
    raise err.OperationalError(
pymysql.err.OperationalError: (2014, 'Command Out of Sync')
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_branding] OPTIONS /api/v1/tenant/branding - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_feature_flags] OPTIONS /api/v1/tenant/features - 200
INFO:routes.tenant_routes:[OK] Branding retrieved for company 6
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.users_routes.get_user_permissions] OPTIONS /api/v1/users/39/permissions - 200
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_branding] GET /api/v1/tenant/branding - 200
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] [UID:1188][1452586] Child process with pid: 1452673 was killed by signal: 9, core dumped: no
[UID:1188][1452586] Child process with pid: 1453086 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1452586] Child process with pid: 1453115 was killed by signal: 9, core dumped: no
[UID:1188][1452586] Child process with pid: 1453126 was killed by signal: 9, core dumped: no
INFO:routes.tenant_routes:[OK] Feature flags retrieved for company 6
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.clients.get_clients] OPTIONS /api/v1/clients - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_feature_flags] GET /api/v1/tenant/features - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/clients - 58.393s
WARNING:middleware.performance:Slow request: GET /api/v1/tenant/features - 36.291s
INFO:routes.client_routes:Fetching clients for user tpprn@gmail.com (role: manager)
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/tenant-modules - 58.617s
INFO:routes.user_routes:Found 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.users_routes.get_user_permissions] GET /api/v1/users/39/permissions - 200
WARNING:middleware.performance:Slow request: GET /api/v1/users/39/permissions - 36.791s
INFO:routes.client_routes:User tpprn@gmail.com found 0 clients (total: 0)
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.clients.get_clients] GET /api/v1/clients - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/tenant-modules - 59.579s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/activities/recent - 59.434s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1452586] Child process with pid: 1453116 was killed by signal: 9, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1452586] Child process with pid: 1453121 was killed by signal: 9, core dumped: no
INFO:routes.auth_routes: LOGIN ATTEMPT: email=tpprn@gmail.com
[UID:1188][1452586] Child process with pid: 1453117 was killed by signal: 9, core dumped: no
INFO:routes.auth_routes: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:[OK] Login completed in 580.18s for user: tpprn@gmail.com
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] POST /api/v1/auth/login - 200
WARNING:middleware.performance:Slow request: POST /api/v1/auth/login - 1235.128s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.540s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
INFO:routes.auth_routes: LOGIN ATTEMPT: email=tpprn@gmail.com
INFO:routes.auth_routes: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:[OK] Login completed in 0.39s for user: tpprn@gmail.com
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] POST /api/v1/auth/login - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.get_current_user_short] OPTIONS /api/v1/auth/me - 200
INFO:routes.auth_routes: /me endpoint: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:   First 5 permissions: ['dashboard:view', 'grassroots_overview:update', 'grassroots_events:read', 'grassroots_events:create', 'grassroots_events:manage']
INFO:routes.auth_routes:[OK] /me endpoint returning 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.get_current_user_short] GET /api/v1/auth/me - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/user-navigation - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_branding] OPTIONS /api/v1/tenant/branding - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.users_routes.get_user_permissions] OPTIONS /api/v1/users/39/permissions - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_feature_flags] OPTIONS /api/v1/tenant/features - 200
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1483596 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1484384 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1484380 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1484375 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1484374 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1484379 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1484376 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1484694 was killed by signal: 9, core dumped: no
INFO:routes.user_routes:Found 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:None] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 51.553s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 72.237s
INFO:routes.tenant_routes:[OK] Feature flags retrieved for company 6
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_feature_flags] GET /api/v1/tenant/features - 200
WARNING:middleware.performance:Slow request: GET /api/v1/tenant/features - 102.481s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 26.436s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.users_routes.get_user_permissions] GET /api/v1/users/39/permissions - 200
WARNING:middleware.performance:Slow request: GET /api/v1/users/39/permissions - 102.030s
[UID:1188][1482462] Child process with pid: 1484377 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 2.181s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1482462] Child process with pid: 1486991 was killed by signal: 9, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1482462] Child process with pid: 1486525 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 2, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1485673 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1484666 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 4, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1484693 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1486031 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 6, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1485269 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1495181 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1494812 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1495180 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1511833 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1495696 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1495695 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1511921 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1512176 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1512747 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1512097 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1513009 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1513010 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1513469 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1513190 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1513465 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1513189 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1513787 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1514203 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1512745 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1514620 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1514202 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1513786 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1514866 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1514477 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1514845 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1514387 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1515107 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1515108 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1515430 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1515716 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1515296 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1515951 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1515761 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1516421 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1516172 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1515914 was killed by signal: 9, core dumped: no
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1516591 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1516420 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1517034 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1517035 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1516834 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1516592 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1518132 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1517704 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1517539 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1519174 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1519036 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1518133 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1519035 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1519215 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1519426 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1519605 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1519688 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1520353 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 62.096s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 78.240s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 32.365s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 64.154s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 45.267s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 32.597s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1482462] Child process with pid: 1520678 was killed by signal: 9, core dumped: no
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1521363 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1520271 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 2, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 4, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 5, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1521160 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1520642 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 6, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] [UID:1188][1482462] Child process with pid: 1521362 was killed by signal: 9, core dumped: no
[UID:1188][1482462] Child process with pid: 1536818 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1482462] Child process with pid: 1537277 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 2307.573s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/health - 48.685s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 2360.611s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 2314.681s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 39.165s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 53.685s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 39.276s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1608112 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1608126 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1608111 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1608128 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1608124 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1608113 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1608110 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1608115 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1608704 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1608703 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1609113 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1609114 was killed by signal: 9, core dumped: no
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1609650 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1610098 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1610750 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1610050 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1611227 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1609648 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1611226 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1611755 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1610751 was killed by signal: 9, core dumped: no
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1612338 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1611756 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1613331 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1613332 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1612915 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1614087 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1612337 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1614628 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1614182 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1615406 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1615731 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1614674 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1615407 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1616613 was killed by signal: 9, core dumped: no
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1615730 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1616620 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1616265 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1617246 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1617145 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1617699 was killed by signal: 9, core dumped: no
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1618943 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1618510 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1618038 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1618487 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1618944 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1618037 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1619315 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1620011 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1619316 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1620742 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1621346 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1620708 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1622144 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1621345 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1620165 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1622603 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1623770 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1622085 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1623077 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1623771 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1623236 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1624415 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1625015 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1624947 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1625956 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1625384 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1624363 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1625957 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1626390 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1626423 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1626823 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1627411 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1627318 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1628655 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1626659 was killed by signal: 9, core dumped: no
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1628238 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1629037 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1628181 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1628621 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1629702 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1629457 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1629703 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1631095 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1631130 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1633291 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1633012 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1631793 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1629038 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1633013 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1633661 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1633660 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1634064 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1634062 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1635562 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1634711 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1571215] [UID:1188][1571215] Child process with pid: 1633292 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1571215] Child process with pid: 1635564 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1636364 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1636174 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1637351 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1637221 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1638367 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 56.970s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 32.794s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 107.913s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 59.436s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 108.605s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 5.362s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1571215] Child process with pid: 1638794 was killed by signal: 9, core dumped: no
[UID:1188][1571215] Child process with pid: 1639687 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 3.626s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 3.355s
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 3.346s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.585s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.523s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
INFO:routes.auth_routes: LOGIN ATTEMPT: email=tpprn@gmail.com
INFO:routes.auth_routes: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:[OK] Login completed in 0.41s for user: tpprn@gmail.com
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] POST /api/v1/auth/login - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.get_current_user_short] OPTIONS /api/v1/auth/me - 200
INFO:routes.auth_routes: /me endpoint: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:   First 5 permissions: ['grassroots_overview:view', 'grassroots_calendar:view', 'grassroots_calendar:create', 'grassroots_overview:manage', 'grassroots_calendar:read']
INFO:routes.auth_routes:[OK] /me endpoint returning 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.get_current_user_short] GET /api/v1/auth/me - 200
[ERROR] [UID:1188][1673606] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 81, in before_request
    branding = TenantBranding.query.filter_by(custom_domain=custom_domain).first()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2759, in first
    return self.limit(1)._iter().first()  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 1803, in first
    return self._only_one_row(
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 769, in _only_one_row
    row: Optional[_InterimRowType[Any]] = onerow(hard_close=True)
                                          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 1690, in _fetchone_impl
    return self._real_result._fetchone_impl(hard_close=hard_close)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 2276, in _fetchone_impl
    row = next(self.iterator, _NO_ROW)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 220, in chunks
    fetch = cursor._raw_all_rows()
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 550, in _raw_all_rows
    make_row = self._row_getter
               ^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 1338, in __get__
    obj.__dict__[self.__name__] = result = self.fget(obj)
                                           ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 483, in _row_getter
    key_to_index = metadata._key_to_index
                   ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/cursor.py", line 1468, in _key_to_index
    self._we_dont_return_rows()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/cursor.py", line 1448, in _we_dont_return_rows
    raise exc.ResourceClosedError(
sqlalchemy.exc.ResourceClosedError: This result object does not return rows. It has been closed automatically.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1527, in wsgi_app
    ctx.pop(error)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 426, in pop
    app_ctx.pop(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 262, in pop
    self.app.do_teardown_appcontext(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1382, in do_teardown_appcontext
    self.ensure_sync(func)(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 448, in _teardown_session
    self.session.remove()
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.clients.get_clients] OPTIONS /api/v1/clients - 200
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/scoping.py", line 259, in remove
    self.registry().close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2507, in close
    self._close_impl(invalidate=False)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2576, in _close_impl
    transaction.close(invalidate)
  File "<string>", line 2, in close
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
    ret_value = fn(self, *arg, **kw)
                ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1417, in close
    transaction.close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2597, in close
    self._do_close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2735, in _do_close
    self._close_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2721, in _close_impl
    self._connection_rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2713, in _connection_rollback_impl
    self.connection._rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1130, in _rollback_impl
    self._handle_dbapi_exception(e, None, None, None, None)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
(Background on this error at: https://sqlalche.me/e/20/e3q8)
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_branding] OPTIONS /api/v1/tenant/branding - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.users_routes.get_user_permissions] OPTIONS /api/v1/users/39/permissions - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_feature_flags] OPTIONS /api/v1/tenant/features - 200
INFO:routes.client_routes:Fetching clients for user tpprn@gmail.com (role: manager)
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
INFO:routes.tenant_routes:[OK] Branding retrieved for company 6
INFO:routes.client_routes:User tpprn@gmail.com found 0 clients (total: 0)
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_branding] GET /api/v1/tenant/branding - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.clients.get_clients] GET /api/v1/clients - 200
INFO:routes.tenant_routes:[OK] Feature flags retrieved for company 6
INFO:routes.user_routes:Found 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_feature_flags] GET /api/v1/tenant/features - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.users_routes.get_user_permissions] GET /api/v1/users/39/permissions - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/tenant-modules - 5.500s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/user-navigation - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/user-navigation - 6.115s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.time_logs_routes.get_recent_time_logs] OPTIONS /api/v1/time-logs/recent - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/time-logs/recent - 6.599s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.projects.get_projects] OPTIONS /api/v1/projects - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/projects - 6.636s
INFO:routes.project_routes:Fetching projects for user tpprn@gmail.com (role: manager)
INFO:services.permission_filter_service:========== FILTERING PROJECTS ==========
INFO:services.permission_filter_service:User: tpprn@gmail.com (ID: 39, role: manager, company_id: 6)
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.time_logs_routes.get_recent_time_logs] GET /api/v1/time-logs/recent - 200
WARNING:services.permission_filter_service:User 39 (role: manager) has no project permissions
INFO:routes.project_routes:User tpprn@gmail.com (role: manager) found 0 projects
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.projects.get_projects] GET /api/v1/projects - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1672197] Child process with pid: 1674347 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.371s
[UID:1188][1672197] Child process with pid: 1672447 was killed by signal: 9, core dumped: no
[UID:1188][1672197] [UID:1188][1672197] Child process with pid: 1673606 was killed by signal: 9, core dumped: no
[UID:1188][1672197] Child process with pid: 1674345 was killed by signal: 9, core dumped: no
[UID:1188][1672197] Child process with pid: 1674346 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1672197] [UID:1188][1672197] Child process with pid: 1674348 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1672197] [UID:1188][1672197] Child process with pid: 1733627 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1672197] Child process with pid: 1732440 was killed by signal: 9, core dumped: no
[UID:1188][1672197] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1672197] Child process with pid: 1733626 was killed by signal: 9, core dumped: no
[UID:1188][1672197] Child process with pid: 1733625 was killed by signal: 9, core dumped: no
[UID:1188][1672197] [UID:1188][1672197] Child process with pid: 1734452 was killed by signal: 9, core dumped: no
[UID:1188][1672197] Child process with pid: 1734451 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1672197] INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 76.190s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 199.699s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 159.106s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 80.264s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 121.735s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 122.256s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 973.705s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1771828 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1771834 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1771830 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1771832 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1771826 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1771831 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1771833 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1771829 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1772779 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1772256 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1772778 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1773606 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1773608 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1772257 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1773149 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1774000 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1773999 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1774256 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1773150 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1774608 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1774900 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1774257 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1774899 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1775475 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1775474 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1776510 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1777051 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1777050 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1776511 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1777773 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1776841 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1777772 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1778132 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1778131 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1779134 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1778862 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1778466 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1778491 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1778863 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1779411 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1780140 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1783032 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1779135 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1779412 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1783404 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1783031 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1783371 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1783578 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1780138 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1784528 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1784209 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1783579 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1785004 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1784526 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1784210 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1785007 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1792321 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1791917 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1792322 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1791575 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1791574 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1791918 was killed by signal: 9, core dumped: no
[UID:1188][1737789] [UID:1188][1737789] Child process with pid: 1792906 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1792903 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1737789] Child process with pid: 1792591 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1793747 was killed by signal: 9, core dumped: no
[UID:1188][1737789] Child process with pid: 1794114 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 107.335s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 107.327s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 80.199s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 55.507s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/health - 164.789s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.516s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 2.959s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/health - 3.107s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
WARNING:middleware.performance:Slow request: GET /api/v1/auth/health - 1.572s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 2.955s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 2.402s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.521s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
INFO:routes.auth_routes: LOGIN ATTEMPT: email=tpprn@gmail.com
INFO:routes.auth_routes: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:[OK] Login completed in 0.38s for user: tpprn@gmail.com
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] POST /api/v1/auth/login - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.get_current_user_short] OPTIONS /api/v1/auth/me - 200
INFO:routes.auth_routes: /me endpoint: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:   First 5 permissions: ['grassroots_overview:delete', 'grassroots_events:access', 'grassroots_calendar:delete', 'grassroots_calendar:update', 'grassroots_events:create']
INFO:routes.auth_routes:[OK] /me endpoint returning 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.get_current_user_short] GET /api/v1/auth/me - 200
[ERROR] [UID:1188][1798418] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
ERROR:utils.audit_logger:Failed to write audit log: (pymysql.err.OperationalError) (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")
[SQL: SELECT companies.id AS companies_id, companies.company_code AS companies_company_code, companies.name AS companies_name, companies.domain AS companies_domain, companies.address AS companies_address, companies.city AS companies_city, companies.state AS companies_state, companies.country AS companies_country, companies.postal_code AS companies_postal_code, companies.phone AS companies_phone, companies.email AS companies_email, companies.website AS companies_website, companies.logo_url AS companies_logo_url, companies.tax_id AS companies_tax_id, companies.registration_number AS companies_registration_number, companies.base_currency AS companies_base_currency, companies.currency_symbol AS companies_currency_symbol, companies.currency_format AS companies_currency_format, companies.currency_symbol_position AS companies_currency_symbol_position, companies.locale AS companies_locale, companies.timezone AS companies_timezone, companies.default_budget_multiplier AS companies_default_budget_multiplier, companies.fiscal_year_start AS companies_fiscal_year_start, companies.fiscal_year_end AS companies_fiscal_year_end, companies.subscription_tier AS companies_subscription_tier, companies.subscription_status AS companies_subscription_status, companies.subscription_start AS companies_subscription_start, companies.subscription_end AS companies_subscription_end, companies.max_users AS companies_max_users, companies.max_storage_gb AS companies_max_storage_gb, companies.approval_thresholds AS companies_approval_thresholds, companies.tax_rate AS companies_tax_rate, companies.settings AS companies_settings, companies.status AS companies_status, companies.parent_company_id AS companies_parent_company_id, companies.created_by_id AS companies_created_by_id, companies.created_by_username AS companies_created_by_username, companies.created_at AS companies_created_at, companies.updated_by_id AS companies_updated_by_id, companies.updated_by_username AS companies_updated_by_username, companies.updated_at AS companies_updated_at 
FROM companies 
WHERE companies.domain = %(domain_1)s 
 LIMIT %(param_1)s]
[parameters: {'domain_1': 'system.local', 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
    rv = self.preprocess_request()
WARNING:utils.audit_logger:[Tenant:None] [User:None] [unknown] OPTIONS /api/v1/modules/user-navigation - 404
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 81, in before_request
    branding = TenantBranding.query.filter_by(custom_domain=custom_domain).first()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2759, in first
    return self.limit(1)._iter().first()  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 1803, in first
    return self._only_one_row(
           ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 769, in _only_one_row
    row: Optional[_InterimRowType[Any]] = onerow(hard_close=True)
                                          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 1690, in _fetchone_impl
    return self._real_result._fetchone_impl(hard_close=hard_close)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 2276, in _fetchone_impl
    row = next(self.iterator, _NO_ROW)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 220, in chunks
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
    fetch = cursor._raw_all_rows()
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 550, in _raw_all_rows
    make_row = self._row_getter
               ^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 1338, in __get__
    obj.__dict__[self.__name__] = result = self.fget(obj)
                                           ^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 483, in _row_getter
    key_to_index = metadata._key_to_index
                   ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/cursor.py", line 1468, in _key_to_index
    self._we_dont_return_rows()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/cursor.py", line 1448, in _we_dont_return_rows
    raise exc.ResourceClosedError(
sqlalchemy.exc.ResourceClosedError: This result object does not return rows. It has been closed automatically.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1527, in wsgi_app
    ctx.pop(error)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 426, in pop
    app_ctx.pop(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 262, in pop
    self.app.do_teardown_appcontext(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1382, in do_teardown_appcontext
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.projects.get_projects] OPTIONS /api/v1/projects - 200
    self.ensure_sync(func)(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 448, in _teardown_session
    self.session.remove()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/scoping.py", line 259, in remove
    self.registry().close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2507, in close
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
    self._close_impl(invalidate=False)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2576, in _close_impl
    transaction.close(invalidate)
  File "<string>", line 2, in close
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
    ret_value = fn(self, *arg, **kw)
                ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1417, in close
    transaction.close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2597, in close
    self._do_close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2735, in _do_close
    self._close_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2721, in _close_impl
    self._connection_rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2713, in _connection_rollback_impl
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.time_logs_routes.get_recent_time_logs] OPTIONS /api/v1/time-logs/recent - 200
    self.connection._rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1130, in _rollback_impl
    self._handle_dbapi_exception(e, None, None, None, None)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_branding] OPTIONS /api/v1/tenant/branding - 200
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
(Background on this error at: https://sqlalche.me/e/20/e3q8)
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_feature_flags] OPTIONS /api/v1/tenant/features - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.users_routes.get_user_permissions] OPTIONS /api/v1/users/39/permissions - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
INFO:routes.tenant_routes:[OK] Branding retrieved for company 6
INFO:routes.project_routes:Fetching projects for user tpprn@gmail.com (role: manager)
INFO:services.permission_filter_service:========== FILTERING PROJECTS ==========
INFO:services.permission_filter_service:User: tpprn@gmail.com (ID: 39, role: manager, company_id: 6)
WARNING:services.permission_filter_service:User 39 (role: manager) has no project permissions
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_branding] GET /api/v1/tenant/branding - 200
INFO:routes.project_routes:User tpprn@gmail.com (role: manager) found 0 projects
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.projects.get_projects] GET /api/v1/projects - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.time_logs_routes.get_recent_time_logs] GET /api/v1/time-logs/recent - 200
INFO:routes.tenant_routes:[OK] Feature flags retrieved for company 6
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_feature_flags] GET /api/v1/tenant/features - 200
INFO:routes.user_routes:Found 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.users_routes.get_user_permissions] GET /api/v1/users/39/permissions - 200
[UID:1188][1798183] Child process with pid: 1799329 was killed by signal: 15, core dumped: no
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.budget.get_all_budgets] OPTIONS /api/v1/budget/all - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/budget/all - 5.032s
INFO:routes.budget_routes:User tpprn@gmail.com fetched 0 budgets
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.budget.get_all_budgets] GET /api/v1/budget/all - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/tenant-modules - 5.482s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1798183] Child process with pid: 1799326 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 3.885s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 4.119s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.573s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 3.051s
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 3.169s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
INFO:routes.auth_routes: LOGIN ATTEMPT: email=tpprn@gmail.com
INFO:routes.auth_routes: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:[OK] Login completed in 0.41s for user: tpprn@gmail.com
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] POST /api/v1/auth/login - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.get_current_user_short] OPTIONS /api/v1/auth/me - 200
INFO:routes.auth_routes: /me endpoint: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:   First 5 permissions: ['grassroots_events:read', 'grassroots_events:update', 'grassroots_events:delete', 'grassroots_events:manage', 'grassroots_events:access']
INFO:routes.auth_routes:[OK] /me endpoint returning 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.get_current_user_short] GET /api/v1/auth/me - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/user-navigation - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.clients.get_clients] OPTIONS /api/v1/clients - 200
ERROR:utils.audit_logger:Failed to write audit log: This result object does not return rows. It has been closed automatically.
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.clients.get_clients] OPTIONS /api/v1/clients - 200
ERROR:sqlalchemy.pool.impl.QueuePool:Exception during reset or similar
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 985, in _finalize_fairy
    fairy._reset(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/pool/base.py", line 1433, in _reset
    pool._dialect.do_rollback(self)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 467, in _read_ok_packet
    raise err.OperationalError(
pymysql.err.OperationalError: (2014, 'Command Out of Sync')
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.projects.get_projects] OPTIONS /api/v1/projects - 200
[ERROR] [UID:1188][1820211] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    cursor.execute(statement, parameters)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 575, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 826, in _read_query_result
ERROR:utils.audit_logger:Failed to write audit log: Instance '<AuditLog at 0x7f0c7778bbf0>' has been deleted, or its row is otherwise not present.
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.projects.get_projects] OPTIONS /api/v1/projects - 200
    result.read()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 1203, in read
    first_packet = self.connection._read_packet()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 81, in before_request
    branding = TenantBranding.query.filter_by(custom_domain=custom_domain).first()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2759, in first
    return self.limit(1)._iter().first()  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2857, in _iter
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
    result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
    return self._execute_internal(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2249, in _execute_internal
    result: Result[Any] = compile_state_cls.orm_execute_statement(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/context.py", line 306, in orm_execute_statement
    result = conn.execute(
             ^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute
    return meth(
           ^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection
    return connection._execute_clauseelement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement
    ret = self._execute_context(
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
    return self._exec_single_context(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
    self._handle_dbapi_exception(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_feature_flags] OPTIONS /api/v1/tenant/features - 200
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    cursor.execute(statement, parameters)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 575, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 826, in _read_query_result
    result.read()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 1203, in read
    first_packet = self.connection._read_packet()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
[SQL: SELECT tenant_branding.id AS tenant_branding_id, tenant_branding.company_id AS tenant_branding_company_id, tenant_branding.primary_color AS tenant_branding_primary_color, tenant_branding.secondary_color AS tenant_branding_secondary_color, tenant_branding.accent_color AS tenant_branding_accent_color, tenant_branding.logo_url AS tenant_branding_logo_url, tenant_branding.logo_light_url AS tenant_branding_logo_light_url, tenant_branding.logo_dark_url AS tenant_branding_logo_dark_url, tenant_branding.favicon_url AS tenant_branding_favicon_url, tenant_branding.company_tagline AS tenant_branding_company_tagline, tenant_branding.custom_css AS tenant_branding_custom_css, tenant_branding.custom_js AS tenant_branding_custom_js, tenant_branding.email_header AS tenant_branding_email_header, tenant_branding.email_footer AS tenant_branding_email_footer, tenant_branding.login_page_message AS tenant_branding_login_page_message, tenant_branding.enable_analytics AS tenant_branding_enable_analytics, tenant_branding.enable_reports AS tenant_branding_enable_reports, tenant_branding.enable_api_access AS tenant_branding_enable_api_access, tenant_branding.enable_webhooks AS tenant_branding_enable_webhooks, tenant_branding.enable_service_platform AS tenant_branding_enable_service_platform, tenant_branding.enable_budgeting AS tenant_branding_enable_budgeting, tenant_branding.max_users AS tenant_branding_max_users, tenant_branding.max_projects AS tenant_branding_max_projects, tenant_branding.max_storage_mb AS tenant_branding_max_storage_mb, tenant_branding.max_api_calls_per_day AS tenant_branding_max_api_calls_per_day, tenant_branding.custom_domain AS tenant_branding_custom_domain, tenant_branding.ssl_enabled AS tenant_branding_ssl_enabled, tenant_branding.meta_data AS tenant_branding_meta_data, tenant_branding.created_at AS tenant_branding_created_at, tenant_branding.updated_at AS tenant_branding_updated_at, tenant_branding.created_by_id AS tenant_branding_created_by_id, tenant_branding.updated_by_id AS tenant_branding_updated_by_id 
FROM tenant_branding 
WHERE tenant_branding.custom_domain = %(custom_domain_1)s 
 LIMIT %(param_1)s]
[parameters: {'custom_domain_1': 'api.synzhi.com', 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_branding] OPTIONS /api/v1/tenant/branding - 200
INFO:routes.client_routes:Fetching clients for user tpprn@gmail.com (role: manager)
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:routes.project_routes:Fetching projects for user tpprn@gmail.com (role: manager)
INFO:services.permission_filter_service:========== FILTERING PROJECTS ==========
INFO:services.permission_filter_service:User: tpprn@gmail.com (ID: 39, role: manager, company_id: 6)
WARNING:services.permission_filter_service:User 39 (role: manager) has no project permissions
INFO:routes.project_routes:User tpprn@gmail.com (role: manager) found 0 projects
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.projects.get_projects] GET /api/v1/projects - 200
INFO:routes.client_routes:User tpprn@gmail.com found 0 clients (total: 0)
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.clients.get_clients] GET /api/v1/clients - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
INFO:routes.tenant_routes:[OK] Feature flags retrieved for company 6
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_feature_flags] GET /api/v1/tenant/features - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
INFO:routes.tenant_routes:[OK] Branding retrieved for company 6
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_branding] GET /api/v1/tenant/branding - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.budget.get_all_budgets] OPTIONS /api/v1/budget/all - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/budget/all - 6.982s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.time_logs_routes.get_recent_time_logs] OPTIONS /api/v1/time-logs/recent - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/time-logs/recent - 6.925s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.users_routes.get_user_permissions] OPTIONS /api/v1/users/39/permissions - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/users/39/permissions - 7.129s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/activities/recent - 7.117s
INFO:routes.user_routes:Found 23 permissions for user 39
INFO:routes.budget_routes:User tpprn@gmail.com fetched 0 budgets
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.users_routes.get_user_permissions] GET /api/v1/users/39/permissions - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.budget.get_all_budgets] GET /api/v1/budget/all - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.time_logs_routes.get_recent_time_logs] GET /api/v1/time-logs/recent - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1820090] Child process with pid: 1820926 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.483s
[UID:1188][1820090] Child process with pid: 1820211 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
[UID:1188][1820090] Child process with pid: 1820210 was killed by signal: 9, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 470.656s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 10.241s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 124.868s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1833715 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1833733 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1833730 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1833969 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1833716 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1833718 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1833970 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1833725 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1833734 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1834183 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1834450 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1833728 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1834449 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1834184 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/health - 36.006s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 36.484s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 39.502s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 36.785s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 6.336s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 66.695s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1830073] Child process with pid: 1834392 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1834771 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.286s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 2.791s
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] HEAD / - 404
WARNING:middleware.performance:Slow request: HEAD / - 1.504s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
INFO:routes.auth_routes: LOGIN ATTEMPT: email=tpprn@gmail.com
INFO:routes.auth_routes: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:[OK] Login completed in 0.40s for user: tpprn@gmail.com
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] POST /api/v1/auth/login - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.get_current_user_short] OPTIONS /api/v1/auth/me - 200
INFO:routes.auth_routes: /me endpoint: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:   First 5 permissions: ['grassroots_events:read', 'grassroots_overview:create', 'grassroots_calendar:delete', 'grassroots_calendar:manage', 'grassroots_calendar:view']
INFO:routes.auth_routes:[OK] /me endpoint returning 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.get_current_user_short] GET /api/v1/auth/me - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.projects.get_projects] OPTIONS /api/v1/projects - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_branding] OPTIONS /api/v1/tenant/branding - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.clients.get_clients] OPTIONS /api/v1/clients - 200
INFO:routes.project_routes:Fetching projects for user tpprn@gmail.com (role: manager)
INFO:services.permission_filter_service:========== FILTERING PROJECTS ==========
INFO:services.permission_filter_service:User: tpprn@gmail.com (ID: 39, role: manager, company_id: 6)
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_feature_flags] OPTIONS /api/v1/tenant/features - 200
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.users_routes.get_user_permissions] OPTIONS /api/v1/users/39/permissions - 200
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:services.permission_filter_service:User 39 (role: manager) has no project permissions
INFO:routes.project_routes:User tpprn@gmail.com (role: manager) found 0 projects
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.projects.get_projects] GET /api/v1/projects - 200
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1834770 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1835379 was killed by signal: 9, core dumped: no
[UID:1188][1834103] Child process with pid: 1838937 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1840448 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1840469 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1840445 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1840446 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1840447 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1840450 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1840820 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1840854 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1840856 was killed by signal: 9, core dumped: no
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1843009 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1840855 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1843008 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1843007 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1843006 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1858089 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1859296 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1859297 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1859213 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1858090 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1859652 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1858088 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1860042 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1860044 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1860043 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1859650 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1859651 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1875643 was killed by signal: 9, core dumped: no
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1860247 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1860246 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1877329 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1860248 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1867141 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1877328 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1880997 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1882945 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1872694 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1882133 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1881487 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1884644 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1883595 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1886676 was killed by signal: 9, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][1830073] Child process with pid: 1885916 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1877327 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1885918 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1885568 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1885901 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1888972 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1888990 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1888989 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1887827 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1889587 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1890226 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1889932 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1889553 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1890227 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1890856 was killed by signal: 9, core dumped: no
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1891379 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1891298 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1892015 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1890825 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1891737 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1892012 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1892300 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1892602 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Child process with pid: 1892299 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1893056 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1892639 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1893077 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1893719 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1893720 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1894294 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1894877 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1894259 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] [UID:1188][1830073] Child process with pid: 1895258 was killed by signal: 9, core dumped: no
[UID:1188][1830073] Child process with pid: 1895198 was killed by signal: 9, core dumped: no
Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][1830073] INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 94.189s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 54.555s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 75.631s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 28.562s
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 54.746s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 28.833s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 95.914s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.515s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.567s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
[ERROR] [UID:1188][2125188] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2215, in _entity_namespace_key
    return getattr(ns, key)  # type: ignore
           ^^^^^^^^^^^^^^^^
AttributeError: type object 'Company' has no attribute 'subdomain'. Did you mean: 'domain'?

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
[ERROR] [UID:1188][2125187]     return cors_after_request(app.make_response(f(*args, **kwargs)))
wsgiAppHandler pApp->start_response() return NULL.
                                                ^^^^^^^^^^^^^^^^^^
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2215, in _entity_namespace_key
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 37, in before_request
    return getattr(ns, key)  # type: ignore
    company = Company.query.filter_by(subdomain=subdomain).first()
           ^^^^^^^^^^^^^^^^
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 1992, in filter_by
AttributeError: type object 'Company' has no attribute 'subdomain'. Did you mean: 'domain'?

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
    _entity_namespace_key(from_entity, key) == value
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2217, in _entity_namespace_key
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Entity namespace for "companies" has no property "subdomain"
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 37, in before_request
    company = Company.query.filter_by(subdomain=subdomain).first()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 1992, in filter_by
    _entity_namespace_key(from_entity, key) == value
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2217, in _entity_namespace_key
    raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Entity namespace for "companies" has no property "subdomain"
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.543s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
[UID:1188][2222712] Child process with pid: 2222764 was killed by signal: 15, core dumped: no
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
[UID:1188][2222712] Child process with pid: 2222768 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
[UID:1188][2228287] Child process with pid: 2228328 was killed by signal: 15, core dumped: no
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
[UID:1188][2228287] Child process with pid: 2228331 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [health_check] GET /health - 200
WARNING:middleware.performance:Slow request: GET /health - 1.109s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
INFO:sockets.alert_sockets:Alert WebSocket handlers registered
INFO:app:[SEARCH] Running system health check...
INFO:app:[OK] Database connection verified: 6 companies found
INFO:app:   - Company 1: Agentic AI Consulting (active: 1)
INFO:app:   - Company 2: Alpha I International Pte Ltd (active: 1)
INFO:app:   - Company 3: Alpha Corporation (active: 1)
INFO:app:   ... and 3 more
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] OPTIONS /api/v1/auth/login - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/login - 1.486s
INFO:routes.auth_routes: LOGIN ATTEMPT: email=tpprn@gmail.com
INFO:routes.auth_routes: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:[OK] Login completed in 0.40s for user: tpprn@gmail.com
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.login] POST /api/v1/auth/login - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.get_current_user_short] OPTIONS /api/v1/auth/me - 200
INFO:routes.auth_routes: /me endpoint: User tpprn@gmail.com (role: manager) has 23 permissions
INFO:routes.auth_routes:   First 5 permissions: ['grassroots_calendar:read', 'grassroots_calendar:manage', 'grassroots_events:access', 'grassroots_calendar:view', 'dashboard:read']
INFO:routes.auth_routes:[OK] /me endpoint returning 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.get_current_user_short] GET /api/v1/auth/me - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.time_logs_routes.get_recent_time_logs] OPTIONS /api/v1/time-logs/recent - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/user-navigation - 404
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.notifications.get_unread_count] OPTIONS /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_branding] OPTIONS /api/v1/tenant/branding - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.tenant.get_feature_flags] OPTIONS /api/v1/tenant/features - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.users_routes.get_user_permissions] OPTIONS /api/v1/users/39/permissions - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.time_logs_routes.get_recent_time_logs] GET /api/v1/time-logs/recent - 200
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:routes.tenant_routes:[OK] Branding retrieved for company 6
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_branding] GET /api/v1/tenant/branding - 200
INFO:routes.tenant_routes:[OK] Feature flags retrieved for company 6
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_feature_flags] GET /api/v1/tenant/features - 200
INFO:routes.user_routes:Found 23 permissions for user 39
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.users_routes.get_user_permissions] GET /api/v1/users/39/permissions - 200
ERROR:utils.audit_logger:Failed to write audit log: (pymysql.err.OperationalError) (2014, 'Command Out of Sync')
(Background on this error at: https://sqlalche.me/e/20/e3q8)
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.clients.get_clients] OPTIONS /api/v1/clients - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/clients - 8.576s
[ERROR] [UID:1188][2233769] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 81, in before_request
    branding = TenantBranding.query.filter_by(custom_domain=custom_domain).first()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2759, in first
    return self.limit(1)._iter().first()  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2857, in _iter
    result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
    return self._execute_internal(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2249, in _execute_internal
    result: Result[Any] = compile_state_cls.orm_execute_statement(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/context.py", line 309, in orm_execute_statement
    return cls.orm_setup_cursor_result(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/context.py", line 616, in orm_setup_cursor_result
    return loading.instances(result, querycontext)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 133, in instances
    with util.safe_reraise():
         ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 224, in __exit__
ERROR:utils.audit_logger:Failed to write audit log: (pymysql.err.OperationalError) (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")
[SQL: SELECT companies.id AS companies_id, companies.company_code AS companies_company_code, companies.name AS companies_name, companies.domain AS companies_domain, companies.address AS companies_address, companies.city AS companies_city, companies.state AS companies_state, companies.country AS companies_country, companies.postal_code AS companies_postal_code, companies.phone AS companies_phone, companies.email AS companies_email, companies.website AS companies_website, companies.logo_url AS companies_logo_url, companies.tax_id AS companies_tax_id, companies.registration_number AS companies_registration_number, companies.base_currency AS companies_base_currency, companies.currency_symbol AS companies_currency_symbol, companies.currency_format AS companies_currency_format, companies.currency_symbol_position AS companies_currency_symbol_position, companies.locale AS companies_locale, companies.timezone AS companies_timezone, companies.default_budget_multiplier AS companies_default_budget_multiplier, companies.fiscal_year_start AS companies_fiscal_year_start, companies.fiscal_year_end AS companies_fiscal_year_end, companies.subscription_tier AS companies_subscription_tier, companies.subscription_status AS companies_subscription_status, companies.subscription_start AS companies_subscription_start, companies.subscription_end AS companies_subscription_end, companies.max_users AS companies_max_users, companies.max_storage_gb AS companies_max_storage_gb, companies.approval_thresholds AS companies_approval_thresholds, companies.tax_rate AS companies_tax_rate, companies.settings AS companies_settings, companies.status AS companies_status, companies.parent_company_id AS companies_parent_company_id, companies.created_by_id AS companies_created_by_id, companies.created_by_username AS companies_created_by_username, companies.created_at AS companies_created_at, companies.updated_by_id AS companies_updated_by_id, companies.updated_by_username AS companies_updated_by_username, companies.updated_at AS companies_updated_at 
FROM companies 
WHERE companies.domain = %(domain_1)s 
 LIMIT %(param_1)s]
[parameters: {'domain_1': 'system.local', 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
WARNING:utils.audit_logger:[Tenant:None] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/tenant-modules - 8.513s
    raise exc_value.with_traceback(exc_tb)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 115, in instances
    query_entity.row_processor(context, cursor)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/context.py", line 2786, in row_processor
    _instance = loading._instance_processor(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/loading.py", line 878, in _instance_processor
    primary_key_getter = result._tuple_getter(pk_cols)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 1201, in _tuple_getter
    return self._metadata._row_as_tuple_getter(keys)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 191, in _row_as_tuple_getter
    indexes = self._indexes_for_keys(keys)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/result.py", line 168, in _indexes_for_keys
    raise NotImplementedError()
NotImplementedError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1527, in wsgi_app
    ctx.pop(error)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 426, in pop
    app_ctx.pop(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 262, in pop
    self.app.do_teardown_appcontext(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1382, in do_teardown_appcontext
    self.ensure_sync(func)(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 448, in _teardown_session
    self.session.remove()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/scoping.py", line 259, in remove
    self.registry().close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2507, in close
    self._close_impl(invalidate=False)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2576, in _close_impl
    transaction.close(invalidate)
  File "<string>", line 2, in close
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
    ret_value = fn(self, *arg, **kw)
                ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1417, in close
    transaction.close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2597, in close
    self._do_close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2735, in _do_close
    self._close_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2721, in _close_impl
    self._connection_rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2713, in _connection_rollback_impl
    self.connection._rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1130, in _rollback_impl
    self._handle_dbapi_exception(e, None, None, None, None)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.budget.get_all_budgets] OPTIONS /api/v1/budget/all - 200
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
(Background on this error at: https://sqlalche.me/e/20/e3q8)
INFO:routes.client_routes:Fetching clients for user tpprn@gmail.com (role: manager)
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/budget/all - 8.783s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
INFO:routes.budget_routes:User tpprn@gmail.com fetched 0 budgets
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.budget.get_all_budgets] GET /api/v1/budget/all - 200
INFO:routes.client_routes:User tpprn@gmail.com found 0 clients (total: 0)
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.clients.get_clients] GET /api/v1/clients - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.projects.get_projects] OPTIONS /api/v1/projects - 200
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/projects - 9.122s
INFO:routes.project_routes:Fetching projects for user tpprn@gmail.com (role: manager)
INFO:services.permission_filter_service:========== FILTERING PROJECTS ==========
INFO:services.permission_filter_service:User: tpprn@gmail.com (ID: 39, role: manager, company_id: 6)
WARNING:services.permission_filter_service:User 39 (role: manager) has no project permissions
INFO:routes.project_routes:User tpprn@gmail.com (role: manager) found 0 projects
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.projects.get_projects] GET /api/v1/projects - 200
INFO:utils.audit_logger:[Tenant:5] [User:None] [api_v1.auth_routes.auth_health] OPTIONS /api/v1/auth/health - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.auth_routes.auth_health] GET /api/v1/auth/health - 200
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2233596] Child process with pid: 2233768 was killed by signal: 9, core dumped: no
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 2.130s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 131.145s
INFO:utils.audit_logger:[Tenant:6] [User:39] [api_v1.notifications.get_unread_count] GET /api/v1/notifications/count - 200
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 285.387s
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 244.206s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.projects: /api/projects
  api_v1.time_logs_routes: None
  api_v1.clients: /api/clients
  api_v1.budget: /api/v1/budget
  api_v1.team: /api/team
  api_v1.hr_workflow: /api/hr
  api_v1.service_platform: None
  api_v1.service_analytics: /api/service-analytics
  api_v1.webhook: /api/webhooks
  api_v1.service: /api/services
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.calendar_sources: None
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.report: /api/reports
  api_v1.chart: /api/charts
  api_v1.ai_insights: /api/ai/insights
  api_v1.ai_time_log_routes: /api/v1/ai/time-logs
  api_v1.ai_agent: None
  api_v1.workflow: /api/v1/workflows
  api_v1.master_data: /api/v1/master-data
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.payment: /api/payments
  api_v1.export: /api/export
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 77, in <module>
    from middleware.request_logger import request_logger_middleware
  File "/home/synzhico/public_html/platform/backend/middleware/request_logger.py", line 6, in <module>
    from utils.audit_logger import audit_logger
  File "/home/synzhico/public_html/platform/backend/utils/audit_logger.py", line 7, in <module>
    from extensions import db
  File "/home/synzhico/public_html/platform/backend/extensions.py", line 5, in <module>
    from flask_socketio import SocketIO
ModuleNotFoundError: No module named 'flask_socketio'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 77, in <module>
    from middleware.request_logger import request_logger_middleware
  File "/home/synzhico/public_html/platform/backend/middleware/request_logger.py", line 6, in <module>
    from utils.audit_logger import audit_logger
  File "/home/synzhico/public_html/platform/backend/utils/audit_logger.py", line 7, in <module>
    from extensions import db
  File "/home/synzhico/public_html/platform/backend/extensions.py", line 5, in <module>
    from flask_socketio import SocketIO
ModuleNotFoundError: No module named 'flask_socketio'
[UID:1188][2274425] Child process with pid: 2274484 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 77, in <module>
    from middleware.request_logger import request_logger_middleware
  File "/home/synzhico/public_html/platform/backend/middleware/request_logger.py", line 6, in <module>
    from utils.audit_logger import audit_logger
  File "/home/synzhico/public_html/platform/backend/utils/audit_logger.py", line 7, in <module>
    from extensions import db
  File "/home/synzhico/public_html/platform/backend/extensions.py", line 5, in <module>
    from flask_socketio import SocketIO
ModuleNotFoundError: No module named 'flask_socketio'
[UID:1188][2274425] Child process with pid: 2274487 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 93, in <module>
    from sockets.calendar_sockets import register_calendar_handlers
  File "/home/synzhico/public_html/platform/backend/sockets/calendar_sockets.py", line 7, in <module>
    from services.calendar_sync_service import calendar_sync_service
  File "/home/synzhico/public_html/platform/backend/services/calendar_sync_service.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 93, in <module>
    from sockets.calendar_sockets import register_calendar_handlers
  File "/home/synzhico/public_html/platform/backend/sockets/calendar_sockets.py", line 7, in <module>
    from services.calendar_sync_service import calendar_sync_service
  File "/home/synzhico/public_html/platform/backend/services/calendar_sync_service.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
[UID:1188][2281007] Child process with pid: 2281051 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 93, in <module>
    from sockets.calendar_sockets import register_calendar_handlers
  File "/home/synzhico/public_html/platform/backend/sockets/calendar_sockets.py", line 7, in <module>
    from services.calendar_sync_service import calendar_sync_service
  File "/home/synzhico/public_html/platform/backend/services/calendar_sync_service.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
[UID:1188][2281007] Child process with pid: 2281052 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 93, in <module>
    from sockets.calendar_sockets import register_calendar_handlers
  File "/home/synzhico/public_html/platform/backend/sockets/calendar_sockets.py", line 7, in <module>
    from services.calendar_sync_service import calendar_sync_service
  File "/home/synzhico/public_html/platform/backend/services/calendar_sync_service.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
[UID:1188][2281007] Child process with pid: 2281721 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 93, in <module>
    from sockets.calendar_sockets import register_calendar_handlers
  File "/home/synzhico/public_html/platform/backend/sockets/calendar_sockets.py", line 7, in <module>
    from services.calendar_sync_service import calendar_sync_service
  File "/home/synzhico/public_html/platform/backend/services/calendar_sync_service.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 93, in <module>
    from sockets.calendar_sockets import register_calendar_handlers
  File "/home/synzhico/public_html/platform/backend/sockets/calendar_sockets.py", line 7, in <module>
    from services.calendar_sync_service import calendar_sync_service
  File "/home/synzhico/public_html/platform/backend/services/calendar_sync_service.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
[UID:1188][2281722] Child process with pid: 2281738 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 93, in <module>
    from sockets.calendar_sockets import register_calendar_handlers
  File "/home/synzhico/public_html/platform/backend/sockets/calendar_sockets.py", line 7, in <module>
    from services.calendar_sync_service import calendar_sync_service
  File "/home/synzhico/public_html/platform/backend/services/calendar_sync_service.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
[UID:1188][2281722] Child process with pid: 2281741 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 93, in <module>
    from sockets.calendar_sockets import register_calendar_handlers
  File "/home/synzhico/public_html/platform/backend/sockets/calendar_sockets.py", line 7, in <module>
    from services.calendar_sync_service import calendar_sync_service
  File "/home/synzhico/public_html/platform/backend/services/calendar_sync_service.py", line 13, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
[UID:1188][2281722] Child process with pid: 2281742 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
[UID:1188][2288148] Child process with pid: 2288183 was killed by signal: 15, core dumped: no
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
[UID:1188][2288148] Child process with pid: 2288186 was killed by signal: 15, core dumped: no
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
[UID:1188][2289213] Child process with pid: 2289270 was killed by signal: 15, core dumped: no
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/__init__.py", line 11, in <module>
    from routes.alert_preferences_routes import alert_prefs_bp
  File "/home/synzhico/public_html/platform/backend/routes/alert_preferences_routes.py", line 24, in <module>
    from services.notification_service import notification_service
  File "/home/synzhico/public_html/platform/backend/services/notification_service.py", line 471
    approval_link = f"{get_frontend_url()}/approvals/{approval_id}"
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
[UID:1188][2289213] Child process with pid: 2289924 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 35, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 13, in <module>
    from services.calendar_providers.apple_provider import AppleICloudProvider
  File "/home/synzhico/public_html/platform/backend/services/calendar_providers/apple_provider.py", line 4, in <module>
    import caldav
ModuleNotFoundError: No module named 'caldav'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 35, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 13, in <module>
    from services.calendar_providers.apple_provider import AppleICloudProvider
  File "/home/synzhico/public_html/platform/backend/services/calendar_providers/apple_provider.py", line 4, in <module>
    import caldav
ModuleNotFoundError: No module named 'caldav'
[UID:1188][2293263] Child process with pid: 2293314 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 35, in <module>
    from routes.calendar_source_routes import calendar_source_bp
  File "/home/synzhico/public_html/platform/backend/routes/calendar_source_routes.py", line 13, in <module>
    from services.calendar_providers.apple_provider import AppleICloudProvider
  File "/home/synzhico/public_html/platform/backend/services/calendar_providers/apple_provider.py", line 4, in <module>
    import caldav
ModuleNotFoundError: No module named 'caldav'
[UID:1188][2293263] Child process with pid: 2293318 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 40, in <module>
    from routes.report_routes import report_bp
  File "/home/synzhico/public_html/platform/backend/routes/report_routes.py", line 9, in <module>
    from services.advanced_reporting import advanced_reporting
  File "/home/synzhico/public_html/platform/backend/services/advanced_reporting.py", line 2, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 40, in <module>
    from routes.report_routes import report_bp
  File "/home/synzhico/public_html/platform/backend/routes/report_routes.py", line 9, in <module>
    from services.advanced_reporting import advanced_reporting
  File "/home/synzhico/public_html/platform/backend/services/advanced_reporting.py", line 2, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'
[UID:1188][2299026] Child process with pid: 2299118 was killed by signal: 15, core dumped: no
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 40, in <module>
    from routes.report_routes import report_bp
  File "/home/synzhico/public_html/platform/backend/routes/report_routes.py", line 9, in <module>
    from services.advanced_reporting import advanced_reporting
  File "/home/synzhico/public_html/platform/backend/services/advanced_reporting.py", line 2, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'
[UID:1188][2299026] Child process with pid: 2299122 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 50, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 35, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 7, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 50, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 35, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 7, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'
[UID:1188][2313498] Child process with pid: 2313530 was killed by signal: 15, core dumped: no
Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 50, in <module>
    from routes.master_data_routes import master_data_bp
  File "/home/synzhico/public_html/platform/backend/routes/master_data_routes.py", line 35, in <module>
    from services.ai_prediction_service import ai_prediction_service
  File "/home/synzhico/public_html/platform/backend/services/ai_prediction_service.py", line 7, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'
[UID:1188][2313498] Child process with pid: 2313534 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 61, in <module>
    from routes.export_routes import export_bp
  File "/home/synzhico/public_html/platform/backend/routes/export_routes.py", line 13, in <module>
    import xlsxwriter
ModuleNotFoundError: No module named 'xlsxwriter'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 61, in <module>
    from routes.export_routes import export_bp
  File "/home/synzhico/public_html/platform/backend/routes/export_routes.py", line 13, in <module>
    import xlsxwriter
ModuleNotFoundError: No module named 'xlsxwriter'
[UID:1188][2318316] Child process with pid: 2318399 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 61, in <module>
    from routes.export_routes import export_bp
  File "/home/synzhico/public_html/platform/backend/routes/export_routes.py", line 13, in <module>
    import xlsxwriter
ModuleNotFoundError: No module named 'xlsxwriter'
Server initialized for threading.
INFO:engineio.server:Server initialized for threading.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 7, in <module>
    from app import app, db, socketio
  File "/home/synzhico/public_html/platform/backend/app.py", line 536, in <module>
    app = create_app()
          ^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 309, in create_app
    from routes.api_v1 import api_v1
  File "/home/synzhico/public_html/platform/backend/routes/api_v1.py", line 61, in <module>
    from routes.export_routes import export_bp
  File "/home/synzhico/public_html/platform/backend/routes/export_routes.py", line 13, in <module>
    import xlsxwriter
ModuleNotFoundError: No module named 'xlsxwriter'
[UID:1188][2318401] Child process with pid: 2318432 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 17, in <module>
    from services.report_scheduler import report_scheduler
  File "/home/synzhico/public_html/platform/backend/services/report_scheduler.py", line 7, in <module>
    import schedule
ModuleNotFoundError: No module named 'schedule'
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 17, in <module>
    from services.report_scheduler import report_scheduler
  File "/home/synzhico/public_html/platform/backend/services/report_scheduler.py", line 7, in <module>
    import schedule
ModuleNotFoundError: No module named 'schedule'
[UID:1188][2321612] Child process with pid: 2321683 was killed by signal: 15, core dumped: no
Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/run.py", line 17, in <module>
    from services.report_scheduler import report_scheduler
  File "/home/synzhico/public_html/platform/backend/services/report_scheduler.py", line 7, in <module>
    import schedule
ModuleNotFoundError: No module named 'schedule'
[UID:1188][2321612] Child process with pid: 2321686 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: GET /health - 1.524s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/user-navigation - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/time-logs/recent - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/clients - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/projects - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/budget/all - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/time-logs/recent - 7.872s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/clients - 8.080s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/projects - 8.410s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/tenant-modules - 8.477s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
ERROR:utils.audit_logger:Failed to write audit log: This result object does not return rows. It has been closed automatically.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
[ERROR] [UID:1188][2331413] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1527, in wsgi_app
    ctx.pop(error)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 426, in pop
    app_ctx.pop(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 262, in pop
    self.app.do_teardown_appcontext(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1382, in do_teardown_appcontext
    self.ensure_sync(func)(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 448, in _teardown_session
    self.session.remove()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/scoping.py", line 259, in remove
    self.registry().close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2507, in close
    self._close_impl(invalidate=False)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2576, in _close_impl
    transaction.close(invalidate)
  File "<string>", line 2, in close
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
    ret_value = fn(self, *arg, **kw)
                ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1417, in close
    transaction.close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2597, in close
    self._do_close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2735, in _do_close
    self._close_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2721, in _close_impl
    self._connection_rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2713, in _connection_rollback_impl
    self.connection._rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1130, in _rollback_impl
    self._handle_dbapi_exception(e, None, None, None, None)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
(Background on this error at: https://sqlalche.me/e/20/e3q8)
ERROR:utils.audit_logger:Failed to write audit log: (pymysql.err.OperationalError) (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")
[SQL: SELECT audit_logs.id AS audit_logs_id, audit_logs.company_id AS audit_logs_company_id, audit_logs.tenant_name AS audit_logs_tenant_name, audit_logs.module AS audit_logs_module, audit_logs.sub_module AS audit_logs_sub_module, audit_logs.log_level AS audit_logs_log_level, audit_logs.log_type AS audit_logs_log_type, audit_logs.message AS audit_logs_message, audit_logs.details AS audit_logs_details, audit_logs.user_id AS audit_logs_user_id, audit_logs.username AS audit_logs_username, audit_logs.user_email AS audit_logs_user_email, audit_logs.user_role AS audit_logs_user_role, audit_logs.request_id AS audit_logs_request_id, audit_logs.endpoint AS audit_logs_endpoint, audit_logs.method AS audit_logs_method, audit_logs.status_code AS audit_logs_status_code, audit_logs.ip_address AS audit_logs_ip_address, audit_logs.user_agent AS audit_logs_user_agent, audit_logs.duration_ms AS audit_logs_duration_ms, audit_logs.db_query_count AS audit_logs_db_query_count, audit_logs.db_query_time_ms AS audit_logs_db_query_time_ms, audit_logs.ai_analyzed AS audit_logs_ai_analyzed, audit_logs.ai_suggestion AS audit_logs_ai_suggestion, audit_logs.ai_fix_applied AS audit_logs_ai_fix_applied, audit_logs.ai_fix_action AS audit_logs_ai_fix_action, audit_logs.resolved AS audit_logs_resolved, audit_logs.resolved_by_id AS audit_logs_resolved_by_id, audit_logs.resolved_at AS audit_logs_resolved_at, audit_logs.resolution_notes AS audit_logs_resolution_notes, audit_logs.action AS audit_logs_action, audit_logs.resource AS audit_logs_resource, audit_logs.resource_id AS audit_logs_resource_id, audit_logs.entity_type AS audit_logs_entity_type, audit_logs.old_values AS audit_logs_old_values, audit_logs.new_values AS audit_logs_new_values, audit_logs.session_id AS audit_logs_session_id, audit_logs.status AS audit_logs_status, audit_logs.error_message AS audit_logs_error_message, audit_logs.response_time_ms AS audit_logs_response_time_ms, audit_logs.meta_data AS audit_logs_meta_data, audit_logs.created_at AS audit_logs_created_at 
FROM audit_logs 
WHERE audit_logs.id = %(pk_1)s]
[parameters: {'pk_1': 131587}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/budget/all - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/budget/all - 8.637s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: GET /health - 1.498s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/login - 1.772s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/user-navigation - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/clients - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
ERROR:app:User lookup error: Could not locate column in row for column 'users.id'
ERROR:utils.permissions_v2:Error getting current user: user_lookup returned None for 39
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_branding] GET /api/v1/tenant/branding - 401
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
ERROR:utils.audit_logger:Failed to write audit log: This result object does not return rows. It has been closed automatically.
WARNING:utils.audit_logger:[Tenant:6] [User:39] [api_v1.tenant.get_branding] GET /api/v1/tenant/branding - 401
[ERROR] [UID:1188][2376167] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1527, in wsgi_app
    ctx.pop(error)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 426, in pop
    app_ctx.pop(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 262, in pop
    self.app.do_teardown_appcontext(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1382, in do_teardown_appcontext
    self.ensure_sync(func)(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 448, in _teardown_session
    self.session.remove()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/scoping.py", line 259, in remove
    self.registry().close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2507, in close
    self._close_impl(invalidate=False)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2576, in _close_impl
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
    transaction.close(invalidate)
  File "<string>", line 2, in close
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
    ret_value = fn(self, *arg, **kw)
                ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1417, in close
    transaction.close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2597, in close
    self._do_close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2735, in _do_close
    self._close_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2721, in _close_impl
ERROR:utils.audit_logger:Failed to write audit log: Instance '<AuditLog at 0x7f74d0463ad0>' has been deleted, or its row is otherwise not present.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
    self._connection_rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2713, in _connection_rollback_impl
    self.connection._rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1130, in _rollback_impl
    self._handle_dbapi_exception(e, None, None, None, None)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 505, in rollback
    self._read_ok_packet()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 465, in _read_ok_packet
    pkt = self._read_packet()
          ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
(Background on this error at: https://sqlalche.me/e/20/e3q8)
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2376126] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/modules/tenant-modules - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/tenant-modules - 11.995s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/time-logs/recent - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/time-logs/recent - 12.607s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/budget/all - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/budget/all - 12.722s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/projects - 404
WARNING:middleware.performance:Slow request: GET /api/v1/tenant/features - 12.902s
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/projects - 13.437s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/activities/recent - 13.609s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2376126] Child process with pid: 2376517 was killed by signal: 15, core dumped: no
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] HEAD /api/v1/modules/tenant-modules - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] HEAD /api/v1/modules/tenant-modules - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] HEAD / - 404
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.849s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.booking_calendar: /api/bookings/calendar
  api_v1.analytics: /api/analytics
  api_v1.chart: /api/charts
  api_v1.workflow: /api/v1/workflows
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.365s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: GET /health - 1.378s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:middleware.performance:Slow request: GET /health - 1.768s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/auth/login - 1.563s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/budget/all - 404
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/projects - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/time-logs/recent - 404
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/projects - 12.458s
ERROR:utils.audit_logger:Failed to write audit log: Instance '<AuditLog at 0x7f60ac521400>' has been deleted, or its row is otherwise not present.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/time-logs/recent - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/time-logs/recent - 12.548s
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
ERROR:routes.module_routes:Error checking permission for module grassroots_overview: 
ERROR:routes.module_routes:Error getting user navigation: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
[SQL: SELECT tenant_modules.id AS tenant_modules_id, tenant_modules.company_id AS tenant_modules_company_id, tenant_modules.module_id AS tenant_modules_module_id, tenant_modules.is_active AS tenant_modules_is_active, tenant_modules.is_visible AS tenant_modules_is_visible, tenant_modules.display_order AS tenant_modules_display_order, tenant_modules.status AS tenant_modules_status, tenant_modules.settings AS tenant_modules_settings, tenant_modules.assigned_by_id AS tenant_modules_assigned_by_id, tenant_modules.assigned_at AS tenant_modules_assigned_at, tenant_modules.expires_at AS tenant_modules_expires_at, tenant_modules.created_at AS tenant_modules_created_at, tenant_modules.updated_at AS tenant_modules_updated_at, tenant_modules.created_by_id AS tenant_modules_created_by_id, tenant_modules.created_by_username AS tenant_modules_created_by_username, tenant_modules.updated_by_id AS tenant_modules_updated_by_id, tenant_modules.updated_by_username AS tenant_modules_updated_by_username 
FROM tenant_modules 
WHERE tenant_modules.company_id = %(company_id_1)s AND tenant_modules.module_id = %(module_id_1)s AND tenant_modules.is_active = true 
 LIMIT %(param_1)s]
[parameters: {'company_id_1': 6, 'module_id_1': 89, 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[ERROR] [UID:1188][2431576] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 813, in _write_bytes
    self._sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    cursor.execute(statement, parameters)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 574, in query
    self._execute_command(COMMAND.COM_QUERY, sql)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 865, in _execute_command
    self._write_bytes(packet)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 816, in _write_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
[ERROR] [UID:1188][2431574]     response = self.full_dispatch_request()
wsgiAppHandler pApp->start_response() return NULL.
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 813, in _write_bytes
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    self._sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe

    return cors_after_request(app.make_response(f(*args, **kwargs)))
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    self.dialect.do_execute(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 81, in before_request
    branding = TenantBranding.query.filter_by(custom_domain=custom_domain).first()
    cursor.execute(statement, parameters)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2759, in first
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 574, in query
    self._execute_command(COMMAND.COM_QUERY, sql)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 865, in _execute_command
    return self.limit(1)._iter().first()  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2857, in _iter
    self._write_bytes(packet)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 816, in _write_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
WARNING:middleware.performance:Slow request: GET /api/v1/tenant/branding - 12.701s
    result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
ERROR:routes.module_routes:Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    cursor.execute(statement, parameters)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 575, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 826, in _read_query_result
    result.read()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 1203, in read
    first_packet = self.connection._read_packet()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/public_html/platform/backend/routes/module_routes.py", line 1175, in get_user_navigation
    if user_has_module_permission(module, current_user, context):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/routes/module_routes.py", line 106, in user_has_module_permission
    ).first()
      ^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2759, in first
    return self.limit(1)._iter().first()  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2857, in _iter
    result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
    return self._execute_internal(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2249, in _execute_internal
    result: Result[Any] = compile_state_cls.orm_execute_statement(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/context.py", line 306, in orm_execute_statement
    result = conn.execute(
             ^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute
    return meth(
           ^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection
    return connection._execute_clauseelement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement
    ret = self._execute_context(
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
    return self._exec_single_context(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
    self._handle_dbapi_exception(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    cursor.execute(statement, parameters)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 575, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 826, in _read_query_result
    result.read()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 1203, in read
    first_packet = self.connection._read_packet()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 751, in _read_packet
    packet_header = self._read_bytes(4)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 805, in _read_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
[SQL: SELECT tenant_modules.id AS tenant_modules_id, tenant_modules.company_id AS tenant_modules_company_id, tenant_modules.module_id AS tenant_modules_module_id, tenant_modules.is_active AS tenant_modules_is_active, tenant_modules.is_visible AS tenant_modules_is_visible, tenant_modules.display_order AS tenant_modules_display_order, tenant_modules.status AS tenant_modules_status, tenant_modules.settings AS tenant_modules_settings, tenant_modules.assigned_by_id AS tenant_modules_assigned_by_id, tenant_modules.assigned_at AS tenant_modules_assigned_at, tenant_modules.expires_at AS tenant_modules_expires_at, tenant_modules.created_at AS tenant_modules_created_at, tenant_modules.updated_at AS tenant_modules_updated_at, tenant_modules.created_by_id AS tenant_modules_created_by_id, tenant_modules.created_by_username AS tenant_modules_created_by_username, tenant_modules.updated_by_id AS tenant_modules_updated_by_id, tenant_modules.updated_by_username AS tenant_modules_updated_by_username 
FROM tenant_modules 
WHERE tenant_modules.company_id = %(company_id_1)s AND tenant_modules.module_id = %(module_id_1)s AND tenant_modules.is_active = true 
 LIMIT %(param_1)s]
[parameters: {'company_id_1': 6, 'module_id_1': 89, 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    return self._execute_internal(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2249, in _execute_internal
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    result: Result[Any] = compile_state_cls.orm_execute_statement(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/context.py", line 306, in orm_execute_statement
    result = conn.execute(
             ^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    return meth(
           ^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    return connection._execute_clauseelement(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
    ret = self._execute_context(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 81, in before_request
    branding = TenantBranding.query.filter_by(custom_domain=custom_domain).first()
    return self._exec_single_context(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2759, in first
    self._handle_dbapi_exception(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    return self.limit(1)._iter().first()  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 2857, in _iter
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
                                                  ^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2351, in execute
    self.dialect.do_execute(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    cursor.execute(statement, parameters)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
    return self._execute_internal(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 322, in _query
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2249, in _execute_internal
    conn.query(q)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 574, in query
    self._execute_command(COMMAND.COM_QUERY, sql)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 865, in _execute_command
    result: Result[Any] = compile_state_cls.orm_execute_statement(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/context.py", line 306, in orm_execute_statement
    self._write_bytes(packet)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 816, in _write_bytes
    result = conn.execute(
             ^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1419, in execute
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")
[SQL: SELECT tenant_branding.id AS tenant_branding_id, tenant_branding.company_id AS tenant_branding_company_id, tenant_branding.primary_color AS tenant_branding_primary_color, tenant_branding.secondary_color AS tenant_branding_secondary_color, tenant_branding.accent_color AS tenant_branding_accent_color, tenant_branding.logo_url AS tenant_branding_logo_url, tenant_branding.logo_light_url AS tenant_branding_logo_light_url, tenant_branding.logo_dark_url AS tenant_branding_logo_dark_url, tenant_branding.favicon_url AS tenant_branding_favicon_url, tenant_branding.company_tagline AS tenant_branding_company_tagline, tenant_branding.custom_css AS tenant_branding_custom_css, tenant_branding.custom_js AS tenant_branding_custom_js, tenant_branding.email_header AS tenant_branding_email_header, tenant_branding.email_footer AS tenant_branding_email_footer, tenant_branding.login_page_message AS tenant_branding_login_page_message, tenant_branding.enable_analytics AS tenant_branding_enable_analytics, tenant_branding.enable_reports AS tenant_branding_enable_reports, tenant_branding.enable_api_access AS tenant_branding_enable_api_access, tenant_branding.enable_webhooks AS tenant_branding_enable_webhooks, tenant_branding.enable_service_platform AS tenant_branding_enable_service_platform, tenant_branding.enable_budgeting AS tenant_branding_enable_budgeting, tenant_branding.max_users AS tenant_branding_max_users, tenant_branding.max_projects AS tenant_branding_max_projects, tenant_branding.max_storage_mb AS tenant_branding_max_storage_mb, tenant_branding.max_api_calls_per_day AS tenant_branding_max_api_calls_per_day, tenant_branding.custom_domain AS tenant_branding_custom_domain, tenant_branding.ssl_enabled AS tenant_branding_ssl_enabled, tenant_branding.meta_data AS tenant_branding_meta_data, tenant_branding.created_at AS tenant_branding_created_at, tenant_branding.updated_at AS tenant_branding_updated_at, tenant_branding.created_by_id AS tenant_branding_created_by_id, tenant_branding.updated_by_id AS tenant_branding_updated_by_id 
FROM tenant_branding 
WHERE tenant_branding.custom_domain = %(custom_domain_1)s 
 LIMIT %(param_1)s]
[parameters: {'custom_domain_1': 'api.synzhi.com', 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
    return meth(
           ^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/elements.py", line 527, in _execute_on_connection
    return connection._execute_clauseelement(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1641, in _execute_clauseelement
    ret = self._execute_context(
          ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
    return self._exec_single_context(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
ERROR:utils.audit_logger:Failed to write audit log: Can't reconnect until invalid transaction is rolled back.  Please rollback() fully before proceeding (Background on this error at: https://sqlalche.me/e/20/8s2b)
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
ERROR:utils.audit_logger:[Tenant:6] [User:None] [api_v1.modules.get_user_navigation] GET /api/v1/modules/user-navigation - 500
WARNING:middleware.performance:Slow request: GET /api/v1/modules/user-navigation - 12.995s
    self._handle_dbapi_exception(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    cursor.execute(statement, parameters)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
             ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 574, in query
    self._execute_command(COMMAND.COM_QUERY, sql)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 865, in _execute_command
    self._write_bytes(packet)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 816, in _write_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")
[SQL: SELECT tenant_branding.id AS tenant_branding_id, tenant_branding.company_id AS tenant_branding_company_id, tenant_branding.primary_color AS tenant_branding_primary_color, tenant_branding.secondary_color AS tenant_branding_secondary_color, tenant_branding.accent_color AS tenant_branding_accent_color, tenant_branding.logo_url AS tenant_branding_logo_url, tenant_branding.logo_light_url AS tenant_branding_logo_light_url, tenant_branding.logo_dark_url AS tenant_branding_logo_dark_url, tenant_branding.favicon_url AS tenant_branding_favicon_url, tenant_branding.company_tagline AS tenant_branding_company_tagline, tenant_branding.custom_css AS tenant_branding_custom_css, tenant_branding.custom_js AS tenant_branding_custom_js, tenant_branding.email_header AS tenant_branding_email_header, tenant_branding.email_footer AS tenant_branding_email_footer, tenant_branding.login_page_message AS tenant_branding_login_page_message, tenant_branding.enable_analytics AS tenant_branding_enable_analytics, tenant_branding.enable_reports AS tenant_branding_enable_reports, tenant_branding.enable_api_access AS tenant_branding_enable_api_access, tenant_branding.enable_webhooks AS tenant_branding_enable_webhooks, tenant_branding.enable_service_platform AS tenant_branding_enable_service_platform, tenant_branding.enable_budgeting AS tenant_branding_enable_budgeting, tenant_branding.max_users AS tenant_branding_max_users, tenant_branding.max_projects AS tenant_branding_max_projects, tenant_branding.max_storage_mb AS tenant_branding_max_storage_mb, tenant_branding.max_api_calls_per_day AS tenant_branding_max_api_calls_per_day, tenant_branding.custom_domain AS tenant_branding_custom_domain, tenant_branding.ssl_enabled AS tenant_branding_ssl_enabled, tenant_branding.meta_data AS tenant_branding_meta_data, tenant_branding.created_at AS tenant_branding_created_at, tenant_branding.updated_at AS tenant_branding_updated_at, tenant_branding.created_by_id AS tenant_branding_created_by_id, tenant_branding.updated_by_id AS tenant_branding_updated_by_id 
FROM tenant_branding 
WHERE tenant_branding.custom_domain = %(custom_domain_1)s 
 LIMIT %(param_1)s]
[parameters: {'custom_domain_1': 'api.synzhi.com', 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/modules/tenant-modules - 13.858s
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:middleware.performance:Slow request: GET /api/v1/tenant/features - 6.896s
[UID:1188][2430614] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.785s
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.618s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: GET /health - 1.558s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: POST /api/v1/auth/login - 1.911s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/activities/recent - 404
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Child process with pid: 2437543 was killed by signal: 15, core dumped: no
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/budget/all - 404
ERROR:utils.audit_logger:Failed to write audit log: (pymysql.err.OperationalError) (2014, 'Command Out of Sync')
(Background on this error at: https://sqlalche.me/e/20/e3q8)
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/time-logs/recent - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/time-logs/recent - 12.745s
ERROR:utils.audit_logger:Failed to write audit log: This result object does not return rows. It has been closed automatically.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/budget/all - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/budget/all - 12.829s
ERROR:utils.audit_logger:Failed to write audit log: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query')
(Background on this error at: https://sqlalche.me/e/20/e3q8)
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/projects - 404
[ERROR] [UID:1188][2437540] WARNING:middleware.performance:Slow request: OPTIONS /api/v1/projects - 12.827s
wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 813, in _write_bytes
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
    self._sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 504, in rollback
    self._execute_command(COMMAND.COM_QUERY, "ROLLBACK")
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 865, in _execute_command
    self._write_bytes(packet)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 816, in _write_bytes
    raise err.OperationalError(
pymysql.err.OperationalError: (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1527, in wsgi_app
    ctx.pop(error)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 426, in pop
    app_ctx.pop(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/ctx.py", line 262, in pop
    self.app.do_teardown_appcontext(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1382, in do_teardown_appcontext
    self.ensure_sync(func)(exc)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_sqlalchemy/extension.py", line 448, in _teardown_session
    self.session.remove()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/scoping.py", line 259, in remove
    self.registry().close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2507, in close
    self._close_impl(invalidate=False)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 2576, in _close_impl
    transaction.close(invalidate)
  File "<string>", line 2, in close
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/state_changes.py", line 137, in _go
    ret_value = fn(self, *arg, **kw)
                ^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/session.py", line 1417, in close
    transaction.close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2597, in close
    self._do_close()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2735, in _do_close
    self._close_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2721, in _close_impl
    self._connection_rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2713, in _connection_rollback_impl
    self.connection._rollback_impl()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1130, in _rollback_impl
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
    self._handle_dbapi_exception(e, None, None, None, None)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 2363, in _handle_dbapi_exception
    raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1128, in _rollback_impl
    self.engine.dialect.do_rollback(self.connection)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 712, in do_rollback
    dbapi_connection.rollback()
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 504, in rollback
    self._execute_command(COMMAND.COM_QUERY, "ROLLBACK")
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 865, in _execute_command
    self._write_bytes(packet)
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/pymysql/connections.py", line 816, in _write_bytes
    raise err.OperationalError(
sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (2006, "MySQL server has gone away (BrokenPipeError(32, 'Broken pipe'))")
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/clients - 404
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/clients - 13.124s
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:middleware.performance:Slow request: GET /api/v1/modules/tenant-modules - 13.117s
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/dashboard/preferences - 404
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/shared-with-me - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] OPTIONS /api/v1/calendar-events/delegations - 404
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:middleware.performance:Slow request: GET /api/v1/tenant/branding - 13.720s
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Child process with pid: 2437683 was killed by signal: 15, core dumped: no
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 7, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
[UID:1188][2437418] Reached max children process limit: 6, extra: 2, current: 8, busy: 8, please increase LSAPI_CHILDREN.
WARNING:middleware.performance:Slow request: GET /api/v1/users/39/permissions - 9.292s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
WARNING:middleware.performance:Slow request: GET /api/v1/modules/user-navigation - 11.293s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.704s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:middleware.performance:Slow request: OPTIONS /api/v1/notifications/count - 1.562s
[UID:1188][2440118] Child process with pid: 2440159 was killed by signal: 15, core dumped: no
WARNING:middleware.performance:Slow request: GET /api/v1/notifications/count - 1.780s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
[ERROR] [UID:1188][2463497] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2215, in _entity_namespace_key
    return getattr(ns, key)  # type: ignore
           ^^^^^^^^^^^^^^^^
AttributeError: type object 'Company' has no attribute 'subdomain'. Did you mean: 'domain'?

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 37, in before_request
    company = Company.query.filter_by(subdomain=subdomain).first()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 1992, in filter_by
    _entity_namespace_key(from_entity, key) == value
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2217, in _entity_namespace_key
    raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Entity namespace for "companies" has no property "subdomain"
[ERROR] [UID:1188][2463497] wsgiAppHandler pApp->start_response() return NULL.
Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2215, in _entity_namespace_key
    return getattr(ns, key)  # type: ignore
           ^^^^^^^^^^^^^^^^
AttributeError: type object 'Company' has no attribute 'subdomain'. Did you mean: 'domain'?

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1536, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_socketio/__init__.py", line 42, in __call__
    return super().__call__(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/engineio/middleware.py", line 74, in __call__
    return self.wsgi_app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/app.py", line 24, in __call__
    return self.app(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1514, in wsgi_app
    response = self.handle_exception(e)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 919, in full_dispatch_request
    rv = self.handle_user_exception(e)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_cors/extension.py", line 176, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
                                                ^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 915, in full_dispatch_request
    rv = self.preprocess_request()
         ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask/app.py", line 1291, in preprocess_request
    rv = self.ensure_sync(before_func)()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/public_html/platform/backend/middleware/tenant_context.py", line 37, in before_request
    company = Company.query.filter_by(subdomain=subdomain).first()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/orm/query.py", line 1992, in filter_by
    _entity_namespace_key(from_entity, key) == value
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib64/python3.12/site-packages/sqlalchemy/sql/base.py", line 2217, in _entity_namespace_key
    raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Entity namespace for "companies" has no property "subdomain"
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 3.522s
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 1.561s
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] HEAD / - 404
WARNING:middleware.performance:Slow request: HEAD / - 2.319s
Server initialized for threading.
/home/synzhico/virtualenv/public_html/platform/backend/3.12/lib/python3.12/site-packages/flask_limiter/_extension.py:364: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
  warnings.warn(
WARNING:root:Stripe package not installed. Stripe payments will be disabled.
[UID:1188][2675843] Child process with pid: 2675900 was killed by signal: 15, core dumped: no
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 3.094s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET / - 404
WARNING:middleware.performance:Slow request: GET / - 3.133s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /favicon.ico - 404
WARNING:middleware.performance:Slow request: GET /favicon.ico - 1.565s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /ads.txt - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /ads.txt - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /-ads.txt - 404
WARNING:middleware.performance:Slow request: GET /-ads.txt - 1.592s
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /-ads.txt - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /sellers.json - 404
WARNING:utils.audit_logger:[Tenant:5] [User:None] [unknown] GET /sellers.json - 404
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
[FIRE] Loading .env from: /home/synzhico/public_html/platform/backend/.env
[FIX] Building connection for: synzhico_dbsuser@localhost:3306/synzhico_service_platform_prod_db
[RED][RED][RED] REGISTERING AI AGENT HANDLERS [RED][RED][RED]
 REGISTERING CALENDAR SOCKET HANDLERS

[LIST] BLUEPRINT REGISTRATION:
  api_v1: /api/v1
  api_v1.auth_routes: /api/auth
  api_v1.users_routes: /api/v1/users
  api_v1.users: /api/users
  api_v1.calendar_routes: /api/v1/calendar
  api_v1.grassroots_events: /api/v1/grassroots-events
  api_v1.tenant: /api/tenant
  api_v1.admin: /api/v1/admin
  api_v1.status: /api/status
  api_v1.modules: /api/v1/modules
  api_v1.search: /api/search
  api_v1.notifications: /api/v1/notifications
  api_v1.portal: /api/portal
  api_v1.dashboard: /api/dashboard
[OK] Database tables created/verified
