-
-
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
Framework DSM7: shared folder worker fails #4766
Comments
I created a new issue as It became hard to follow the original thread. |
Might be related to #4748 (comment) different error/install log though: |
@publicarray I installed your DSM7 transmission package for ARM7 two times. By the way: |
Thanks @BenjV like you, I've been unable to reproduce the problem.
I've been clicking thought the wizards so many times that I stopped reading them. Thanks for the heads-up. |
@publicarray So either this test has to be removed from the script or change the structure so everything is part of the same share created by the resource file. I would suggest that instead of creating a "downloads" share to create a "transmission" share ( fixed name). Also in the service setup script there are some permission settings in the post _upgrade. My last suggestion would be change the pre_upgrade and add a copy of all the existing torrents (*.torrent) from:
to
and move them in the post-upgrade phase to
This will fail if the old package is not on volume1 so you could add a question in the upgrade_uifile to ask for that volume. I was not able to test this because I would need a DSM 6 installation and upgrade it to DSM 7, but it should work because the old folder was owned by "sc-transmission". |
That was always the case (there was never a
Thanks I had another look at the behaviour and fixed a few small issues, so thanks for making me look 😄
This is user configurable, so I don't see any improvement here. But I think what you are saying is to remove the "watched" and "incomplete" wizard options and let the package manage them. I thought about that too, I'm just not sure if it's worth it. The package would have to migrate existing installations and would break integrations with sonarr etc. The watched folder can be used by other packages.
My fist transmission package did not correctly migrate package data up upgrades, the framework did not have the feature at the time, so this I think this is solved by recompiling. So from my point of view shared folder not being created is an issue with synology. or wrong/old versions |
@publicarray This is the part of the service-setup script of the package with the problem:
So if someone installs the package for the first time and he will want to use existing location for "watched" and "incomplete" then the installation will faill because the installation script does not have permissions to access those locations (even if they exist) and will return the message that the location does not exist and the installation will stop. A user cannot give those permissions before the installation of the package due to the fact that the "system internal user" "sc-transmission" does not yet exists. |
Fair enough, I've updated them again. On dsm7 the package attempts to create the folder otherwise prompts to reinstall the package. Thanks, I'm a bit slow sometimes. Ah, the classic 🐔 and 🥚 problem. |
Regarding to remove the watch and incomplete folder and letting the package manage them. I think if I can make the wizard changes DSM7 only, for new installations that would be an improvement. |
I am using a RTD1296 synology (ARMV7?) on DSM6 + Transmission, but don't have much experience with SSH and other custom tweaks. Is there anything I can help with testing? If not I'll hang on to DSM6 for now. |
Yes please do, until the packages you need are published see #4524 |
@BenjV I've push another update would you be willing to test it? https://seby.io/download/synology-7.0 |
@publicarray Ok nice update! I tested it and found this working as expected. The incomplete and watched folders are now created as subfolders of the chosen download share. Doing this the right way is important, because the gui of this Transmission version does not have the possibility to create or change the location of the watched- and incomplete folders. |
Alright! When it publishes should users update Transmission in DSM6 before updating to DSM7? Thank you for your help. |
@gemmmo that should not be necessary. Besides I don't think we need to publish a new DSM6 version |
I don't know what I'm doing wrong but I still get this damn
Is there any way to have a more detailed error message? Or how to debug this? |
@clemthi I'm surprised you still get the error, did you grab the newer version from https://seby.io/download/synology-7.0 ? |
I've tried another time with the latest package (which I re-downloaded, just in case). I've checked access of
I've also verified in DSM: Everything looks good. But ... install fails again (and the folder |
Oh thanks for the image, Transmission expects full access to a shared folder it won't create a sub folder. I thought I had a regex to validate this and block any |
To clarify something like |
I've created a |
@publicarray The Package for X64 still has the watched and incomplete fields in the wizard. |
Thanks @BenjV, I've uploaded the correct version now. Might take some time for it to be reflected by the CDN |
Oh The wizard files have not been translated to french, so I need to removed them, you are still using the old wizard. |
That's weird, the files online have a last modified date from yesterday, august 17. |
I'm recompiling without the old wizard now. |
just in case, I've forgot to say that I was using the |
@clemthi You can give it a try now, the files have been modified but may take time to be distributed by the CDN |
I does work now. |
Thanks for confirming. |
Originally posted by @dremixam in #4313 (comment)
The text was updated successfully, but these errors were encountered: