Giter Club home page Giter Club logo

Comments (10)

CabbSir avatar CabbSir commented on July 21, 2024

同样的情况,删除容器重新部署后可以重新读到之前的sqlite数据

from one-api.

bigshuai11 avatar bigshuai11 commented on July 21, 2024

没人回答吗 不知道为什么

from one-api.

bigshuai11 avatar bigshuai11 commented on July 21, 2024

同样的情况,删除容器重新部署后可以重新读到之前的sqlite数据

解决的吗?

from one-api.

bigshuai11 avatar bigshuai11 commented on July 21, 2024

同样的情况,删除容器重新部署后可以重新读到之前的sqlite数据

解决了吗?

from one-api.

bigshuai11 avatar bigshuai11 commented on July 21, 2024

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.

jzliuyu avatar jzliuyu commented on July 21, 2024

from one-api.

sci268 avatar sci268 commented on July 21, 2024

我也存在这个问题

from one-api.

sci268 avatar sci268 commented on July 21, 2024

我是win10,不只是One_api,fastgtp更新的数据也消失了

from one-api.

sci268 avatar sci268 commented on July 21, 2024

我的问题解决了方法如下:
1.在ubuntu客户端输入
cd fastgpt
docker-compose down
docker-compose up -d
就是重新卸载和装入容器。

2.分析问题原因
我在fastgpt的项目外还有一个mysql,对这些产生了影响。

完成上述操作后,每次启动,在win面板的docker中把fastgpt相关的包括oneapi等重启一下就好。

from one-api.

Lovening avatar Lovening commented on July 21, 2024

I have this problem too, I tried modifying the docker-compose file and it never solved the problem

from one-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.