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

example/llm creates data files in $PWD #229

Closed
srid opened this issue Jun 14, 2024 · 2 comments · Fixed by #240
Closed

example/llm creates data files in $PWD #229

srid opened this issue Jun 14, 2024 · 2 comments · Fixed by #240
Labels
bug Something isn't working

Comments

@srid
Copy link
Collaborator

srid commented Jun 14, 2024

image
@srid srid added the bug Something isn't working label Jun 14, 2024
@srid
Copy link
Collaborator Author

srid commented Jun 14, 2024

In #228, I fixed the data/open-webui1 part ... but .webui_secret_key is still being created in $PWD.

@srid srid changed the title example/llm dataDir is inconsistent example/llm creates data files in $PWD Jun 14, 2024
@shivaraj-bh
Copy link
Member

we can temporarily fix it by setting WEBUI_SECRET_KEY env: https://github.com/open-webui/open-webui/blob/162643a4b17edc24426980e4eddcdcfd7c3f7970/backend/config.py#L706-L711

shivaraj-bh added a commit that referenced this issue Jun 17, 2024
For details, see:
-
#230 (comment)
-
#230 (comment)
-
#230 (comment)
-
#230 (comment)

Additionally introduced `WEBUI_SECRET_KEY`, see why:
#229 (comment)
@srid srid closed this as completed in #240 Jun 17, 2024
srid pushed a commit that referenced this issue Jun 17, 2024
For details, see:
-
#230 (comment)
-
#230 (comment)
-
#230 (comment)
-
#230 (comment)

Additionally introduced `WEBUI_SECRET_KEY`, see why:
#229 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants