@Marvin ating tmux session: tmux new-session -d -s prefect-server -c /home/ubuntu/calval-etl
Sending command: source prefect_env/bin/activate
Setting API URL for server
Setting authentication environment variables
Setting CSRF protection for security
Sending command: prefect server start --host 0.0.0.0 --port 4200
Checking if tmux session was created...
Prefect server tmux session created successfully
Waiting for server to be ready...
Checking tmux session content...
Tmux session status:
prefect-server: 1 windows (created Mon Jul 14 19
2329 2025)
Tmux session processes:
166467
Capturing tmux session output...
emy/util/_concurrency_py3k.py", line 196, in greenlet_spawn
value = await result
^^^^^^^^^^^^
File "/home/ubuntu/calval-etl/prefect_env/lib/python3.11/site-packages/aiosqli
te/cursor.py", line 40, in execute
await self._execute(self._cursor.execute, sql, parameters)
File "/home/ubuntu/calval-etl/prefect_env/lib/python3.11/site-packages/aiosqli
te/cursor.py", line 32, in _execute
return await self._conn._execute(fn, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/calval-etl/prefect_env/lib/python3.11/site-packages/aiosqli
te/core.py", line 122, in _execute
return await future
^^^^^^^^^^^^
File "/home/ubuntu/calval-etl/prefect_env/lib/python3.11/site-packages/aiosqli
te/core.py", line 105, in run
result = function()
^^^^^^^^^^
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked
[SQL: INSERT INTO flow_run_state (flow_run_id, type, timestamp, name, message, s
tate_details, data, result_artifact_id, id, created, updated) VALUES (:flow_run_
id, :type, :timestamp, :name, :message, :state_details, :data, :result_artifact_
id, :id, :created, :updated)]
[parameters: {'flow_run_id': '019809dd-c8c8-7172-8841-f3b07288aa90', 'type': 'SC
HEDULED', 'timestamp': '2025-07-14 19
2338.903625', 'name': 'Late', 'message':
None, 'state_details': '{"flow_run_id": "019809dd-c8c8-7172-8841-f3b07288aa90",
"task_run_id": null, "child_flow_run_id": null, "scheduled_time": "2025-07-14T18
0000Z", "ca ... (149 characters truncated) ... y": null, "run_input_keyset": n
ull, "refresh_cache": null, "retriable": null, "transition_id": null, "task_para
meters_id": null, "traceparent": null}', 'data': None, 'result_artifact_id': Non
e, 'id': '01980a64-8e17-78f0-a123-300c536beb42', 'created': '2025-07-14 19
2338
.933696', 'updated': '2025-07-14 19
2338.933707'}]
(Background on this error at:
https://sqlalche.me/e/20/e3q8)
how can i avoid this