Skip to content

docker 部署后无法访问数据库(Internal Server Error) #90

Description

@ViktorMachine

部署命令:docker run -d --name jadeai --platform linux/amd64 -p 3003:3000 -e AUTH_SECRET=l/UrZGNHj5a7EK4Uw6zu8/sBWxkRE6RcGRweGAX1Z5U= -v ./jadeai-data:/app/data twwch/jadeai:latest
访问web系统,控制台报错(/api/auth/session 500 (Internal Server Error))
docker报错,报错内容如下:

▲ Next.js 16.1.6
- Local:         http://localhost:3000
- Network:       http://0.0.0.0:3000

✓ Starting...
✓ Ready in 63ms
⨯ SqliteError: disk I/O error
    at new <anonymous> (.next/server/chunks/[root-of-the-server]__05dd19aa._.js:40:44268)
    at module evaluation (.next/server/chunks/[root-of-the-server]__05dd19aa._.js:40:44141)
    at instantiateModule (.next/server/chunks/[turbopack]_runtime.js:740:9)
    at getOrInstantiateModuleFromParent (.next/server/chunks/[turbopack]_runtime.js:763:12)
    at Context.esmImport [as i] (.next/server/chunks/[turbopack]_runtime.js:228:20)
    at module evaluation (.next/server/chunks/_1af3bf3f._.js:404:61090)
    at instantiateModule (.next/server/chunks/[turbopack]_runtime.js:740:9)
    at getOrInstantiateModuleFromParent (.next/server/chunks/[turbopack]_runtime.js:763:12)
    at Context.esmImport [as i] (.next/server/chunks/[turbopack]_runtime.js:228:20) {
  code: 'SQLITE_IOERR_WRITE'
}
⨯ SqliteError: disk I/O error
    at new <anonymous> (.next/server/chunks/[root-of-the-server]__05dd19aa._.js:40:44268)
    at module evaluation (.next/server/chunks/[root-of-the-server]__05dd19aa._.js:40:44141)
    at instantiateModule (.next/server/chunks/[turbopack]_runtime.js:740:9)
    at getOrInstantiateModuleFromParent (.next/server/chunks/[turbopack]_runtime.js:763:12)
    at Context.esmImport [as i] (.next/server/chunks/[turbopack]_runtime.js:228:20)
    at module evaluation (.next/server/chunks/_1af3bf3f._.js:404:61090)
    at instantiateModule (.next/server/chunks/[turbopack]_runtime.js:740:9)
    at getOrInstantiateModuleFromParent (.next/server/chunks/[turbopack]_runtime.js:763:12)
    at Context.esmImport [as i] (.next/server/chunks/[turbopack]_runtime.js:228:20) {
  code: 'SQLITE_IOERR_WRITE'
}

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions