-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Upgrade sonarr build to latest #5471
Conversation
Motivation: The recent 7.1 DSM upgrade kicked Sonarr into a bad state and required a repair. However, there are datastore changes between the current version and the latest such that the data is incompatible with the current SPK version, meaning that Sonarr would not properly load and as a result also can't run the upgrade from the internal upgrader This left me with the choices of either restarting from scratch (no good backups), or compiling a package from source. Given I did the later, it seemed sensible to push a PR for everyone else. Checklist: [x] Built Sonarr package successfully (since changes are limited to it) [x] Package upgrade completed successfully [x] New installation of package completed successfully
You need to increase the |
@hgy59 this one seems good to me? |
hey @Seanstoppable, this seems to be a very similar motivation to #5456. have you read through the discussion there? Specifically, I was wondering if the problem you encountered was related to the root issues of #5450 and/or Sonarr not auto-updating on package re-install? |
Thanks! I had not seen that. I will add some appropriate context there |
#5450 would be why issues are experienced more with sonarr when reinstalls are done - since the data is not purged but given v3.0.5 is not supported, very out of date, and the current base package being shipped by SynoComm. This should still land. |
@Seanstoppable actually, I'm hoping you can add some context here since that PR is already closed.
@bakerboy448 I don't disagree that v3.0.9 should be pushed; however, I am cognisant that #5456 (which has the identical changes as this PR) was closed without being merged. I was hoping we could better spend our energies in documenting and resolving the root causes of the issues related to upgrades and/or re-installs since these issues will come up again in v3.0.10 and beyond. |
Sure. So, I had previously upgraded to 3.0.9 via Sonarr's own mechanism. |
Thanks so much for sharing these details. I'm still on DSM 7.1.1-42962 Update 1 (I guess Update 2 is not available in my region yet) so I'll definitely be on the lookout for this. Given what you described, I believe your assessment is correct on the actions of the repair function. According to Synology's website:
Given the above and the fact that the latest package contains version is 3.0.5 of Sonarr this would have resulted in database files being unreadable as the schema would have been at the newer version 3.0.9 already. This is similar to what would happen with a manual uninstall and re-install outlined in #5450 which would result in a launch error similar to While the package should indeed be updated to the latest supported version, at the core of the issue is the package not auto-updating to the latest Sonarr version via the internal updater as part of its install. I believe there needs to be some work on this and I've asked @bakerboy448 to document the particulars in #5456 (comment). BTW, have you worked around the issue already? If not, I would recommend the following steps:
Once this is done, your Sonarr should be functioning once again without losing your previous configuration. |
The issue with #5450 is solved (outdated installer code in sonarr package) My question: |
@@ -16,7 +16,7 @@ DESCRIPTION_FRE = Sonarr est un PVR pour les utilisateurs de groupes de discussi | |||
DESCRIPTION_SPN = Sonarr es un PVR para los usuarios de grupos de noticias y torrents. Se puede controlar múltiples canales RSS para nuevos episodios de sus programas favoritos y se agarra, tipo y les cambia el nombre. También puede ser configurado para actualizar automáticamente la calidad de los archivos ya descargados si un formato de mejor calidad disponible. | |||
DISPLAY_NAME = Sonarr | |||
STARTABLE = yes | |||
CHANGELOG = "Enlarge the service start/stop timeout to 90 seconds." | |||
CHANGELOG = "Upgrade to Sonarr 3.0.9.1549" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep the former changelog, as this change is not published yet.
CHANGELOG = "Upgrade to Sonarr 3.0.9.1549" | |
CHANGELOG = "1. Upgrade to Sonarr 3.0.9.1549<br/>2. Enlarge the service start/stop timeout to 90 seconds." |
Some suggestions:
|
I'd suggest keeping this as there are still users out there on v2 for whatever reason. |
hey @Seanstoppable, regarding the suggestions above, I've submitted a PR to your repository which should address the improvements requested above. I'm not that skilled with Shell scripts so it was a fair amount of copy and paste from a similar PR regarding Lidarr. Hopefully this should get you most of the way there to have this PR merged. EDIT: I've done some corrections and submitted a new PR #5511 to the main repository to get this merged. |
@Seanstoppable do you mind to close this PR as we now have #5515 that should fix all current issues and prepares for future package with Sonarr v4 (#5520)? |
Absolutely. |
Motivation:
The recent 7.1 DSM upgrade kicked Sonarr into a bad state and required repair.
However, there are datastore changes between the current version and the latest such that the data is incompatible with the current SPK version, meaning that Sonarr would not properly load and as a result also can't run the upgrade from the internal upgrader
This left me with the choice of either restarting from scratch (no good backups), or compiling a package from source.
Given I did the latter, it seemed sensible to push a PR for everyone else.
Fixes #5450
Checklist:
Type of change