mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
fix: pip install database save issue
This commit is contained in:
@@ -221,6 +221,9 @@ if FROM_INIT_PY:
|
||||
else:
|
||||
shutil.copy2(item, dest)
|
||||
|
||||
# And rename the old directory to _open_webui/data
|
||||
DATA_DIR.rename(DATA_DIR.parent / "_open_webui" / "data")
|
||||
|
||||
DATA_DIR = Path(os.getenv("DATA_DIR", OPEN_WEBUI_DIR / "data"))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user