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

    Solved Cannot remove volume

    Support
    volumes
    3
    5
    150
    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.
    • timconsidine
      timconsidine last edited by girish

      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 Reply Quote 1
      • nebulon
        nebulon Staff last edited by

        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)

        timconsidine 1 Reply Last reply Reply Quote 1
        • girish
          girish Staff last edited by

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

          timconsidine 1 Reply Last reply Reply Quote 3
          • timconsidine
            timconsidine @girish last edited by

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

            1 Reply Last reply Reply Quote 0
            • timconsidine
              timconsidine @nebulon last edited by

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

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