Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/0a8bec1af44665509510022c491b6ee9b8179fe1
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
12 deletions
@ -98,16 +98,8 @@ namespace Emby.Server.Implementations.Data
/// <value>The write connection.</value>
protected SQLiteDatabaseConnection WriteConnection { get ; set ; }
protected SQLiteDatabaseConnection ReadConnection { get ; set ; }
protected ManagedConnection GetConnection ( bool readOnly = false )
{
if ( readOnly )
{
ReadConnection ? ? = SQLite3 . Open ( DbFilePath , ConnectionFlags . ReadOnly , null ) ;
return new ManagedConnection ( ReadConnection , null ) ;
}
WriteLock . Wait ( ) ;
if ( WriteConnection ! = null )
{
@ -9,13 +9,13 @@ namespace Emby.Server.Implementations.Data
{
public sealed class ManagedConnection : IDisposable
{
private readonly SemaphoreSlim ? _writeLock ;
private readonly SemaphoreSlim _writeLock ;
private SQLiteDatabaseConnection ? _db ;
private bool _disposed ;
private bool _disposed = false ;
public ManagedConnection ( SQLiteDatabaseConnection db , SemaphoreSlim ? writeLock )
public ManagedConnection ( SQLiteDatabaseConnection db , SemaphoreSlim writeLock )
{
_db = db ;
_writeLock = writeLock ;
@ -73,7 +73,7 @@ namespace Emby.Server.Implementations.Data
return ;
}
_writeLock ? .Release ( ) ;
_writeLock .Release ( ) ;
_db = null ; // Don't dispose it
_disposed = true ;