Skip to content

Should allow the backend to use a different port #602

@failury

Description

@failury

The application stuck at setting up environment because i have a docker container running at port 8000. and here is the backend log

2026-02-02 03:43:57.954 | INFO     | valuecell.server.api.app:lifespan:100 - Initializing database tables...
2026-02-02 03:43:57.961 | INFO     | valuecell.server.db.init_db:initialize:623 - Starting database initialization...
2026-02-02 03:43:57.975 | INFO     | valuecell.server.db.init_db:check_tables_exist:87 - All tables exist: ['agents', 'assets', 'conversation_items', 'conversations', 'strategies', 'strategy_compose_cycles', 'strategy_details', 'strategy_holdings', 'strategy_instructions', 'strategy_portfolio_views', 'strategy_prompts', 'tasks', 'user_profiles', 'watchlist_items', 'watchlists']
2026-02-02 03:43:57.976 | INFO     | valuecell.server.db.init_db:initialize:627 - Database already exists and is properly initialized
2026-02-02 03:43:57.976 | INFO     | valuecell.server.api.app:lifespan:103 - ✓ Database initialized
2026-02-02 03:43:57.976 | INFO     | valuecell.server.api.app:lifespan:111 - Configuring data adapters...
INFO:valuecell.adapters.assets.yfinance_adapter:Yahoo Finance adapter initialized
INFO:valuecell.adapters.assets.manager:Registered adapter: yfinance
2026-02-02 03:43:57.976 | INFO     | valuecell.server.api.app:lifespan:117 - ✓ Yahoo Finance adapter configured
INFO:valuecell.adapters.assets.akshare_adapter:AKShare adapter initialized with caching and field mapping
INFO:valuecell.adapters.assets.manager:Registered adapter: akshare
2026-02-02 03:43:57.976 | INFO     | valuecell.server.api.app:lifespan:124 - ✓ AKShare adapter configured (optimized)
INFO:valuecell.adapters.assets.manager:Registered adapter: baostock
2026-02-02 03:43:57.985 | INFO     | valuecell.server.api.app:lifespan:136 - Data adapters configuration completed
2026-02-02 03:43:57.988 | INFO     | valuecell.server.services.agent_stream_service:_auto_resume_recurring_tasks:118 - Task auto-resume: no recurring running tasks found
2026-02-02 03:43:57.995 | INFO     | valuecell.server.services.strategy_autoresume:auto_resume_strategies:68 - Auto-resume: no eligible strategies found
INFO:     Application startup complete.
ERROR:    [Errno 48] error while attempting to bind on address ('::1', 8000, 0, 0): [errno 48] address already in use
INFO:     Waiting for application shutdown.
2026-02-02 03:43:57.996 | INFO     | valuecell.server.api.app:lifespan:143 - ValueCell Server shutting down...
INFO:     Application shutdown complete.
2026-02-02 03:43:57.996 | INFO     | __main__:request_stop:68 - Shutdown signal propagated to uvicorn
✓ BaoStock adapter configured
Data adapters configuration complete```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions