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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cannot remove volume

Cannot remove volume

Scheduled Pinned Locked Moved Solved Support
volumes
5 Posts 3 Posters 1.3k 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.
  • timconsidineT Online
    timconsidineT Online
    timconsidine
    App Dev
    wrote on last edited by girish
    #1

    I mounted a volume for use with Emby
    I assigned this in the Emby app (some months ago)
    I have now removed it in the Emby app
    I have checked in the Emby app settings under Storage.
    I went to my Volumes to try to remove it there.
    But it says in use
    Screenshot 2022-02-17 at 11.18.22.png
    I don't recall using this volume anywhere else.
    I have checked in File Manager and via Forklift there are no files.
    Can I force its removal ?
    How do I check where/why Cloudron thinks it is in use ?

    Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

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

      In an SSH connection to your server, you can first get the volumeId from the database:

      mysql -uroot -ppassword box -e "SELECT * FROM volumes"
      

      Then use the volumeId in the following command:

      mysql -uroot -ppassword box -e "SELECT * FROM appMounts WHERE volumeId='<volumeId>'"
      

      (Also note, password is correct, this is not to be replaced in this command)

      timconsidineT 1 Reply Last reply
      1
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        Mmm, we should probably show where it is in use!

        timconsidineT 1 Reply Last reply
        3
        • girishG girish

          Mmm, we should probably show where it is in use!

          timconsidineT Online
          timconsidineT Online
          timconsidine
          App Dev
          wrote on last edited by
          #4

          @girish would be nice ! 😉 but not a huge problem in this particular case

          Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

          1 Reply Last reply
          0
          • nebulonN nebulon

            In an SSH connection to your server, you can first get the volumeId from the database:

            mysql -uroot -ppassword box -e "SELECT * FROM volumes"
            

            Then use the volumeId in the following command:

            mysql -uroot -ppassword box -e "SELECT * FROM appMounts WHERE volumeId='<volumeId>'"
            

            (Also note, password is correct, this is not to be replaced in this command)

            timconsidineT Online
            timconsidineT Online
            timconsidine
            App Dev
            wrote on last edited by
            #5

            @nebulon Had to wait a few days to execute on moved cloudron server.
            all resolved now.
            Thank you for this.

            Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            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