mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #10553] Some Issues and Suggestions #15932
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 @superglg738 on GitHub (Feb 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10553
Question 1:
I am using Docker to run Open-WebUI:
I bind the
open-webuidata directory to/app/backend/data. After an update to a new version, if the data structure changes, will it still work? Additionally, I have switched to using a vector database with the following configuration:After upgrading the version, if the data structure changes again, is it possible to add database migration scripts for data structure updates?
Question 2:
I want to reverse proxy the website to my local Nginx. In the front-end code configuration (
svelte.config.js), I setpaths: {base: "nglocation"}. However, in the front-end code, there are many absolute paths, such asgoto, which are redirecting to the root path (e.g.,href='/'), which causes issues with reverse proxying. I need to perform a bulk modification to replace these paths.Question 3:
In the
/src/lib/constants.tsfile, theWEBUI_BASE_URLpoints to the backend's 8080 port in the development environment, while the front-end development environment runs on port 5173. Many static resources in the front-end code use the{WEBUI_BASE_URL}variable, like this:This causes static resources to fail to load in the development environment. The
constants.tsvariables need to be restructured to address this issue.Question 4:
It is recommended to add a version identifier to the image tag, such as ghcr.io/open-webui/open-webui:main becoming main-v0.5.16. This would make it clearer which version is being downloaded, making it easier to distinguish from previous versions.
THANK YOU