After the latest update I get the following error when trying to access the site. After removing the urlbase, it is available again.
{
“message”: “Unable to find file: C:\ProgramData\NzbDrone\bin\UI\nzbdrone\Content\bootstrap.css”,
“description”: “System.IO.FileNotFoundException: Unable to find file: C:\ProgramData\NzbDrone\bin\UI\nzbdrone\Content\bootstrap.css\r\nFile name: ‘C:\ProgramData\NzbDrone\bin\UI\nzbdrone\Content\bootstrap.css’\r\n at NzbDrone.Common.Disk.DiskProviderBase.StreamFile(String path) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Common\Disk\DiskProviderBase.cs:line 451\r\n at NzbDrone.Common.Crypto.HashProvider.ComputeMd5(String path) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Common\Crypto\HashProvider.cs:line 24\r\n at NzbDrone.Api.Frontend.Mappers.CacheBreakerProvider.AddCacheBreakerToPath(String resourceUrl) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Api\Frontend\Mappers\CacheBreakerProvider.cs:line 33\r\n at NzbDrone.Api.Frontend.Mappers.IndexHtmlMapper.<>c__DisplayClass1.b__0(Match match) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Api\Frontend\Mappers\IndexHtmlMapper.cs:line 81\r\n at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)\r\n at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat)\r\n at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)\r\n at NzbDrone.Api.Frontend.Mappers.IndexHtmlMapper.GetIndexText() in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Api\Frontend\Mappers\IndexHtmlMapper.cs:line 81\r\n at NzbDrone.Api.Frontend.Mappers.IndexHtmlMapper.GetContentStream(String filePath) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Api\Frontend\Mappers\IndexHtmlMapper.cs:line 60\r\n at NzbDrone.Api.Frontend.Mappers.StaticResourceMapperBase.<>c__DisplayClass2.b__0() in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Api\Frontend\Mappers\StaticResourceMapperBase.cs:line 40\r\n at Nancy.Responses.StreamResponse.<>c__DisplayClass1.b__0(Stream stream)\r\n at NzbDrone.Api.Extensions.Pipelines.GzipCompressionPipeline.CompressResponse(Request request, Response response) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Api\Extensions\Pipelines\GZipPipeline.cs:line 64\r\n at NzbDrone.Api.Extensions.Pipelines.GzipCompressionPipeline.b__0(NancyContext c) in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Api\Extensions\Pipelines\GZipPipeline.cs:line 22\r\n at Nancy.AfterPipeline.<>c__DisplayClass4.b__3(NancyContext ctx, CancellationToken ct)”
}
1909 is working fine for me. I removed the urlbase, updated and made sure it worked than added it back. Not sure if it had to be started without it in place first.
UPdated, and I get this. It appears to be a permissions issue for Ubuntu. Any idea what permissions would have changed?
{
“message”: “Access to the path “/opt/NzbDrone/UI/Content/bootstrap.css” is denied.”,
“description”: "System.UnauthorizedAccessException: Access to the path “/opt/NzbDrone/UI/Content/bootstrap.css” is denied.\n at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0 \n at System.IO.FileStream…ctor (System.String path, FileMode mode) [0x00000] in :0 \n at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode)\n at NzbDrone.Common.Disk.DiskProviderBase.StreamFile (System.String path) [0x00000] in :0 \n at NzbDrone.Common.Crypto.HashProvider.ComputeMd5 (System.String path) [0x00000] in :0 \n at NzbDrone.Api.Frontend.Mappers.CacheBreakerProvider.AddCacheBreakerToPath (System.String resourceUrl) [0x00000] in :0 \n at NzbDrone.Api.Frontend.Mappers.IndexHtmlMapper+<>c__DisplayClass1.b__0 (System.Text.RegularExpressions.Match match) [0x00000] in :0 \n at System.Text.RegularExpressions.Regex+Adapter.Evaluate (System.Text.RegularExpressions.Match m, System.Text.StringBuilder sb) [0x00000] in :0 \n at System.Text.RegularExpressions.BaseMachine.LTRReplace (System.Text.RegularExpressions.Regex regex, System.String input, System.Text.RegularExpressions.MatchAppendEvaluator evaluator, Int32 count, Int32 startat, Boolean needs_groups_or_captures) [0x00000] in :0 \n at System.Text.RegularExpressions.BaseMachine.LTRReplace (System.Text.RegularExpressions.Regex regex, System.String input, System.Text.RegularExpressions.MatchAppendEvaluator evaluator, Int32 count, Int32 startat) [0x00000] in :0 \n at System.Text.RegularExpressions.Regex.Replace (System.String input, System.Text.RegularExpressions.MatchEvaluator evaluator, Int32 count, Int32 startat) [0x00000] in :0 \n at System.Text.RegularExpressions.Regex.Replace (System.String input, System.Text.RegularExpressions.MatchEvaluator evaluator) [0x00000] in :0 \n at NzbDrone.Api.Frontend.Mappers.IndexHtmlMapper.GetIndexText () [0x00000] in :0 \n at NzbDrone.Api.Frontend.Mappers.IndexHtmlMapper.GetContentStream (System.String filePath) [0x00000] in :0 \n at NzbDrone.Api.Frontend.Mappers.StaticResourceMapperBase+<>c__DisplayClass2.b__0 () [0x00000] in :0 \n at Nancy.Responses.StreamResponse+<>c__DisplayClass1.b__0 (System.IO.Stream stream) [0x00000] in :0 \n at NzbDrone.Api.Extensions.Pipelines.GzipCompressionPipeline.CompressResponse (Nancy.Request request, Nancy.Response response) [0x00000] in :0 "
}
Just looked at the log @tymanthius posted a day ago and instantly knew what it was. I’ll fix it when I get home, it’s ridiculously simple. However it’s a different issue than the OP, fyi.