Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/f4f91a8316f46ea91dca6447bcff495b7c0f0b40
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
7 additions and
6 deletions
@ -68,6 +68,7 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks.Tasks
public async Task Execute ( CancellationToken cancellationToken , IProgress < double > progress )
{
if ( ! _appHost . CanSelfUpdate ) return ;
if ( ! ConfigurationManager . CommonConfiguration . EnableAutoUpdate ) return ;
EventHandler < double > innerProgressHandler = ( sender , e ) = > progress . Report ( e * . 1 ) ;
@ -311,11 +311,11 @@ namespace MediaBrowser.Common.Implementations.Updates
/// <summary>
/// Gets the available plugin updates.
/// </summary>
/// <param name=" currentServer Version">The current server version.</param>
/// <param name=" application Version">The current server version.</param>
/// <param name="withAutoUpdateEnabled">if set to <c>true</c> [with auto update enabled].</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{IEnumerable{PackageVersionInfo}}.</returns>
public async Task < IEnumerable < PackageVersionInfo > > GetAvailablePluginUpdates ( Version currentServer Version, bool withAutoUpdateEnabled , CancellationToken cancellationToken )
public async Task < IEnumerable < PackageVersionInfo > > GetAvailablePluginUpdates ( Version application Version, bool withAutoUpdateEnabled , CancellationToken cancellationToken )
{
var catalog = await GetAvailablePackagesWithoutRegistrationInfo ( cancellationToken ) . ConfigureAwait ( false ) ;
@ -331,7 +331,7 @@ namespace MediaBrowser.Common.Implementations.Updates
// Figure out what needs to be installed
var packages = plugins . Select ( p = >
{
var latestPluginInfo = GetLatestCompatibleVersion ( catalog , p . Name , currentServer Version, p . Configuration . UpdateClass ) ;
var latestPluginInfo = GetLatestCompatibleVersion ( catalog , p . Name , application Version, p . Configuration . UpdateClass ) ;
return latestPluginInfo ! = null & & latestPluginInfo . version ! = null & & latestPluginInfo . version > p . Version ? latestPluginInfo : null ;
@ -90,11 +90,11 @@ namespace MediaBrowser.Common.Updates
/// <summary>
/// Gets the available plugin updates.
/// </summary>
/// <param name=" currentServer Version">The current server version.</param>
/// <param name=" application Version">The current server version.</param>
/// <param name="withAutoUpdateEnabled">if set to <c>true</c> [with auto update enabled].</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{IEnumerable{PackageVersionInfo}}.</returns>
Task < IEnumerable < PackageVersionInfo > > GetAvailablePluginUpdates ( Version currentServer Version, bool withAutoUpdateEnabled , CancellationToken cancellationToken ) ;
Task < IEnumerable < PackageVersionInfo > > GetAvailablePluginUpdates ( Version application Version, bool withAutoUpdateEnabled , CancellationToken cancellationToken ) ;
/// <summary>
/// Installs the package.
@ -511,7 +511,7 @@ namespace MediaBrowser.ServerApplication
#if DEBUG
return false ;
# endif
return ConfigurationManager . CommonConfiguration . EnableAutoUpdat e;
return tru e;
}
}