rocky8.4部署FastGPT-v4.14.19的时候报错fastgpt-app
- Dominant language
- TypeScript
- Stars
- 29.6k
- Forks
- 7.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 152
Description
**例行检查**
[//]: # '方框内填 x 表示打钩'
- [ x] 我已确认目前没有类似 issue
- [x ] 我已完整查看过项目 README,以及[项目文档](https://doc.fastgpt.io/introduction/)
- [ ] 我使用了自己的 key,并确认我的 key 是可正常使用的
- [ x] 我理解并愿意跟进此 issue,协助测试和提供反馈
- [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能会被无视或直接关闭**
**你的版本**
- [ ] 公有云版本
- [ ] 私有部署版本, 具体版本号: v4.14.19
**问题描述, 日志截图,配置文件等**
之前用rocky8.4部署FastGPT-v4.14.18报错提了issues:https://github.com/labring/FastGPT/issues/6893,
你们回复让我:可以用 4.15.0-beta1 的 code-sandbox,移除 bun 模式。
我用此方法部署报错如下:
fastgpt-app | 2026-05-12 09:29:28 WRN infra:postgres Postgres slow query detected: {
fastgpt-app | level: 'slow-1',
fastgpt-app | durationMs: 320,
fastgpt-app | sql: '\n' +
fastgpt-app | ' CREATE EXTENSION IF NOT EXISTS vector;\n' +
fastgpt-app | ' CREATE TABLE IF NOT EXISTS modeldata (\n' +
fastgpt-app | ' id BIGSERIAL PRIMARY KEY,\n' +
fastgpt-app | ' vector VECTOR(1536) NOT NULL,\n' +
fastgpt-app | ' team_id VARCHAR(50) NOT NULL,\n' +
fastgpt-app | ' dataset_id VARCHAR(50) NOT NULL,\n' +
fastgpt-app | ' collection_id VARCHAR(50) NOT NULL,\n' +
fastgpt-app | ' createtime TIMESTAMP DEFAULT CURRENT_TIMESTAMP\n' +
fastgpt-app | ' );\n' +
fastgpt-app | ' '
fastgpt-app | }
fastgpt-app | [plugin_error]: fetch failed
fastgpt-app | System initialization step failed {
fastgpt-app | step: 'instrumentation-check',
fastgpt-app | stage: undefined,
fastgpt-app | errorMessage: '[plugin_error]: fetch failed',
fastgpt-app | errorName: undefined,
fastgpt-app | errorCode: undefined,
fastgpt-app | errorStage: undefined,
fastgpt-app | errorStep: undefined,
fastgpt-app | errorStack: undefined,
fastgpt-app | errorCause: undefined,
fastgpt-app | errorDetails: '[plugin_error]: fetch failed'
fastgpt-app | }
fastgpt-app | System initialization failed {
fastgpt-app | nextRuntime: 'nodejs',
fastgpt-app | nodeEnv: 'production',
fastgpt-app | errorMessage: '[instrumentation-check]: [plugin_error]: fetch failed',
fastgpt-app | errorName: 'SystemInitializationError',
fastgpt-app | errorCode: undefined,
fastgpt-app | errorStage: undefined,
fastgpt-app | errorStep: 'instrumentation-check',
fastgpt-app | errorStack: 'SystemInitializationError: [instrumentation-check]: [plugin_error]: fetch failed\n' +
fastgpt-app | ' at o (/app/projects/app/.next/server/chunks/[root-of-the-server]__02sl.ah._.js:1:1214)\n' +
fastgpt-app | ' at t (/app/projects/app/.next/server/chunks/[root-of-the-server]__02sl.ah._.js:1:1572)\n' +
fastgpt-app | ' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' +
fastgpt-app | ' at async i (/app/projects/app/.next/server/chunks/[root-of-the-server]__02sl.ah._.js:1:3507)\n' +
fastgpt-app | ' at async Module.s [as register] (/app/projects/app/.next/server/chunks/projects_app_src_03upo5w._.js:1:113)\n' +
fastgpt-app | ' at async registerInstrumentation (/app/node_modules/.pnpm/next@16.2.4_@babel+core@7.26.10_@opentelemetry+api@1.9.0_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.85.1/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js:63:13)\n' +
fastgpt-app | ' at async NextNodeServer.runInstrumentationHookIfAvailable (/app/node_modules/.pnpm/next@16.2.4_@babel+core@7.26.10_@opentelemetry+api@1.9.0_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.85.1/node_modules/next/dist/server/next-server.js:573:9)\n' +
fastgpt-app | ' at async NextNodeServer.prepareImpl (/app/node_modules/.pnpm/next@16.2.4_@babel+core@7.26.10_@opentelemetry+api@1.9.0_react-dom@18.3.1_react@18.3.1__react@18.3.1_sass@1.85.1/node_modules/next/dist/server/next-server.js:570:9)',
fastgpt-app | errorCause: {
fastgpt-app | message: '[plugin_error]: fetch failed',
fastgpt-app | details: '[plugin_error]: fetch failed'
fastgpt-app | },
fastgpt-app | errorDetails: 'Error [SystemInitializationError]: [instrumentation-check]: [plugin_error]: fetch failed\n' +
fastgpt-app | ' at o (.next/server/chunks/[root-of-the-server]__02sl.ah._.js:1:1214)\n' +
fastgpt-app | ' at t (.next/server/chunks/[root-of-the-server]__02sl.ah._.js:1:1572)\n' +
fastgpt-app | ' at async i (.next/server/chunks/[root-of-the-server]__02sl.ah._.js:1:3507)\n' +
fastgpt-app | ' at async Module.s [as register] (.next/server/chunks/projects_app_src_03upo5w._.js:1:113) {\n' +
fastgpt-app | ' stage: undefined,\n' +
fastgpt-app | " step: 'instrumentation-check',\n" +
fastgpt-app | " [cause]: '[plugin_error]: fetch failed'\n" +
fastgpt-app | '}'
fastgpt-app | }
我的配置如下:
fastgpt-app:
container_name: fastgpt-app
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.14.19
environment:
NODE_OPTIONS: "--jitless --max-old-space-size=4096"
fastgpt-code-sandbox:
container_name: fastgpt-code-sandbox
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-code-sandbox:v4.15.0-beta1
mem_limit: 4g
environment:
# Number of pre-warmed worker processes (JS + Python)
SANDBOX_POOL_SIZE: 4
healthcheck:
test:
[
'CMD-SHELL',
"node -e \"require('http').get('http://127.0.0.1:3000/health',function(r){r.on('data',function(){});r.on('end',function(){process.exit(r.statusCode===200?0:1)});}).on('error',function(){process.exit(1)});\""
]
fastgpt-app不加NODE_OPTIONS: "--jitless --max-old-space-size=4096"会内存溢出,fastgpt-code-sandbox不加mem_limit: 4g和SANDBOX_POOL_SIZE: 4也容易内存溢出
**复现步骤**
**预期结果**
**相关截图**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.