lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.37k stars 9.94k forks source link

[Docs] Feedback for `self-hosting/advanced/server-database` #3174

Closed xwydq closed 4 months ago

xwydq commented 4 months ago

📝 Reference

https://github.com/lobehub/lobe-chat/tree/main/docs/self-hosting/advanced/server-database.zh-CN.mdx

🐛 Feedback

$ bun run db:migrate $ MIGRATION_DB=1 tsx scripts/migrateServerDB/index.ts ❌ Database migrate failed: ErrorEvent { [Symbol(kTarget)]: WebSocket { _events: [Object: null prototype] { error: [Function], message: [Function], close: [Function], open: [Function] }, _eventsCount: 4, _maxListeners: undefined, _binaryType: 'arraybuffer', _closeCode: 1006, _closeFrameReceived: false, _closeFrameSent: false, _closeMessage: , _closeTimer: null, _errorEmitted: true, _extensions: {}, _paused: false, _protocol: '', _readyState: 3, _receiver: null, _sender: null, _socket: null, _bufferedAmount: 0, _isServer: false, _redirects: 0, _autoPong: true, _url: 'wss://35.232.28.18/v2', _req: null,

[Symbol(kCapture)]: false

},

[Symbol(kError)]: Error: unable to verify the first certificate at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34) at TLSSocket.emit (node:events:518:28) at TLSSocket._finishInit (node:_tls_wrap:1085:8) at ssl.onhandshakedone (node:_tls_wrap:871:12) { code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }, [Symbol(kMessage)]: 'unable to verify the first certificate' } error: script "db:migrate" exited with code 1 error: script "build-migrate-db" exited with code 1 error: script "postbuild" exited with code 1 Error: Command "bun run build" exited with 1

lobehubbot commented 4 months ago

👀 @xwydq

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 4 months ago

https://github.com/lobehub/lobe-chat/discussions/3172

lobehubbot commented 4 months ago

✅ @xwydq

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。