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.

AndyHIP commented 6 years ago

thank you for your work. i tried sabnzbd for apollo lake. unfortunately it doesn´t work. python seems to run ok. when installing sabnzbd it says "not available"

Safihre commented 6 years ago

@AndyHIP try installing it again, I also got this once but it turned out it was installed just fine and nothing unusual in the logs.

AndyHIP commented 6 years ago

thank you.

i tried installing 6 times, didn´t work. then i set the rights of the group dc-download (read/write in download folder weren´t set) - didn´t work either. then i restarted the DiskStation - installed - and now it seems to work ok!! Don´t know if it were the rights or the restart (-: thanks so much!!!

tchirou commented 6 years ago

All packages I have using python I uninstalled sabnzbd and installed it again. It says "running" but it does not display the ip to access sabnzbd and impossible to open or download the config.ini in the @appstore folder through SSH I cannot uninstall python for now as it request to uninstall all my spk using it and I need to backup all my config files before doing that. I need a little time to do this

2018-01-05 16:55 GMT+01:00 Safihre notifications@github.com:

@bolhaskutya https://github.com/bolhaskutya probably because the git package I linked is actually broken, sorry for that! Need to recompile.

@tchirou https://github.com/tchirou what packages are giving this error? What if you try to uninstall python and sabnzbd and then install both from my releases?

— 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-355589197, or mute the thread https://github.com/notifications/unsubscribe-auth/AGb87ABeIOiPkS7JO0497SrHhTy4k0Dxks5tHkXugaJpZM4PuydG .

Safihre commented 6 years ago

@AndyHIP what exact path did you set the permissions on? @tchirou To access SAB you just use the NAS IP-address but with :8080 behind it, so for example http://192.168.1.100:8080.

AndyHIP commented 6 years ago

first for "downloads" - then for everything (doesn´t matter i thought)

tchirou commented 6 years ago

Alright I was testing the 9091 but it wasn't available. The 80 works. I will need to test it further with downloads

Do you think you can make a sickrage spk with the fork from https://github.com/SickRage/sickrage.github.io Also; do we need a special couchpotato too ? Thanks a lot

2018-01-05 17:23 GMT+01:00 Safihre notifications@github.com:

@AndyHIP https://github.com/andyhip what exact path did you set the permissions on? @tchirou https://github.com/tchirou To access SAB you just use the NAS IP-address but with :8080 behind it, so for example http://192.168.1.100:8080.

— 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-355597013, or mute the thread https://github.com/notifications/unsubscribe-auth/AGb87Oo1DhDudTSi1ro8QFogM4kemnT_ks5tHkxngaJpZM4PuydG .

AndyHIP commented 6 years ago

downloads / unpacking working just fine now.

Safihre commented 6 years ago

@tchirou I recompiled git with recent fixes, could you try it? Link removed, outdated So first install this package and then the sickrage package.

ghost commented 6 years ago

Really appreciate the work on getting this apollolake issue resolved. Can I just ask whether Sonarr, Radarr, Transmission are in scope for this work?

FerdiSyno commented 6 years ago

When can we expect to see git and python in package center and will those packages make sickbeard-custum etc work?

bchocotoff commented 6 years ago

Hi Safihre,

So i now have sabnzbd working with the Python package. Next step is CouchPotato.

Next step is Sickrage!

The standard port is :8899

Finally i got my new NAS DS918+ set up the way i had it in mind. I appreciate your input very much! Thank you! Have a great 2018!

defaultsecurity commented 6 years ago

Finally I installed sickrage too! It took a long time.

But I get the following error: 2018-01-05 18:52:59 Unable to open /volume1/TV Show: OSError(13, 'Permission denied') / [Errno 13] Permission denied: '/volume1/TV Show'

During install sickrage didn't ask for default user, I wonder what user sickrage is using for its file operations...

Safihre commented 6 years ago

@FerdiSyno we need people to test the new packages first, so give them a go and let us know if they work :)

For the others: The Sickrage package needs to be updated to work with the new permissions setup. I think maybe it's best even if I just take the current package down to avoid confusion for now.

Getting python to compile for all platforms literally took me 5 full days, so I need a Synology break this weekend 🤓🤖

defaultsecurity commented 6 years ago

@Safihre Ok, thanks for the info regarding sickrage permissions.

Shouldn't we be using the official repo? https://github.com/SickRage/SickRage.git instead of https://git.sickrage.ca/SiCKRAGE/sickrage.git ?

Thanks you for your hard work! We were very hopeless until now. You're the ray of hope in this dark mess :)

tchirou commented 6 years ago

@Safihre The link for the new git has been removed Should i take it somewhere else ? Thanks a lot

FerdiSyno commented 6 years ago

@Safihre I'm not really a greater tester because I've got no xp with coding and stuf. I only use python for sickbeard-custum (I'm using the other sickrage, not echelons sickrage). Since sickbeard-custom ain't working I'm probably of no use to you :(. Anyways thx for the hard work mate!

BrianRotha commented 6 years ago

Amazing work, Safihre! Python and SABNZB working like a charm -> Fast and easy to get it inastalled and working without issue so far

I can't find anyhere the GIT / SickRage packages refenced in the last ~12hrs (git_apollolake-6.1_2.11.0-10.spk also sickrage_noarch-all_20171119-4.spk)

jimpouwels commented 6 years ago

DS218play is also not showing most of the packages (e.g. python/sabnzbd/etc.)

Safihre commented 6 years ago

@jimpouwels yes, that's the point of this issue. And as described before, please try the packages I linked so that we can get feedback before it's being published on the repo. These new packages required a lot of work to make future proof so we ended testers first.

For anyone trying to download my git package: I removed it because it's no use without an updated sickbeard/sickrage package. They would not be compatible directly (in terms of permission management) with the new SABnzbd package.

GabrielaKprivate commented 6 years ago

Hello, I am using Syncthing on a Synology DS115j for about one year now. Now I have a new Synology disk station - DS218+. I have added http://packages.synocommunity.com/ to the package manager and allowed beta versions to be displayed and "Synology and trusted developers" to be shown. Still, I cannot find the SyncThing package anymore :-(. It seems that this thread here covers the main problem.

Please help - I am not a Synology specialist and I am not fit in installing packages manually. How can I install Syncthing on this disk station? Best regards.

jsanchez999 commented 6 years ago

Hello, I am trying to install sonar in DS718 and I need Mono testing package for apollolake with DSM 6.1+. The following link is not working anymore: https://www.dropbox.com/s/wgvvct1sf0507aq/mono_apollolake-6.1_5.8.0.22-9.spk?dl=0

Could anyone help me with this? Thanks a lot!!

m4tt075 commented 6 years ago

@jsanchez999 You will find Mono 5.4.1.6 packages for DSM 6.1 on this link here for the time being. These are beta packages. Please do report any issues you should find.

The corresponding packages for DSM 5.2 will be published via the SynoCommunity platform (if they aren't already).

panc88 commented 6 years ago

Hi @Safihre first of all many thanks for the Python / SABnzbd packages, I am running a DS418play on 6.1 and it works like a charm. You mentioned that the GIT package will allow to fix the Couchpotato / Sickbeard packages but still those packages will not work in terms of user privileges with SABnzbd. Is that so? Because I see all of those packages in the Synocommunity repository so I assumed they are already updated.

Safihre commented 6 years ago

@panc88 they are not updated. They would only work if you manually set the correct permissions.

panc88 commented 6 years ago

I see, thanks for the clarification.

EVRiNOM commented 6 years ago

Does anyone have any luck with Jackett?

m4tt075 commented 6 years ago

@EVRiNOM You can try yourself. DSM 6.1 beta packages for Jackett-0.8.490 are available on this link here for the time being. But please do report any issues you should find.

The corresponding packages for DSM 5.2 will be published via the SynoCommunity platform (if they aren't already).

jsanchez999 commented 6 years ago

@m4tt075 THANK YOU ver much! I downloaded mono from the link you passed and sonar is perfectly working. Regards.

sholden28 commented 6 years ago

Has anyone had any success with a working syncthing package? @safihre is there anything I can do with your latest syncthing package to get it running properly?

EVRiNOM commented 6 years ago

@m4tt075, it works flawlessly, thank you!

Safihre commented 6 years ago

See https://github.com/SynoCommunity/spksrc/issues/3138 for package-list!

suave123 commented 6 years ago

I dont want to be ungrateful, but do you have Sonarr also?

BrianRotha commented 6 years ago

Incredible! Thanks

Will test tomorrow

panc88 commented 6 years ago

@Safihre i installed git, phyton and sabnzbd on a DS418play, everything running smoothly. Huge thank youuuuuu

BrianRotha commented 6 years ago

@safihre What’s the benefit of using your SickRage and Couch Potato vs that on Synocommunity?

suave123 commented 6 years ago

@BrianRotha the others wont install....

sholden28 commented 6 years ago

Syncthing is installed and working properly on two DS718+ running DSM 6.1.4-15217 Update 5. Thanks Safihre!

defaultsecurity commented 6 years ago

@Safihre Oh, my god! Sickrage + Git + Python is working! Everything seems to be in order. Will keep testing for the next few days. You are awesome! Thank you very much. Will you update ruTorrent too if you have some spare time/energy in the future?

For those who have permission problems on synology: add read/write permissions to appropriate folders for the sc-media user group!

Diaoul commented 6 years ago

@suave123, I don't like that selfish attitude here. Let me clear a few things:

Developers of SynoCommunity develop on their free time and develop packages for others to enjoy. This is not a closed community, everyone can contribute and are encouraged to do so. We prefer code contributions rather than people sharing their version of a package or advertising their own repository. This is to improve overall quality and ensure the package will keep being maintained over the years as it has been done so far. All the code is opensource and makes creating packages streamlined, maintainable and trustworthy. Take a look at the commit history to see all the countless hours spent on this repository and not just @Safihre, many others too. Spitting on SynoCommunity because a package doesn't work for you is pure selfishness. If you feel like you're up to the task, your contribution is more than welcome.

Awesome work btw @Safihre, I'm looking forward for this to be merged.

suave123 commented 6 years ago

@Diaoul i think you misinterpreted my post. I was just expressing my gratitude to his hours of work and am astonished how all this work has come from 1 person only.

EsX77 commented 6 years ago

@Diaoul, (deleted) There are simply a lot of users really happy that they can get their favorite packages working again thanks to Safihre. That does not mean we are not grateful to all the coders/programmers behind the SynoCommunity.

ward0 commented 6 years ago

@Safihre Can i use your packages for DS213J and DSM6.1 pls? I have mono/sonarr installed can i just install an upgrade of the already installed versions pls?

Safihre commented 6 years ago

@ward0 Yes you can, the mono package by @m4tt075 linked above in my post works. With that one you can also use sonarr that already shows up in your Package Center (for me it shows up and works). Working on a newer version of Sonarr right now that uses the new service-approach, but the Package Center version should also work.

ward0 commented 6 years ago

@Safihre thx for the info, i will update my Mono this evening and test. Hoping that my Jackett is fixed also.

Safihre commented 6 years ago

@Diaoul Indeed, I am just taking the second-to-last hurdle after much work was already performed long before I got into all of this! I am just doing the easy bit, using the tools provided by others 🥇 But @Diaoul I hope you maybe have some time for that last hurdle: getting spkrepo to function for full DSM6 compatibility (and stability) 🎉

Diaoul commented 6 years ago

I don't have the time unfortunately but I gave @ymartin59 access to the server. The idea is to put spkrepo in a Docker container so it can run everywhere and be easier to deploy and maintain. I just hope the hosting cost isn't going to increase too much in the cloud :crossed_fingers:

Safihre commented 6 years ago

Why not put a wizard page (for upgrades) in each package, with a link to the donation page? We have done something similar for Sabnzbd and turns out many users don't mind giving a few bucks for free software, they just needed a reminder :) @ymartin59 what do you think?

FerdiSyno commented 6 years ago

@Safihre Thx for all the great work mate. Eventhough I'm not a coder or something I will test you packages soon, but waiting for sickbeard-custom first. Anyways lost of thx for you effort!

suave123 commented 6 years ago

@Safihre so if I want to use Sonarr / Radarr I need to wait a little longer, right? I am using DS218+