SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.03k stars 1.23k forks source link

Ds418 available (RTD1296), but package Sabnzb and Sonar not #2971

Closed banshee1971 closed 6 years ago

banshee1971 commented 7 years ago

For new Package Requests, see the guidelines

Setup

_Package Name:Sonar, Sabnzb _Package Version:all

_NAS Model:DS418 _NAS Architecture:Realtek RTD1296 _DSM version:6

Expected behavior

Sabnzb, sonar, python 2 not available (only 3)

Actual behavior

Tell us what happens instead

Steps to reproduce

1. 2. 3.

Package log

Check Package Center or /usr/local/{package}/var/

Insert the package log here

Other logs

E.g. /var/log/messages or /var/log/synopkg.log

Insert log here
mixuk commented 7 years ago

HAve same issue with DS918+

bservet commented 7 years ago

For me as well, on a new DS918+ packages are missing, for example Midnight Commander. Is (perhaps) the x64 processor not recognised as x86 compatible?

EDIT: ok, so we need to wait for apollolake recompiles.

Viserius commented 7 years ago

Hi! Please check out: https://github.com/SynoCommunity/spksrc/issues/2945

banshee1971 commented 7 years ago

I check, but for now, not working. I test the package there (Mono + Radar), but Mono not compatible with my NAS. The CPU of the DS418 is Realtek RTD 1296

So i need to be patient ! For now, i have a dedicated PC that run Sabnzb and Radar. After download and extract the file, it push them to the NAS.

WodKa78 commented 6 years ago

I was able to compile some packages for arch-rtd1296 and run them succesfully (so far...) Sonarr, Radarr,MediaInfo, Git and Mono(external link) can be found in my repository if anybody is interested.

For both Sonarr and Radarr you will need to edit the start-stop-status: _sudo vi /var/packages/radarr/scripts/start-stop-status and change MONO_PATH to MONOPATH="/var/packages/Mono/target/usr/local/bin/" + _sudo vi /var/packages/nzbdrone/scripts/start-stop-status and change MONO_PATH to MONOPATH="/var/packages/Mono/target/usr/local/bin/"

I am a complete noob and just tried to make it work for myself so please take the packages as they are for now.

edit: install mediainfo package as well so obfuscated file names are handled well by sonarr and radarr.

rafieek commented 6 years ago

@WodKa78 I am more of a complete noob to all this, and I have a DS218play(with rtd1296) and was hoping your packages would work for me as well.

I installed mediainfo and Mono and they are both running. But when I installed sonarr, I changed the mono path like you said. But when I try to start the package it doesnt start. So I decided to uninstall the package and try again. After trying to manually install the package again, it gets all the way to the last step but fails with a dialog message of "Not available". I restarted DSM and this fixed the install problem.

But now I am stuck on how to get sonarr actually running? It wont start...

Mono path is MONO_PATH="/var/packages/Mono/target/usr/local/bin/"

Any ideas?

EDIT: Issue has been resolved: https://github.com/WodKa78/-syno-packages/issues/1

EniDurb commented 6 years ago

I have the ds418play for 5 days now and I don't find any solution to get sonarr any idea to help me ?

Viserius commented 6 years ago

Hi @EniDurb, The sabnzb file that's being shared here multiple times is actually the sonarr spk when you install it. Yes, exactly, that confused me too. You can download it and use upload manually to install Sonarr.

Hope I've helped,

WodKa78 commented 6 years ago

nzbdrone_rtd1296-6.1_20171112-10.spk is the file you need from my repo. Read the readme first before installing

EniDurb commented 6 years ago

@Producermark Oh yeah didnt get it ! Thanks you I am happy there are people like you ! @WodKa78 Thanks you too its very friendly to make your own repo and share it for free, will check that. By the way is it safe ? I guess yeah but I mean why the "official" or the "synocommunity" dont have it ? Thanks again, both of you, made my day better.

sandval commented 6 years ago

@WodKa78 Thanks for your enthusiasm, it's really cool that you compiled these packages. Is there a chance that you will compile ffmpeg #2997? That would be even cooler. :)

