Skip to content
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

Unable to install Mono package on DSM 7.0 #4322

Closed
gus70 opened this issue Dec 20, 2020 · 22 comments
Closed

Unable to install Mono package on DSM 7.0 #4322

gus70 opened this issue Dec 20, 2020 · 22 comments
Labels

Comments

@gus70
Copy link

gus70 commented Dec 20, 2020

Unable to install Mono package running DSM 7.0.
The error received is that the Mono package only runs as root. The recommendation from Synology is to contact the package developer and tell them to change the privilege settings on the package.

See error screenshot attached:
image

@publicarray
Copy link
Member

DSM7 support for all packages is still under development. See #4215. Contributions to the dsm7 branch are welcome.

@publicarray publicarray added this to To do in DSM 7 Support via automation Dec 21, 2020
@maxiiss
Copy link

maxiiss commented Dec 23, 2020

Thanks for working on this support. I hope you may find a solution soon.

@favoretti
Copy link
Contributor

I built mono from dsm7 branch, it installed successfully. Any ideas why this one is still open? :) Are there issues with using it?

@gus70
Copy link
Author

gus70 commented Jan 15, 2021

I built mono from dsm7 branch, it installed successfully. Any ideas why this one is still open? :) Are there issues with using it?

You "built" Mono. This issue report is about using the Mono package from Synocommunity using the Package Center. Totally different thing.

EDIT: If I re-read your post I get a different meaning. So not sure what you meant. Did you mean to say that you manually installed Mono and therefore you deduce that there should be no trouble creating a new package for the Package Center?

@favoretti
Copy link
Contributor

favoretti commented Jan 15, 2021 via email

@publicarray publicarray moved this from To do to Done in DSM 7 Support Jan 17, 2021
@maxiiss
Copy link

maxiiss commented Jan 20, 2021

I see you move this post to "Done",

Just for you to know, for me the issue is still here.
Capture d’écran de 2021-01-20 21-49-44

Best regards

@gus70
Copy link
Author

gus70 commented Jan 21, 2021

I see you move this post to "Done",

Just for you to know, for me the issue is still here.
Capture d’écran de 2021-01-20 21-49-44

Best regards

I agree that it is confusing to see this in the "done" section of the project...but its status is still "open" therefore I don't know what that really means.

@hgy59
Copy link
Contributor

hgy59 commented Jan 24, 2021

I tend to close all such issues for packages not compatible with DSM7.
As DSM7 is still under development here and no packages for DSM7 are published yet, it is boring to manage such issues for each of the > 100 packages that are provided here.

I think the base problem is that the packages are shown in the package center in DSM, dispite the fact that the provided os_min_ver is < 7.0. This pretends that packages are available.

@ymartin59 shall we ask synology what we need to change, for that DSM7 does not show incompatible packages?

@publicarray
Copy link
Member

We just need to set the os_max_ver in the info file. I don't remember if that variable is exposed on the server though.

@gus70
Copy link
Author

gus70 commented Jan 24, 2021

I would like to see a least by the time DSM 7.0 becomes officially released that the Mono package gains compatibility.

Sure there are other solutions to get Mono running but they are a bit less than practical for less technical users. You can compile from source or you can leverage a Mono install via a Docker container. I would prefer though to be able to continue to have the ease of a Package Center installation for Mono. I support a number of applications and I'd like to keep things as simple as possible for my users.

I just hope that this is not forgotten. I greatly appreciate the work done by this Synology Community.

@th0ma7
Copy link
Contributor

th0ma7 commented Jan 24, 2021

We just need to set the os_max_ver in the info file. I don't remember if that variable is exposed on the server though.

That might end-up being an interesting idea to set os_max_ver to $(MAJOR).99 type-thing? Thus compatible to DSM-x.99 always.

@favoretti
Copy link
Contributor

EDIT: If I re-read your post I get a different meaning. So not sure what you meant. Did you mean to say that you manually installed Mono and therefore you deduce that there should be no trouble creating a new package for the Package Center?

I mean than when I take DSM7 branch of this repo and yes, build a arch-x64-7.0 package, I can manually install it using package center, so no reason to not to make it available?

@publicarray
Copy link
Member

