[GH-ISSUE #11291] open_webui.routers.files:get_file_content_by_id related to the env environment? #135901

Closed
opened 2026-05-25 03:13:45 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @lzf-tech on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11291

Is the file path read by open_webui.routers.files:get_file_content_by_id related to the env environment? When I copied the data directory from another place and tried to read files like images, I found that the path was incorrect. The file path still showed the original Conda environment name. Are the paths of files (such as images) under the open_webui/data directory hard - coded?

Originally created by @lzf-tech on GitHub (Mar 6, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11291 Is the file path read by open_webui.routers.files:get_file_content_by_id related to the env environment? When I copied the data directory from another place and tried to read files like images, I found that the path was incorrect. The file path still showed the original Conda environment name. Are the paths of files (such as images) under the open_webui/data directory hard - coded?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#135901