SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.02k stars 1.23k forks source link

Sonarr "Object Reference Not Set To An Instance Of An Object" after clean install on DSM 7.0.1 #4974

Closed phillro closed 1 year ago

phillro commented 2 years ago

For new Package Requests, see the guidelines

Setup

Package Name: Sonarr Package Version: 20210329-19

NAS Model: DS418 NAS Architecture: Realtek RTD DSM version: 7.0.1-42218

Expected behavior

Sonarr web ui should load

Actual behavior

Sonarr web ui loads an error message: "Object Reference Not Set To An Instance of An Object"

Steps to reproduce

Upgrade to DSM 7.0.1 Add Syno Community Package Repo Install Sonar Load Sonarr Web UI

Package log

[v3.0.5.1144] System.NullReferenceException: Object reference not set to an instance of an object at Nancy.Responses.Negotiation.DefaultResponseNegotiator+d10.MoveNext () [0x000da] in :0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00015] in :0 at Nancy.Responses.Negotiation.DefaultResponseNegotiator+d8.MoveNext () [0x00131] in :0 at System.Collections.Generic.LargeArrayBuilder1[T].AddRange (System.Collections.Generic.IEnumerable1[T] items) [0x0003d] in :0 at System.Collections.Generic.EnumerableHelpers.ToArray[T] (System.Collections.Generic.IEnumerable1[T] source) [0x00033] in <b6496d2162cd48e1bb4e6753184b3d82>:0 at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00018] in :0 at Nancy.Responses.Negotiation.DefaultResponseNegotiator.NegotiateResponse (System.Object routeResult, Nancy.NancyContext context) [0x00202] in :0 at Nancy.Routing.DefaultRouteInvoker.Invoke (Nancy.Routing.Route route, System.Threading.CancellationToken cancellationToken, Nancy.DynamicDictionary parameters, Nancy.NancyContext context) [0x0011a] in :0 at Nancy.Routing.DefaultRequestDispatcher.Dispatch (Nancy.NancyContext context, System.Threading.CancellationToken cancellationToken) [0x002b7] in :0 at Nancy.NancyEngine.InvokeRequestLifeCycle (Nancy.NancyContext context, System.Threading.CancellationToken cancellationToken, Nancy.Bootstrapper.IPipelines pipelines) [0x0011d] in :0

Other logs

E.g. /var/log/messages or /var/log/synopkg.log

Insert log here
publicarray commented 2 years ago

I'm not sure but would this workaround apply? https://github.com/SynoCommunity/spksrc/wiki/Radarr-Sonarr-Lidarr-Jackett#rtd1296-armv8-devices-and-mono

bakerboy448 commented 2 years ago

[v3.0.5.1144]

you're out of date and need to update - if the synocommunity is providing an out of date version then that is their problem

they should be providing an update_required file with the install so sonarr automatically updates on first boot if they won't update and maintain the package itself.

Just the error message and no context is just about never helpful

bakerboy448 commented 1 year ago

@publicarray close since OP never provided info?