EniDurb commented 6 years ago

@WodKa78 when I try to install nzbdrone (rtd1296-6.1_20171112-10) I have this result : https://cl.ly/2O1c3V0p3918 And of course "mono beta" from "package center" installed and stopped, I have installed your mono too, and running. So ....

WodKa78 commented 6 years ago

@EniDurb i see now you have the play version which has Intel cpu and so this package will not work as compiled for ARM. i suggest you to install Docker and use the Sonarr package build for that.

WodKa78 commented 6 years ago

@sandval your welcome, good to see people appriciate it :-) As for ffmpeg package seems its not just a matter of compiling but there are more issue if i read @ymartin59 comments in https://github.com/SynoCommunity/spksrc/issues/2886#issuecomment-334266794 well. I cannot be at help with those specific issues as i am not a programmer of any kind, just learned a bit how to compile with spksrc to satisfy my needs. if those issues will be solved i am ofcourse more then happy to try compiling it for us rtd1296 users.

banshee1971 commented 6 years ago

Did you find a Docker package working for RTD1296 CPU ? (just in case...)

About the Mono part, i try to stop it after the installation, but this option not there. Only Uninstall. I did the 2 modification using Putty, and also reboot the NAS.

I reboot the NAS, same result, Mono only have "uninstall" in his action tab !

banshee1971 commented 6 years ago

I try some package from here... just in case, but none of them works (probably they will with the Play version)

https://usdl.synology.com/download/Package/spk/Docker/

WodKa78 commented 6 years ago

Docker is only available for machines running on Intel cpu, not (yet) available for ARM devices

WodKa78 commented 6 years ago

@banshee1971 first install run/stop the "official" Synology version of Mono (Beta) then install the one from my repo (which cannot be stopped just uninstalled)

sandval commented 6 years ago

Thanks @WodKa78, I saw @ymartin59's post, but I hoped the best. :)

hogendoorn commented 6 years ago

@WodKa78 Thanks for compiling these packages. Following your short manual works great! Even update Sonarr works! Any chance you could compile a package like Sabnzbd? That would make is complete :)

EniDurb commented 6 years ago

@banshee1971 Thanks docker.spk worked will try to find sonarr now :/

banshee1971 commented 6 years ago

you are lucky ! I cant use Docker yet (hope it will be available with non-intel cpu)...

banshee1971 commented 6 years ago

sans titre

I un-install everything.. Then Install Mono (from Syno), stop ! Install the new Mono, mediainfo, then nzbdrone and i got an error message (with no message on it). any clue ?

WodKa78 commented 6 years ago

restart the machine and start again the procedure, had this also before ones

WodKa78 commented 6 years ago

@hogendoorn Sabnzbd requires Python to run, i still am not able to compile that package. I suggest you use Nzbget instead. In issue https://github.com/SynoCommunity/spksrc/issues/2886 user BidorffOL presented that package. Works like a charm...

WodKa78 commented 6 years ago

https://github.com/SynoCommunity/spksrc/issues/3009 @Safihre made a great effort and got Python running. Works with the packages on my repo so you can try Sabnzbd if you want. @hogendoorn

Johnito commented 6 years ago

@WodKa78 your repository rocks ! This is really an early christmas to me :-)

Well, i dont feel good asking for this, since you obviously do not use it yourself, but ... would it be complicated to compile the transmission package ? Apart from the official Synology thing, there isnt any torrent downloader available on RTD1296.

EDIT : Meant rutorrent.

Safihre commented 6 years ago

Already done 👍 Links removed, outdated

All packages that I build so far (click to see the files) Links removed, outdated

Johnito commented 6 years ago

Nice !!! But i actually meant rutorrent, i corrected my post. This one is a bit more complicated right ?

Required packages are PHP7, WebStation and Apache HTTP Server 2.4 (all compatible with RTD1296). But SynoCommunity rutorrent package is a bit tricky to install : you actually need to do some things aside in order to make rtorrent work (personnalise the PHP profile and open_basedir for exemple).