@favoretti Please just wait until #4395 is merged. We are getting closer. The main reason is that packages need to be tested, there have been significant changes to DSM7 some documentation needs updating.

@gus70 Everyone works a bit different in open source but here is what I think: Please help out rather than ask for package releases for a beta DSM or ETA for DSM7 support. Generally I just ignore such requests. You can compile, install & report bugs for instance or help update the wiki. @hgy59 is public editing on?
We work on this in our own time. And you benefit from this for free. Yes sometimes things do get left behind but mono is a requirement for some of other packages, so I don't see this happening here.

@publicarray
Copy link
Member

Oh just noticed, what I said above is also addressed by @hgy59 in the README too: https://github.com/SynoCommunity/spksrc#dsm-7

@favoretti
Copy link
Contributor

@publicarray don't get me wrong, I'm not in a rush and I can perfectly build stuff that I miss, I appreciate all the work you folks are doing here. My question was merely a statement that it "works on my machine", albeit maybe worded a bit incorrectly. If you need any help with getting DSM7 out there - I'll be happy to help. So far everything that I've tried to build in dsm7 branch just works, aside of Deluge, where boost is barfing on me. Trying to find a solution, but unsuccessful so far.

@gus70
Copy link
Author

gus70 commented Jan 25, 2021

@gus70 Everyone works a bit different in open source but here is what I think: Please help out rather than ask for package releases for a beta DSM or ETA for DSM7 support. Generally I just ignore such requests. You can compile, install & report bugs for instance or help update the wiki. @hgy59 is public editing on?
We work on this in our own time. And you benefit from this for free. Yes sometimes things do get left behind but mono is a requirement for some of other packages, so I don't see this happening here.

I'm sorry that my follow-up post wording clearly says that I was requesting that packages get released for beta operating systems. That is not my intention. But my original request was not of that nature. My original request still stands and I see it as a bug report, the package is available because it shows up and and I can install it and then I get the error message about root privilege. Do with that what you will. My work here is done fellas. Thank you all for your time. I'm not personally benefiting from free work. I also offer free support for some software that requires Mono for a community of weather station software users is all.

@gidoBOSSftw5731
Copy link

As an update to this, they released a release candidate today (https://www.synology.com/en-us/releaseNote/DSM#ver_41882) and have a help guide on what the package situation is:

Synology has added a strict requirement on DSM 7.0 to prevent packages not signed by Synology from running with root privileges.
https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Third_Party/

Therefore, I think it is now required to reevaluate what packages require root access and which do not, as they are pushing in this direction hard and, as of now, almost no packages are on track to be available on the upcoming release.

@hgy59
Copy link
Contributor

hgy59 commented Jun 2, 2021

Therefore, I think it is now required to reevaluate what packages require root access and which do not, as they are pushing in this direction hard and, as of now, almost no packages are on track to be available on the upcoming release.

You find detailed information in #4524 about packages that require root permissions.
Almost all pure CLI packages (no services, no web apps) are compatible with DSM7 and some of them are already published to the synocommunity package server and can successfully be installed in DSM7.

You find detail in the linked issue.

We could even make mono package for DSM7, but IMHO mono is not state of the art anymore and we should publish only packages that are migrated to .net for DSM7.

@DigitalBox98
Copy link
Contributor

FYI I've got mono version 6.12 running for my NAS (braswell) on DSM 7.0
I can propose a PR if someone would like to test.

@superpippo82xxx
Copy link

FYI I've got mono version 6.12 running for my NAS (braswell) on DSM 7.0
I can propose a PR if someone would like to test.

@DigitalBox98 can you share your patch for mono, i'm on armadaxp and x64
thanjs

@DigitalBox98 DigitalBox98 mentioned this issue Jun 6, 2021
3 tasks
@DigitalBox98
Copy link
Contributor

@superpippo82xxx, a PR has been proposed. You can test it if needed.

@shoaaaib
Copy link

shoaaaib commented Jul 7, 2021

@superpippo82xxx, a PR has been proposed. You can test it if needed.

hi there, i am new to all this and just updated to DSM 7 and mono is not working, thus sonar, radarr, jacket, transmission.

can you help in how to fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
DSM 7 Support
  
Done
Development

No branches or pull requests

10 participants