![]() |
SOLVED: can't start jellyfin after disk full - 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: can't start jellyfin after disk full (/t-solved-can-t-start-jellyfin-after-disk-full) |
can't start jellyfin after disk full - kro - 2024-06-20 Hello, I ran into a very similar issue as this one : https://forum.jellyfin.org/t-failed-to-start-jellyfin-service-jellyfin-media-server Same thing - disk full, empty config/migrations.xml file, I deleted it manually and now this error : Code: jellyfin | [19:34:21] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'MigrateActivityLogDatabase' The only difference is I am running docker. I feel dumb because I was not automating backups at this moment, my last backup is 3 months old and there has been quite some changes since then... I also have a 3 months old backup of this file migrations.xml then, should I try to restore it ? Or maybe try to restore an ActivityLog table with empty fileds ? Thanks a lot for any help ! RE: can't start jellyfin after disk full - TheDreadPirate - 2024-06-20 Try simply deleting migrations.xml and restarting jellyfin. RE: can't start jellyfin after disk full - kro - 2024-06-20 This is what I have done already, sorry if I was not clear. Then I run into this error message I posted above. RE: can't start jellyfin after disk full - TheDreadPirate - 2024-06-20 My bad. Missed that part. In migrations.xml, look for this block and delete it since this is the database migration it is failing on. Then try starting up Jellyfin. Code: <ValueTupleOfGuidString> RE: can't start jellyfin after disk full - kro - 2024-06-20 Thanks for your help ! This is the content of the actual migration.xml after recreation. There is nothing related to ActivityLog : Code: <?xml version="1.0" encoding="utf-8"?> RE: can't start jellyfin after disk full - kro - 2024-06-20 I've just checked the data directory and users.db and activitylog.db are both empty / 0 bytes ![]() I guess trying to wildly restore this files from a 3 months old backup would not be the greatest idea ? I don't think the jellyfin docker image is dumping or backing up the db automatically or anything ? maybe I could dump this tables from the backup and import them to the current database ? RE: can't start jellyfin after disk full - kro - 2024-06-20 It looks a bit complicated though... this would be the Dockerfile : https://hub.docker.com/layers/jellyfin/jellyfin/latest/images/sha256-15579ab64a14f9e3dce043c076df148e9de9631f11c9b3f614f1fbad868db701?context=explore (I use jellyfin/jellyfin without tags) I could use a database engine, is it mariaDB or MySQL or Postgre ? How could I get the appropriate version ? RE: can't start jellyfin after disk full - kro - 2024-06-20 The weird thing is my backup doesn't contain these files and the files it contains seem to be pretty old : Code: kro@monopoutre /media/kro/advance/backups/micropoutre/srv/jellyfin/data/data ll This does really look bad however ! Maybe I should just remove the users.db and activitylog.db files since they are not existing in my backup and they are empty anyway... I don't get it ! RE: can't start jellyfin after disk full - TheDreadPirate - 2024-06-20 If you look in the jellyfin log it is likely complaining about another migration failing. Probably different from before. Rinse and repeat until we work through what remains in migrations.xml? RE: can't start jellyfin after disk full - kro - 2024-06-20 update : no still the same error no such table: ActivityLog (2024-06-20, 09:08 PM)TheDreadPirate Wrote: Rinse and repeat until we work through what remains in migrations.xml?do you mean I should remove migrations.xml and re-run jellyfin many times ? or just remove some parts ? (which ones) |