FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
30.05k stars 15.51k forks source link

[BUG] The container fail to start #622

Open enezatech opened 1 year ago

enezatech commented 1 year ago

Keeps on restarting when deployed in Ubuntu running Cap Rover /container to manage containers

To Reproduce user deploy using latest flowiseai/flowise using captain 3

{
  "schemaVersion": 2,
  "imageName": "flowiseai/flowise"
 }

with these environments variable PORT=3002 FLOWISE_USERNAME=XXXX FLOWISE_PASSWORD=XXXX DEBUG=true DATABASE_PATH=/root/.flowise APIKEY_PATH=/root/.flowise LOG_PATH=/root/.flowise/logs LOG_LEVEL=error EXECUTION_MODE=main

Got these restart logs Flowiseai Server VERSION flowise/1.2.16 linux-x64 node-v18.16.1 USAGE $ flowise [COMMAND] COMMANDS start Flowiseai Server VERSION flowise/1.2.16 linux-x64 node-v18.16.1 USAGE $ flowise [COMMAND] COMMANDS start Flowiseai Server VERSION flowise/1.2.16 linux-x64 node-v18.16.1 USAGE $ flowise [COMMAND] COMMANDS start Flowiseai Server VERSION flowise/1.2.16 linux-x64 node-v18.16.1 USAGE $ flowise [COMMAND] COMMANDS start

How it appears in portainer image

image

enezatech commented 1 year ago

These are my environment variables

PORT=3002
FLOWISE_USERNAME=enezatech
FLOWISE_PASSWORD=mypassword
DEBUG=true
DATABASE_PATH=/root/.flowise
APIKEY_PATH=/root/.flowise
LOG_PATH=/root/.flowise/logs
LOG_LEVEL=error
EXECUTION_MODE=main 
chungyau97 commented 1 year ago

If you use this; are you able to build successfully?

julianschnell commented 1 year ago

Having exactly the same issue with Caprover. It seems that if the last step (executing "flowise start") is not being executed. I guess, that this it the reason why the docker container exits with 0 every couple of seconds and restarts again and exits etc... Any help here is highly appreciated. @chungyau97 I'm using the environment vars as suggested in the link you provided. It doesnt change anything unfortunately... any other ideas?

chungyau97 commented 1 year ago

Hi @julianschnell,

Could you verify your docker here?

image image