Help with 'RuntimError : Error creating DB and tables' #8241
Replies: 1 comment 5 replies
-
|
Hi @PrathamGowtham! I'm Dosu and I’m helping the langflow team. The error "sqlite3.OperationalError: attempt to write a readonly database" means that Langflow cannot write to its SQLite database file. By default, Langflow stores its database at This error almost always happens because the database file or its parent directory does not have write permissions for the user running Langflow. Here’s how you can resolve it:
If you continue to have issues, you can configure Langflow to use an external database (like PostgreSQL), but this requires more setup and may not be practical in an offline environment [source]. No specific issues with SQLite permissions on RHEL were found in the Langflow repository, so this is almost certainly a file system permissions problem. Let me know if you need help with the exact commands for your setup. To reply, just mention my name @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
### So I have a RHEL-8.10 env in which I can't natively install langflow. I instead created a WSL of the same (RHEL-8.10) and FTPd the langflow package and its dependencies to the the RHEL env, where upon running langflow i am getting the following error :
Any way to fix this issue? one more thing : the RHEL-8.10 env in which i am trying to run langflow, doesnt have internet access (thus me having to FTP the packages).
Beta Was this translation helpful? Give feedback.
All reactions