Canner / WrenAI

🚀 Open-source SQL AI Agent for Text-to-SQL. Make Text2SQL Easy! 🙌
https://getwren.ai/oss
GNU Affero General Public License v3.0
1.74k stars 154 forks source link

Installation of wrenAI Failed #437

Closed Karissssa closed 4 hours ago

Karissssa commented 3 months ago

Describe the bug After following the steps and entering the OpenAI Key, the process reaches "UI Service is ready" and then shows a Timeout.

To Reproduce Steps to reproduce the behavior:

  1. Run curl -L https://github.com/Canner/WrenAI/releases/latest/download/wren-launcher-darwin.tar.gz | tar -xz && ./wren-launcher-darwin in terminal
  2. input OpenAI API key
  3. Select gpt-3.5-turbo
  4. See error: Timeout

Expected behavior See the success message for wrenAI installation or view the interface at localhost:3000.

Screenshots

image

Desktop (please complete the following information):

WrenAI Information

cyyeh commented 3 months ago

@Karissssa

can you give us container logs by entering this command in the terminal?

docker logs wrenai-wren-ui-1 >& wren-ui.log && \
docker logs wrenai-wren-ai-service-1 >& wren-ai-service.log && \
docker logs wrenai-wren-engine-1 >& wren-engine.log
Karissssa commented 3 months ago

hi @cyyeh

I enter the command in the terminal and get these three .log files. wren-engine.log wren-ai-service.log wren-ui.log

cyyeh commented 3 months ago

hmm, it's weird that I saw the word "killed" from the wren-ai-service.log. It seems that the process is being killed.

Karissssa commented 3 months ago

hi @cyyeh Is there any new information?

cyyeh commented 3 months ago

@Karissssa can you try earlier version of Wren AI? Currently there is still not enough information for me to help u solve the issue

cyyeh commented 3 months ago

@Karissssa We have the new release here: https://github.com/Canner/WrenAI/releases/tag/0.6.0

Could you try the latest version and see if it helps? Thank you

Karissssa commented 3 months ago

hi @cyyeh How do i specify the latest version using curl -L https://github.com/Canner/WrenAI/releases/latest/download/wren-launcher-darwin.tar.gz | tar -xz && ./wren-launcher-darwin?

cyyeh commented 3 months ago

hi @cyyeh How do i specify the latest version using curl -L https://github.com/Canner/WrenAI/releases/latest/download/wren-launcher-darwin.tar.gz | tar -xz && ./wren-launcher-darwin?

@Karissssa The script you gave would install the latest version.

Karissssa commented 3 months ago

hi @cyyeh Still the same timeout, and these three .log files.

image

wren-ai-service.log wren-engine.log wren-ui.log

cyyeh commented 3 months ago

hi @cyyeh Still the same timeout, and these three .log files. image wren-ai-service.log wren-engine.log wren-ui.log

@Karissssa from the log mentioning the keyword "killed", it seems that one of the processes of Wren AI is being kill while it's being started. Sorry, now we don't exactly know what happened. Or do you have other computers to try or are you running other applications that might cause this? Or how much memory capacity do you have on your Mac? Before you run Wren AI, how much memory is left?

cyyeh commented 2 months ago

@Karissssa could I close the issue now?

gzcharles commented 1 month ago

未命名1724256343 how to solve this problem?

cyyeh commented 4 hours ago

you could rerun the launcher again, and welcome to use the latest version