|
@@ -63,7 +63,10 @@ namespace Jellyfin.Server.Migrations.Routines
|
|
|
var dataPath = _paths.DataPath;
|
|
|
using (var connection = new SqliteConnection($"Filename={Path.Combine(dataPath, DbFilename)}"))
|
|
|
{
|
|
|
+ connection.Open();
|
|
|
+
|
|
|
using var userDbConnection = new SqliteConnection($"Filename={Path.Combine(dataPath, "users.db")}");
|
|
|
+ userDbConnection.Open();
|
|
|
_logger.LogWarning("Migrating the activity database may take a while, do not stop Jellyfin.");
|
|
|
using var dbContext = _provider.CreateDbContext();
|
|
|
|