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
  • Brite
  • 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. Navidrome
  3. How to trigger a rescan?

How to trigger a rescan?

Scheduled Pinned Locked Moved Solved Navidrome
12 Posts 5 Posters 3.3k Views 4 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.
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    wrote on last edited by
    #1

    I've uploaded some new albums to my Volume but they aren't showing up in Navidrome.

    In the docs it says:

    CLI

    To trigger a scan:

    gosu cloudron:cloudron /app/code/navidrome -c /app/data/config.toml scan -f
    

    But I've so far never used the Cloudron CLI. How can I trigger a scan without it? Can I paste that command into the web terminal or something?

    Thanks!

    I use Cloudron with Gandi & Hetzner

    M 1 Reply Last reply
    0
    • jdaviescoatesJ jdaviescoates

      I've uploaded some new albums to my Volume but they aren't showing up in Navidrome.

      In the docs it says:

      CLI

      To trigger a scan:

      gosu cloudron:cloudron /app/code/navidrome -c /app/data/config.toml scan -f
      

      But I've so far never used the Cloudron CLI. How can I trigger a scan without it? Can I paste that command into the web terminal or something?

      Thanks!

      M Online
      M Online
      msbt
      App Dev
      wrote on last edited by
      #2

      @jdaviescoates yeah this is not the cloudron cli, this is the one of navidrome. So you just open up a web-terminal window from the app and paste that command in there.

      Hosting & Web Development

      jdaviescoatesJ 1 Reply Last reply
      1
      • M msbt

        @jdaviescoates yeah this is not the cloudron cli, this is the one of navidrome. So you just open up a web-terminal window from the app and paste that command in there.

        jdaviescoatesJ Online
        jdaviescoatesJ Online
        jdaviescoates
        wrote on last edited by
        #3

        @msbt thanks! I guess I could've tried that before asking! But at least now there is this thread if anyone else isn't sure.

        Just did it and it's doing its thing...

        @staff perhaps add "open up a web-terminal window from the app and paste the command in there" to the docs? 🙂

        I use Cloudron with Gandi & Hetzner

        nebulonN 1 Reply Last reply
        0
        • jdaviescoatesJ jdaviescoates

          @msbt thanks! I guess I could've tried that before asking! But at least now there is this thread if anyone else isn't sure.

          Just did it and it's doing its thing...

          @staff perhaps add "open up a web-terminal window from the app and paste the command in there" to the docs? 🙂

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          @jdaviescoates such a button would be nice, however it is basically impossible to figure out what your Cloudron dashboard domain is from the docs perspective to craft such a url

          M jdaviescoatesJ 2 Replies Last reply
          0
          • nebulonN nebulon

            @jdaviescoates such a button would be nice, however it is basically impossible to figure out what your Cloudron dashboard domain is from the docs perspective to craft such a url

            M Online
            M Online
            msbt
            App Dev
            wrote on last edited by
            #5

            @nebulon I think he just wants the web-terminal part added, so people know where to paste that line 😉

            Hosting & Web Development

            1 Reply Last reply
            0
            • nebulonN nebulon

              @jdaviescoates such a button would be nice, however it is basically impossible to figure out what your Cloudron dashboard domain is from the docs perspective to craft such a url

              jdaviescoatesJ Online
              jdaviescoatesJ Online
              jdaviescoates
              wrote on last edited by
              #6

              @nebulon I'm confused. I haven't said anything about a button!

              I'm just suggesting that you improve the navidrome docs at https://docs.cloudron.io/apps/navidrome/#cli to make it clearer how to trigger a scan, i.e.

              To trigger a scan open up the web terminal for your Navidrome app and paste this command

              gosu cloudron:cloudron /app/code/navidrome -c /app/data/config.toml scan -f
              

              I use Cloudron with Gandi & Hetzner

              nebulonN 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @nebulon I'm confused. I haven't said anything about a button!

                I'm just suggesting that you improve the navidrome docs at https://docs.cloudron.io/apps/navidrome/#cli to make it clearer how to trigger a scan, i.e.

                To trigger a scan open up the web terminal for your Navidrome app and paste this command

                gosu cloudron:cloudron /app/code/navidrome -c /app/data/config.toml scan -f
                
                nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #7

                @jdaviescoates ah of course, I've added a line for that now in the docs.

                jdaviescoatesJ 1 Reply Last reply
                1
                • nebulonN nebulon

                  @jdaviescoates ah of course, I've added a line for that now in the docs.

                  jdaviescoatesJ Online
                  jdaviescoatesJ Online
                  jdaviescoates
                  wrote on last edited by
                  #8

                  @nebulon thanks. Seems like you need to keep the browser web terminal window open until the process finishes too? I guess perhaps add something about that too?

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vansens
                    wrote last edited by
                    #9

                    @nebulon I have a pretty huge library, rescan takes a day or so. Therefore I would love to be able to do the rescan from a terminal (using "screen" so I can detach and reattach)
                    Is it possible?

                    1 Reply Last reply
                    1
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote last edited by
                      #10

                      The app package does not contain screen so one option would be to ssh into the server and use screen there (apt install screen if not installed, that should be fine). You can then docker exec -ti <appid or containerid> /bin/bash in the screen session and trigger the rescan.

                      1 Reply Last reply
                      1
                      • J Offline
                        J Offline
                        joseph
                        Staff
                        wrote last edited by
                        #11

                        In the past, I have used nohup for this. Something like:

                        nohup rescan.cmd > /app/data/rescan.log 2>&1 &
                        
                        1 Reply Last reply
                        1
                        • V Offline
                          V Offline
                          vansens
                          wrote last edited by
                          #12

                          Thank you @nebulon this worked perfectly!

                          1 Reply Last reply
                          0
                          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