Skip to content

启动长时间无响应 #24882

Closed as not planned
Closed as not planned

Description

@sobergou

Description

Image

出现过数据库创建还是迁移的字样,后期一直打不开,这是个新环境,重来没有成功启动过

Performing one time database migration, may take a few minutes...
Database migration complete.

Plugins

No response

OpenCode version

1.14.29

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

ubuntu 24.04

Terminal

No response

Activity

  1. github-actions commented on Apr 29, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The description field contains only an image with no text explanation of the problem
    • Steps to reproduce are missing (left as _No response_)
    • OpenCode version is missing (left as _No response_)
    • Operating System is missing (left as _No response_)

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Apr 29, 2026
  3. github-actions commented on Apr 29, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! The description now includes real content about the problem (database migration error on startup) along with your OS and version. We appreciate you taking the time to improve it.

  4. removed
    bugSomething isn't working
    perfIndicates a performance issue or need for optimization
    on May 3, 2026
  5. GuoDapeng commented on May 19, 2026

    @GuoDapeng
    Image Image Image
    {
      "$schema": "https://opencode.ai/config.json",
      "provider": {
        "ollama": {
          "npm": "@ai-sdk/openai-compatible",
          "name": "Ollama",
          "options": {
            "baseURL": "http://host.docker.internal:11434/v1"
          },
          "models": {
            "qwen3-coder-next": {
              "name": "qwen3-coder-next"
            },
            "qwen3.5:9b": {
              "name": "qwen3.5:9b"
            },
            "qwen3.5:122b": {
              "name": "qwen3.5:122b"
            }
          }
        }
      },
      "model": "ollama/qwen3-coder-next"
    }

    我也遇到了一样的问题。

  6. GuoDapeng commented on May 19, 2026

    @GuoDapeng

    我发现最普通的方式启动容器也会卡在 Database migration complete.

    docker run -it --rm ghcr.io/anomalyco/opencode
  7. GuoDapeng commented on May 19, 2026

    @GuoDapeng

    docker run -it --rm ghcr.io/anomalyco/opencode:1.14.48 是最后可以直接使用的版本。从 1.14.49 开始,都有 卡住的问题。

  8. GuoDapeng commented on May 20, 2026

    @GuoDapeng
    Image 我还没找到官方是如何打包镜像的,我自己尝试运行了 v1.15.5 发现是好的……感觉应该不是大问题。
  9. GuoDapeng commented on May 20, 2026

    @GuoDapeng
    Image

    验证了一下,我使用的是 docker 容器跑,我自己创建镜像能用……我自己能玩新的了

  10. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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