Comments (10)
同样的情况,删除容器重新部署后可以重新读到之前的sqlite数据
from one-api.
没人回答吗 不知道为什么
from one-api.
同样的情况,删除容器重新部署后可以重新读到之前的sqlite数据
解决的吗?
from one-api.
同样的情况,删除容器重新部署后可以重新读到之前的sqlite数据
解决了吗?
from one-api.
windows11系统,安装Docker desktop,在C盘通过右键的上下文菜单的“在终端打开”进入终端,执行了wsl,进入了Ubuntu,按照基于docker的部署,输入了docker run --name one-api -d --restart always -p 13000:3000 -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api,然后在浏览器中打开了localhost:3000,可以显示one_api的界面,但是设置完令牌和路径后,每次重启电脑后发现已经设置的令牌和渠道都消失了,注销root重新登录时会提示我重新设置密码。我进入了宿主机的 /home/ubuntu/data/one-api目录并查看当前文件夹下的文件权限,显示如下: drwxrwxrwx 2 root root 4096 Mar 19 00:37 logs -rwxrwxrwx 1 root root 163840 Mar 18 11:28 one-api.db 应该是具有写入权限的,但是为何总是出现令牌和渠道重置现象,请大神们指点一下我到底是哪里错了?
解决了吗? 大哥??
from one-api.
from one-api.
我也存在这个问题
from one-api.
我是win10,不只是One_api,fastgtp更新的数据也消失了
from one-api.
我的问题解决了方法如下:
1.在ubuntu客户端输入
cd fastgpt
docker-compose down
docker-compose up -d
就是重新卸载和装入容器。
2.分析问题原因
我在fastgpt的项目外还有一个mysql,对这些产生了影响。
完成上述操作后,每次启动,在win面板的docker中把fastgpt相关的包括oneapi等重启一下就好。
from one-api.
I have this problem too, I tried modifying the docker-compose file and it never solved the problem
from one-api.
Related Issues (20)
- relay/adaptor中,不同渠道constants.go具有同一个模型名称时,会导致api/models接口返回多个重复的模型 HOT 3
- max_tokens不起作用 HOT 7
- 百度文心一言模型role字段不能使用model,必须使用assistant
- Doubao-embedding无法使用 HOT 1
- whisper 模型渠道选择问题 HOT 1
- coze.cn渠道昨天还能正常使用,配置啥都没改,今天突然开始报错——错误:当前 Bot 未发布到对应渠道
- 给令牌添加model时,超过字段长度 HOT 2
- DeepLX Powerful DeepL Translation API
- 如何对接阿里的语音模型 HOT 4
- 新模型 gpt-4o-mini HOT 1
- SoniOx -Audiomind and LLM
- Whisper large v2 Azure / Open Ai
- 关于讯飞星火Spark 4.0 Ultra和Spark Pro-128k两个模型调用失败的疑问 HOT 4
- 智谱messages不能传入role为system的历史对话
- 请求接入 【perplexity.ai】API
- 更新渠道信息页面的模型限制可以被绕过 HOT 3
- 希望清理历史日志可以按照时间段清理
- one api daily request limit reached HOT 1
- 增加渠道一页显示上限和自定义排序功能
- groq模型跟官方最新开放的不同步
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-api.