Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动不了 ValueError: LLM_API_BASE or LLM_API_KEY must be set #158

Open
hyyifan opened this issue Dec 19, 2024 · 8 comments
Open

启动不了 ValueError: LLM_API_BASE or LLM_API_KEY must be set #158

hyyifan opened this issue Dec 19, 2024 · 8 comments

Comments

@hyyifan
Copy link

hyyifan commented Dec 19, 2024

我已经按要求设置好了.env文件并且放在了core文件夹,为什么会出现这个?
image

image

@calmyun
Copy link

calmyun commented Dec 19, 2024

是不是还没在pocketbase中创建superuser?

@ourines
Copy link
Contributor

ourines commented Dec 19, 2024

错误日志表示没有找到.env文件,所以我觉得你是先进行的docker compose up 构建镜像后,之后才修改的.env文件吧。
尝试这样解决:

  • docker compose down 停用所有容
  • docker ps -a 查看是否存在 wiseflow:latest 镜像, 如果有删除它
  • 确保.env文件正常在 /core目录中
  • docker compose up -d重新构建容器

@bigbrother666sh
Copy link
Member

看来下一版本还是暂时先把 docker 部署拿掉吧…… 推荐大家直接用 python,并且先执行 install_pocketbase.sh。
docker 比较适合发布一个 docker hub

@hyyifan
Copy link
Author

hyyifan commented Dec 20, 2024

错误日志表示没有找到.env文件,所以我觉得你是先进行的docker compose up 构建镜像后,之后才修改的.env文件吧。 尝试这样解决:

  • docker compose down 停用所有容
  • docker ps -a 查看是否存在 wiseflow:latest 镜像, 如果有删除它
  • 确保.env文件正常在 /core目录中
  • docker compose up -d重新构建容器

这个没用 -.-

@hyyifan
Copy link
Author

hyyifan commented Dec 20, 2024

是不是还没在pocketbase中创建superuser?

要如何创建呢,我现在进不去任何127.0.0.1:8090的链接

@bigbrother666sh
Copy link
Member

是不是还没在pocketbase中创建superuser?

要如何创建呢,我现在进不去任何127.0.0.1:8090的链接

运行一下 install_pocketbase.sh 这个脚本

@calmyun
Copy link

calmyun commented Dec 24, 2024

是不是还没在pocketbase中创建superuser?

要如何创建呢,我现在进不去任何127.0.0.1:8090的链接

参考一下pocketbase的官网文档;或者看一下pb文件夹的README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants