Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Sonarr App, I would like help and feedback please

    Discuss
    3
    11
    558
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JOduMonT
      JOduMonT last edited by

      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 production

      so 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
      
      mehdi 1 Reply Last reply Reply Quote 0
      • mehdi
        mehdi App Dev @JOduMonT last edited by

        @JOduMonT

        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 ).

        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 ?

        JOduMonT 1 Reply Last reply Reply Quote 0
        • JOduMonT
          JOduMonT @mehdi last edited by

          @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 further

          now 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.
          mehdi 1 Reply Last reply Reply Quote 0
          • mehdi
            mehdi App Dev @JOduMonT last edited by

            @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 1 Reply Last reply Reply Quote 0
            • JOduMonT
              JOduMonT @mehdi last edited by

              @mehdi said in Sonarr App, I would like help and feedback please:

              Sonarr would be pretty much useless without Jackett and a torrent client.

              Now useless, but not super useful too 😉

              @mehdi in your Jackett how/where do you do the health check ?

              mehdi 1 Reply Last reply Reply Quote 0
              • mehdi
                mehdi App Dev @JOduMonT last edited by

                @JOduMonT said in Sonarr App, I would like help and feedback please:

                @mehdi in your Jackett how/where do you do the health check ?

                In my Jacket ? What do you mean ? I don't have an instance of Jacket ^^

                JOduMonT 1 Reply Last reply Reply Quote 0
                • JOduMonT
                  JOduMonT @mehdi last edited by

                  @mehdi said in Sonarr App, I would like help and feedback please:

                  In my Jacket ? What do you mean ? I don't have an instance of Jacket ^^

                  doh! I mean in your Jellyfin
                  how do you handle the health check ?

                  mehdi 1 Reply Last reply Reply Quote 0
                  • mehdi
                    mehdi App Dev @JOduMonT last edited by

                    @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 /.

                    1 Reply Last reply Reply Quote 0
                    • mehdi
                      mehdi App Dev last edited by

                      @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?

                      JOduMonT 1 Reply Last reply Reply Quote 2
                      • JOduMonT
                        JOduMonT @mehdi last edited by

                        @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,

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          esawtooth @JOduMonT last edited by esawtooth

                          @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.

                          1 Reply Last reply Reply Quote 2
                          • First post
                            Last post
                          Powered by NodeBB