mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #2765] "ValueError: could not convert string to float: 'or start new chat, or edit the System Prompt, like " | Migration failed: 010_migrate_modelfiles_to_models #51675
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 @ThatCoffeeGuy on GitHub (Jun 3, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/2765
Bug Report
Description
Bug Summary:
After updating to a newer version, open-webui stopped working when it tried to migrate something that failed. Restarting the container not helping at all, it's just spamming the error and crashing.
Steps to Reproduce:
Download certain models / profiles it doesn't like and let it try migrating them by an update.
Expected Behavior:
It should work.
Actual Behavior:
It is failing and instead of skipping, crashes entirely.
Environment
Open WebUI Version: 0.2.2.
Ollama (if applicable): [e.g., 0.1.30, 0.1.32-rc1]
Operating System:Ubuntu 22.04
Reproduction Details
Confirmation:
Docker Container Logs:
Installation Method
@tjbck commented on GitHub (Jun 3, 2024):
I'll modify the code to skip the modelfiles that cause errors so you won't have issues with the migration, but basically you had an invalid modelfile.
@tjbck commented on GitHub (Jun 3, 2024):
Should be fixed, let me know if the issue persists!
@ThatCoffeeGuy commented on GitHub (Jun 7, 2024):
Thank you, I pulled and it seems to have fixed the issue, I am able to run and access my history. Thanks!