Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/87f591dfbd271f4805cf99d9d0defda21465bb24?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
34 additions and
0 deletions
@ -253,5 +253,22 @@ namespace NzbDrone.Core.Test.Download
VerifyNoFailedDownloads ( ) ;
VerifyNoFailedDownloads ( ) ;
}
}
[Test]
public void should_not_process_if_failed_due_to_lack_of_disk_space ( )
{
var history = Builder < History . History > . CreateListOfSize ( 1 )
. Build ( )
. ToList ( ) ;
GivenGrabbedHistory ( history ) ;
GivenFailedDownloadClientHistory ( ) ;
_failed . First ( ) . Message = "Unpacking failed, write error or disk is full?" ;
Subject . Execute ( new CheckForFailedDownloadCommand ( ) ) ;
VerifyNoFailedDownloads ( ) ;
}
}
}
}
}
@ -0,0 +1,16 @@
using FluentMigrator ;
using NzbDrone.Core.Datastore.Migration.Framework ;
namespace NzbDrone.Core.Datastore.Migration
{
[Migration(46)]
public class fix_nzb_su_url : NzbDroneMigrationBase
{
protected override void MainDbUpgrade ( )
{
Execute . Sql ( "UPDATE Indexers SET Settings = replace(Settings, '//nzb.su', '//api.nzb.su')" +
"WHERE Implementation = 'Newznab'" +
"AND Settings LIKE '%//nzb.su%'" ) ;
}
}
}
@ -191,6 +191,7 @@
<Compile Include= "Datastore\Migration\044_fix_xbmc_episode_metadata.cs" >
<Compile Include= "Datastore\Migration\044_fix_xbmc_episode_metadata.cs" >
<SubType > Code</SubType>
<SubType > Code</SubType>
</Compile>
</Compile>
<Compile Include= "Datastore\Migration\046_fix_nzb_su_url.cs" />
<Compile Include= "Datastore\Migration\Framework\MigrationContext.cs" />
<Compile Include= "Datastore\Migration\Framework\MigrationContext.cs" />
<Compile Include= "Datastore\Migration\Framework\MigrationController.cs" />
<Compile Include= "Datastore\Migration\Framework\MigrationController.cs" />
<Compile Include= "Datastore\Migration\Framework\MigrationExtension.cs" />
<Compile Include= "Datastore\Migration\Framework\MigrationExtension.cs" />