mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 09:31:58 -05:00
Saving API key for Open WebUI Pipelines #1099
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ther3zz on GitHub (Jun 2, 2024).
Bug Report
Description
Setting the API key to
0p3n-w3bu!as instructed here https://github.com/open-webui/pipelines causes open webui to break on page reload.Reviewing the config.json , It appears that the API key is not actually saved. If you manually modify the config.json with the appropriate api key
0p3n-w3bu!then reboot the container everything loads up just fine.Seems that the issue is one of the special chars in the key.
Steps to Reproduce:
0p3n-w3bu!Expected Behavior:
API host/key should save and UI should remain usable even after page reload.
Actual Behavior:
If you reload the page, nothing loads. Page is blank.
Environment
Open WebUI Version: v0.2.0
Ollama (if applicable): 0.1.40
Operating System: Linux/Docker
Browser (if applicable): Chrome Version 125.0.6422.142
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Docker
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@openainext commented on GitHub (Jun 2, 2024):
https://github.com/open-webui/pipelines/issues/38
@tjbck commented on GitHub (Jun 2, 2024):
Should be fixed on dev, 0.2.1 coming soon!
@tjbck commented on GitHub (Jun 2, 2024):
Should be fixed, let me know if the issue persists!
@ther3zz commented on GitHub (Jun 2, 2024):
I just updated the docker container and it seems that the issue is persisting for me.
Here's the docker log
Once I manually modified the config.json to contain the api key, it worked fine.
@tjbck commented on GitHub (Jun 2, 2024):
@ther3zz Just added a backend logic with https://github.com/open-webui/open-webui/pull/2741 as well. Let me know if the issue persists after the update!
@ther3zz commented on GitHub (Jun 2, 2024):
@tjbck Confirmed it's now fixed! Thank you!