Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG]

Open tejaswiniallikanti opened this issue 1 year ago • 6 comments

I am using flowise on render.com and the chatflows that I have created are not saving at all.

tejaswiniallikanti avatar Jun 14 '23 05:06 tejaswiniallikanti

@tejaswiniallikanti is it showing some error?

govind-kumarr avatar Jun 14 '23 15:06 govind-kumarr

I have a feeling this may have something to do with Render (and other PaaS') using ephemeral disks, and the server seems to use sqlite: https://github.com/FlowiseAI/Flowise/blob/main/packages/server/src/DataSource.ts#L13. The data stored here will be lost on server restarts.

It would be nice if FlowiseAI could configure this location to something other than $HOME/.flowsise and then it could work with Render and a persistent disk: https://render.com/docs/disks

This wouldn't work on Heroku at all. Probably need to support a datasource other than sqlite.

kwlockwo avatar Jun 19 '23 05:06 kwlockwo

I am not able to save the chatflows that i have created here. I want to use the API from these chatflows but i am not able to do that here

tejaswiniallikanti avatar Jun 19 '23 11:06 tejaswiniallikanti

Is there any way around it?

tejaswiniallikanti avatar Jun 19 '23 11:06 tejaswiniallikanti

👋 From the Render Support team - I opened an issue yesterday on the Flowise docs page, specifically about this and suggestion for the docs on how to resolve

https://github.com/FlowiseAI/FlowiseDocs/issues/5

johnbeynon avatar Jun 22 '23 07:06 johnbeynon

thanks @johnbeynon for the suggestion!

In the latest v1.2.13 release, you can specify an env DATABASE_PATH. This will allow you to specify where the data is being stored. And using Render's Disk, you can mount that path and have persistent storage.

Here's the step by step guide - https://docs.flowiseai.com/deployment/render#persistent-disk

Let us know if that resolves the issue

HenryHengZJ avatar Jun 22 '23 23:06 HenryHengZJ

@HenryHengZJ I did everything as in the documentation, but chats are still not saved. What could be the problem? Screenshot 2023-12-25 at 17 30 31

gHashTag avatar Dec 25 '23 10:12 gHashTag