-
-
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
Sickboard Custom with Sickrage, permission launch problem with dsm6 beta 1 / 2 #2099
Comments
Same issue here. Tried to chown rights of sickbeard-custom to root and tried giving it to users group, but that doesn't work. |
same here, They did something with privileges of the admin and root account This could mean that install and/or startup scripts behave differently and cannot do things they could previously. like making a user account needed for the package. /bin/nologon is also gone. Several options to overcome that are becoming available on several fora. I found no perfect solution yet, but i just started looking |
You absolutely can SSH as root in beta 2; I'm currently logged in via SSH as root at this very moment. |
@baz1860 When i do a default ssh session from putty on windows: And please consider that this is beta software, things might work differently on different systems and perhaps you also changed some settings on your DS in the past? |
tail of /var/log/messages when trying to run it:
|
SSH root@myds415+ logs me in. I'm using beta 2 on a DS415+ and I'm SSH'ing from Terminal on OSX El It wasn't my intent to insult you, but if you're that easily insulted I have found that repeatedly trying to run packages that won't run on first
|
For the people who can run as root, what happens when you run the start command manually? Stop the package first, then execute this: https://github.com/SynoCommunity/spksrc/blob/master/spk/sickbeard-custom/src/dsm-control.sh#L23 |
@Dr-Bean on the page in your last post I saw the package uses the account "sickbeard-custom". So I thought, give it a shot and create that user before installing, gave it admin permissions... and yes, for now at least... that really seems to be the solution!!! I guess normally this account is created during installation? Will test a bit further, but the package now starts from the GUI again with the latest SR-commit! |
Hi all,
I try to execute it as default user and as root too Hope that it helps |
@Dr-Bean We are also getting multiple reports that the sickbeard-custom package isn't working for DSM 6.0 Beta. I know there is some sort of change in DSM 6 concerning the accounts/rights/permissions, but didn't follow the development to know the details... Hope you will be able to take a look at whats the issue with sickbeard-custom and DSM 6. EDIT: Forgot to add. All issues i have seen where with the sickbeard-custom package, haven't seen one with the (former) sickrage package jet. Could be coincidence, but hope someone can test manually installing the *.spk just to be sure. |
There should be some new ability in DSM 6 to create system users without needing busybox but I don't have DSM 6 to test nor any documentation so for now there's not much we can do. |
I was able to get it running by changing perms as per: |
Another workaround would be creating a "Manual Task" with the Task Scheduler. The command to run the sickbeard daemon is simply:
Just make sure the task is disabled and has the root user set: You can copy the command from above here: Now you can run the Task |
Just done a fresh install of sickbeard on a fresh DSM 6.0 Beta 2 and the start-stop-status script was getting su - : permission denied I looked at the sickbeard-custom user added by the package and there was an entry in /etc/passwd that looked fine, but no entry in /etc/shadow, on adding the entry in /etc/shadow I, as root, was able to 'su - sickbeard-custom' and the package was also able to start. After further investigation, it appears worse than this, just installed sabnzb and the sickbeard-custom user uid-100 has been taken as the sabnzb, again without an update to /etc/shadow. Is it some changes to user addition in DSM 6.0? |
I just updated SB on DSM 6 and now have the same problem. It was running fine after upgrading DSM to 6 and I had successfully done at least one SB update since the upgrade to 6, but the last one broke it. I tried running the suggested script via task scheduler with no success. Suggestions on how to proceed would be appreciated. |
This is the output when I run the suggested script via the task scheduler: Traceback (most recent call last): |
Same problem for me, but seems to be related just to the start-stop-status script, try to change it with: edit as root:
|
Test packages for DSM6.1 and various architectures are available here #3138. |
Hi,
I'm trying to install Sickrage with Sickboard Custom package in DSM 6 beta 2
I use this fork :
Install of the package finish, but this is the package launch which failed.
I try with DSM 6 Beta 1 then after upgrade to beta2, without success.
I have a
DS213+ FREESCALE QorIQ P1022
Log when i launch the script
/var/packages/{package}/scripts/start-stop-status start
As you can see, i have a permission denied, but i'm in root when i launch the command...
The right in
root@SPIN:/var/packages/sickbeard-custom
:The right in
/volume1/@appstore/sickbeard-custom
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: