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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Sonarr App, I would like help and feedback please

Sonarr App, I would like help and feedback please

Scheduled Pinned Locked Moved Discuss
11 Posts 3 Posters 1.6k Views 3 Watching
  • 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.
    • JOduMonTJ Offline
      JOduMonTJ Offline
      JOduMonT
      wrote on last edited by
      #1

      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
      
      mehdiM 1 Reply Last reply
      0
      • JOduMonTJ JOduMonT

        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
        
        mehdiM Offline
        mehdiM Offline
        mehdi
        App Dev
        wrote on last edited by
        #2

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

        JOduMonTJ 1 Reply Last reply
        0
        • mehdiM mehdi

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

          JOduMonTJ Offline
          JOduMonTJ Offline
          JOduMonT
          wrote on last edited by
          #3

          @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.
          mehdiM 1 Reply Last reply
          0
          • JOduMonTJ JOduMonT

            @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.
            mehdiM Offline
            mehdiM Offline
            mehdi
            App Dev
            wrote on last edited by
            #4

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

            JOduMonTJ 1 Reply Last reply
            0
            • mehdiM mehdi

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

              JOduMonTJ Offline
              JOduMonTJ Offline
              JOduMonT
              wrote on last edited by
              #5

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

              mehdiM 1 Reply Last reply
              0
              • JOduMonTJ JOduMonT

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

                mehdiM Offline
                mehdiM Offline
                mehdi
                App Dev
                wrote on last edited by
                #6

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

                JOduMonTJ 1 Reply Last reply
                0
                • mehdiM mehdi

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

                  JOduMonTJ Offline
                  JOduMonTJ Offline
                  JOduMonT
                  wrote on last edited by
                  #7

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

                  mehdiM 1 Reply Last reply
                  0
                  • JOduMonTJ JOduMonT

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

                    mehdiM Offline
                    mehdiM Offline
                    mehdi
                    App Dev
                    wrote on last edited by
                    #8

                    @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
                    0
                    • mehdiM Offline
                      mehdiM Offline
                      mehdi
                      App Dev
                      wrote on last edited by
                      #9

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

                      JOduMonTJ 1 Reply Last reply
                      2
                      • mehdiM mehdi

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

                        JOduMonTJ Offline
                        JOduMonTJ Offline
                        JOduMonT
                        wrote on last edited by
                        #10

                        @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
                        0
                        • JOduMonTJ JOduMonT

                          @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 Offline
                          E Offline
                          esawtooth
                          wrote on last edited by esawtooth
                          #11

                          @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
                          2
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search