SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.04k 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.

WodKa78 commented 6 years ago

Yes you can :-) am on the same boat.

gothk999666 commented 6 years ago

Perfect, thank you very much :)

bvh1977 commented 6 years ago

@Safihre Thank you for all your efforts!

I would like to ask you a question regarding Sonarr. In topic (https://github.com/Sonarr/Sonarr/issues/963) the possibility of using a different path for logging is discussed so that hibernation is possible. The author markus101 says at the end:

Not sure if the Synology Package can have an option on where to host Sonarr's AppData folder (its not maintained by our team), which can be controlled with the -data=/path parameter, since that controls where Sonarr keeps its settings as well as logs (both file and database), but that is the solution that would be best here.

Is it possible to add this parameter in the installation package so that you can choose a different location when installing Sonarr?

m4tt075 commented 6 years ago

Tvheadend 4.2.5 test builds are available here now. Please continue to report any issues you should find.

felixekman commented 6 years ago

@Safihre Thanks for your awesome work! Any chance of maybe getting Jackett and an updated version of Transmission next round?

m4tt075 commented 6 years ago

Jackett is already available here. Can be further upgraded internally via the web-interface.

felixekman commented 6 years ago

@m4tt075 I tried it first actually, on apollolake I get the "Not available" error message with that package. (jackett_apollolake-6.1_0.8.490-5.spk)

jnags commented 6 years ago

Left a donation for both as others have before. Enjoy a cold 6 pack on me for your efforts. Thank you.

Is there a way to downgrade Mono. I installed a "newer?" version listed as 5.8.0.22-9 that seems to be working just fine. I tried to install the latest "5.4.1.6-9" and it says I have to uninstall sonarr and radarr in order to do so. Is there a way to change versions without uninstalling radarr and sonarr. I would prefer NOT having to redo the setup for both of those programs as I just got everything working how I want it and don't want to start from scratch again. (also I guess if it ain't broke, don't fix it.)

Thanks for the suggestions.

m4tt075 commented 6 years ago

@felixekman Sorry, I don't understand. The apollolake package is available on the link I shared. You have to download it to your desktop or something and then install it manually via the Synology Web-interface -> Package Manager. Where exactly do you get the "not available" message you are describing?

tchirou commented 6 years ago

Hi Guys

DS418 here Just donated 5 bucks each to Sabnzbd and Synocommunity for the awesome work I have enjoyed for 10 years now !

Everything (Sabnzbd, sickbeard-custom and Couchpotato) works great

The only thing is I get an error with Sabnzbd when rebooting the NAS. I use a folder downloads inside my home folder instead of volume1/downloads, and I granted the persmissions for these folders for sc-media and sc-downloads

2018-01-17 10:41:53,142::ERROR::[misc:1595] Cannot change permissions of /volume1/homes/cyril/Downloads/incomplete 2018-01-17 10:41:53,142::INFO::[misc:1596] Traceback: Traceback (most recent call last): File "/volume1/@appstore/sabnzbd/share/SABnzbd/sabnzbd/misc.py", line 1591, in set_chmod os.chmod(path, permissions) OSError: [Errno 1] Operation not permitted: '/volume1/homes/cyril/Downloads/incomplete'

Thanks a lot

Safihre commented 6 years ago

@felixekman aber have the /var/log/synpopkg.log file and the relevant sections?

felixekman commented 6 years ago

Manual remove of temp folder + add/remove group/users solved the issue with a reboot for safe measure.

defaultsecurity commented 6 years ago

@Safihre Just reporting in. After 4 days of testing Sickbeard-custom is working perfectly. Thank you!

suave123 commented 6 years ago

first 24 hrs of running NZBget, Sonarr and Radarr (after some tricky permission issues) running fine now....lets wait for another week. Donation is made!

exxie commented 6 years ago

Git is now viewable / installable on the synocummunity stream on the synology package center. Still, the python package is not present. Anybody any clue when this will be?

ghost commented 6 years ago

On my DS918+ I was able to install the following packages (apollolake) that are linked in the earlier comment

I was able to update sonarr/radarr and configure them with my client and my tracker via jacket. All seems to be working well, although I am a first time user so I might not be able to tell 100% that everything is fine. Still no errors and all apps open fine.

Can I just ask if there is a plan to give Transmission the same treatment?

Thanks again for all the hard work.

djlongy commented 6 years ago

Love your work Safihre! You have enabled me to load all my favourite apps back onto my DS3617xs! I have one small request. Would you be able to repackage the lightweight umurmur for broadwell? https://github.com/umurmur/umurmur

Thank you for your voluntary work. :)

