Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/9343e73b26d51ecbf65f809607ef49b1cdb646da?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
8 changed files with
24 additions and
2 deletions
@ -17,6 +17,11 @@ namespace Jellyfin.Server.Migrations
/// </summary>
public string Name { get ; }
/// <summary>
/// Gets a value indicating whether to perform migration on a new install.
/// </summary>
public bool PerformOnNewInstall { get ; }
/// <summary>
/// Execute the migration routine.
/// </summary>
@ -43,9 +43,8 @@ namespace Jellyfin.Server.Migrations
// If startup wizard is not finished, this is a fresh install.
// Don't run any migrations, just mark all of them as applied.
logger . LogInformation ( "Marking all known migrations as applied because this is a fresh install" ) ;
migrationOptions . Applied . AddRange ( migrations . Select( m = > ( m . Id , m . Name ) ) ) ;
migrationOptions . Applied . AddRange ( migrations . Where( m = > ! m . PerformOnNewInstall ) . Select( m = > ( m . Id , m . Name ) ) ) ;
host . ServerConfigurationManager . SaveConfiguration ( MigrationsListStore . StoreKey , migrationOptions ) ;
return ;
}
var appliedMigrationIds = migrationOptions . Applied . Select ( m = > m . Id ) . ToHashSet ( ) ;
@ -32,6 +32,9 @@ namespace Jellyfin.Server.Migrations.Routines
/// <inheritdoc/>
public string Name = > "AddDefaultPluginRepository" ;
/// <inheritdoc/>
public bool PerformOnNewInstall = > true ;
/// <inheritdoc/>
public void Perform ( )
{
@ -48,6 +48,9 @@ namespace Jellyfin.Server.Migrations.Routines
/// <inheritdoc/>
public string Name = > "CreateLoggingConfigHeirarchy" ;
/// <inheritdoc/>
public bool PerformOnNewInstall = > false ;
/// <inheritdoc/>
public void Perform ( )
{
@ -25,6 +25,9 @@ namespace Jellyfin.Server.Migrations.Routines
/// <inheritdoc/>
public string Name = > "DisableTranscodingThrottling" ;
/// <inheritdoc/>
public bool PerformOnNewInstall = > false ;
/// <inheritdoc/>
public void Perform ( )
{
@ -41,6 +41,9 @@ namespace Jellyfin.Server.Migrations.Routines
/// <inheritdoc/>
public string Name = > "MigrateActivityLogDatabase" ;
/// <inheritdoc/>
public bool PerformOnNewInstall = > false ;
/// <inheritdoc/>
public void Perform ( )
{
@ -54,6 +54,9 @@ namespace Jellyfin.Server.Migrations.Routines
/// <inheritdoc/>
public string Name = > "MigrateUserDatabase" ;
/// <inheritdoc/>
public bool PerformOnNewInstall = > false ;
/// <inheritdoc/>
public void Perform ( )
{
@ -29,6 +29,9 @@ namespace Jellyfin.Server.Migrations.Routines
/// <inheritdoc/>
public string Name = > "RemoveDuplicateExtras" ;
/// <inheritdoc/>
public bool PerformOnNewInstall = > false ;
/// <inheritdoc/>
public void Perform ( )
{