openui
openui copied to clipboard
Sharing doesn't work? : Error! Error: Internal Server Error: Unable to locate credentials
Installed on Ubuntu 22 server. Everything seem to be working fine.
The only change i've made is I've changed the 127.0.0.1 to 10.10.10.200 IP in main.py file
Everything loads and works fine. But when I try to share a result I see this:
and when i visit the link, i see an empty UI with this error:
Sharing only happens in fly.io currently. It requires an S3 compatible storage configuration. I can add instructions on how to configure this for self hosting.
please make guide for fly
can u show how to deploy on fly?
Sorry @rossman22590 been swamped with various things. There's a fly.toml
file in the backend directory. You'll need to modify that to be the domain you end up using on fly and create a github client_id and client_secret if you want to have github login. Then you'll need to set any secrets for api providers you want to use using flyctl, i.e.
flyctl secrets set OPENAI_API_KEY=xxxx
To deploy, you can run npm run deploy
from the frontend directory, that will build for the hosted version. I might have missed something but that's the general idea.