Created
September 26, 2025 00:57
-
-
Save lindaktong/0397a1ecf01675ec8aefcda1a612e631 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| plaicin-redis-1 | 1:C 26 Sep 2025 00:57:14.460 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo | |
| plaicin-redis-1 | 1:C 26 Sep 2025 00:57:14.460 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=1, just started | |
| plaicin-redis-1 | 1:C 26 Sep 2025 00:57:14.460 # Configuration loaded | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.460 * monotonic clock: POSIX clock_gettime | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.461 * Running mode=standalone, port=6379. | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.461 # Server initialized | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.461 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.462 * Reading RDB base file on AOF loading... | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.462 * Loading RDB produced by version 7.0.15 | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.462 * RDB age 2612056 seconds | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.462 * RDB memory usage when created 0.85 Mb | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.462 * RDB is base AOF | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.462 * Done loading RDB, keys loaded: 0, keys expired: 0. | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.462 * DB loaded from base file appendonly.aof.1.base.rdb: 0.000 seconds | |
| plaicin-db-1 | | |
| plaicin-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization | |
| plaicin-db-1 | | |
| plaicin-db-1 | 2025-09-26 00:57:14.486 UTC [1] LOG: starting PostgreSQL 16.10 (Debian 16.10-1.pgdg13+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit | |
| plaicin-db-1 | 2025-09-26 00:57:14.486 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 | |
| plaicin-db-1 | 2025-09-26 00:57:14.486 UTC [1] LOG: listening on IPv6 address "::", port 5432 | |
| plaicin-db-1 | 2025-09-26 00:57:14.487 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" | |
| plaicin-db-1 | 2025-09-26 00:57:14.489 UTC [29] LOG: database system was shut down at 2025-09-26 00:55:27 UTC | |
| plaicin-db-1 | 2025-09-26 00:57:14.495 UTC [1] LOG: database system is ready to accept connections | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.511 * DB loaded from incr file appendonly.aof.1.incr.aof: 0.049 seconds | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.511 * DB loaded from append only file: 0.049 seconds | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.511 * Opening AOF incr file appendonly.aof.1.incr.aof on server start | |
| plaicin-redis-1 | 1:M 26 Sep 2025 00:57:14.511 * Ready to accept connections | |
| plaicin-backend-1 | INFO: Will watch for changes in these directories: ['/app'] | |
| plaicin-backend-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) | |
| plaicin-backend-1 | INFO: Started reloader process [1] using WatchFiles | |
| plaicin-arq_worker-1 | 2025-09-26 00:57:14,745 - INFO - __main__ - Monitoring directories: /app/scripts/../ | |
| plaicin-arq_worker-1 | 2025-09-26 00:57:14,746 - INFO - __main__ - Started ARQ worker process with PID 7 and log level INFO | |
| plaicin-video_worker-1 | [2025-09-26 00:57:15,021][taskiq.worker][INFO ][MainProcess] Pid of a main process: 1 | |
| plaicin-video_worker-1 | [2025-09-26 00:57:15,021][taskiq.worker][INFO ][MainProcess] Starting 2 worker processes. | |
| plaicin-video_worker-1 | [2025-09-26 00:57:15,021][root][WARNING][MainProcess] Reload on change enabled. Number of worker processes set to 1. | |
| plaicin-video_worker-1 | [2025-09-26 00:57:15,131][taskiq.process-manager][INFO ][MainProcess] Started process worker-0 with pid 10 | |
| plaicin-arq_worker-1 | 00:57:17: Starting worker for 26 functions: generate_image_expression_task, generate_voice_task, generate_music_task, generate_image_task, generate_entity_image_task, generate_world_task, generate_entity_task, generate_location_panorama_task, generate_entity_variant_task, generate_cutscene_task, generate_cutscene_videos_task, assemble_cutscene_task, copy_cutscene_video_task, world_simulation_notification_task, schedule_world_notifications_task, generate_play_message_task, generate_edit_message_task, generate_visual_state_image_task, generate_memory_task, generate_late_join_summary_task, generate_editors_choice_task, update_world_story_task, create_onboarding_character_task, create_onboarding_location_task, generate_ideation_message_task, cron:schedule_notifications_daily | |
| plaicin-arq_worker-1 | 00:57:17: redis_version=7.0.15 mem_usage=1.58M clients_connected=1 db_keys=17 | |
| plaicin-arq_worker-1 | INFO:00:57:17 [ARQWorker] backend.workers.arq_app:97 ARQ worker starting up | |
| plaicin-video_worker-1 | [2025-09-26 00:57:17,108][taskiq.worker][INFO ][worker-0] Importing tasks from module backend.workers.taskiq_app | |
| plaicin-video_worker-1 | [2025-09-26 00:57:17,109][backend.workers.taskiq_app][INFO ][worker-0] Taskiq video worker starting up | |
| plaicin-video_worker-1 | /usr/local/lib/python3.12/site-packages/psycopg_pool/pool_async.py:142: RuntimeWarning: opening the async pool AsyncConnectionPool in the constructor is deprecated and will not be supported anymore in a future release. Please use `await pool.open()`, or use the pool as context manager using: `async with AsyncConnectionPool(...) as pool: `... | |
| plaicin-video_worker-1 | warnings.warn( | |
| plaicin-video_worker-1 | [2025-09-26 00:57:17,109][backend.db][INFO ][worker-0] Database connection pool created successfully | |
| plaicin-video_worker-1 | [2025-09-26 00:57:17,112][taskiq.receiver.receiver][INFO ][worker-0] Listening started. | |
| plaicin-arq_worker-1 | INFO:00:57:17 [ARQWorker] backend.workers.arq_app:104 Connecting to Redis at redis:6379 | |
| plaicin-arq_worker-1 | /usr/local/lib/python3.12/site-packages/psycopg_pool/pool_async.py:142: RuntimeWarning: opening the async pool AsyncConnectionPool in the constructor is deprecated and will not be supported anymore in a future release. Please use `await pool.open()`, or use the pool as context manager using: `async with AsyncConnectionPool(...) as pool: `... | |
| plaicin-arq_worker-1 | warnings.warn( | |
| plaicin-arq_worker-1 | INFO:00:57:17 [ARQWorker] backend.db:52 Database connection pool created successfully | |
| plaicin-arq_worker-1 | INFO:00:57:17 [ARQWorker] backend.workers.arq_app:107 Database initialized | |
| plaicin-backend-1 | INFO: Started server process [14] | |
| plaicin-backend-1 | INFO: Waiting for application startup. | |
| plaicin-backend-1 | 2025-09-26 00:57:17,526 - INFO - backend.main - Initializing posthog | |
| plaicin-backend-1 | 2025-09-26 00:57:17,526 - INFO - backend.main - Initializing database | |
| plaicin-backend-1 | /usr/local/lib/python3.12/site-packages/psycopg_pool/pool_async.py:142: RuntimeWarning: opening the async pool AsyncConnectionPool in the constructor is deprecated and will not be supported anymore in a future release. Please use `await pool.open()`, or use the pool as context manager using: `async with AsyncConnectionPool(...) as pool: `... | |
| plaicin-backend-1 | warnings.warn( | |
| plaicin-backend-1 | 2025-09-26 00:57:17,526 - INFO - backend.db - Database connection pool created successfully | |
| plaicin-backend-1 | 2025-09-26 00:57:17,526 - INFO - backend.main - Running migrations | |
| plaicin-backend-1 | 2025-09-26 00:57:17,527 - INFO - backend.pgroll_migrations - Running SQL migrations... | |
| plaicin-backend-1 | 2025-09-26 00:57:17,537 - INFO - backend.migrations - Migration lock acquired | |
| plaicin-backend-1 | 2025-09-26 00:57:17,542 - INFO - backend.migrations - No pending migrations to apply | |
| plaicin-backend-1 | 2025-09-26 00:57:17,542 - INFO - backend.migrations - Migration lock released | |
| plaicin-backend-1 | 2025-09-26 00:57:17,542 - INFO - backend.pgroll_migrations - Checking for pgroll migrations... | |
| plaicin-backend-1 | 2025-09-26 00:57:17,590 - INFO - backend.pgroll_migrations - pgroll is installed: pgroll version 0.14.1 | |
| plaicin-backend-1 | 2025-09-26 00:57:17,591 - INFO - backend.pgroll_migrations - Found 17 pgroll migration file(s) | |
| plaicin-backend-1 | 2025-09-26 00:57:17,591 - INFO - backend.pgroll_migrations - Initializing pgroll... | |
| plaicin-backend-1 | 2025-09-26 00:57:17,759 - INFO - backend.pgroll_migrations - Current pgroll status: { | |
| plaicin-backend-1 | "schema": "public", | |
| plaicin-backend-1 | "version": "", | |
| plaicin-backend-1 | "status": "No migrations" | |
| plaicin-backend-1 | } | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | 2025-09-26 00:57:17,759 - INFO - backend.pgroll_migrations - Running all pending migrations with auto-complete... | |
| plaicin-backend-1 | 2025-09-26 00:57:17,760 - INFO - backend.pgroll_migrations - Note: In local mode, all migrations auto-complete (including manual ones) | |
| plaicin-backend-1 | 2025-09-26 00:57:17,890 - ERROR - backend.pgroll_migrations - pgroll command failed: | |
| plaicin-backend-1 | ▀ Starting migration... (0s) | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | ERROR Failed to start migration: migration '007_create_character_variants' is invalid: table "character_variants" already exists | |
| plaicin-backend-1 | Error: failed to run migration file "007_create_character_variants": migration '007_create_character_variants' is invalid: table "character_variants" already exists | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | 2025-09-26 00:57:17,898 - ERROR - backend.pgroll_migrations - pgroll migrate failed: | |
| plaicin-backend-1 | ▀ Starting migration... (0s) | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | ERROR Failed to start migration: migration '007_create_character_variants' is invalid: table "character_variants" already exists | |
| plaicin-backend-1 | Error: failed to run migration file "007_create_character_variants": migration '007_create_character_variants' is invalid: table "character_variants" already exists | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | 2025-09-26 00:57:17,904 - ERROR - backend.pgroll_migrations - Migration batch failed | |
| plaicin-backend-1 | 2025-09-26 00:57:17,908 - INFO - backend.pgroll_migrations - You can debug individual migrations using: | |
| plaicin-backend-1 | 2025-09-26 00:57:17,908 - INFO - backend.pgroll_migrations - 1. Check status: pgroll status | |
| plaicin-backend-1 | 2025-09-26 00:57:17,908 - INFO - backend.pgroll_migrations - 2. Complete manually: pgroll complete | |
| plaicin-backend-1 | 2025-09-26 00:57:17,908 - INFO - backend.pgroll_migrations - 3. Rollback if needed: pgroll rollback | |
| plaicin-backend-1 | 2025-09-26 00:57:17,908 - INFO - backend.main - Migrations completed successfully | |
| plaicin-backend-1 | 2025-09-26 00:57:17,908 - INFO - backend.main - Initializing Firebase | |
| plaicin-backend-1 | 2025-09-26 00:57:17,936 - INFO - backend.main - Initializing ARQ | |
| plaicin-backend-1 | 2025-09-26 00:57:17,937 - INFO - backend.arq - ARQ Redis pool created successfully | |
| plaicin-backend-1 | 2025-09-26 00:57:17,937 - INFO - backend.main - Syncing world types | |
| plaicin-backend-1 | 2025-09-26 00:57:17,937 - INFO - backend.api.v1.utils.world_types - Syncing world types from filesystem | |
| plaicin-backend-1 | 2025-09-26 00:57:17,947 - INFO - backend.api.v1.utils.world_types - Updating world type: Video Interactive Story 1.0.1 | |
| plaicin-db-1 | 2025-09-26 00:57:17.948 UTC [43] ERROR: column "ideation_prompt" of relation "world_types" does not exist at character 2008 | |
| plaicin-db-1 | 2025-09-26 00:57:17.948 UTC [43] STATEMENT: | |
| plaicin-db-1 | UPDATE world_types SET | |
| plaicin-db-1 | description = $1, | |
| plaicin-db-1 | ui = $2, | |
| plaicin-db-1 | is_active = $3, | |
| plaicin-db-1 | settings = $4, | |
| plaicin-db-1 | world_input_json_schema = $5, | |
| plaicin-db-1 | world_prompt = $6, | |
| plaicin-db-1 | world_properties_json_schema = $7, | |
| plaicin-db-1 | characters_prompt = $8, | |
| plaicin-db-1 | character_properties_json_schema = $9, | |
| plaicin-db-1 | locations_prompt = $10, | |
| plaicin-db-1 | location_properties_json_schema = $11, | |
| plaicin-db-1 | items_prompt = $12, | |
| plaicin-db-1 | item_properties_json_schema = $13, | |
| plaicin-db-1 | plan_prompt = $14, | |
| plaicin-db-1 | intro_plan_prompt = $15, | |
| plaicin-db-1 | plan_tools = $16, | |
| plaicin-db-1 | entity_prompt = $17, | |
| plaicin-db-1 | entity_tools = $18, | |
| plaicin-db-1 | message_prompt = $19, | |
| plaicin-db-1 | message_content_json_schema = $20, | |
| plaicin-db-1 | message_tools = $21, | |
| plaicin-db-1 | cutscenes_prompt = $22, | |
| plaicin-db-1 | cutscene_properties_json_schema = $23, | |
| plaicin-db-1 | memory_prompt = $24, | |
| plaicin-db-1 | memory_json_schema = $25, | |
| plaicin-db-1 | intro_message_prompt = $26, | |
| plaicin-db-1 | state_initialize_prompt = $27, | |
| plaicin-db-1 | state_initialize_tools = $28, | |
| plaicin-db-1 | edit_prompt = $29, | |
| plaicin-db-1 | edit_tools = $30, | |
| plaicin-db-1 | late_join_summary_prompt = $31, | |
| plaicin-db-1 | fast_message_prompt = $32, | |
| plaicin-db-1 | world_input_enhance_prompt = $33, | |
| plaicin-db-1 | character_variant_prompt = $34, | |
| plaicin-db-1 | location_variant_prompt = $35, | |
| plaicin-db-1 | item_variant_prompt = $36, | |
| plaicin-db-1 | ideation_prompt = $37, | |
| plaicin-db-1 | ideation_tools = $38 | |
| plaicin-db-1 | WHERE name = $39 AND version = $40 | |
| plaicin-db-1 | | |
| plaicin-backend-1 | 2025-09-26 00:57:17,949 - ERROR - backend.db - Error in execute_query: | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/db.py", line 138, in execute_query | |
| plaicin-backend-1 | await cur.execute(query, params if params else None) | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute | |
| plaicin-backend-1 | raise ex.with_traceback(None) | |
| plaicin-backend-1 | psycopg.errors.UndefinedColumn: column "ideation_prompt" of relation "world_types" does not exist | |
| plaicin-backend-1 | LINE 39: ideation_prompt = $37, | |
| plaicin-backend-1 | ^ | |
| plaicin-backend-1 | 2025-09-26 00:57:17,952 - ERROR - backend.api.v1.utils.world_types - Error syncing world type Video Interactive Story/1.0.1: | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/db.py", line 138, in execute_query | |
| plaicin-backend-1 | await cur.execute(query, params if params else None) | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute | |
| plaicin-backend-1 | raise ex.with_traceback(None) | |
| plaicin-backend-1 | psycopg.errors.UndefinedColumn: column "ideation_prompt" of relation "world_types" does not exist | |
| plaicin-backend-1 | LINE 39: ideation_prompt = $37, | |
| plaicin-backend-1 | ^ | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | During handling of the above exception, another exception occurred: | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/api/v1/utils/world_types.py", line 381, in sync_world_types | |
| plaicin-backend-1 | await db.execute_query( | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped | |
| plaicin-backend-1 | return await copy(fn, *args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__ | |
| plaicin-backend-1 | do = await self.iter(retry_state=retry_state) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 153, in iter | |
| plaicin-backend-1 | result = await action(retry_state) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/_utils.py", line 99, in inner | |
| plaicin-backend-1 | return call(*args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/__init__.py", line 398, in <lambda> | |
| plaicin-backend-1 | self._add_action_func(lambda rs: rs.outcome.result()) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result | |
| plaicin-backend-1 | return self.__get_result() | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result | |
| plaicin-backend-1 | raise self._exception | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__ | |
| plaicin-backend-1 | result = await fn(*args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/app/backend/db.py", line 150, in execute_query | |
| plaicin-backend-1 | raise HTTPException(status_code=500, detail="Database error") | |
| plaicin-backend-1 | fastapi.exceptions.HTTPException: 500: Database error | |
| plaicin-backend-1 | 2025-09-26 00:57:17,968 - INFO - backend.api.v1.utils.world_types - Updating world type: Visual Interactive Story 1.0.1 | |
| plaicin-db-1 | 2025-09-26 00:57:17.969 UTC [45] ERROR: column "ideation_prompt" of relation "world_types" does not exist at character 2008 | |
| plaicin-db-1 | 2025-09-26 00:57:17.969 UTC [45] STATEMENT: | |
| plaicin-db-1 | UPDATE world_types SET | |
| plaicin-db-1 | description = $1, | |
| plaicin-db-1 | ui = $2, | |
| plaicin-db-1 | is_active = $3, | |
| plaicin-db-1 | settings = $4, | |
| plaicin-db-1 | world_input_json_schema = $5, | |
| plaicin-db-1 | world_prompt = $6, | |
| plaicin-db-1 | world_properties_json_schema = $7, | |
| plaicin-db-1 | characters_prompt = $8, | |
| plaicin-db-1 | character_properties_json_schema = $9, | |
| plaicin-db-1 | locations_prompt = $10, | |
| plaicin-db-1 | location_properties_json_schema = $11, | |
| plaicin-db-1 | items_prompt = $12, | |
| plaicin-db-1 | item_properties_json_schema = $13, | |
| plaicin-db-1 | plan_prompt = $14, | |
| plaicin-db-1 | intro_plan_prompt = $15, | |
| plaicin-db-1 | plan_tools = $16, | |
| plaicin-db-1 | entity_prompt = $17, | |
| plaicin-db-1 | entity_tools = $18, | |
| plaicin-db-1 | message_prompt = $19, | |
| plaicin-db-1 | message_content_json_schema = $20, | |
| plaicin-db-1 | message_tools = $21, | |
| plaicin-db-1 | cutscenes_prompt = $22, | |
| plaicin-db-1 | cutscene_properties_json_schema = $23, | |
| plaicin-db-1 | memory_prompt = $24, | |
| plaicin-db-1 | memory_json_schema = $25, | |
| plaicin-db-1 | intro_message_prompt = $26, | |
| plaicin-db-1 | state_initialize_prompt = $27, | |
| plaicin-db-1 | state_initialize_tools = $28, | |
| plaicin-db-1 | edit_prompt = $29, | |
| plaicin-db-1 | edit_tools = $30, | |
| plaicin-db-1 | late_join_summary_prompt = $31, | |
| plaicin-db-1 | fast_message_prompt = $32, | |
| plaicin-db-1 | world_input_enhance_prompt = $33, | |
| plaicin-db-1 | character_variant_prompt = $34, | |
| plaicin-db-1 | location_variant_prompt = $35, | |
| plaicin-db-1 | item_variant_prompt = $36, | |
| plaicin-db-1 | ideation_prompt = $37, | |
| plaicin-db-1 | ideation_tools = $38 | |
| plaicin-db-1 | WHERE name = $39 AND version = $40 | |
| plaicin-db-1 | | |
| plaicin-backend-1 | 2025-09-26 00:57:17,969 - ERROR - backend.db - Error in execute_query: | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/db.py", line 138, in execute_query | |
| plaicin-backend-1 | await cur.execute(query, params if params else None) | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute | |
| plaicin-backend-1 | raise ex.with_traceback(None) | |
| plaicin-backend-1 | psycopg.errors.UndefinedColumn: column "ideation_prompt" of relation "world_types" does not exist | |
| plaicin-backend-1 | LINE 39: ideation_prompt = $37, | |
| plaicin-backend-1 | ^ | |
| plaicin-backend-1 | 2025-09-26 00:57:17,972 - ERROR - backend.api.v1.utils.world_types - Error syncing world type Visual Interactive Story/1.0.1: | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/db.py", line 138, in execute_query | |
| plaicin-backend-1 | await cur.execute(query, params if params else None) | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute | |
| plaicin-backend-1 | raise ex.with_traceback(None) | |
| plaicin-backend-1 | psycopg.errors.UndefinedColumn: column "ideation_prompt" of relation "world_types" does not exist | |
| plaicin-backend-1 | LINE 39: ideation_prompt = $37, | |
| plaicin-backend-1 | ^ | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | During handling of the above exception, another exception occurred: | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/api/v1/utils/world_types.py", line 381, in sync_world_types | |
| plaicin-backend-1 | await db.execute_query( | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped | |
| plaicin-backend-1 | return await copy(fn, *args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__ | |
| plaicin-backend-1 | do = await self.iter(retry_state=retry_state) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 153, in iter | |
| plaicin-backend-1 | result = await action(retry_state) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/_utils.py", line 99, in inner | |
| plaicin-backend-1 | return call(*args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/__init__.py", line 398, in <lambda> | |
| plaicin-backend-1 | self._add_action_func(lambda rs: rs.outcome.result()) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result | |
| plaicin-backend-1 | return self.__get_result() | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result | |
| plaicin-backend-1 | raise self._exception | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__ | |
| plaicin-backend-1 | result = await fn(*args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/app/backend/db.py", line 150, in execute_query | |
| plaicin-backend-1 | raise HTTPException(status_code=500, detail="Database error") | |
| plaicin-backend-1 | fastapi.exceptions.HTTPException: 500: Database error | |
| plaicin-backend-1 | 2025-09-26 00:57:17,985 - INFO - backend.api.v1.utils.world_types - Updating world type: Visual Interactive Story 1.1.0 | |
| plaicin-db-1 | 2025-09-26 00:57:17.986 UTC [42] ERROR: column "ideation_prompt" of relation "world_types" does not exist at character 2008 | |
| plaicin-db-1 | 2025-09-26 00:57:17.986 UTC [42] STATEMENT: | |
| plaicin-db-1 | UPDATE world_types SET | |
| plaicin-db-1 | description = $1, | |
| plaicin-db-1 | ui = $2, | |
| plaicin-db-1 | is_active = $3, | |
| plaicin-db-1 | settings = $4, | |
| plaicin-db-1 | world_input_json_schema = $5, | |
| plaicin-db-1 | world_prompt = $6, | |
| plaicin-db-1 | world_properties_json_schema = $7, | |
| plaicin-db-1 | characters_prompt = $8, | |
| plaicin-db-1 | character_properties_json_schema = $9, | |
| plaicin-db-1 | locations_prompt = $10, | |
| plaicin-db-1 | location_properties_json_schema = $11, | |
| plaicin-db-1 | items_prompt = $12, | |
| plaicin-db-1 | item_properties_json_schema = $13, | |
| plaicin-db-1 | plan_prompt = $14, | |
| plaicin-db-1 | intro_plan_prompt = $15, | |
| plaicin-db-1 | plan_tools = $16, | |
| plaicin-db-1 | entity_prompt = $17, | |
| plaicin-db-1 | entity_tools = $18, | |
| plaicin-db-1 | message_prompt = $19, | |
| plaicin-db-1 | message_content_json_schema = $20, | |
| plaicin-db-1 | message_tools = $21, | |
| plaicin-db-1 | cutscenes_prompt = $22, | |
| plaicin-db-1 | cutscene_properties_json_schema = $23, | |
| plaicin-db-1 | memory_prompt = $24, | |
| plaicin-db-1 | memory_json_schema = $25, | |
| plaicin-db-1 | intro_message_prompt = $26, | |
| plaicin-db-1 | state_initialize_prompt = $27, | |
| plaicin-db-1 | state_initialize_tools = $28, | |
| plaicin-db-1 | edit_prompt = $29, | |
| plaicin-db-1 | edit_tools = $30, | |
| plaicin-db-1 | late_join_summary_prompt = $31, | |
| plaicin-db-1 | fast_message_prompt = $32, | |
| plaicin-db-1 | world_input_enhance_prompt = $33, | |
| plaicin-db-1 | character_variant_prompt = $34, | |
| plaicin-db-1 | location_variant_prompt = $35, | |
| plaicin-db-1 | item_variant_prompt = $36, | |
| plaicin-db-1 | ideation_prompt = $37, | |
| plaicin-db-1 | ideation_tools = $38 | |
| plaicin-db-1 | WHERE name = $39 AND version = $40 | |
| plaicin-db-1 | | |
| plaicin-backend-1 | 2025-09-26 00:57:17,986 - ERROR - backend.db - Error in execute_query: | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/db.py", line 138, in execute_query | |
| plaicin-backend-1 | await cur.execute(query, params if params else None) | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute | |
| plaicin-backend-1 | raise ex.with_traceback(None) | |
| plaicin-backend-1 | psycopg.errors.UndefinedColumn: column "ideation_prompt" of relation "world_types" does not exist | |
| plaicin-backend-1 | LINE 39: ideation_prompt = $37, | |
| plaicin-backend-1 | ^ | |
| plaicin-backend-1 | 2025-09-26 00:57:17,989 - ERROR - backend.api.v1.utils.world_types - Error syncing world type Visual Interactive Story/1.1.0: | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/db.py", line 138, in execute_query | |
| plaicin-backend-1 | await cur.execute(query, params if params else None) | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute | |
| plaicin-backend-1 | raise ex.with_traceback(None) | |
| plaicin-backend-1 | psycopg.errors.UndefinedColumn: column "ideation_prompt" of relation "world_types" does not exist | |
| plaicin-backend-1 | LINE 39: ideation_prompt = $37, | |
| plaicin-backend-1 | ^ | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | During handling of the above exception, another exception occurred: | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/api/v1/utils/world_types.py", line 381, in sync_world_types | |
| plaicin-backend-1 | await db.execute_query( | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped | |
| plaicin-backend-1 | return await copy(fn, *args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__ | |
| plaicin-backend-1 | do = await self.iter(retry_state=retry_state) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 153, in iter | |
| plaicin-backend-1 | result = await action(retry_state) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/_utils.py", line 99, in inner | |
| plaicin-backend-1 | return call(*args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/__init__.py", line 398, in <lambda> | |
| plaicin-backend-1 | self._add_action_func(lambda rs: rs.outcome.result()) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result | |
| plaicin-backend-1 | return self.__get_result() | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result | |
| plaicin-backend-1 | raise self._exception | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__ | |
| plaicin-backend-1 | result = await fn(*args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/app/backend/db.py", line 150, in execute_query | |
| plaicin-backend-1 | raise HTTPException(status_code=500, detail="Database error") | |
| plaicin-backend-1 | fastapi.exceptions.HTTPException: 500: Database error | |
| plaicin-backend-1 | 2025-09-26 00:57:18,002 - INFO - backend.api.v1.utils.world_types - Updating world type: Text Interactive Story 1.0.1 | |
| plaicin-db-1 | 2025-09-26 00:57:18.002 UTC [44] ERROR: column "ideation_prompt" of relation "world_types" does not exist at character 2008 | |
| plaicin-db-1 | 2025-09-26 00:57:18.002 UTC [44] STATEMENT: | |
| plaicin-db-1 | UPDATE world_types SET | |
| plaicin-db-1 | description = $1, | |
| plaicin-db-1 | ui = $2, | |
| plaicin-db-1 | is_active = $3, | |
| plaicin-db-1 | settings = $4, | |
| plaicin-db-1 | world_input_json_schema = $5, | |
| plaicin-db-1 | world_prompt = $6, | |
| plaicin-db-1 | world_properties_json_schema = $7, | |
| plaicin-db-1 | characters_prompt = $8, | |
| plaicin-db-1 | character_properties_json_schema = $9, | |
| plaicin-db-1 | locations_prompt = $10, | |
| plaicin-db-1 | location_properties_json_schema = $11, | |
| plaicin-db-1 | items_prompt = $12, | |
| plaicin-db-1 | item_properties_json_schema = $13, | |
| plaicin-db-1 | plan_prompt = $14, | |
| plaicin-db-1 | intro_plan_prompt = $15, | |
| plaicin-db-1 | plan_tools = $16, | |
| plaicin-db-1 | entity_prompt = $17, | |
| plaicin-db-1 | entity_tools = $18, | |
| plaicin-db-1 | message_prompt = $19, | |
| plaicin-db-1 | message_content_json_schema = $20, | |
| plaicin-db-1 | message_tools = $21, | |
| plaicin-db-1 | cutscenes_prompt = $22, | |
| plaicin-db-1 | cutscene_properties_json_schema = $23, | |
| plaicin-db-1 | memory_prompt = $24, | |
| plaicin-db-1 | memory_json_schema = $25, | |
| plaicin-db-1 | intro_message_prompt = $26, | |
| plaicin-db-1 | state_initialize_prompt = $27, | |
| plaicin-db-1 | state_initialize_tools = $28, | |
| plaicin-db-1 | edit_prompt = $29, | |
| plaicin-db-1 | edit_tools = $30, | |
| plaicin-db-1 | late_join_summary_prompt = $31, | |
| plaicin-db-1 | fast_message_prompt = $32, | |
| plaicin-db-1 | world_input_enhance_prompt = $33, | |
| plaicin-db-1 | character_variant_prompt = $34, | |
| plaicin-db-1 | location_variant_prompt = $35, | |
| plaicin-db-1 | item_variant_prompt = $36, | |
| plaicin-db-1 | ideation_prompt = $37, | |
| plaicin-db-1 | ideation_tools = $38 | |
| plaicin-db-1 | WHERE name = $39 AND version = $40 | |
| plaicin-db-1 | | |
| plaicin-backend-1 | 2025-09-26 00:57:18,002 - ERROR - backend.db - Error in execute_query: | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/db.py", line 138, in execute_query | |
| plaicin-backend-1 | await cur.execute(query, params if params else None) | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute | |
| plaicin-backend-1 | raise ex.with_traceback(None) | |
| plaicin-backend-1 | psycopg.errors.UndefinedColumn: column "ideation_prompt" of relation "world_types" does not exist | |
| plaicin-backend-1 | LINE 39: ideation_prompt = $37, | |
| plaicin-backend-1 | ^ | |
| plaicin-backend-1 | 2025-09-26 00:57:18,004 - ERROR - backend.api.v1.utils.world_types - Error syncing world type Text Interactive Story/1.0.1: | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/db.py", line 138, in execute_query | |
| plaicin-backend-1 | await cur.execute(query, params if params else None) | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/psycopg/cursor_async.py", line 97, in execute | |
| plaicin-backend-1 | raise ex.with_traceback(None) | |
| plaicin-backend-1 | psycopg.errors.UndefinedColumn: column "ideation_prompt" of relation "world_types" does not exist | |
| plaicin-backend-1 | LINE 39: ideation_prompt = $37, | |
| plaicin-backend-1 | ^ | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | During handling of the above exception, another exception occurred: | |
| plaicin-backend-1 | | |
| plaicin-backend-1 | Traceback (most recent call last): | |
| plaicin-backend-1 | File "/app/backend/api/v1/utils/world_types.py", line 381, in sync_world_types | |
| plaicin-backend-1 | await db.execute_query( | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped | |
| plaicin-backend-1 | return await copy(fn, *args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 111, in __call__ | |
| plaicin-backend-1 | do = await self.iter(retry_state=retry_state) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 153, in iter | |
| plaicin-backend-1 | result = await action(retry_state) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/_utils.py", line 99, in inner | |
| plaicin-backend-1 | return call(*args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/__init__.py", line 398, in <lambda> | |
| plaicin-backend-1 | self._add_action_func(lambda rs: rs.outcome.result()) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result | |
| plaicin-backend-1 | return self.__get_result() | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result | |
| plaicin-backend-1 | raise self._exception | |
| plaicin-backend-1 | File "/usr/local/lib/python3.12/site-packages/tenacity/asyncio/__init__.py", line 114, in __call__ | |
| plaicin-backend-1 | result = await fn(*args, **kwargs) | |
| plaicin-backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| plaicin-backend-1 | File "/app/backend/db.py", line 150, in execute_query | |
| plaicin-backend-1 | raise HTTPException(status_code=500, detail="Database error") | |
| plaicin-backend-1 | fastapi.exceptions.HTTPException: 500: Database error | |
| plaicin-backend-1 | 2025-09-26 00:57:18,009 - INFO - backend.main - Syncing static assets with S3 | |
| plaicin-backend-1 | 2025-09-26 00:57:20,437 - INFO - backend.main - Initializing shared HTTP client | |
| plaicin-backend-1 | 2025-09-26 00:57:20,450 - INFO - backend.http_client - Created shared HTTP client | |
| plaicin-backend-1 | 2025-09-26 00:57:20,450 - INFO - backend.main - Starting monitoring tasks | |
| plaicin-backend-1 | 2025-09-26 00:57:20,450 - INFO - backend.main - Starting WebSocket monitoring | |
| plaicin-backend-1 | INFO: Application startup complete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment