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

Add apollolake support to some packages (Sonarr/Transmission/Radarr/etc) for DSX18+ #2945

Closed AthAshino closed 6 years ago

AthAshino commented 7 years ago

Setup

Package Name: Sonarr/Transmission/Radarr/SABnzbd/Python V2/nano/Jackett/Git Server/Python Package Version:

NAS Model: DS218+, DS718+, DS918+ NAS Architecture: Apollo Lake DSM version: 6.1

Expected behavior

Support for NAS devices (DS218+ specifically) with apollolake architecture in some packages (Sonarr, Radarr, Jackett and Transmission in my case).

Actual behavior

Sonarr, Radarr, Transmission, SABnzbd, Python v2, Jackett, Git Server, Python and nano are currently not available for apollolake-based NAS devices in SynoCommunity package repo.

Thank you for your time.

tchirou commented 6 years ago

+1 for sickbeard-custom with https://github.com/SickRage/sickrage.github.io

defaultsecurity commented 6 years ago

@Safihre Is the python package configured for utf-8? I'm getting an error in Sickrage: Exception: 'ascii' codec can't encode character u'\u2026' in position 61: ordinal not in range(128) According to this post it is because python is configured in ascii not uft-8: https://github.com/Diaoul/subliminal/issues/239#issuecomment-27384226

Could this be the case?

jnags commented 6 years ago

Just wanted to give a big THANK YOU to @Safihre, @m4tt075, and @Diaoul for all of their hard work in getting these things working. Got everything installed and will do some testing this weekend. I would greatly add a donation to the programs, and these fine folks for the hard work they provide and the pleasure I get from using the programs.

Thank you kind strangers!

AthAshino commented 6 years ago

@Safihre Sonarr not in my package center (DS218+) but thanks for all your work :)

Rwanou88 commented 6 years ago

@Safihre , the link for Python doesn't work :(

Thank you @Safihre, @m4tt075 and @Diaoul for you amazing work !

Safihre commented 6 years ago

Python package is recompiling with the UTF8 fix, give it ~30 min ๐Ÿ•ฆ

Diaoul commented 6 years ago

Just to clarify, I did nothing for this particular issue so if you want to donate, feel free to do so but reward the people that actually made it happen.

I've added donation links because people kept asking for them and, well, it helps pay the hosting bills. As for the donation program, I don't think this is a good idea. It doesn't provide sustainable income so it's not a good fit to cover hosting fees. And for packages, I don't think it's fair, this would redirect the donations on a per package basis even though you can have tons of contributors to the same package or contributions to the spksrc framework that all packages will benefit from or even to the repository code. I'd feel like I'd be stealing others people work. Moreover, it can be misleading for the users as they may think they rewarded some software's developers, when actually it was the packager. I don't like asking for money so the wizard donate link isn't something I have in mind, wouldn't it block the background upgrade? If so this would be rather annoying. There's a Bountysource, a few issues have bounties but it's hard to use for the users, much harder than clicking a donate button somewhere as you need to put a bounty on a specific issue.

I'll leave up to the current maintainers the decision on how they want to be rewarded.

Safihre commented 6 years ago

That makes sense, especially with so many contributors and it potentially not being clear that it's for SynoCommunity and not the software developers.

PS: I send you a donation earlier today for the hosting and the general effort ๐Ÿ’ธ

d1000pt commented 6 years ago

"New packages converted for generic service account, DSM6 compatibility and new architecture compatibility. All are still in testing!

If you experience problems (not requests for other packages), please send me logs at safihre@sabnzbd.org

NZBGet Python (Updated since last post! Please update to this one) SABnzbd (Updated since last post! Please update to this one) Git CouchPotato Sickrage Syncthing"

Thanks Safihre, great work! Everything working now! You made the difference mate :) Where can I donate for your work?

ward0 commented 6 years ago

I was like, lets test mono package, then click on the link.. 404 :(

m4tt075 commented 6 years ago

@ward0 You will find them here now...

Safihre commented 6 years ago

@bolhaskutya can you re-download the python package (same link) and see if your encoding issue is now fixed?

ward0 commented 6 years ago

@m4tt075 thx alot, installing atm.

ward0 commented 6 years ago

@m4tt075 you think its normal i'm still waiting for the install to finish on a DS213J?

m4tt075 commented 6 years ago

@ward0 Well, Mono is not startable by itself, but the package should signal that it has installed successfully. If you want to check, ssh into your box and see if it's there. Alternatively, install a package that depends on 'mono' ('Jackett' for instance, link here). It will only install and run if mono works correctly. Would give you indirect proof.

ward0 commented 6 years ago

@m4tt075 the mono package is in state 'stopping', i probably can't upgrade because jackett and sonarr are installed? Can i ssh into my box and kill the process?

ward0 commented 6 years ago

nvm found it ps axy and kill PID

defaultsecurity commented 6 years ago

@Safihre The utf-8 python package solved the encoding issue. Good job. Thank you! Still this sickrage contains many more bugs than https://github.com/SickRage/SickRage.git. Is it possible to make a package our of that one?

Safihre commented 6 years ago

But you can change the git url during the installation (not during upgrade, only new installations), have you tried that?

defaultsecurity commented 6 years ago

@Safihre Sorry, I just realized that git://github.com/SickRage/SickRage.git is the Sickbeard-custom package from SynoCommunity. Sorry for the confusion.

I changed the url during installation, but it doesn't run: "Failed to run package service." /volume1/@appstore/sickrage/env/bin/python: can't open file '/volume1/@appstore/sickrage/var/SickRage/SiCKRAGE.py': [Errno 2] No such file or directory

It can't work, since it has to be started with /volume1/@appstore/sickrage/var/SickRage/SickBeard.py

Is it too much to ask to fix up the Sickbeard-custom community package? It is way superior to the current Sickrage package.

tchirou commented 6 years ago

I agree with this ๐Ÿ™๐Ÿป

panc88 commented 6 years ago

@safihre iโ€™d also very much welcome an updated sickbeard-custom and couchpotato-custom package, and also would like to know how I can donate for your works on solving these issues for the community

Safihre commented 6 years ago

Please use the Donate button on the www.synocommunity.com website to support this project :) You can personally donate to me through https://sabnzbd.org/donate/ (for those who don't know, I'm actually the dev for SABnzbd and just somehow happend to get overly involved into this project recently ๐Ÿค—).

