tailchat 安装后显示异常,无法使用。

全部默认安装,先安装了必须的几个组件,然后安装tailchat,在启动后,显示异常

log节选:

在1panel中安装tailchat,结果显示异常,log显示如下:
e[2K1Panel-tailchat-oCdD        | > tailchat@1.11.1 start:service /app/tailchat
e[2K1Panel-tailchat-oCdD        | > cd server && pnpm start:service
e[2K1Panel-tailchat-oCdD        | 
e[2K1Panel-tailchat-oCdD        | 
e[2K1Panel-tailchat-oCdD        | > tailchat-server@ start:service /app/tailchat/server
e[2K1Panel-tailchat-oCdD        | > cd dist && tailchat-runner --config moleculer.config.js
e[2K1Panel-tailchat-oCdD        | 
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.850Z] INFO  f4a43aff3d01-29/BROKER: Moleculer v0.14.23 is starting...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.852Z] INFO  f4a43aff3d01-29/BROKER: Namespace: tailchat
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.852Z] INFO  f4a43aff3d01-29/BROKER: Node ID: f4a43aff3d01-29
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.854Z] INFO  f4a43aff3d01-29/REGISTRY: Strategy: RoundRobinStrategy
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.854Z] INFO  f4a43aff3d01-29/REGISTRY: Discoverer: LocalDiscoverer
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.918Z] INFO  f4a43aff3d01-29/BROKER: Cacher: RedisCacher
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.918Z] INFO  f4a43aff3d01-29/BROKER: Serializer: JSONSerializer
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.926Z] INFO  f4a43aff3d01-29/BROKER: Validator: FastestValidator
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.927Z] INFO  f4a43aff3d01-29/TRACER: Tracing: Enabled
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.928Z] INFO  f4a43aff3d01-29/TRACER: Tracing exporter: ConsoleTraceExporter
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.930Z] INFO  f4a43aff3d01-29/BROKER: Registered 14 middleware(s).
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:08.932Z] INFO  f4a43aff3d01-29/BROKER: Transporter: RedisTransporter
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.183Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.362Z] INFO  f4a43aff3d01-29/GATEWAY: API Gateway server created.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.363Z] INFO  f4a43aff3d01-29/GATEWAY: Register route to '/api'
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.378Z] INFO  f4a43aff3d01-29/GATEWAY: ♻ Generate aliases for '/api' route...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.379Z] INFO  f4a43aff3d01-29/GATEWAY: 
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.379Z] INFO  f4a43aff3d01-29/GATEWAY: Register route to '/upload'
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.381Z] INFO  f4a43aff3d01-29/GATEWAY:     POST /upload => file.save
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.381Z] INFO  f4a43aff3d01-29/GATEWAY:      PUT /upload => file.save
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.382Z] INFO  f4a43aff3d01-29/GATEWAY: 
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.382Z] INFO  f4a43aff3d01-29/GATEWAY: Register route to '/health'
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.382Z] INFO  f4a43aff3d01-29/GATEWAY:      GET /health => gateway.health
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.383Z] INFO  f4a43aff3d01-29/GATEWAY: 
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.383Z] INFO  f4a43aff3d01-29/GATEWAY: Register route to '/static'
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.383Z] INFO  f4a43aff3d01-29/GATEWAY:      GET /static/:objectName+ => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.383Z] INFO  f4a43aff3d01-29/GATEWAY: 
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.383Z] INFO  f4a43aff3d01-29/GATEWAY: Register route to '/'
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.383Z] INFO  f4a43aff3d01-29/GATEWAY:   Registered 1 middlewares.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.384Z] INFO  f4a43aff3d01-29/GATEWAY: 
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.526Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | Setting "Mixed" for property "OpenApp.oauth"
e[2K1Panel-tailchat-oCdD        | Look here for how to disable this message: https://typegoose.github.io/typegoose/docs/api/decorators/model-options/#allowmixed
e[2K1Panel-tailchat-oCdD        | Setting "Mixed" for property "OpenApp.bot"
e[2K1Panel-tailchat-oCdD        | Look here for how to disable this message: https://typegoose.github.io/typegoose/docs/api/decorators/model-options/#allowmixed
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.579Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | oidc-provider WARNING: Unsupported Node.js runtime version. Use ^12.19.0, ^14.15.0, or ^16.13.0
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.841Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC: API Gateway server created.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.841Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC: Register route to '/open'
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.842Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:      GET /open/interaction/:uid => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.842Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:     POST /open/interaction/:uid/login => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.843Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:     POST /open/interaction/:uid/confirm => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.843Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:      GET /open/auth => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.843Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:      GET /open/auth/:uid => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.843Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:     POST /open/token => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.843Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:     POST /open/me => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.844Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:      GET /open/me => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.844Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:      GET /open/jwks => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.844Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:      GET /open/.well-known/openid-configuration => <Function>
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.845Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC: 
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.845Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC: Register route to '/'
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.845Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC:   Registered 1 middlewares.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.845Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC: 
e[2K1Panel-tailchat-oCdD        | oidc-provider WARNING: a quick start development-only signing keys are used, you are expected to provide your own in configuration "jwks" property
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.912Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.913Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.AGORA: [plugin:com.msgbyte.agora] Waiting for service(s) 'user'...
e[2K1Panel-tailchat-oCdD        | 声网服务启动失败, 缺少必要的环境变量: AGORA_APP_ID, AGORA_APP_CERT, AGORA_CUSTOMER_KEY, AGORA_CUSTOMER_SECRET
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.928Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | [plugin:com.msgbyte.getui] require env: GETUI_APPID, GETUI_APPKEY, GETUI_MASTERSECRET
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.937Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.946Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.GITHUB.SUBSCRIBE: [plugin:com.msgbyte.github.subscribe] Waiting for service(s) 'user'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:09.954Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.117Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | Livekit service not available, miss env var: LIVEKIT_API_KEY, LIVEKIT_API_SECRET
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.119Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.124Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.128Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.SIMPLENOTIFY: [plugin:com.msgbyte.simplenotify] Waiting for service(s) 'user'...
e[2K1Panel-tailchat-oCdD        | Setting "Mixed" for property "p_topic.meta"
e[2K1Panel-tailchat-oCdD        | Look here for how to disable this message: https://typegoose.github.io/typegoose/docs/api/decorators/model-options/#allowmixed
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.148Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.TOPIC: [plugin:com.msgbyte.topic] Waiting for service(s) 'config'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.150Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway, config'...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.155Z] INFO  f4a43aff3d01-29/BROKER: Waiting for service(s) 'gateway'...
e[2K1Panel-tailchat-oCdD        | [plugin:com.msgbyte.wxpusher] require env: WXPUSHER_APP_TOKEN
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.157Z] WARN  f4a43aff3d01-29/MAIL: [mail] SMTP 服务不可用
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.157Z] INFO  f4a43aff3d01-29/TRANSIT: Connecting to the transporter...
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.158Z] INFO  f4a43aff3d01-29/TRANSPORTER: Setting Redis transporter
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.185Z] INFO  f4a43aff3d01-29/CACHER: Redis cacher connected.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.188Z] INFO  f4a43aff3d01-29/TRANSPORTER: Redis-sub client is connected.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.188Z] INFO  f4a43aff3d01-29/TRANSPORTER: Setting Redis transporter
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.203Z] INFO  f4a43aff3d01-29/TRACER: ┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.204Z] INFO  f4a43aff3d01-29/TRACER: │ ID: 6768eabf-8986-4bb7-bdf3-dc97a2524571                                       Depth: 1 Total: 1 │
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.205Z] INFO  f4a43aff3d01-29/TRACER: ├──────────────────────────────────────────────────────────────────────────────────────────────────┤
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.206Z] INFO  f4a43aff3d01-29/TRACER: │ action 'file.bucketExists' ×                    935ms [■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■] │
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.206Z] INFO  f4a43aff3d01-29/TRACER: └──────────────────────────────────────────────────────────────────────────────────────────────────┘
e[2K1Panel-tailchat-oCdD        | unhandledRejection S3Error: S3 API Requests must be made to API port.
e[2K1Panel-tailchat-oCdD        |     at Object.parseError (/app/tailchat/node_modules/.pnpm/minio@7.1.1/node_modules/minio/dist/main/xml-parsers.js:64:11)
e[2K1Panel-tailchat-oCdD        |     at /app/tailchat/node_modules/.pnpm/minio@7.1.1/node_modules/minio/dist/main/transformers.js:144:22
e[2K1Panel-tailchat-oCdD        |     at Transform._flush (/app/tailchat/node_modules/.pnpm/minio@7.1.1/node_modules/minio/dist/main/transformers.js:77:10)
e[2K1Panel-tailchat-oCdD        |     at Transform.prefinish (/app/tailchat/node_modules/.pnpm/readable-stream@3.6.1/node_modules/readable-stream/lib/_stream_transform.js:122:10)
e[2K1Panel-tailchat-oCdD        |     at Transform.emit (node:events:517:28)
e[2K1Panel-tailchat-oCdD        |     at Transform.emit (node:domain:489:12)
e[2K1Panel-tailchat-oCdD        |     at prefinish (/app/tailchat/node_modules/.pnpm/readable-stream@3.6.1/node_modules/readable-stream/lib/_stream_writable.js:568:14)
e[2K1Panel-tailchat-oCdD        |     at finishMaybe (/app/tailchat/node_modules/.pnpm/readable-stream@3.6.1/node_modules/readable-stream/lib/_stream_writable.js:575:5)
e[2K1Panel-tailchat-oCdD        |     at endWritable (/app/tailchat/node_modules/.pnpm/readable-stream@3.6.1/node_modules/readable-stream/lib/_stream_writable.js:593:3)
e[2K1Panel-tailchat-oCdD        |     at Writable.end (/app/tailchat/node_modules/.pnpm/readable-stream@3.6.1/node_modules/readable-stream/lib/_stream_writable.js:534:22)
e[2K1Panel-tailchat-oCdD        |     at IncomingMessage.onend (node:internal/streams/readable:716:10)
e[2K1Panel-tailchat-oCdD        |     at Object.onceWrapper (node:events:631:28)
e[2K1Panel-tailchat-oCdD        |     at IncomingMessage.emit (node:events:529:35)
e[2K1Panel-tailchat-oCdD        |     at IncomingMessage.emit (node:domain:489:12)
e[2K1Panel-tailchat-oCdD        |     at endReadableNT (node:internal/streams/readable:1368:12)
e[2K1Panel-tailchat-oCdD        |     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
e[2K1Panel-tailchat-oCdD        |   code: 'InvalidArgument',
e[2K1Panel-tailchat-oCdD        |   requestid: 0,
e[2K1Panel-tailchat-oCdD        |   amzRequestid: null,
e[2K1Panel-tailchat-oCdD        |   amzId2: null,
e[2K1Panel-tailchat-oCdD        |   amzBucketRegion: null
e[2K1Panel-tailchat-oCdD        | }
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.225Z] INFO  f4a43aff3d01-29/TRANSPORTER: Redis-pub client is connected.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.233Z] INFO  f4a43aff3d01-29/REGISTRY: Node '53cc20aa781b-41' connected.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.737Z] INFO  f4a43aff3d01-29/REGISTRY: '$node' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.741Z] INFO  f4a43aff3d01-29/GATEWAY: [gateway] SocketIO service started
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.743Z] INFO  f4a43aff3d01-29/GATEWAY: [gateway] SocketIO is using Redis Adapter
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.750Z] INFO  f4a43aff3d01-29/REGISTRY: 'debug' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.752Z] INFO  f4a43aff3d01-29/REGISTRY: 'openapi.bot' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.754Z] INFO  f4a43aff3d01-29/REGISTRY: 'openapi.integration' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.756Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.agora' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.757Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.autojoinGroup' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.758Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.getui' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.760Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.livekit' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.761Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.prettyinvite' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.763Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.welcome' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/$NODE: Service '$node' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/DEBUG: [debug] Service 'debug' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/OPENAPI.BOT: [openapi.bot] Service 'openapi.bot' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/OPENAPI.INTEGRATION: [openapi.integration] Service 'openapi.integration' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.AGORA: [plugin:com.msgbyte.agora] Service 'plugin:com.msgbyte.agora' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.AUTOJOINGROUP: [plugin:com.msgbyte.autojoinGroup] Service 'plugin:com.msgbyte.autojoinGroup' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.GETUI: [plugin:com.msgbyte.getui] Service 'plugin:com.msgbyte.getui' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.LIVEKIT: [plugin:com.msgbyte.livekit] Service 'plugin:com.msgbyte.livekit' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.PRETTYINVITE: [plugin:com.msgbyte.prettyinvite] Service 'plugin:com.msgbyte.prettyinvite' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.764Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.WELCOME: [plugin:com.msgbyte.welcome] Service 'plugin:com.msgbyte.welcome' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.767Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC: [openapi.oidc] API Gateway listening on http://0.0.0.0:11001
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.768Z] INFO  f4a43aff3d01-29/GATEWAY: [gateway] API Gateway listening on http://0.0.0.0:11000
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.770Z] INFO  f4a43aff3d01-29/REGISTRY: 'openapi.oidc' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.775Z] INFO  f4a43aff3d01-29/REGISTRY: 'gateway' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.775Z] INFO  f4a43aff3d01-29/OPENAPI.OIDC: [openapi.oidc] Service 'openapi.oidc' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.776Z] INFO  f4a43aff3d01-29/GATEWAY: [gateway] Service 'gateway' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.780Z] INFO  f4a43aff3d01-29/REGISTRY: 'chat.ack' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.783Z] INFO  f4a43aff3d01-29/REGISTRY: 'chat.converse' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.787Z] INFO  f4a43aff3d01-29/REGISTRY: 'chat.inbox' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.794Z] INFO  f4a43aff3d01-29/REGISTRY: 'chat.message' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.798Z] INFO  f4a43aff3d01-29/REGISTRY: 'config' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.811Z] INFO  f4a43aff3d01-29/REGISTRY: 'group' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.817Z] INFO  f4a43aff3d01-29/REGISTRY: 'group.extra' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.828Z] INFO  f4a43aff3d01-29/REGISTRY: 'group.invite' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.834Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin.registry' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.839Z] INFO  f4a43aff3d01-29/REGISTRY: 'user.dmlist' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.845Z] INFO  f4a43aff3d01-29/REGISTRY: 'friend' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.850Z] INFO  f4a43aff3d01-29/REGISTRY: 'friend.request' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.856Z] INFO  f4a43aff3d01-29/REGISTRY: 'mail' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.882Z] INFO  f4a43aff3d01-29/REGISTRY: 'user' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.895Z] INFO  f4a43aff3d01-29/REGISTRY: 'openapi.app' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.904Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.discover' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.910Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.github.subscribe' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.915Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.iam' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.921Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.linkmeta' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.927Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.simplenotify' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.933Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.tasks' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.938Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.topic' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/REGISTRY: 'plugin:com.msgbyte.wxpusher' service is registered.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/CHAT.ACK: [chat.ack] Service 'chat.ack' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/CHAT.CONVERSE: [chat.converse] Service 'chat.converse' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/CHAT.INBOX: [chat.inbox] Service 'chat.inbox' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/CHAT.MESSAGE: [chat.message] Service 'chat.message' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/CONFIG: [config] Service 'config' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/GROUP: [group] Service 'group' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/GROUP.EXTRA: [group.extra] Service 'group.extra' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/GROUP.INVITE: [group.invite] Service 'group.invite' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.941Z] INFO  f4a43aff3d01-29/PLUGIN.REGISTRY: [plugin.registry] Service 'plugin.registry' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/USER.DMLIST: [user.dmlist] Service 'user.dmlist' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/FRIEND: [friend] Service 'friend' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/FRIEND.REQUEST: [friend.request] Service 'friend.request' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/MAIL: [mail] Service 'mail' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/USER: [user] Service 'user' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/OPENAPI.APP: [openapi.app] Service 'openapi.app' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.DISCOVER: [plugin:com.msgbyte.discover] Service 'plugin:com.msgbyte.discover' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.GITHUB.SUBSCRIBE: [plugin:com.msgbyte.github.subscribe] Service 'plugin:com.msgbyte.github.subscribe' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.IAM: [plugin:com.msgbyte.iam] Service 'plugin:com.msgbyte.iam' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.LINKMETA: [plugin:com.msgbyte.linkmeta] Service 'plugin:com.msgbyte.linkmeta' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.SIMPLENOTIFY: [plugin:com.msgbyte.simplenotify] Service 'plugin:com.msgbyte.simplenotify' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.TASKS: [plugin:com.msgbyte.tasks] Service 'plugin:com.msgbyte.tasks' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.TOPIC: [plugin:com.msgbyte.topic] Service 'plugin:com.msgbyte.topic' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.WXPUSHER: [plugin:com.msgbyte.wxpusher] Service 'plugin:com.msgbyte.wxpusher' started.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.942Z] INFO  f4a43aff3d01-29/BROKER: Service(s) 'gateway' are available.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.944Z] INFO  f4a43aff3d01-29/GATEWAY: [gateway] Add auth whitelist: [ '/plugin:com.msgbyte.agora/available' ]
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.944Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.AGORA: [plugin:com.msgbyte.agora] Service(s) 'user' are available.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.951Z] INFO  f4a43aff3d01-29/BROKER: Service(s) 'gateway' are available.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.951Z] INFO  f4a43aff3d01-29/GATEWAY: [gateway] Add auth whitelist: [ '/plugin:com.msgbyte.getui/available' ]
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.951Z] INFO  f4a43aff3d01-29/BROKER: Service(s) 'gateway' are available.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.952Z] INFO  f4a43aff3d01-29/GATEWAY: [gateway] Add auth whitelist: [ '/plugin:com.msgbyte.github.subscribe/webhook/callback' ]
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.953Z] INFO  f4a43aff3d01-29/PLUGIN:COM.MSGBYTE.GITHUB.SUBSCRIBE: [plugin:com.msgbyte.github.subscribe] Service(s) 'user' are available.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.956Z] INFO  f4a43aff3d01-29/BROKER: Service(s) 'gateway' are available.
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.956Z] INFO  f4a43aff3d01-29/GATEWAY: [gateway] Add auth whitelist: [ '/plugin:com.msgbyte.iam/availableStrategies' ]
e[2K1Panel-tailchat-oCdD        | [2024-05-31T16:52:10.958Z] ERROR f4a43aff3d01-29/BROKER: Unable to start all services. MinioInitializationError: S3 API Requests must be made to API port.
e[2K1Panel-tailchat-oCdD        |     at /app/tailchat/server/packages/sdk/dist/services/mixins/minio.mixin.js:693:19
e[2K1Panel-tailchat-oCdD        |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
e[2K1Panel-tailchat-oCdD        |     at async Promise.all (index 6) {
e[2K1Panel-tailchat-oCdD        |   code: 500,
e[2K1Panel-tailchat-oCdD        |   type: 'MINIO_INITIALIZATION_ERROR',
e[2K1Panel-tailchat-oCdD        |   data: {},
e[2K1Panel-tailchat-oCdD        |   retryable: false
e[2K1Panel-tailchat-oCdD        | }
e[2K1Panel-tailchat-oCdD        | [Runner] S3 API Requests must be made to API port. MinioInitializationError: S3 API Requests must be made to API port.
e[2K1Panel-tailchat-oCdD        |     at /app/tailchat/server/packages/sdk/dist/services/mixins/minio.mixin.js:693:19
e[2K1Panel-tailchat-oCdD        |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
e[2K1Panel-tailchat-oCdD        |     at async Promise.all (index 6) {
e[2K1Panel-tailchat-oCdD        |   code: 500,
e[2K1Panel-tailchat-oCdD        |   type: 'MINIO_INITIALIZATION_ERROR',
e[2K1Panel-tailchat-oCdD        |   data: {},
e[2K1Panel-tailchat-oCdD        |   retryable: false
e[2K1Panel-tailchat-oCdD        | }
e[2K1Panel-tailchat-oCdD        |  ELIFECYCLE  Command failed with exit code 1.
e[2K1Panel-tailchat-oCdD        |  ELIFECYCLE  Command failed with exit code 1.
1Panel-tailchat-oCdD exited with code 1

这是什么原因呢?

By ChatGPT


从日志中可以看出,1Panel-tailchat 在启动过程中遇到了 Minio 初始化错误。这是由于 S3 API 请求未能通过正确的 API 端口发送,导致服务无法启动。以下是一些可能的解决方案和调试步骤:

检查 Minio 配置

确保 Minio 服务的配置正确,包括 API 端口和访问凭据。你需要确认以下几点:

  1. Minio 服务是否正常运行

    • 确保 Minio 容器或服务正在运行,并且可以正常访问。
    • 可以通过运行以下命令检查 Minio 容器状态:
      docker ps | grep minio
      
  2. Minio 的 API 端口

    • 默认情况下,Minio 的 API 端口是 9000。请确认你正在使用正确的端口。
    • 如果使用自定义端口,请在应用配置中正确指定该端口。

更新 Tailchat 配置

确保在 tailchat 的配置文件或环境变量中正确配置了 Minio 的连接信息。通常,这些信息包括:

  • Minio 服务器的地址(包括端口)
  • 访问密钥和密钥 ID
  • 存储桶名称

1 Minio 服务是否正常运行:检查正常。
2 Minio 的 API 端口 :默认是9000没问题,api是9001
我看到后台的docker-compose里是MINIO_URL=${MINIO_HOST}:9001,应该对应的时候api口吧?
所以tailchat 的配置文件或环境变量中 Minio 的连接信息都是正确的。
有点摸不着头脑了。

再仔细看看,是不是搞反了

默认安装的,是反着的,所以应该是个bug!
默认安装的截图

现在看要不就是需要 Minio在安装的时候将两个端口反过来,要不就是要在Tailchat安装后改配置文件,将两个端口反过来。

这个要修复一下不然很多朋友可能掉坑里。

经过反复测试情况如下:
Minio我这里的默认安装是端口是9000,API是9001
@ToolMan 给出的Minio默认安装是端口是9001,API是9000.两者反着的。

但是不论使用哪一种方式,Tailchat的安装中,配置文件都是

MINIO_URL=${MINIO_HOST}:9001

启动后,会显示异常。

解决方法:
只要将9001改为9000,即可完成启动。

MINIO_URL=${MINIO_HOST}:9000

以上希望可以帮助到有同样问题的小伙伴。


*不过,个人还是比较困惑原因,因为在Minio里其实两个端口是不同的通道:

        ports:
            - ${HOST_IP}:${PANEL_APP_PORT_HTTP}:9001
            - ${HOST_IP}:${PANEL_APP_PORT_API}:9000

但是不论Minio端口如何,Tailchat却都需要改参数。这是为什么呢?