seto
09/05/2024, 5:16 PMMarvin
09/05/2024, 5:16 PMi got error when migrate from sqlite postgres, the error is below.. What happenedTraceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 677, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/prefect/server/api/server.py", line 519, in lifespan await run_migrations() File "/usr/local/lib/python3.11/site-packages/prefect/server/api/server.py", line 442, in run_migrations await db.create_db() File "/usr/local/lib/python3.11/site-packages/prefect/server/database/interface.py", line 56, in create_db await self.run_migrations_upgrade() File "/usr/local/lib/python3.11/site-packages/prefect/server/database/interface.py", line 64, in run_migrations_upgrade await run_sync_in_worker_thread(alembic_upgrade) File "/usr/local/lib/python3.11/site-packages/prefect/utilities/asyncutils.py", line 91, in run_sync_in_worker_thread return await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^
Marvin
09/05/2024, 5:17 PMi got error when migrate from sqlite postgres, the error is below.. What happenedTraceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 677, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/prefect/server/api/server.py", line 519, in lifespan await run_migrations() File "/usr/local/lib/python3.11/site-packages/prefect/server/api/server.py", line 442, in run_migrations await db.create_db() File "/usr/local/lib/python3.11/site-packages/prefect/server/database/interface.py", line 56, in create_db await self.run_migrations_upgrade() File "/usr/local/lib/python3.11/site-packages/prefect/server/database/interface.py", line 64, in run_migrations_upgrade await run_sync_in_worker_thread(alembic_upgrade) File "/usr/local/lib/python3.11/site-packages/prefect/utilities/asyncutils.py", line 91, in run_sync_in_worker_thread return await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^
seto
09/05/2024, 5:19 PMFor reference, here's your message at the allowed limit: i got error when migrate from sqlite postgres, the error is below.. What happened
Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 677, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/prefect/server/api/server.py", line 519, in lifespan await run_migrations() File "/usr/local/lib/python3.11/site-packages/prefect/server/api/server.py", line 442, in run_migrations await db.create_db() File "/usr/local/lib/python3.11/site-packages/prefect/server/database/interface.py", line 56, in create_db await self.run_migrations_upgrade() File "/usr/local/lib/python3.11/site-packages/prefect/server/database/interface.py", line 64, in run_migrations_upgrade await run_sync_in_worker_thread(alembic_upgrade) File "/usr/local/lib/python3.11/site-packages/prefect/utilities/asyncutils.py", line 91, in run_sync_in_worker_thread return await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^
Marvin
09/05/2024, 5:19 PMi found error like this Your message was too long by 652 tokens - please shorten it and try again.
For reference, here's your message at the allowed limit: i got error when migrate from sqlite postgres, the error is below.. What happened
Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 677, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/prefect/server/api/server.py", line 519, in lifespan await run_migrations() File "/usr/local/lib/python3.11/site-packages/prefect/server/api/server.py", line 442, in run_migrations await db.create_db() File "/usr/local/lib/python3.11/site-packages/prefect/server/database/interface.py", line 56, in create_db await self.run_migrations_upgrade() File "/usr/local/lib/python3.11/site-packages/prefect/server/database/interface.py", line 64, in run_migrations_upgrade await run_sync_in_worker_thread(alembic_upgrade) File "/usr/local/lib/python3.11
seto
09/05/2024, 5:20 PM