-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sonarr v3 + Mono SSL Issues #5798
Comments
Please find attached the log; |
@sthewissen the arch of DSM211 is not x86_64. It is 88f6281 (i.e. ARMv5). I suppose that mono is not supported on this old device. |
Based on the mono log, it seems that the certificates were imported successfully under version 5.8.0.108-11. @hgy59 perhaps using an older mono may work? EDIT: @sthewissen, when you were running mono v5.8.0.108 on 2023/06/29 19:46:23, did Sonarr v3 work correctly? If so you can manually downgrade to this version as a workaround. EDIT: There may have been some previous workarounds noted in mono/mono#12537 with ARMv5 (for v5.10.1.38 and newer based on the releases). @hgy59 are these incorporated already for 88f6281? (it may be there as this came up in #3803 (comment)) |
What you're essentially seeing is me trying to install all the 3 available Mono packages for my machine and seeing if Sonarr works with them @mreid-tt
|
Okay, thanks for the clarification. Can we see the sonarr.log as well to better understand why it wasn't booting? EDIT: Can confirm from the mono install log you supplied that the postinstall script didn't complete for 5.20.1.34-19 and 6.12.0.182-20 as both reported crashes on population of the certificate store. |
Assuming it's the one attached here |
From what I can see regarding the mono 5.8.0.108-11 and Sonarr v3 combination, you completed the install of mono 5.8.0.108-11 on 2023/06/29 19:46:50 and sonarr v3 on 2023/06/29 19:53:53 with another startup attempt on 2023/06/29 19:57:47. What I'd really like to see is the service log for Sonarr (and mono) during that time. Service logs are typically stored in |
Here we go service.nzbdrone.log |
Thanks for that. Unfortunately, the log only goes as far back as Jun 30 12:03:02 CEST 2023. In this log it shows mono-6.12.0.182. Ideally you would need to go back to mono 5.8.0.108-11 and get a new log for me to look at. As an alternative (rather than going backward), if you are comfortable with terminal we can try moving forward. In looking at the current code, @hgy59 already has included a workaround for ARM v5: spksrc/spk/sonarr3/src/service-setup.sh Lines 18 to 21 in 333736b
As you can see, there are already the
You can change it to:
Start Sonarr v3 and see if anything changes. If it does not, you can change the same line to the following and try again:
EDIT: Now that I think on this some more I realise that even if this does work, the certificate store in mono may not be populated. @hgy59 is there a way to use environment variables with |
Here's what I did;
Result: SSL issue below
Result: SSL issue below
I'm happy to try completely uninstall and try the oldest mono one + Sonarr to see if the logs shed any light on it not booting. |
Thanks for the update. As I suspected the If you're game a fresh install of mono 5.8.0.108-11 and Sonarr v3 20230217-22 would be a great way to get additional insight from the service logs. |
Did two clean installs of the versions you mention. Sonarr claims it's running, but it at the very least isn't reachable. |
From the logs you supplied things look good. Remember that when Sonarr is first installed it has to setup the database and install the latest updates. From the service log it seems that it was doing this successfully. During this time however the web interface will not be available and the app may appear down. As in the install screen messages, give it a few minutes before you try to open the web interface. |
@sthewissen, did Sonarr v3 eventually settle down with the web interface becoming available? |
Apparently, my patience was the main issue on that oldest version of Mono /w the Sonarrv3 package, it took its time but eventually got there. I probably won't be installing any of the upgrades anytime soon, but it's something! 😅 |
Thank you for providing us with your valuable feedback. We sincerely appreciate the insights gained from your testing, particularly regarding the incompatibility of mono with 88f628x architectures. @hgy59, considering that the issue has not been adequately addressed for 88f628x, it would be prudent to remove the builds for versions 5.20.1.34-19 and 6.12.0.182-20. This proactive measure will effectively safeguard other users from encountering the same problem in the future. |
Having the same problem on my 920+ running Mono 6.12.0.182-20 and DSM 7.2-64570 Update 1, sonar & radar cannot connect to my Jackett indexer even though Jackett can successfully test all indexers... |
=> done. |
@sly433 This is a different problem as it is related only to ARMv5 (88f628x) archs and DS-920+ is x64 (apollolake). |
@sthewissen, as we have worked around the problem by removing 88f628x builds (newer than v5.8.0.108-11) from download, we will be closing this issue. |
Is this a new Bug?
Package Name
Sonarr v3 / Mono
Package Version
Sonarr 20230217-22 / Mono v6.12.0.182-20
Device Model
DS211
Device Architecture
88f628x
Firmware Version
DSM 6.2.4-25556 Update 7
What happened?
I want to install Sonarr v3 on my Synology. Both Mono and Sonarr v3 install just fine. However, when I want to do anything in Sonarr (be it searching for a show, getting something from a crawler etc.) I get the following SSL error in the logs:
A common problem, that I find is mostly solved through the workarounds mentioned here #5051 namely:
sudo /var/packages/mono/target/bin/cert-sync /etc/ssl/certs/ca-certificates.crt
sudo chmod -R a+rX /usr/share/.mono
Running the first one of these on my NAS however crashes immediately:
I'm kind of lost on what I could do to get this issue resolved and was hoping someone here could share some insights. These are clean installs of both Sonarr and Mono.
Reproduction steps
Install Log
Service Log
No response
Other Logs
No response
Known workaround
Mono versions newer than 5.10.1.38 have a known compatibility issue with 88f628x architectures. Using version 5.8.0.108 resolved this issue.
The text was updated successfully, but these errors were encountered: