Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.
[How-To] Manually upgrade mono from 5.10 to 5.20 in a FreeNAS Jail

[How-To] Manually upgrade mono from 5.10 to 5.20 in a FreeNAS Jail

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

rknaub

Member
Joined
Jan 31, 2017
Messages
62
Thanks for the guide, followed it perfectly and didn't run into any issues that I could tell. However, after I restarted the jail it will no longer load the Lidarr page. It pings, but wont load. Deleted my lidarr jail and installed a fresh one, then followed this guide again with the same issue.

FreeNAS 11.3u1
 

zperetz

Member
Joined
Dec 2, 2017
Messages
34
Thanks for the guide, followed it perfectly and didn't run into any issues that I could tell. However, after I restarted the jail it will no longer load the Lidarr page. It pings, but won't load. Deleted my lidarr jail and installed a fresh one, then followed this guide again with the same issue.

FreeNAS 11.3u1
Try to do in lidarr (where mono will actually work) jail:
fetch https://curl.haxx.se/ca/cacert.pem -o /tmp
/usr/local/bin/cert-sync /tmp/cacert.pem

and restart the jail.
 

ARRRRGGGGHHH

Member
Joined
Mar 25, 2020
Messages
27
On a fresh jail fails when doing Hsot 11.3-u1 jail 11.3-p7

Code:
"/usr/ports/lang/mono # make -DBATCH install clean"


Gives following error.

Code:
root@SRT-New:/usr/ports/lang/mono # make -DBATCH install clean
===>  Installing for mono-5.20.1.34_3
===>  Checking if mono is already installed
===>   Registering installation for mono-5.20.1.34_3
pkg-static: Unable to access file /usr/ports/lang/mono/work/stageusr/local/%%HEAPVIZ%%bin/mono-heapviz:No such file or directory
*** Error code 74

Stop.
make: stopped in /usr/ports/lang/mono


Any ideas?
 

zperetz

Member
Joined
Dec 2, 2017
Messages
34
Code:
root@SRT-New:/usr/ports/lang/mono # make -DBATCH install clean
===>  Installing for mono-5.20.1.34_3
===>  Checking if mono is already installed
===>   Registering installation for mono-5.20.1.34_3
pkg-static: Unable to access file /usr/ports/lang/mono/work/stageusr/local/%%HEAPVIZ%%bin/mono-heapviz:No such file or directory
*** Error code 74
Somehow /usr/ports/lang/mono/work/stageusr/local/%%HEAPVIZ%%bin/mono-heapviz compiled as wrong path. I would recommend to find the file with wrong instruction and change it manually (edit to right path or delete)
 

bartdesign

Newbie
Joined
Mar 28, 2020
Messages
1
Somehow /usr/ports/lang/mono/work/stageusr/local/%%HEAPVIZ%%bin/mono-heapviz compiled as wrong path. I would recommend to find the file with wrong instruction and change it manually (edit to right path or delete)
There are two files i needed to change to fix this.
grep -r %%HEAPVIZ%% /usr/ports/lang/mono/*

To find them, remove the %%HEAPVIZ%% text and save and recompile.
 

roenlond

Newbie
Joined
Mar 28, 2020
Messages
1
There are two files i needed to change to fix this.
grep -r %%HEAPVIZ%% /usr/ports/lang/mono/*

To find them, remove the %%HEAPVIZ%% text and save and recompile.
Thanks a ton! That solved my issues. To be clear, you need to edit the found files in a text editor (nano for example) and remove the %%HEAPVIZ%% text, for me it was these two files:
/usr/ports/lang/mono/pkg-plist
/usr/ports/lang/mono/work/.PLIST.mktmp
 

dgcurtis

Newbie
Joined
Apr 2, 2020
Messages
2
I've been going around and around on this. I tried the 5.20 instructions multiple times but kept having issues so now I'm trying the 6.8 steps. The patch file has a lot of lines that begin with "%%PPC%%" and "%%NO_PPC%%". Are they supposed to be there? Are there any repositories that offer mono already compliled? Thanks
 

dgcurtis

Newbie
Joined
Apr 2, 2020
Messages
2
Thanks for that. I'm a linux guy and working in freebsd is a bit different.
 

zamana

Member
Joined
Jun 4, 2017
Messages
115
Message #75 has packages for update via pkg.
Hi!

Instead of trying to compile mono myself, I decided to use the package from the message #75.

I uninstalled the stock mono (5.10) and installed the 6.8.105 version to test in my Jackett jail.

After this Jackett was up and running, but it was unable to test all my Indexers. An example:

Code:
2020-04-26 13:12:34.7103 Error Jackett.Common.IndexerException: Exception (1337x): Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
at /usr/ports/lang/mono/work/mono-6.8.0.105/external/boringssl/ssl/handshake_client.c:1132 ---> System.Net.Http.HttpRequestException: The SSL connection could not be establi
at /usr/ports/lang/mono/work/mono-6.8.0.105/external/boringssl/ssl/handshake_client.c:1132
at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00048] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <a02834dd37054d85a3a
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threadi
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.Ca
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.Ca
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <28f499dad82444d1b9c9d01dc98b44d6
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancel
at System.Net.Http.DecompressionHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ca] in <28f499dad8
at CloudflareSolverRe.ClearanceHandler.SendRequestAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00090] in <f5c1
at CloudflareSolverRe.ClearanceHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000a4] in <f5c188d583e
at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.Cancella
at Jackett.Common.Utils.Clients.HttpWebClient.Run (Jackett.Common.Utils.Clients.WebRequest webRequest) [0x0048a] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Utils.Clients.WebClient.GetString (Jackett.Common.Utils.Clients.WebRequest request) [0x0010b] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseWebIndexer.RequestStringWithCookies (System.String url, System.String cookieOverride, System.String referer, System.Collections.Generic.Dictio
at Jackett.Common.Indexers.CardigannIndexer.PerformQuery (Jackett.Common.Models.TorznabQuery query) [0x0086f] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x00091] in <3cc60d4069ca4eb2a48188474494f73e>:0
--- End of inner exception stack trace ---
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x000ee] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseWebIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x0006b] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Services.IndexerManagerService.TestIndexer (System.String name) [0x000a3] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Server.Controllers.IndexerApiController.Test () [0x000e1] in <eaaeba9717bf4318a79c0123fd1e761a>:0
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute (Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Micros
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync () [0x00131] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync () [0x0009e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.C
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+S
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x001cb] in <6092a16d93814eba828b517a2b132f80>:0
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00384] in <427697fe42b7459ba5302fb76d339d3b>:0
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x0043e] in <f352e566abf6421e87eafbcf57a0b237>:0
at Jackett.Server.Middleware.CustomExceptionHandler.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x0008a] in <eaaeba9717bf4318a79c0123fd1e761a>:0  Jackett.Com
at /usr/ports/lang/mono/work/mono-6.8.0.105/external/boringssl/ssl/handshake_client.c:1132 ---> System.Net.Http.HttpRequestException: The SSL connection could not be establi
at /usr/ports/lang/mono/work/mono-6.8.0.105/external/boringssl/ssl/handshake_client.c:1132
at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00048] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <a02834dd37054d85a3a
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threadi
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.Ca
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.Ca
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <28f499dad82444d1b9c9d01dc98b44d6
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancel
at System.Net.Http.DecompressionHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ca] in <28f499dad8
at CloudflareSolverRe.ClearanceHandler.SendRequestAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00090] in <f5c1
at CloudflareSolverRe.ClearanceHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000a4] in <f5c188d583e
at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.Cancella
at Jackett.Common.Utils.Clients.HttpWebClient.Run (Jackett.Common.Utils.Clients.WebRequest webRequest) [0x0048a] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Utils.Clients.WebClient.GetString (Jackett.Common.Utils.Clients.WebRequest request) [0x0010b] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseWebIndexer.RequestStringWithCookies (System.String url, System.String cookieOverride, System.String referer, System.Collections.Generic.Dictio
at Jackett.Common.Indexers.CardigannIndexer.PerformQuery (Jackett.Common.Models.TorznabQuery query) [0x0086f] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x00091] in <3cc60d4069ca4eb2a48188474494f73e>:0
--- End of inner exception stack trace ---
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x000ee] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseWebIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x0006b] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Services.IndexerManagerService.TestIndexer (System.String name) [0x000a3] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Server.Controllers.IndexerApiController.Test () [0x000e1] in <eaaeba9717bf4318a79c0123fd1e761a>:0
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute (Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Micros
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync () [0x00131] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync () [0x0009e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.C
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+S
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x001cb] in <6092a16d93814eba828b517a2b132f80>:0
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00384] in <427697fe42b7459ba5302fb76d339d3b>:0
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x0043e] in <f352e566abf6421e87eafbcf57a0b237>:0
at Jackett.Server.Middleware.CustomExceptionHandler.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x0008a] in <eaaeba9717bf4318a79c0123fd1e761a>:0


Certainly something related whit SSL, but what? What package needs to be installed in this case?

Thanks.
Regards.
 

jasonsansone

Member
Joined
Jul 18, 2019
Messages
79
Hi!

Instead of trying to compile mono myself, I decided to use the package from the message #75.

I uninstalled the stock mono (5.10) and installed the 6.8.105 version to test in my Jackett jail.

After this Jackett was up and running, but it was unable to test all my Indexers. An example:

Code:
2020-04-26 13:12:34.7103 Error Jackett.Common.IndexerException: Exception (1337x): Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
at /usr/ports/lang/mono/work/mono-6.8.0.105/external/boringssl/ssl/handshake_client.c:1132 ---> System.Net.Http.HttpRequestException: The SSL connection could not be establi
at /usr/ports/lang/mono/work/mono-6.8.0.105/external/boringssl/ssl/handshake_client.c:1132
at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00048] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <a02834dd37054d85a3a
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threadi
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.Ca
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.Ca
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <28f499dad82444d1b9c9d01dc98b44d6
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancel
at System.Net.Http.DecompressionHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ca] in <28f499dad8
at CloudflareSolverRe.ClearanceHandler.SendRequestAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00090] in <f5c1
at CloudflareSolverRe.ClearanceHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000a4] in <f5c188d583e
at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.Cancella
at Jackett.Common.Utils.Clients.HttpWebClient.Run (Jackett.Common.Utils.Clients.WebRequest webRequest) [0x0048a] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Utils.Clients.WebClient.GetString (Jackett.Common.Utils.Clients.WebRequest request) [0x0010b] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseWebIndexer.RequestStringWithCookies (System.String url, System.String cookieOverride, System.String referer, System.Collections.Generic.Dictio
at Jackett.Common.Indexers.CardigannIndexer.PerformQuery (Jackett.Common.Models.TorznabQuery query) [0x0086f] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x00091] in <3cc60d4069ca4eb2a48188474494f73e>:0
--- End of inner exception stack trace ---
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x000ee] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseWebIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x0006b] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Services.IndexerManagerService.TestIndexer (System.String name) [0x000a3] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Server.Controllers.IndexerApiController.Test () [0x000e1] in <eaaeba9717bf4318a79c0123fd1e761a>:0
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute (Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Micros
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync () [0x00131] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync () [0x0009e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.C
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+S
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x001cb] in <6092a16d93814eba828b517a2b132f80>:0
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00384] in <427697fe42b7459ba5302fb76d339d3b>:0
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x0043e] in <f352e566abf6421e87eafbcf57a0b237>:0
at Jackett.Server.Middleware.CustomExceptionHandler.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x0008a] in <eaaeba9717bf4318a79c0123fd1e761a>:0  Jackett.Com
at /usr/ports/lang/mono/work/mono-6.8.0.105/external/boringssl/ssl/handshake_client.c:1132 ---> System.Net.Http.HttpRequestException: The SSL connection could not be establi
at /usr/ports/lang/mono/work/mono-6.8.0.105/external/boringssl/ssl/handshake_client.c:1132
at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00048] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <a02834dd37054d85a3a
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <a02834dd37054d85a3a6cea43dcb4dcb>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threadi
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.Ca
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore (System.IO.Stream stream, System.Net.Security.SslClientAuthenticationOptions sslOptions, System.Threading.Ca
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00322] in <
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in <28f499dad82444d1b9c9d01dc98b44d6
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancel
at System.Net.Http.DecompressionHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ca] in <28f499dad8
at CloudflareSolverRe.ClearanceHandler.SendRequestAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00090] in <f5c1
at CloudflareSolverRe.ClearanceHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000a4] in <f5c188d583e
at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.Cancella
at Jackett.Common.Utils.Clients.HttpWebClient.Run (Jackett.Common.Utils.Clients.WebRequest webRequest) [0x0048a] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Utils.Clients.WebClient.GetString (Jackett.Common.Utils.Clients.WebRequest request) [0x0010b] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseWebIndexer.RequestStringWithCookies (System.String url, System.String cookieOverride, System.String referer, System.Collections.Generic.Dictio
at Jackett.Common.Indexers.CardigannIndexer.PerformQuery (Jackett.Common.Models.TorznabQuery query) [0x0086f] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x00091] in <3cc60d4069ca4eb2a48188474494f73e>:0
--- End of inner exception stack trace ---
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x000ee] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Indexers.BaseWebIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x0006b] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Common.Services.IndexerManagerService.TestIndexer (System.String name) [0x000a3] in <3cc60d4069ca4eb2a48188474494f73e>:0
at Jackett.Server.Controllers.IndexerApiController.Test () [0x000e1] in <eaaeba9717bf4318a79c0123fd1e761a>:0
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute (Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Micros
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync () [0x00131] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync () [0x0009e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.C
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+S
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x001cb] in <6092a16d93814eba828b517a2b132f80>:0
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00384] in <427697fe42b7459ba5302fb76d339d3b>:0
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x0043e] in <f352e566abf6421e87eafbcf57a0b237>:0
at Jackett.Server.Middleware.CustomExceptionHandler.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x0008a] in <eaaeba9717bf4318a79c0123fd1e761a>:0


Certainly something related whit SSL, but what? What package needs to be installed in this case?

Thanks.
Regards.
Is Jackett the most recent build? I have Jackett running on the same indexers without issue.
 

zamana

Member
Joined
Jun 4, 2017
Messages
115
Is Jackett the most recent build? I have Jackett running on the same indexers without issue.
Yes. Version 0.16.137.0.

Jackett is running fine. The individual indexers' test that it's failling...

Have you tried?
 

jasonsansone

Member
Joined
Jul 18, 2019
Messages
79
Yes. Version 0.16.137.0.

Jackett is running fine. The individual indexers' test that it's failling...

Have you tried?
Yes. Just tested. 1337x works fine. That site has multiple urls... which are you using? Can you browse to it from a web browser? The SSL error seems to indicate the site's SSL certificate has expired or been revoked.
 

zamana

Member
Joined
Jun 4, 2017
Messages
115
Well... it turns out that you are right.

I upgraded again to mono version 6.8.0.105 and Jackett is running fine, along with all the indexers. Seems it was a circunstancial error that I considered more general.

Thanks for making me test again.
Regards.
 

minituff

Neophyte
Joined
Feb 13, 2020
Messages
10
I am currently trying to run the following but I keep getting an error after about an hour:


echo '{"pkgs":["ca_root_nss","llvm80","libepoxy-1.5.2"]}' > /tmp/pkg.json
iocage create -n mono_patch -p /tmp/pkg.json -r 11.3-RELEASE dhcp="on" vnet="on" bpf="yes" boot="on"
rm /tmp/pkg.json
iocage exec mono_patch "fetch 'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211960' -o /tmp/mono-patch-6.8.0.105"
iocage exec mono_patch "mkdir -p /usr/local/etc/pkg/repos"
iocage exec mono_patch "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"
iocage exec mono_patch "pkg update"
iocage exec mono_patch "pkg upgrade -y"
iocage exec mono_patch "portsnap fetch extract"
iocage exec mono_patch "echo -e 'cd /usr/ports/lang' > /tmp/mono_patch.sh"
iocage exec mono_patch "echo -e 'cp -R mono mono68105' >> /tmp/mono_patch.sh"
iocage exec mono_patch "echo -e 'patch -E < /tmp/mono-patch-6.8.0.105' >> /tmp/mono_patch.sh"
iocage exec mono_patch "echo -e 'cd /usr/ports/lang/mono' >> /tmp/mono_patch.sh"
iocage exec mono_patch "echo -e 'make -DBATCH install' >> /tmp/mono_patch.sh"
iocage exec mono_patch "echo -e 'make -DBATCH package' >> /tmp/mono_patch.sh"
iocage exec mono_patch "echo -e 'mv /usr/ports/lang/mono/work/pkg/mono-6.8.0.105.txz /' >> /tmp/mono_patch.sh"
iocage exec mono_patch "sh /tmp/mono_patch.sh"



Code:
root@mono-patch:/usr/ports/lang # mv /usr/ports/lang/mono/work/pkg/mono-6.8.0.105.txz /
mv: rename /usr/ports/lang/mono/work/pkg/mono-6.8.0.105.txz to /mono-6.8.0.105.txz: No such file or directory
root@mono-patch:/usr/ports/lang #


None of the guides posted here seem to be working, have they gone outdated in the past few months?
 

minituff

Neophyte
Joined
Feb 13, 2020
Messages
10
I actually ended up figuring it out thanks to comment #75 by jasonsansone. The install ran perfectly.

---- How I did it ----
  1. Follow the link (comment #75 by jasonsansone) go to the link and download mono-6.8.0.105.txz
    1. https://www.ixsystems.com/community...20-in-a-freenas-jail.78871/page-4#post-573573
  2. Move the file into your Sonarr jail
    1. I used FileZilla to transfer tile to /tmp/mono-6.8.0.105.txz in my Jail
  3. Install the package (from inside the jail)
    1. pkg install /tmp/mono-6.8.0.105.txz


I was trying to figure all this out to upgrade Sonarr to V3 on my Freenas machine. I created a guide in my reddit post if anyone is interested:
 

minituff

Neophyte
Joined
Feb 13, 2020
Messages
10
What shell was used for compilation?
I tried running the commands 1 by 1 in SSH (using the default shell). I also tried saving commands into a mono_patch.run file and I ran it using the bash mono_path.run command.

The commands were executing with both methods. I didn't realize the shell would make a big difference as long as the command was going through. If it makes a difference then I'll be learning something new today.
 
Top