If its compiled but cannot run right away, it may not be an issue. (i'd be happy to test if needed),

WodKa78 commented 6 years ago

@Johnito thanks but all credits belong to the developers here who made and maintain spksrc, I am just using their tools an publish :-)

WodKa78 commented 6 years ago

For rutorrent I suggest you open an package request (read the contribute guidelines how to proper request a new package) and hope someone will pick it up.

Safihre commented 6 years ago

Unfortunately the build is failing: https://travis-ci.org/Safihre/spksrc/jobs/307825942

But it is due to problems with curl, probably simple to fix if you know where to look. Seems some library needs to be updated.

Johnito commented 6 years ago

@Safihre after some time testing, the package you compiled works very well (except RSS on RTD1296). I do not know either whats wrong with curl libs for RTD1296, but AFAIC what you were able to provide is just perfect. I hope many will find those packages easily. I also tried your Avoton based package (DS415+) and it works as expected, without any curl issues.

BTW, I also installed your GIT and PYTHON packages in order to run sickbeard-custom (noarch). While this package seems to be usable as is, it doesn't want to install since it cannot find your own Git/Python (probably because it is expecting SynoCommunity compilations ?). Can you add sickbeard-custom to your list too if it's possible ?

Sickbeard-custom is to my knowledge the only sickbeard-like installer allowing to install Medusa (amazing sickrage fork).

WodKa78 commented 6 years ago

@Johnito try this one i can't test at the moment so please check and comment.

Johnito commented 6 years ago

@WodKa78 your compilation is working 👍

Tested (install + few tests to be sure it's all there) on both Avoton and RTD1296 based Synos without any issues. @Safihre Git and Python packages are detected and logs inspection confirm there is no issues whatsoever.

Safihre commented 6 years ago

Cross-post from #2945, new packages for Python and SABnzbd.

So, it has taken days of compiling, liters of coffee and moments of pulling my own hairs, but I think I have working packages now. Who feels like trying? Python: https://github.com/Safihre/spksrc/releases/tag/python-dsm61-new-all SABnzbd: https://github.com/Safihre/spksrc/releases/tag/sabnzbd-dsm61-new-all

Francis2b commented 6 years ago

@Safihre does that mean Sonarr is now working on rtd1296 ?

Safihre commented 6 years ago

Please see https://github.com/SynoCommunity/spksrc/issues/2945#issuecomment-357008518 for DSM6.1 package list!

Francis2b commented 6 years ago

Is NZBGet still changing the name of the group sc-media ?

Safihre commented 6 years ago

No, it's now in sc-download and doesn't touch anything else.

Francis2b commented 6 years ago

Yes sorry it was sc-download that was renamed. I'm home not home so I wasn't able to check. So now NZBGet doesn't rename anything? Great! But what happens it the group was rename by the previous version?

Safihre commented 6 years ago

I'm sorry but I don't understand what you mean. Rename in what way? The description? It will create the group if it doesn't exist and adds the sc-nzbget user to it if it's not already in the group.

Francis2b commented 6 years ago

In a previous version, my sc-download got renamed in sc-download__PKG__ or something like that I can't check I'm not home

Safihre commented 6 years ago

It might create a new sc-download if only this modified one exists. I wasn't aware of this potential side-effect and haven't see it in my testing so far, but I don't think this new version could do that.

Francis2b commented 6 years ago

As soon as I get home I post a picture

Francis2b commented 6 years ago

Here is the screenshot:

screen shot 2018-01-12 at 16 50 40
Safihre commented 6 years ago

sc-media is not related to NZBget, but to one of the media related packages. So one of couchpotato, sonarr, radarr, tvheaded, etc.

Francis2b commented 6 years ago

That's why I thought it was strange that NZBget change the name of this group

Safihre commented 6 years ago

I doubt this new package does this too. There is just no way it could do that. Unless other people report it, I would like to end the discussion about it for now.

Safihre commented 6 years ago

New package list here (just added Sonarr/Radarr): https://github.com/SynoCommunity/spksrc/issues/2945#issuecomment-357008518