-
-
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
Transmission 2.84 doesnt work on DSM6 beta1 with brtfs file system. #1880
Comments
Your explanation isn't completely clear to me, but let's see if I've interpreted you correctly. Like a lot of packages, Transmission needs certain permissions on the download dir and other locations. We set those permissions during package installation. |
For an example - I create shared /volume2/transmission (volume2 is brtfs file system). admin, guest users and administrators group has permissions to read/write. installing package transmission like any other and during install wizard seting /volume2/transmission as download directory (without watch and incomplete dir's). next web interface user (different from build in dsm accounts), next, apply. After that i get popup "Failed to run the package service". cd volume2 also package service cannot start. right now I have this issue same on ext4 clean volume1. DSM was installed from scratch - NAS was restored to factory defaults. |
Let's start at the beginning. I would prefer it if you uninstalled the Transmission package, created a shared folder called If the package starts, great. If not, run the following command:
If it does not show any errors and returns to the prompt, I would expect a running process (confirm with To be clear, DSM6 has a lot of unknowns at this point. There might not be a fix available immediately. If you are not prepared for that, I would suggest to go back to DSM5.x. |
Hi, This issue is 'su' not working yet on DSM 6.0 The copy of message receve to the synology support : After consulting with our PM team, unfortunately, this feature hasn't been supported. However, you would be able to switch the user by the "sudo su" command after the final official version is released. |
Hm...seems Synology has replaced busybox with a more traditional shell on DSM6? If we go for the first, we'll have to make sure that packages will continue to work on both DSM5 and DSM6 with some additional logic (similar to the http/nobody approach, I imagine). Problem is that the On the other hand, using start-stop-daemon would seem overkill for packages that have their own daemon built-in. I'm not sure I like that either :/ @SynoCommunity/developers, ideas or suggestions? |
Although this doesn't explain @qubabos' problem, if he experiences a difference between a package running on btrfs vs ext4. It either means those observations were incorrect, or that this is a completely unrelated problem. |
Hi, A this time all package that I use works on DSM6 On all my package I pulled the line 'su' for start-stop-status and all work fine |
Y have same problem that @qubabos ! And this same solution for all package, for transmission also |
@rjulie95 If you remove |
i finally manage to resolve this by replacing permissions for /var/packages/transmission with no manual edit of script files or spk package. |
Yes I understand |
What have you changed ? It's possible to explain ? Thank |
of course, sorry - changing chmod 777 -R for /var/packages/transmission and also (not sure if this is it) adding write for "users" group for download folder. I restored previous settings.json from dsm 5.2 (need to convert volumes for btrfs) and package service runing just fine. |
And on start-stop-status shell do you have a 'su' command ? |
no, leave it as it was in dsm 5.2. |
It's possible to verify if you have busybox on your NAS ? |
ash-4.3# sudo |
So if I'm understanding the progress correctly here, this isn't actually a problem (anymore)? |
yes. it has been resolved for now but instalation out-of-box doesnt work anymore. need some adjust by ssh |
That'll have to wait until DSM6 is officially released imo, because it might change during the time the beta is running. Especially since there are people running the same packages on DSM6 without problems, it doesn't seem to affect everyone. |
i must noticed that upgrade with fully working package from dsm 5.2 performing fine and transmission works also just fine. when i totaly reinstall dsm 6.0 from scratch and change volume to btrfs this issue occurs. wait for people to change their volumes :) |
Ok. You might want to report that to Synology if you haven't already, because the underlying file system should not affect permissions. Although they'll probably say: yeah, third-party packages, no support ;) |
yeah, right :) mark this as resolved :D thank you for your input, regards mate :) |
I got Transmission working on a fresh install of DSM 6.0b. Here's how I did it. First of all, the installation of the package didn't create a Transmission user account. I'm not sure if that is supposed to happen as part of the installer or not. Regardless, I created a "transmission" user through the control panel. Once the user was created, I SSHed into the NAS as root, and attempted to run the startup script manually, like so:
Then I got this error:
The default shell for new users is
...so I took a hint from the Plex startup script and changed it to this:
...which forces it to use the GNU shell instead of Once I fixed the startup script, Transmission would run, but the Package Center wouldn't recognize it as running, and the
so I then chowned the transmission directory to the 'transmission' user, like so:
..and then Transmission fired up just fine from the Package Center and everything works great. I used the exact same method to fix SABnzbd as well. I hope that helps! |
@talisto (and others who choose to create a user manually via the DSM UI): Please note that your approach may very well result in a broken package when we release a DSM6-compatible version of this package. Running a beta has its risks, and this is one of them. We (at least I) probably won't start looking into it until DSM6 is more mature, which means at least beta 2 and possibly even later than that. |
@Dr-Bean, I would hope that anyone using the DSM betas would anticipate and expect risks and complications along the way. I thought that sharing my experience getting the package working on the beta would help other users and even perhaps help the package maintainers when it comes time to troubleshoot these issues. The beta period for DSM 6.0 is a long 6 months and I'm sure there is going to be more and more activity on DSM 6.0 as it progresses. With that said, perhaps having added a user through the DSM that would conflict with the package installation might be something that the package installation should anticipate, as it's certainly possible for that to occur in any version of the DSM. |
The SynoCommunity packages should not be distributed to DSM 6 beta as Synology has not released the tool chains for DSM 6. 😕 |
We will anticipate the release but for now it's a little early to tell if the issue is caused by DSM or by the package itself. |
@talisto Not everyone has the same level of awareness with regards to the risks of using a beta. You didn't include that in your message, so that's why I commented :) @piwi82 If we want to exclude packages from being distrubuted to DSM6, that'll have to be done via spkrepo (provide a catalog based on firmware level, or some kind of other key/value). Package Center isn't able to distinguish packages otherwise. /edit: we probably do need the new toolchains for packages that access or use kernel modules and things like that. |
I struggled for 2 days trying to get Transmission installed and running on my 216-II and finally tried talisto's trick and it worked. I just bought my NAS a few days ago and it came with DSM 6.0, however I was surprised to see that the OOB installation for Transmission failed. |
Or another solution, a easy way with SSH logged in as admin
Hit ESC, save with ":qw" (for the newbeesss) Start script
Start transmission under Package Center and you will get the firewall setting |
This doesn't resolve it. DSM 6.0.2-8451 Update 8 |
I have no probs with it, what error or issue do you have ? |
I got it working by recursively setting permissions for transmission on its
own download folders.
…On Tue, Jan 17, 2017 at 6:30 AM, Suykast ***@***.***> wrote:
I have no probs with it, what error or issue do you have ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1880 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXs2baYK94zZ9RGoUCpJSzgEQ3fVJd6Yks5rTNCQgaJpZM4GPYGH>
.
|
DSM6-compatible packages can be made available for testing purposes. If you are interested, please share your NAS model / architecture. |
I will give a try to 64bit DSM6-compatible package for DS916+ :) |
Should be Braswell. Here you go: |
@talisto solution works as a charm for the DS716+II on version DSM 6.1.3-15152. Thanks.... I was getting crazy! |
Closing due to age. Test-packages for DSM6.1 and new architectures available here: #3138. |
Hello there,
When I set volume in brtfs file system after instalation of transmission package service cannot start in DSM6.0 beta. I think its permission related. When i create volume in ext4 during service configuration (when I set download directories) i can view user transmission and assign priviliges to download folders. When i finish this install wizard, package installing correctly and service is up and working. In brtfs file system it doesnt work at all. I try to change folders permissions to users group or everyone but it also doesnt resolve this issue.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: