Jellyfin Forum
SOLVED: migration from one box to another - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: migration from one box to another (/t-solved-migration-from-one-box-to-another)



migration from one box to another - Jespor - 2024-10-13

so i've tried to migrate from my old server to a new one ive built.
my setup is a docker setup, where ive copied over the mountet directories with rsync and verified with the checksum flag that the files should be exactly the same.
the thing is, that my jellyfin container is the only one out of 20 where this procedure didnt work, and i have no idea why.
On my old server the container can still start and run, but my new one onky says it's started but i can reach it.

i've attached the output from the container. I think the trouble line is this:
Quote:Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.

i might be wrong though, and even if i'm right i've no idea how to fix it.

hope someone can help me


RE: migration from one box to another - TheDreadPirate - 2024-10-13

Did you stop the container on the original host before making a copy?


RE: migration from one box to another - Jespor - 2024-10-14

im prette sure i did it while the original container was off.
Just to make sure, i did a redownload while making sure it was down, and i still get the same error


RE: migration from one box to another - Jespor - 2024-10-14

okay, you where most likely right. when i did the redownload i thought maybe the first time it was downloaded while startet, and then when i updated it i made an error. So i checked the data directory and noticed another data. I redownloaded the data directory in the correct way, and that seemed to solve it.