-
-
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
Update SABnzbd to 4.2.1 #5968
Update SABnzbd to 4.2.1 #5968
Conversation
If you are up for it, the approach would be similar to Transmission as follows:
That's pretty much it to use the new shared folder handling. |
@mreid-tt since this packages did not use shared resources for DSM 6 before this update ( |
Hmm, okay. To refresh my memory, is this like what we did for COPS and read the config file on upgrade to have the user confirm the name of the shared folder? |
- The upgrade wizard identifies an existing share name. If it's not found, an additional screen will appear for user confirmation.
Since this has not been merged yet. Would it be possible to bump to 4.2.1 directly? |
Will do! |
I saw.. But seeing this makes me wonder if we should even do this at all? What's wrong with keeping the "old" way? |
The motivations for this I believe were documented under #5649. Were there specific concerns you had? |
The main issue was, that the volume selected in the wizard is not used by DSM 7+. DSM 7 only supports data share resources to use shared folders and those allow the name of the share only. The redesign of shared folders makes DSM 6 shared folder handling compatible with DSM 7. |
But do we need the extra steps during upgrade? Since it's already working, why do we need any changes there? |
The upgrade wizard file, while appearing substantial, is designed with user impact minimization in mind. The underlying logic can be summarized as follows:
It's important to note that users encounter these steps only once, as the process establishes a share name. Subsequent updates will not prompt the confirmation screen once a share name exists. |
But why is it needed to show anything at all to users that are upgrading? They already have a working share and path. |
I appreciate you bringing this to my attention. One crucial aspect that I failed to clarify earlier involves two primary considerations:
However, there are potential counter arguments for each:
My intention was to exercise caution by providing users with visibility into the value set during the upgrade process. However, if you differ in your risk assessment, I am open to adjusting the wizard to display a confirmation screen only when discrepancies arise between the package config and the share path. |
Interesting! Will test myself tonight. |
Thank you @mreid-tt, it seems to work for me! I didn't have to confirm my share, and it worked fine after the upgrade. |
I've done some tests on my DSM 6 virtual environment as an upgrade from the previous version as well as an in-place upgrade replacement and it seems to work well. @hgy59, should we be good to go here? |
How do we trigger the upgrade step to be shown? I should modify the sabnzbd Config? |
Yes, I did this experiment under my DSM 7 virtual environment.
Now running this experiment a second time over the upgraded package will not work because the |
So, seems good to go then? :) |
Thank you! |
I've downloaded the package and manually deployed to my DS916+ and everything seems to be working well. |
Hello just updated to 4.2.1 at my Synology DS1817+ and it`s working well except that my script for forcing Downloads smaller 50MB is no longer working. Here`s the code which was working since Version 4.0 `#!/usr/bin/python3 try: prio = -100 # Default print("1") # Accept the job sys.exit(0)` Also tried the new code from the WIKI `import sys try: prio = -100 # Default print("1") # Accept the job 0 means OKsys.exit(0)` Is there any change in 4.2.1?? |
Yes. Read the Release Notes / Changelog on https://sabnzbd.org/downloads |
Description
Update SABnzbd to 4.2.1.
@mreid-tt @hgy59 Do I need to change anything about the shared folder handling? It's a bit unclear to me.
I look at Transmission, but it seems that is more complicated than SABnzbd needs?
Checklist
all-supported
completed successfullyType of change