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. Support
  3. Cannot remove volume

Cannot remove volume

Scheduled Pinned Locked Moved Solved Support
volumes
5 Posts 3 Posters 851 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 Offline
    timconsidineT Offline
    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 ?

    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 Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote on last edited by
          #4

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

          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 Offline
            timconsidineT Offline
            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.

            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