WongSaang / chatgpt-ui

A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
https://wongsaang.github.io/chatgpt-ui/
MIT License
1.45k stars 321 forks source link

用脚本命令安装的时候最后提示“service "backend-wsgi-server" refers to undefined volume db_sqlite3: invalid compose project” #229

Open xcsyj opened 1 year ago

xcsyj commented 1 year ago

用一键脚本在安装的最后提示: Starting services... touch: cannot touch './db_sqlite3/db.sqlite3': No such file or directory service "backend-wsgi-server" refers to undefined volume db_sqlite3: invalid compose project Done 在Ubuntu 20 LTS和Ubuntu 22 LTS 上安装的时候都会提示,这是怎么回事?

ilovefreesw commented 1 year ago

Replace version:'3' with the following to fix this....

version: '3'
volumes:
    db_sqlite3:
      driver: local
xcsyj commented 1 year ago

@ilovefreesw Thank you very much.