-
-
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
Sabnzbd DSM7 #4748
Sabnzbd DSM7 #4748
Conversation
squidguard failed to build |
spk/sabnzbd/src/service-setup.sh
Outdated
@@ -50,5 +51,7 @@ service_postupgrade () | |||
if [ -n "${WATCHED_FOLDER}" ] && [ -d "${WATCHED_FOLDER}" ]; then | |||
set_syno_permissions "${WATCHED_FOLDER}" "${GROUP}" | |||
fi | |||
# DSM6 -> DSM7 migration | |||
sed -i -e "s|script_dir\s*=.*|script_dir = ${SYNOPKG_PKGVAR}/scripts|g" ${CFG_FILE} |
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.
Since this is an upgrade, shoudln't this only trigger if script_dir=/usr/local/sabnzbd/var/scripts
?
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.
Or script_dir = /usr/local/sabnzbd/var/scripts
(so with spaces).
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.
Actually a good question. At first I was with you but consider that a user updates or installs (this version) their package on DSM6 the path is changed to /var/packages/sabnzbd/target/var
then later they update to DSM7 and the package gets reinstalled. the new path is /var/packages/sabnzbd/var
So it covers both upgrade paths.
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.
Or in other words I know that ${SYNOPKG_PKGVAR}/scripts
is always the correct path. Setting it every time ensures it is the correct one, and I don't potentially leave out a case where it is not modified.
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.
But, what if the user has set a custom path to somewhere on it's NAS?
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.
@Safihre is it documented that this path is user changeable, if not, how can we be sure that there is a single user out there that has changed it?
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.
@@ -1,9 +1,64 @@ | |||
[{ | |||
[ |
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.
So wizards are supported? I am so confused 😨
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.
As far as I understand it. For now they work as before but officially they are no longer supported by Synology. I hope Synology can come up with an alternative. Their own packages and 3rd party still use them. So I think eventually we have to phase them out by setting default values or something.
But honestly I just don't know 🤷♂️
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.
👍
Just as in #4658 it's just a missing dependency, unrelated to
|
@hgy59 Can you review this for @publicarray ? :) |
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.
Installation succeeded on DSM-6.2.4 and DSM-7.0
My findings are, that the sc-download group is not added to the download folder (verified with synoacltool --list {share-name}).
And changing the download folder with the upgrade wizard, does not change the sabnzbd configuration. The config must be updated manually - this might be worth a note in the upgrade wizard.
IMO the upgrade wizard can be removed, as it is always possible to configure another shared folder (and adjusting the permissions at package upgrade does not work anymore).
Thanks Hm, it looks like manually adding the sc-download group is overridden by the wizard shared worker (during a stop/start of the package).
👍
True I guess, I just wanted to support the migration for DSM6 to DSM7 otherwise the package won't function since it's no longer part of the |
@hgy59 do we actually need the |
For the upgrade wizard it would be nice to have it for the dsm7 package only. |
@hgy59 how is it looking now? |
This comment has been minimized.
This comment has been minimized.
i see some challenging work is in progress to bring this package to DSM7. looking forward to this package's release |
This comment has been minimized.
This comment has been minimized.
Maybe we should give it a try? |
This comment has been minimized.
This comment has been minimized.
@RoadRunnr I hope you don't mind me asking, but which branch are you using to compile the package? The behaviour you are seeing would match if you compiled from the master branch and not from the fixed version in this PR: https://github.com/publicarray/spksrc/tree/sabnzbd330 but of course I could be wrong too. |
OMG, I could have sworn I was on the correct branch, but you are correct, the spk was not build from your branch/this PR. It works now. So, forget all my comments above. |
@RoadRunnr I'm glad we got it sorted in the end. 😅 @Safihre what are you asking to try? |
@publicarray Not sure anymore, kind of lost what we still need to get things working fully 😅 |
It looks good to merge INHO. I just think @hgy59 was wondering if we should remove the upgrade wizard. The reason I did include it, was to support the upgrade from dsm6 to dsm7, so the shared folder gets the new permissions and the package can start without issues. But I guess it's easy to do so manually too. My suggestion is to only use the upgrade wizard for the DSM7 version and only on packages were the shared folder was originally created through the install wizard. |
Seems a lot of work to be done amping this app to DSM 7, want to say that i look forward to use this app again. |
Thanks for the hard work guys! I hope it will be merged soon! |
Dear @CatStarwind the package is not published yet. Please read our README |
Hello, thank you for your effort in fixing this! I don't know if more time needs to pass for the package gets updated in the Package center, but I just tested again and I'm still getting the "Invalid fileformat. Contact the package developer." (might be a slitly different translation) error message. Do I just wait or is something wrong? |
It can take 48 hours for the CDN to catch up. (This is on purpose, so the CDN can soak up over 90% of the traffic) |
it is working for now thank you so much guys for the update ! you guys are amazing ! |
Hi, I'm doing a fresh install of this package and I get the same as Pontation "Invalid File Format. Please contact the package developer" Can anyone confirm that they're able to get a copy with a complete reinstall (not a repair)? I'm using a DS1817+ Understand that it hasn't quite been 48 hours as of yet but unsure if this is a regional and won't be available to me as of yet given that I'm in Melbourne Australia. Edit#1 (07/09/21) I've also delete those folders and tried to get it to re-create them but no luck Edit#2 (07/09/21) I needed to create a new one. I assume that this is due to that it doesn't have ownership to begin with so therefore it can't adjust any of the proper permissions. Perhaps this isn't a big deal and I might be unique in this situation having done a fresh install on DSM7 |
Hello, I did a fresh install and it works perfectly, removed all my old setup, backuped all I wanted to keep. reimport the configuration took me just 5 minutes everything works. |
Completed a repair/upgrade on DSM7 without any issues. My entire download history came across smoothly and all of my keys for API access are working without issue (as they did before). All in all a flawless upgrade thus far. Great job team! |
Thanks everyone for your wonderful work here. |
I don't know if this is an issue for here or not so I posted this in the SABnzbd forum support... https://forums.sabnzbd.org/viewtopic.php?t=25515 Essentially I did a test download with Lidarr and got a permissions issue. I followed the setup in the wiki but this didn't seem to resolve the issue; let me know if I should open a new issue here or not. UPDATE: I found a workaround for the download processing in Lidar not completing. I just updated the Permissions for completed downloads (under Config > Folders and check the Advanced Settings box) to '777'. Hope this helps others. |
I have tested on INTEL Celeron J4125 and works as expected. Thank you to everyone who helped. |
Nevermind, it works now ! |
Hi, I installed "sabnzbd.v49.f41890[rtd1296-armada37xx-aarch64]" successfully, but whenever I try to run it on the native HTTP port (8080), I get the message that "the site cannot be reached" and "refused to connect," but the package installs without any issues. I have played with permissions and port forwarding extensively to no avail and everything was working perfectly before DSM 7 update. Any help would be greatly appreciated. |
Please create a new issue with the necessary log files. Without logs I'm also clueless. You can verify if the program is running with |
Apologies for the newb question, but how and what log files should I compile? Also, what do you mean when you say I can verify with "ps"? Thank you |
Not at all @SPT212 no problem, if you enable ssh access on your NAS you can use ssh to get the log files:
|
I started an issue with the requested: #4846 Thanks so much for the help! |
Many thanks for your work on this. What a great community. The main Synocommunity page says "You can also support us by donating to our contributors." I've been looking for a way to do this. Is there a tip jar/donate link I can use to show my appreciation? Edit: Ah, just found this link: https://sabnzbd.org/donate/ Second edit: No, that's for sabnzdb itself (which I'm also happy to donate to). I'd like to toss a coin to the people who got it working for DSM7. |
Did a clean install because I had some ip issues. Works like charm! Thank you so much for al your effort and hard work guys!!! You are the best! |
This is not the place for such reports, please open a issue and report the right logs. |
Motivation:
Linked issues: Followup from #4658
Checklist
all-supported
completed successfully