Sonarr App, I would like help and feedback please
-
After @girish showed interest about Sonaar and I could already build the arr family via a script
I tried again to compile an app for Cloudron.
While since it is my first app I call for help to be able to make this image ready for productionso if @mehdi, @msbt, @fbartels, @w88vietnamfc, @doodlemania2, @thetomester13, @jimcavoli, @iamthefij, @eyecreate, @RoboMod, @tobru, @gabrielcossette, @m4rg4sh and/or someones with experience of packaging an apps for Cloudron would like to guide me
it would be my pleasure to maintain Lidarr, Sonarr, Radarr and Readarr for Cloudron Users.
What is the status
- it work on my localhost docker host
but
git clone https://git.cloudron.io/jodumont/sonarr.git cd sonarr cloudron install --image jodumont/sonarr:latest
give me an error 500 during the creation of the container
=> Queued . => Cleaning up old install => Registering subdomains . => Downloading image .................................................................... => Creating container .... App installation error: Installation failed: (HTTP code 500) server error - OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"/usr/bin/mono /opt/NzbDrone/NzbDrone.exe --log-file=/var/log/sonarr.log --nobrowser --server-datafolder=/app/data --webservice-interface=any\": stat /usr/bin/mono /opt/NzbDrone/NzbDrone.exe --log-file=/var/log/sonarr.log --nobrowser --server-datafolder=/app/data --webservice-interface=any: no such file or directory": unknown
-
Just took a look at your package. your container is not working because the CMD command of your Dockerfile is wrong ! It should not be
CMD [ "command arg1 arg2" ]
butCMD [ "command", "arg1", "arg2" ]
( https://docs.docker.com/engine/reference/builder/#cmd ).I also had a question about your general packaging approach. So, if I understood your packaging correctly you are packaging Sonarr alone, so it would need a separate instance of jackett and one of a torrent app ?
-
@mehdi said in Sonarr App, I would like help and feedback please:
Just took a look at your package. your container is not working because the CMD command of your Dockerfile is wrong ! It should not be CMD [ "command arg1 arg2" ] but CMD [ "command", "arg1", "arg2" ] ( https://docs.docker.com/engine/reference/builder/#cmd ).
Thank for your help @mehdi actually I used your approach from jellyfin and call /app/code/start.sh instead
so I when a little furthernow it complain about not having a health check
Jun 06 20:42:02 box:apptask sonarr.domain.net updating app with values: {"installationState":"installed","error":null,"health":null}
@mehdi said in
I also had a question about your general packaging approach. So, if I understood your packaging correctly you are packaging Sonarr alone, so it would need a separate instance of jackett and one of a torrent app ?
Yes I understand your point of view , maybe I could put Lidarr, Sonarr and Radarr in one apps since they all use mono
but this is not really kosher if you speak at the Container philosophy.- Also it's not because you want to find movies than you want to find music and/or TVShow or book.
-
@JOduMonT said in Sonarr App, I would like help and feedback please:
maybe I could put Lidarr, Sonarr and Radarr in one apps since they all use mono
but this is not really kosher if you speak at the Container philosophy.Also it's not because you want to find movies than you want to find music and/or TVShow or book.
I totally agree, Sonarr Lidarr and Radarr should totally be separate. That's why my question was specifically about Jackett and the torrent client. Because my understanding from your other post was that Sonarr would be pretty much useless without Jackett and a torrent client.
-
-
@JOduMonT In River I have a nodeJS server that handles file management, and it checks the status of the jellyfin process and all the others, and serves a custom
/api/healthcheck
route.This is pretty unusual though. The usual thing is to just use a normal api route of your app, or even simply the root page
/
. -
@JOduMonT Has there been any progress on this? I'd like to pick it up if you don't have time to finish it. Do you have a link to a repo I can take a look at?
Btw, I have zero experience with Sonarr, and I just saw that both Sonarr v2 (which has not been released in quite some time) and Sonarr v3 (which is still in beta) are available. Which one did you go with?
-
@mehdi said in Sonarr App, I would like help and feedback please:
@JOduMonT Has there been any progress on this? I'd like to pick it up if you don't have time to finish it. Do you have a link to a repo I can take a look at?
Btw, I have zero experience with Sonarr, and I just saw that both Sonarr v2 (which has not been released in quite some time) and Sonarr v3 (which is still in beta) are available. Which one did you go with?nope, no progress,
-
@jodumont I cloned your repo, and spliced in some bits from the linuxserver Dockerfile with the net result that I could get Sonarr v3 (the beta version) to run on my cloudron. My code is here, if you want to review or play with.