nohup: ignoring input
WARNING:app.app:Failed to initialize TTS/STT: 'NoneType' object has no attribute 'split'
INFO:app.core.tools.registry:Registered dynamic tool plugin: 'browser_automation_agent'
INFO:app.core.tools.registry:Registered dynamic tool plugin: 'mesh_file_explorer'
INFO:app.core.tools.registry:Registered dynamic tool plugin: 'mesh_inspect_drift'
INFO:app.core.tools.registry:Registered dynamic tool plugin: 'mesh_sync_control'
INFO:app.core.tools.registry:Registered dynamic tool plugin: 'mesh_terminal_control'
INFO:app.core.tools.registry:Registered dynamic tool plugin: 'mesh_wait_tasks'
INFO:app.core.tools.registry:Registered dynamic tool plugin: 'read_skill_artifact'
INFO: Started server process [8915]
INFO: Waiting for application startup.
INFO:app.db.migrate:Starting database migrations...
INFO:app.db.migrate:Column 'audio_path' already exists in 'messages'.
INFO:app.db.migrate:Column 'model_response_time' already exists in 'messages'.
INFO:app.db.migrate:Column 'token_count' already exists in 'messages'.
INFO:app.db.migrate:Column 'reasoning_content' already exists in 'messages'.
INFO:app.db.migrate:Column 'stt_provider_name' already exists in 'sessions'.
INFO:app.db.migrate:Column 'tts_provider_name' already exists in 'sessions'.
INFO:app.db.migrate:Column 'sync_workspace_id' already exists in 'sessions'.
INFO:app.db.migrate:Column 'attached_node_ids' already exists in 'sessions'.
INFO:app.db.migrate:Column 'node_sync_status' already exists in 'sessions'.
INFO:app.db.migrate:Column 'sync_config' already exists in 'sessions'.
INFO:app.db.migrate:Column 'is_cancelled' already exists in 'sessions'.
INFO:app.db.migrate:Column 'restrict_skills' already exists in 'sessions'.
INFO:app.db.migrate:Column 'allowed_skill_names' already exists in 'sessions'.
INFO:app.db.migrate:Column 'system_prompt_override' already exists in 'sessions'.
INFO:app.db.migrate:Column 'is_locked' already exists in 'sessions'.
INFO:app.db.migrate:Database migrations complete.
INFO:app.core.services.node_registry:[NodeRegistry] Reset all DB node statuses to 'offline'.
INFO:app.core.grpc.services.grpc_server:🚀 CORTEX gRPC Orchestrator starting on [::]:50051
INFO:app.app:[M6] Agent Orchestrator gRPC server started on port 50051.
INFO:app.core.orchestration.scheduler:[Scheduler] Agent background services (Zombie Sweeper & CRON) started.
INFO:app.core.skills.bootstrap:Checking for system skills bootstrapping...
ERROR:app.app:Failed to bootstrap database elements: (sqlite3.OperationalError) no such column: users.full_name
[SQL: SELECT users.id AS users_id, users.oidc_id AS users_oidc_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.full_name AS users_full_name, users.role AS users_role, users.group_id AS users_group_id, users.avatar_url AS users_avatar_url, users.created_at AS users_created_at, users.last_login_at AS users_last_login_at, users.preferences AS users_preferences
FROM users
WHERE users.role = ?
LIMIT ? OFFSET ?]
[parameters: ('admin', 1, 0)]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
INFO: Application startup complete.
ERROR: [Errno 98] error while attempting to bind on address ('127.0.0.1', 8002): address already in use
INFO: Waiting for application shutdown.
INFO:app.app:[M6] Stopping gRPC server...
INFO: Application shutdown complete.
✅ Loading configuration from app/config.yaml
Application startup...
--- ⚙️ Application Configuration ---
- ACTIVE_LLM_PROVIDER: gemini
- ALLOW_OIDC_LOGIN: True
- ALLOW_PASSWORD_LOGIN: ***
- DATABASE_URL: sqlite:///./data/integration_test_ai_hub.db
- DATA_DIR: /app/data
- DB_MODE: sqlite
- DEEPSEEK_API_KEY: sk-a...6bf2
- DEEPSEEK_MODEL_NAME: deepseek-chat
- EMBEDDING_API_KEY: AIza...sKuI
- EMBEDDING_DIMENSION: 768
- EMBEDDING_MODEL_NAME: models/text-embedding-004
- EMBEDDING_PROVIDER: google_gemini
- FAISS_INDEX_PATH: data/faiss_index.bin
- GEMINI_API_KEY: AIza...sKuI
- GEMINI_MODEL_NAME: gemini/gemini-3-flash-preview
- GRPC_CERT_PATH: None
- GRPC_EXTERNAL_ENDPOINT: None
- GRPC_KEY_PATH: Not Set
- GRPC_TARGET_ORIGIN: None
- GRPC_TLS_ENABLED: False
- LLM_PROVIDERS: {'gemini': {'api_key': 'AIzaSyBn5HYiZ8yKmNL0ambyz4Aspr5lKw1sKuI', 'model': 'gemini/gemini-3-flash-preview'}, 'deepseek': {'api_key': 'sk-a1b3b85a32a942c3b80e06566ef46bf2'}, 'openai': {'api_key': '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'}}
- LOG_LEVEL: DEBUG
- OIDC_CLIENT_ID: cortex-server
- OIDC_CLIENT_SECRET: aYc2...leZI
- OIDC_ENABLED: False
- OIDC_REDIRECT_URI: http://localhost:8001/users/login/callback
- OIDC_SERVER_URL: https://auth.jerxie.com
- OPENAI_API_KEY: sk-p...h34A
- PROJECT_NAME: Cortex Hub
- SECRET_KEY: aYc2...leZI
- SKILLS_DIR: /app/data/skills
- STT_API_KEY: AIza...sKuI
- STT_MODEL_NAME: None
- STT_PROVIDER: google_gemini
- STT_PROVIDERS: {}
- SUPER_ADMINS: ['axieyangb@gmail.com']
- TTS_API_KEY: AIza...sKuI
- TTS_MODEL_NAME: None
- TTS_PROVIDER: google_gemini
- TTS_PROVIDERS: {}
- TTS_VOICE_NAME: Kore
- VERSION: 1.0.0
------------------------------------
Creating database tables...
Application shutdown...