On the practical side of things: I am moving to a new house this week and internet will only be installed the week after. After that I'll get back on the package conversion track!

fatez commented 6 years ago

Hi, how can I download Transmission for my DS718 +? :) someone can help me? Thank you very much!

ghost commented 6 years ago

Happy to and will donate (to both), just hoping that we will eventually see the packages refโ€™d in this ticket (transmission, sonar, radar + their dependencies) in the syno repo ๐Ÿ™๐Ÿป

ghost commented 6 years ago

๐Ÿ‘†๐Ÿป Done. Others should do the same. Nothing like some cold hard ๐Ÿ’ต to (hopefully) ease the path to final resolution...

suave123 commented 6 years ago

i will donate when everything works on DSx18+....

ghost commented 6 years ago

Had Sonarr installed on my DS218+ before with the linked package in this thread. That stopped working when I installed the new Mono to get Jacket to work. And, now I can't find Sonarr. Where do I download Sonarr for DS218+?

panc88 commented 6 years ago

Donation done for both, keep up the good work!

Safihre commented 6 years ago

@styphnate As mentioned before, the Sonarr package is coming. The one posted before might have worked, but it was not made in a future proof way. This old style could lead to permission problems later on. Only packages made in the new style will now be linked here.

suave123 commented 6 years ago

@Safihre does this also mean Radarr is coming?

Safihre commented 6 years ago

Yes, but as written above, due to moving it will be a week or so at least.

suave123 commented 6 years ago

waar verhuis je heen?

ymartin59 commented 6 years ago

mosquitto has been published

Safihre commented 6 years ago

Sonarr/Radarr added, see list above (https://github.com/SynoCommunity/spksrc/issues/2945#issuecomment-357008518). Compiling should be done very soon.

DoctorDri commented 6 years ago

I just noticed that Midnight Commander is missing on my Synology 918+

suave123 commented 6 years ago

Huge amount of Kudos to Safihre!

Are all these packages updatable within its own application? Or do we have to come back to this forum regularly?

Safihre commented 6 years ago

Self-updating from within Sonarr/Radarr ๐Ÿค–

Safihre commented 6 years ago

SickBeard Custom also added.

panc88 commented 6 years ago

@safihre Thanks!!!

BrianRotha commented 6 years ago

I have spent the weeeknd testing SAB, Python, GIT, SickRage and SabNzb; all working fine.

Canโ€™t wait till Sonarr and Radarr are ready too! Happy to wait

Thanks for your hard work! Donation coming your way!

Safihre commented 6 years ago

@BrianRotha They are ready, see above!

defaultsecurity commented 6 years ago

@Safihre You are awesome! Everything seems to be in order. No bugs. No warnings. Ten times faster. Detects subtitles properly. I'll keep testing. I'll send a donation too :)

Two minor observations:

Good job, mate!

NicolasP commented 6 years ago

@Safihre I successfully installed a previous version of your SABnzbd package on a DS418Play about a week or 10 days ago. Today I tried updating to the latest one you posted, but I get a message saying that the port "undefined" is already in use. Any idea why this is happening? Do I need to uninstall the old version first?

Thanks for your hard work on these packages!

tchirou commented 6 years ago

Try to stop the package first Then update

Le 15 janv. 2018 ร  18:22, NicolasP notifications@github.com a รฉcrit :

@Safihre https://github.com/safihre I successfully installed a previous version of your SABnzbd package on a DS418Play about a week or 10 days ago. Today I tried updating to the latest one you posted, but I get a message saying that the port "undefined" is already in use. Any idea why this is happening? Do I need to uninstall the old version first?

Thanks for your hard work on these packages!

โ€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SynoCommunity/spksrc/issues/2945#issuecomment-357744469, or mute the thread https://github.com/notifications/unsubscribe-auth/AGb87M6PYPI7DzS3W4ysj4GliuDpX4Amks5tK4lvgaJpZM4PuydG .

NicolasP commented 6 years ago

Try to stop the package first Then update

Unfortunately that doesn't help. I still get the same message.

Safihre commented 6 years ago

Restart the NAS. Probably Sabnzbd didn't close properly and left the port occupied.

NicolasP commented 6 years ago

Restart the NAS. Probably Sabnzbd didn't close properly and left the port occupied.

That didn't do it either. I ended up removing the older package after backing up the settings, then installing the new one worked fine. Thanks again for your work!

Alberic76 commented 6 years ago

i am trying to install the new packages and the installation for example of sickrage works well, but it won't startup. Same thing with coachpotato etc. the packages error messages (like no python etc) seem to be over now, since they will install now but i am lacking an overview of which mono to install and what i need to do to get the packages working. Can someone please put down a step by step overview on the installation steps and which packages to get from where?

gothk999666 commented 6 years ago

Hi, First thanks for all the work done, Synocommunity packages are the main reason I stick with Synology for so long :) I've got one (maybe silly) question : can I use the RTD1296 spk with the DS418J (equipped with a RTD1293)?

Thanks in advance for your feedback!