Skip to content

使用快速安装显示成功但是访问前端无法访问 #615

@poptnc

Description

@poptnc

看下root@debian:~# cd /www/wwwroot/win.poptnc.com
root@debian:/www/wwwroot/win.poptnc.com# bash start.sh
[ OK ] bun is installed (1.3.10)
[ OK ] uv is installed (uv 0.10.10)
[INFO] Sync Python dependencies (uv sync)...

Starting environment preparation...

Project root confirmed. Preparing environments...
Setting up main Python environment...
Running: uv venv --python 3.12
Using CPython 3.12.13
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
Running: uv sync --group dev
Resolved 213 packages in 5.19s
Built valuecell @ file:///www/wwwroot/win.poptnc.com/python
Prepared 1 package in 1.36s
Installed 209 packages in 2.38s

  • a2a-sdk==0.3.4
  • agno==2.1.4
  • aiodns==3.5.0
  • aiofiles==24.1.0
  • aiohappyeyeballs==2.6.1
  • aiohttp==3.12.15
  • aiosignal==1.4.0
  • aiosqlite==0.21.0
  • akracer==0.0.13
  • akshare==1.17.87
  • alphashape==1.3.1
  • annotated-types==0.7.0
  • anyio==4.10.0
  • attrs==25.3.0
  • automat==25.4.16
  • backoff==2.2.1
  • baostock==0.8.9
  • beautifulsoup4==4.13.5
  • brotli==1.1.0
  • cachetools==5.5.2
  • ccxt==4.5.15
  • certifi==2025.8.3
  • cffi==2.0.0
  • chardet==5.2.0
  • charset-normalizer==3.4.3
  • click==8.2.1
  • click-log==0.4.0
  • constantly==23.10.4
  • coverage==7.10.6
  • crawl4ai==0.7.4
  • cryptography==46.0.2
  • curl-cffi==0.13.0
  • dataclasses-json==0.6.7
  • decorator==5.2.1
  • deprecation==2.1.0
  • diff-cover==9.7.1
  • distro==1.9.0
  • docstring-parser==0.17.0
  • edgartools==4.34.0
  • emoji==2.15.0
  • et-xmlfile==2.0.0
  • fake-http-header==0.3.5
  • fake-useragent==2.2.0
  • fastapi==0.116.1
  • fastuuid==0.13.5
  • filelock==3.19.1
  • filetype==1.2.0
  • frozendict==2.4.6
  • frozenlist==1.7.0
  • fsspec==2025.9.0
  • func-timeout==4.3.5
  • gitdb==4.0.12
  • gitpython==3.1.45
  • google-api-core==2.25.1
  • google-auth==2.40.3
  • google-genai==1.43.0
  • googleapis-common-protos==1.70.0
  • greenlet==3.2.4
  • h11==0.16.0
  • h2==4.3.0
  • hf-xet==1.1.10
  • hishel==0.1.3
  • hpack==4.1.0
  • html5lib==1.1
  • httpcore==1.0.9
  • httpx==0.28.1
  • httpx-sse==0.4.1
  • httpxthrottlecache==0.2.1
  • huggingface-hub==0.35.3
  • humanize==4.13.0
  • hyperframe==6.1.0
  • hyperlink==21.0.0
  • idna==3.10
  • importlib-metadata==8.7.0
  • incremental==24.7.2
  • iniconfig==2.1.0
  • isort==6.0.1
  • jaraco-classes==3.4.0
  • jaraco-context==6.0.1
  • jaraco-functools==4.3.0
  • jeepney==0.9.0
  • jinja2==3.1.6
  • jiter==0.10.0
  • joblib==1.5.2
  • jsonpath==0.82.2
  • jsonschema==4.25.1
  • jsonschema-specifications==2025.9.1
  • keyring==25.6.0
  • lance-namespace==0.0.18
  • lance-namespace-urllib3-client==0.0.18
  • lancedb==0.25.2
  • langdetect==1.0.9
  • lark==1.3.0
  • litellm==1.78.3
  • loguru==0.7.3
  • lxml==5.4.0
  • markdown==3.9
  • markdown-it-py==4.0.0
  • markupsafe==3.0.2
  • marshmallow==3.26.1
  • mdurl==0.1.2
  • more-itertools==10.8.0
  • multidict==6.6.4
  • multitasking==0.0.12
  • mypy-extensions==1.1.0
  • nest-asyncio==1.6.0
  • networkx==3.5
  • nltk==3.9.2
  • numpy==2.3.2
  • olefile==0.47
  • ollama==0.6.1
  • openai==1.107.0
  • openpyxl==3.1.5
  • orjson==3.11.3
  • packaging==25.0
  • pandas==2.3.2
  • patchright==1.55.2
  • peewee==3.18.2
  • pillow==12.0.0
  • platformdirs==4.4.0
  • playwright==1.55.0
  • pluggy==1.6.0
  • propcache==0.3.2
  • proto-plus==1.26.1
  • protobuf==6.32.0
  • psutil==7.1.0
  • py-mini-racer==0.6.0
  • pyarrow==21.0.0
  • pyasn1==0.6.1
  • pyasn1-modules==0.4.2
  • pycares==4.11.0
  • pycparser==2.22
  • pydantic==2.11.7
  • pydantic-core==2.33.2
  • pydantic-settings==2.10.1
  • pyee==13.0.0
  • pygments==2.19.2
  • pylance==0.38.3
  • pymysql==1.1.2
  • pyopenssl==25.3.0
  • pypdf==6.1.1
  • pyrate-limiter==3.9.0
  • pytest==8.4.1
  • pytest-asyncio==1.1.0
  • pytest-cov==6.2.1
  • python-dateutil==2.9.0.post0
  • python-dotenv==1.1.1
  • python-iso639==2025.2.18
  • python-magic==0.4.27
  • python-multipart==0.0.20
  • python-okx==0.4.0
  • python-oxmsg==0.0.2
  • pytz==2025.2
  • pyyaml==6.0.2
  • rank-bm25==0.2.2
  • rapidfuzz==3.14.1
  • referencing==0.37.0
  • regex==2025.9.18
  • requests==2.32.5
  • requests-toolbelt==1.0.0
  • rich==14.1.0
  • rpds-py==0.27.1
  • rsa==4.9.1
  • rtree==1.4.1
  • ruff==0.12.11
  • scipy==1.16.2
  • secretstorage==3.4.0
  • setuptools==80.9.0
  • shapely==2.1.2
  • shellingham==1.5.4
  • six==1.17.0
  • smmap==5.0.2
  • sniffio==1.3.1
  • snowballstemmer==2.2.0
  • soupsieve==2.8
  • sqlalchemy==2.0.43
  • sse-starlette==3.0.2
  • stamina==25.1.0
  • starlette==0.47.3
  • tabulate==0.9.0
  • tantivy==0.25.0
  • tenacity==9.1.2
  • textdistance==4.6.3
  • tf-playwright-stealth==1.2.0
  • tiktoken==0.12.0
  • tokenizers==0.22.1
  • tqdm==4.67.1
  • trimesh==4.8.3
  • twisted==25.5.0
  • typer==0.17.4
  • typing-extensions==4.15.0
  • typing-inspect==0.9.0
  • typing-inspection==0.4.1
  • tzdata==2025.2
  • unidecode==1.4.0
  • unstructured==0.18.15
  • unstructured-client==0.42.3
  • urllib3==2.5.0
  • uvicorn==0.35.0
  • valuecell==0.1.20 (from file:///www/wwwroot/win.poptnc.com/python)
  • webencodings==0.5.1
  • websockets==15.0.1
  • wrapt==1.17.3
  • xlrd==2.0.2
  • xxhash==3.6.0
  • yarl==1.20.1
  • yfinance==0.2.65
  • zipp==3.23.0
  • zope-interface==8.0.1
    Installing dependencies...
    Hit:1 http://mirrors.aliyun.com/docker-ce/linux/debian bookworm InRelease
    Hit:2 http://deb.debian.org/debian bookworm InRelease
    Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
    Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
    Reading package lists... Done
    N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
    N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    libasound2 is already the newest version (1.2.8-1+b1).
    libatk-bridge2.0-0 is already the newest version (2.46.0-5).
    libatk1.0-0 is already the newest version (2.46.0-5).
    libatspi2.0-0 is already the newest version (2.46.0-5).
    libcairo2 is already the newest version (1.16.0-7).
    libcups2 is already the newest version (2.4.2-3+deb12u9).
    libdbus-1-3 is already the newest version (1.14.10-1~deb12u1).
    libdrm2 is already the newest version (2.4.114-1+b1).
    libgbm1 is already the newest version (22.3.6-1+deb12u1).
    libglib2.0-0 is already the newest version (2.74.6-2+deb12u8).
    libnspr4 is already the newest version (2:4.35-1).
    libnss3 is already the newest version (2:3.87.1-1+deb12u2).
    libpango-1.0-0 is already the newest version (1.50.12+ds-1).
    libx11-6 is already the newest version (2:1.8.4-2+deb12u2).
    libxcb1 is already the newest version (1.15-1).
    libxcomposite1 is already the newest version (1:0.4.5-1).
    libxdamage1 is already the newest version (1:1.1.6-1).
    libxext6 is already the newest version (2:1.3.4-1+b1).
    libxfixes3 is already the newest version (1:6.0.0-2).
    libxkbcommon0 is already the newest version (1.5.0-1).
    libxrandr2 is already the newest version (2:1.5.2-2+b1).
    xvfb is already the newest version (2:21.1.7-3+deb12u11).
    fonts-noto-color-emoji is already the newest version (2.042-0+deb12u1).
    fonts-unifont is already the newest version (1:15.0.01-2).
    libfontconfig1 is already the newest version (2.14.1-4).
    libfreetype6 is already the newest version (2.12.1+dfsg-5+deb12u4).
    xfonts-scalable is already the newest version (1:1.0.3-1.3).
    fonts-liberation is already the newest version (1:1.07.4-11).
    fonts-ipafont-gothic is already the newest version (00303-23).
    fonts-wqy-zenhei is already the newest version (0.9.45-8).
    fonts-tlwg-loma-otf is already the newest version (1:0.7.3-1).
    fonts-freefont-ttf is already the newest version (20120503-10).
    The following package was automatically installed and is no longer required:
    linux-image-6.1.0-29-amd64
    Use 'apt autoremove' to remove it.
    0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
    Main environment setup complete.
    ==========================================
    All environments are set up.
    ==========================================
    /www/wwwroot/win.poptnc.com/python/valuecell/server/config/settings.py:27: SyntaxWarning: invalid escape sequence '\V'
  • Windows: %APPDATA%\ValueCell\valuecell.db
    /www/wwwroot/win.poptnc.com/python/.venv/lib/python3.12/site-packages/py_mini_racer/py_mini_racer.py:15: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
    import pkg_resources
    2026-03-17 01:14:29.017 | INFO | main:main:704 - ValueCell Database Initialization
    2026-03-17 01:14:29.017 | INFO | main:main:705 - ==================================================
    2026-03-17 01:14:29.031 | INFO | main:initialize:623 - Starting database initialization...
    2026-03-17 01:14:29.032 | INFO | main: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-03-17 01:14:29.032 | INFO | main:initialize:627 - Database already exists and is properly initialized
    2026-03-17 01:14:29.032 | INFO | main:main:710 - Database initialization completed successfully!
    [ OK ] Python dependencies synced
    [INFO] Install frontend dependencies (bun install)...
    bun install v1.3.10 (30e609e0)
  • @biomejs/biome@2.3.9
  • @react-router/dev@7.10.1
  • @react-router/serve@7.10.1
  • @tailwindcss/typography@0.5.19
  • @tailwindcss/vite@4.1.17
  • @tauri-apps/cli@2.9.5
  • @types/react@19.2.7
  • @types/react-dom@19.2.3
  • shadcn@3.5.1
  • tailwindcss@4.1.17
  • tw-animate-css@1.4.0
  • typescript@5.9.3
  • vite@7.2.10
  • vite-plugin-svg-sprite@0.6.3
  • vite-tsconfig-paths@6.0.2
  • @radix-ui/react-alert-dialog@1.1.15
  • @radix-ui/react-avatar@1.1.11
  • @radix-ui/react-checkbox@1.3.3
  • @radix-ui/react-collapsible@1.1.12
  • @radix-ui/react-dialog@1.1.15
  • @radix-ui/react-dropdown-menu@2.1.16
  • @radix-ui/react-hover-card@1.1.15
  • @radix-ui/react-label@2.1.8
  • @radix-ui/react-popover@1.1.15
  • @radix-ui/react-progress@1.1.8
  • @radix-ui/react-radio-group@1.3.8
  • @radix-ui/react-scroll-area@1.2.10
  • @radix-ui/react-select@2.2.6
  • @radix-ui/react-separator@1.1.8
  • @radix-ui/react-slot@1.2.4
  • @radix-ui/react-switch@1.2.6
  • @radix-ui/react-tabs@1.1.13
  • @radix-ui/react-tooltip@1.2.8
  • @react-router/node@7.10.1
  • @tanstack/react-form@1.27.2
  • @tanstack/react-query@5.90.12
  • @tauri-apps/api@2.9.1
  • @tauri-apps/plugin-deep-link@2.4.5
  • @tauri-apps/plugin-dialog@2.4.2
  • @tauri-apps/plugin-fs@2.4.4
  • @tauri-apps/plugin-opener@2.5.2
  • @tauri-apps/plugin-os@2.3.2
  • @tauri-apps/plugin-process@2.3.1
  • @tauri-apps/plugin-store@2.4.1
  • @tauri-apps/plugin-updater@2.9.0
  • @zumer/snapdom@2.0.1
  • best-effort-json-parser@1.2.1
  • class-variance-authority@0.7.1
  • clsx@2.1.1
  • cmdk@1.1.1
  • dayjs@1.11.19
  • echarts@6.0.0
  • framer-motion@12.23.26
  • i18next@25.7.2
  • isbot@5.1.31
  • lucide-react@0.561.0
  • mutative@1.3.0
  • next-themes@0.4.6
  • react@19.2.1
  • react-dom@19.2.1
  • react-i18next@16.5.0
  • react-markdown@10.1.0
  • rehype-raw@7.0.0
  • remark-gfm@4.0.1
  • sonner@2.0.7
  • tailwind-merge@3.4.0
  • use-stick-to-bottom@1.1.1
  • zod@4.1.13
  • zustand@5.0.9

662 packages installed [758.00ms]
[ OK ] Frontend dependencies installed
[INFO] Starting frontend dev server (bun run dev)...
[INFO] Frontend PID: 3280302
$ react-router dev
➜ Local: http://localhost:1420/
[INFO] Starting backend in debug mode (AGENT_DEBUG_MODE=true)...
/www/wwwroot/win.poptnc.com/python/.venv/lib/python3.12/site-packages/py_mini_racer/py_mini_racer.py:15: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
INFO:valuecell.server.config.i18n:Initialized i18n configuration: language=en, timezone=America/New_York
INFO:valuecell.adapters.assets.manager:Asset adapter manager initialized
INFO:valuecell.adapters.assets.manager:Watchlist manager initialized
INFO:valuecell.adapters.assets.i18n_integration:Asset i18n service initialized
2026-03-17 01:14:37.103 | INFO | valuecell.server.services.agent_stream_service:_preload_agent_classes_once:34 - Preloading local agent classes...
2026-03-17 01:14:37.104 | INFO | valuecell.core.agent.connect:_load_remote_contexts:247 - Loading agent cards from /www/wwwroot/win.poptnc.com/python/configs/agent_cards
2026-03-17 01:14:37.104 | INFO | valuecell.core.agent.connect:_load_remote_contexts:280 - Loaded 4 agent card(s) from /www/wwwroot/win.poptnc.com/python/configs/agent_cards: ['GridStrategyAgent', 'PromptBasedStrategyAgent', 'ResearchAgent', 'NewsAgent']
2026-03-17 01:14:37.104 | INFO | valuecell.core.agent.connect:preload_local_agent_classes:317 - Preloading agent class for 'GridStrategyAgent' (spec='valuecell.agents.grid_agent.grid_agent:GridStrategyAgent')
2026-03-17 01:14:37.104 | INFO | valuecell.core.agent.connect:_resolve_local_agent_class_sync:96 - _resolve_local_agent_class_sync: importing module 'valuecell.agents.grid_agent.grid_agent' for class 'GridStrategyAgent'
2026-03-17 01:14:39.785 | INFO | valuecell.core.agent.connect:_resolve_local_agent_class_sync:102 - _resolve_local_agent_class_sync: module imported, getting class
2026-03-17 01:14:39.785 | INFO | valuecell.core.agent.connect:_resolve_local_agent_class_sync:104 - _resolve_local_agent_class_sync: class 'GridStrategyAgent' resolved
2026-03-17 01:14:39.785 | INFO | valuecell.core.agent.connect:preload_local_agent_classes:332 - Successfully preloaded class 'GridStrategyAgent' for 'GridStrategyAgent'
2026-03-17 01:14:39.785 | INFO | valuecell.core.agent.connect:preload_local_agent_classes:317 - Preloading agent class for 'PromptBasedStrategyAgent' (spec='valuecell.agents.prompt_strategy_agent.core:PromptBasedStrategyAgent')
2026-03-17 01:14:39.785 | INFO | valuecell.core.agent.connect:_resolve_local_agent_class_sync:96 - _resolve_local_agent_class_sync: importing module 'valuecell.agents.prompt_strategy_agent.core' for class 'PromptBasedStrategyAgent'
2026-03-17 01:14:39.785 | INFO | valuecell.core.agent.connect:_resolve_local_agent_class_sync:102 - _resolve_local_agent_class_sync: module imported, getting class
2026-03-17 01:14:39.786 | INFO | valuecell.core.agent.connect:_resolve_local_agent_class_sync:104 - _resolve_local_agent_class_sync: class 'PromptBasedStrategyAgent' resolved
2026-03-17 01:14:39.786 | INFO | valuecell.core.agent.connect:preload_local_agent_classes:332 - Successfully preloaded class 'PromptBasedStrategyAgent' for 'PromptBasedStrategyAgent'
2026-03-17 01:14:39.786 | DEBUG | valuecell.core.agent.connect:preload_local_agent_classes:307 - Skipping preload for 'ResearchAgent': not in provided names list
2026-03-17 01:14:39.786 | DEBUG | valuecell.core.agent.connect:preload_local_agent_classes:307 - Skipping preload for 'NewsAgent': not in provided names list
2026-03-17 01:14:39.786 | INFO | valuecell.core.agent.connect:preload_local_agent_classes:337 - Preload complete: 2/4 agent classes loaded
2026-03-17 01:14:39.786 | INFO | valuecell.server.services.agent_stream_service:_preload_agent_classes_once:39 - ✓ Local agent classes preloaded
2026-03-17 01:14:39.786 | INFO | valuecell.server.services.agent_stream_service:init:54 - Agent stream service initialized
2026-03-17 01:14:39.837 | INFO | valuecell.server.services.agent_stream_service:init:54 - Agent stream service initialized
INFO: Started server process [3280691]
INFO: Waiting for application startup.
2026-03-17 01:14:39.904 | INFO | valuecell.server.api.app:lifespan:94 - ValueCell Server starting up on localhost:8000...
2026-03-17 01:14:39.904 | INFO | valuecell.server.api.app:lifespan:100 - Initializing database tables...
2026-03-17 01:14:39.909 | INFO | valuecell.server.db.init_db:initialize:623 - Starting database initialization...
2026-03-17 01:14:39.910 | 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-03-17 01:14:39.910 | INFO | valuecell.server.db.init_db:initialize:627 - Database already exists and is properly initialized
2026-03-17 01:14:39.910 | INFO | valuecell.server.api.app:lifespan:103 - ✓ Database initialized
2026-03-17 01:14:39.910 | 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-03-17 01:14:39.910 | 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-03-17 01:14:39.910 | INFO | valuecell.server.api.app:lifespan:124 - ✓ AKShare adapter configured (optimized)
INFO:valuecell.adapters.assets.manager:Registered adapter: baostock
2026-03-17 01:14:39.976 | INFO | valuecell.server.api.app:lifespan:136 - Data adapters configuration completed
2026-03-17 01:14:39.978 | INFO | valuecell.server.services.agent_stream_service:_auto_resume_recurring_tasks:118 - Task auto-resume: no recurring running tasks found
2026-03-17 01:14:39.986 | INFO | valuecell.server.services.strategy_autoresume:auto_resume_strategies:68 - Auto-resume: no eligible strategies found
INFO: Application startup complete.
INFO: Uvicorn running on http://localhost:8000 (Press CTRL+C to quit)
✓ BaoStock adapter configured
Data adapters configuration completed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions