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

QueryFailedError: SQLITE_READONLY: attempt to write a readonly database #1723

Closed
r-pathak opened this issue Feb 13, 2024 · 4 comments
Closed

Comments

@r-pathak
Copy link

Hi all,

Firstly this tool is very very cool - just want to mention that.

However, I launch it in my terminal using npx flowise start. This works correctly, then I set up the following flow:

Screenshot 2024-02-13 at 23 27 08

Once that's done, I am trying to setup a credential for my model to Azure AI studio ( the interface has been updated a bit since the docs were created, but done what I can)

I've used the openAI key as my API key, the instance name as gpt-4, the deployment name as my deployment name as shown in Azure AI studio and finally the relevant version of gpt-4, 1106-preview as the version.

However, I get the following error in my terminal when I press 'add':

QueryFailedError: SQLITE_READONLY: attempt to write a readonly database

Am I missing a step, or is this a bug? I'm not sure if the config should be slightly different since the UI in the docs has since been updated from Azure.

Also noticing that when I had {input} as my text prompt, I get the same error in my terminal.

Not sure if anyone else has seen this, would be great to know more on how I can fix this.

Thanks in advance!

@chungyau97
Copy link
Contributor

Hi @r-pathak, which platform are you running Flowise on Mac/Win/Linux?

@r-pathak
Copy link
Author

Ah yeah, ofc I forgot to mention - running on Mac. Although once I'm done testing locally will likely deploy as an Azure app service on Linux

@HenryHengZJ
Copy link
Contributor

Flowise automatically create a SQLite database stored in user home directory /.flowise, you need to grant write access to that with sudo chown -R "$USER":"$USER" /path/to/my-folder

@sgcodes7471
Copy link

what to do if I am on WIndows?

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