Piero87 commented 6 years ago

Any news about transmission and pyload?

kraymitchell commented 6 years ago

@Safihre Thank you so much for your work. I've sent a donation, because you have made my life a lot easier since discovering SAB!

UPDATE I found where the packages are. Brain wasn't braining last night!

jnags commented 6 years ago

Have been using the programs for the last week or so on my DS918+ and everything seems to be running just as expected. Radarr, Sonarr, NZBget, Mono, Midnight Commander. Thanks for the great work!

Piero87 commented 6 years ago

There is a way to install pyLoad also for the apollolake architecture?

Safihre commented 6 years ago

Mono 5.8-pre and ffmpeg by @m4tt075 added to the list.

exxie commented 6 years ago

I am not able to install couchpotato from the synocommunity when installing python manually for the DS218+. I guess I have to wait for the python package to appear in synocommunity for my synology model.

defaultsecurity commented 6 years ago

@Safihre Will you get around to fixing up ruTorrent? I don't know about the libTorrent and rTorrent part of it, but this the most active ruTorrent git: https://github.com/Novik/ruTorrent

Most problems with ruTorrent are permissions of the rTorrent and Webserver users.

hechz commented 6 years ago

@m4tt075 and @felixekman I just attempted to deploy jackett_apollolake-6.1_0.8.490-5.spk and received the same "Not Available" message, syopkg.log only show this: 2018/01/22 14:14:18 install jackett 0.8.490-5 Begin /bin/rm -rf /volume1/@tmp/pkginstall 2018/01/22 14:14:18 install jackett 0.8.490-5 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0] 2018/01/22 14:14:18 install jackett 0.8.490-5 failed

This appears when the user clicks the "Apply" button after the package has been uploaded to the Synology.

Drakuhl commented 6 years ago

First of all thank you to all of those working on this issue, it is greatly appreciated. A lot of packages now work on my DS3617xs, however Mylar still refuses, claiming Python is not present even though python (and git) were installed correctly. Did anyone already solve this issue?

tchirou commented 6 years ago

Hi Ds418 here I personably have git cloned mylar master in my home folder and it works with sabnzbd and nzbtomedia I advise you to do the same

Drakuhl commented 6 years ago

How did you do that?

tchirou commented 6 years ago

Create the folder through dsm connect through SSH with putty. Go into the folder Then type Git clone https://github.com/evilhero/mylar.git

Then you can launch it with python Mylar.py and access it through the default port

You will need to create a script to start it when the NAS boots

Le 24 janv. 2018 à 17:13, Drakuhl notifications@github.com a écrit :

How did you do that?

— 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-360185962, or mute the thread https://github.com/notifications/unsubscribe-auth/AGb87ETEqQACRmz-XRIEi_7yFNhQ-7f4ks5tN1apgaJpZM4PuydG .

Drakuhl commented 6 years ago

Thank you, I will try that when back home.

ghost commented 6 years ago

I see the following errors in the log: Couldn't import movie movie: Access to the path is denied.

What's going on?

Safihre commented 6 years ago

This message is clearly displayed during install and upgrade, you need to give proper access rights to sc-media and sc-download (depending which package hoi are talking about) to all folders that the app needs to use.

ghost commented 6 years ago

I gave read/write permissions to sc-media and sc-download user group to the download and movie folder and still get this message.

Drakuhl commented 6 years ago

Hmm, tried the Git clone command, however i get an error: -sh: git: command not found even though Git is installed on the DS

Br1tzkrieg commented 6 years ago

mvss: I gave read/write permissions to sc-media and sc-download user group to the download and movie folder and still get this message.

I had the same issue on my DS218+ After trying pretty much everything over ssh, even putting sc-media as creator of my media folder (...) I had to resort to update my shared folder to windows ACL permissions and then I could assign permissons to sc-media properly everything works fine since then in Radarr/Sonarr

Only issue to report, sometimes (rarely) Mono entering in a 100% CPU usage loop (not running in Docker)

jimmybean commented 6 years ago

Thank you for sharing.

ghost commented 6 years ago

After trying pretty much everything over ssh, even putting sc-media as creator of my media folder (...) I had to resort to update my shared folder to windows ACL permissions and then I could assign permissons to sc-media properly everything works fine since then in Radarr/Sonarr

Hmm the option "Convert to Windows ACL" is greyed out on my Synology.

Err0r0815 commented 6 years ago

@Safihre i have an DS418 with 6.1 and cant find radarr, sonarr and nzbget. i enabled also beta in the options. what is the problem?

greetings

Safihre commented 6 years ago

Click here for the packages https://github.com/SynoCommunity/spksrc/issues/2945#issuecomment-357008518

Err0r0815 commented 6 years ago

oh, okay. so i have to manually install the packages. when will they show up in the synocommunity?

HIGHWOOD commented 6 years ago

Dear @Safihre

I installed the "ffmpeg (with full ARM support) (by @m4tt075)" package on my DS718+. But I can't find it anywhere in any menu on my NAS. How can I start ffmpeg? Thank you!

Regards, Marcel

Err0r0815 commented 6 years ago

@Safihre thanks for the link. i installed all the packages, but i cant restore the backup of radarr. i think its an permission failure of the 2 files (config.xml, nzbdrone.db)

is this problem solved by some guy who want to restore it?

Greetings

m4tt075 commented 6 years ago

@HIGHWOOD You won't find a link to ffmpeg in your NAS menus as it is a command-line tool. You can use it on the command-line by logging into your NAS via ssh or by having other packages use it.

@Err0r0815 Yes, wrong user permissions are well possible when restoring manually. I'd do the following: - Check ownerships (user and group) of the files within the var directory before you restore your backup.

Err0r0815 commented 6 years ago

@m4tt075 thx 4 the reply i tryed 2 things.

  1. look up the permissions, copy the 2 files and give all files the permissions => doesn´t work
  2. look up the permissions, copy the 2 files and give the 2 files the permissions => work!

if someone has this kind of problems...

Safihre commented 6 years ago

@Err0r0815 so do you maybe remember what the permissions (user/group) were and what they actually should be? This might be something we should fix in the code.

HIGHWOOD commented 6 years ago

@m4tt075 Thank you for your explanation! I also installed the packages for Python and CouchPotato. CouchPotato should have a shortcut. I can't find that one also?

PS. How can I remove this manual installed packes in the future if I want?

Thanx again!

HIGHWOOD commented 6 years ago

To install SABnzbd on my DS718+ I had to install Python first. I did that (also downloaded from this thread) and succeeded in installing SABnzbd. I tried the same for SickBeard (or Sonarr), but keep receiving the message that I need to install Python. Thanx for help!

Err0r0815 commented 6 years ago

@Safihre

the usr/grps where i created the backup (ds416) radarr:users and on the config.xml radarr:root

maybe here should do the devs of radarr/sonarr some work. maybe create an import button, that copies the files in the right directory (this were also changed..)

chunqiangl commented 6 years ago

@Safihre @ThomasClemenceau @dumon i have an DS218 with 6.1.5 and cant find Transmission in the synocommunity, when will they show up in the synocommunity? thanks

bond2k commented 6 years ago

Will definitely donate to this project. You guys are awesome. I would like to test Sonarr, Radarr and Tramsission and give feedback on a DS918+. Is this still the latest transmission? https://github.com/SynoCommunity/spksrc/issues/2945#issuecomment-339606440

Update: I've just installed mono 5.8.0-pre and Sonarr 20180115-11 and I get following message when trying to start Sonarr: "Corlib not in sync with this runtime: expected corlib version 1050800000, found 1050400003." Any ideas?