labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.46k stars 4.69k forks source link

我将原fastgpt docker容器停止并删除后,然后升级最新版重新启动了一个容器,之前容器的配置的数据(应用,知识库等)就不见了 #1768

Closed CytFree closed 4 months ago

CytFree commented 4 months ago

例行检查

你的版本 原 4..4.7 版本, 升级到最新版 4.8.4

问题描述, 日志截图 这是我的docker启动命令,mongo和pg没有重启 docker run -d --name fastgpt -p 3000:3000 -e DEFAULT_ROOT_PSW=1234 -e OPENAI_BASE_URL=http://192.168.33.8:5050/v1 -e CHAT_API_KEY=sk-fastgpt -e DB_MAX_LINK=30 -e TOKEN_KEY=any -e ROOT_KEY=root_key -e FILE_TOKEN_KEY=filetoken -e MONGODB_URI=mongodb://myusername:mypassword@mongo:27017/fastgpt?authSource=admin -e PG_URL=postgresql://username:password@pg:5432/postgres -e SANDBOX_URL=http://sandbox:3000 -e LOG_LEVEL=info -v /hsdata/docker-lv/fastgpt/tmp:/app/tmp --network fastgpt --restart always fastgpt:v4.8.4

复现步骤

预期结果

相关截图

Essence9999 commented 4 months ago

对照https://doc.fastgpt.in/docs/development/upgrading/481/ 进行初始化,表名变了; 查看fastgpt日志成功后,再登录即可