r/OpenWebUI • • 4d ago

Question/Help db migration post 0.13.1 help

Hi, I just upgraded from 0.12.x to newest version, didn't know there was db schema change.
can somebody help me out what to change? can I just have a new db generated and copy over alembic version or?

sorry if there is docs or guide on it already

edit: reverted to 0.12.5 for test and it still didn't load. might have borked it. please help!

4 Upvotes

5 comments sorted by

2

u/International_Emu772 4d ago edited 4d ago

The conversion is automatic so you don't need to convert nothing, the 13.xx installation goes with the conversion

This is the reason that the upgrade it's not without intervention

Make a backup first

2

u/T_rex2700 4d ago

yea if I didn't have issue I would not be posting here.
it's complaining
"Cant find version identified by <version number>"

I check site package/owui/migration/versions and sure enough, no file in there has string with that version name.

also I ran into issue getting mcp to run on this version.
owui wants mcp==2.3.0 but mcpo wants mcp1.7.0
I can get around it by using launch arg but not sure how to fix that one.

1

u/DataHogWrangler 3d ago

I had an upgrade go for like 9hrs, and needed a stupid amount of ram

1

u/Lonely_Noyaaa 3d ago

the missing version error usually means the upgrade died halfway through, restoring from a backup is the safest path at this point

1

u/T_rex2700 3d ago

I had my qwen boi diagnose the issue and I think fixed it. the newer version seem to have some issue surrounding temp folders though. had to make more manual tweaks and edits to config and launch arg to get it to work...

wonder what;s up. also mcp / mcpo conflict is still there too