There is a little of both but nothing that gets us close to the finish line.
What I've discovered is that Java 8 is no longer supported on DSM7 or will it even install due to root permissions denial, which I think most of have known. Ok. There is however, Java 11 from openJDK which is the "replacement". One would think that this would be the savior of the critical part that Serviio needs to operate since it is Java based. Well, yes.... and no. Yes, to make it run, no because DSM no longer allows Global variables that Java 8 allowed on DSM6 primarily known as "Java_Home". So our installation scripts check for this variable and guess what... it doesn't exist therefore, installation fails.
The tool that I have been using to work this problem (Windows based and the author is AWOL) is buggy at best and it got to the point of using 7zip to decompile and using the buggy tool to reassemble was just not working out....... Soooooo I literally said screw it... I ended up having to create a virtual machine and built a Ubuntu environment using 22.04 which is not the latest but one less down and I guess recommended by all accounts. I got to say, what a fucking odyssey it has been to learn that ecosystem. I do dev in Visual Studio all the time and while not a master, pretty ok at it. The permission bullshit it takes to just do a simple copy and paste between folders took almost a day to figure out after combing multiple sites just to figure out how basic permissions work, home directories, what bash even means,.... Jesus Christ I've have full respect for people like patters who enjoy Linux, but that shit will never be mainstream and for good reason.
Then I finally arrived to the point where I could build the "example" package of Synology's example:
https://help.synology.com/developer-gui ... nment.htmlOnce I sorted that out, I started to figure out how to baby step in the Serviio scripts to see what is what.. figuring out what is root, what isn't, using a few programs that helped rewrite root functions to user called "serviio" and paste that back in... so trying to stitch it all back together piece by piece.
I'm still at the part of figuring out how to be able to get Java 11 to replace 8. I know how to mod the scripts, 11 does install correctly, it is modding the scripts to "find" the new install locations during the preinstall process checks to verify it is installed correctly before Serviio gets installed... this is part of the process so Serviio doesn't crash the system when it try to call Java if it isn't there. So that is the rub, getting all of that sorted out... it is slow, painful, and tedious. I am learning as I go... and it is keeping me up at night trying to figure this shit out... with no help.
So it is going to take a minute. I don't think it is in surmountable as many other packages that use Java are working, I just hope I can figure out what is needed to get this setup and working correctly.
I personally believe that a class action suit should be filed against Synology and slap them across the face for his kind of heavy handed shit. This is my/our hardware and they have really made life miserable without an option allow me to accept a risk on my own behalf. Even Microsoft learned this lesson long ago, Synology think they are Apple, they aren't.
Incase I haven't said it... Linux sucks.
So I don't have anything new to provide, it is ongoing at this point until I can get it to install on my virtual machines and it appears I have a fully functional dev environment and a fully functional DSM7 to verify. When/If I get to the point I have an .spk that finally installs and "works", I'll be posting it to see if we have a solution.