aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-10-20 09:43:40 +0000
committerJPVenson <github@jpb.email>2024-10-20 09:43:40 +0000
commitcd2e04347263441d86e184ae2821434b8e46437a (patch)
tree632b94d7c15fe9902a469ee05706d2290ec4ef46
parente20ecfc670c9ef8977b0795c85e35ce165fee46e (diff)
Readded old library move in migration
-rw-r--r--Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
index c88a609b6..824c72e55 100644
--- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
+++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
@@ -247,9 +247,9 @@ public class MigrateLibraryDb : IMigrationRoutine
_logger.LogInformation("Saving AncestorIds took {0}.", stepElapsed);
connection.Close();
- // _logger.LogInformation("Migration of the Library.db done.");
- // _logger.LogInformation("Move {0} to {1}.", libraryDbPath, libraryDbPath + ".old");
- // File.Move(libraryDbPath, libraryDbPath + ".old");
+ _logger.LogInformation("Migration of the Library.db done.");
+ _logger.LogInformation("Move {0} to {1}.", libraryDbPath, libraryDbPath + ".old");
+ File.Move(libraryDbPath, libraryDbPath + ".old");
_logger.LogInformation("Migrating Library db took {0}.", stopwatch.Elapsed);