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. Bug: When adding of a volume fails, docker container creation fails, removal of old volume impossible

Bug: When adding of a volume fails, docker container creation fails, removal of old volume impossible

Scheduled Pinned Locked Moved Solved Support
volumesrepair
6 Posts 3 Posters 311 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.
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    wrote on last edited by joseph
    #1

    Scenario:

    • I had a volume "Calibre" set up as filesystem with the path /media/SG2TB/M/Calibre but I changed the path afterwards to /media/SG2TB/M/Books.
    • Tried to include the volume in the Komga app.
    • I get an error BoxError: (HTTP code 400) bad parameter - invalid mount config for type "bind": bind source path does not exist: /media/SG2TB/M/Calibre
    • Now I can't remove the (wrong) Volume in the Komga app view as the Save button in the storage tab is greyed out:
      Bildschirmfoto 2025-01-09 um 14.57.28.png
    • I can't remove the Volume in the Volume setting as it is "in use":
      Bildschirmfoto 2025-01-09 um 14.58.00.png
    • Restart is also greyed out:
      Bildschirmfoto 2025-01-09 um 14.58.53.png
    • I don't have a backup as I just installed the app.

    What can I do?

    girishG 1 Reply Last reply
    0
    • J Online
      J Online
      joseph
      Staff
      wrote on last edited by
      #2

      Are you able to just uninstall the app? You can import data into the new app from backup. But looks like a bug that needs to be fixed.

      necrevistonnezrN 1 Reply Last reply
      0
      • J joseph marked this topic as a question on
      • J joseph

        Are you able to just uninstall the app? You can import data into the new app from backup. But looks like a bug that needs to be fixed.

        necrevistonnezrN Offline
        necrevistonnezrN Offline
        necrevistonnezr
        wrote on last edited by
        #3

        @joseph said in Bug: When adding of a volume fails, docker container creation fails, removal of old volume impossible:

        Are you able to just uninstall the app? You can import data into the new app from backup. But looks like a bug that needs to be fixed.

        Yes, I could do that but would lose all my settings. As I wrote:

        I don't have a backup as I just installed the app.

        1 Reply Last reply
        0
        • necrevistonnezrN necrevistonnezr

          Scenario:

          • I had a volume "Calibre" set up as filesystem with the path /media/SG2TB/M/Calibre but I changed the path afterwards to /media/SG2TB/M/Books.
          • Tried to include the volume in the Komga app.
          • I get an error BoxError: (HTTP code 400) bad parameter - invalid mount config for type "bind": bind source path does not exist: /media/SG2TB/M/Calibre
          • Now I can't remove the (wrong) Volume in the Komga app view as the Save button in the storage tab is greyed out:
            Bildschirmfoto 2025-01-09 um 14.57.28.png
          • I can't remove the Volume in the Volume setting as it is "in use":
            Bildschirmfoto 2025-01-09 um 14.58.00.png
          • Restart is also greyed out:
            Bildschirmfoto 2025-01-09 um 14.58.53.png
          • I don't have a backup as I just installed the app.

          What can I do?

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @necrevistonnezr said in Bug: When adding of a volume fails, docker container creation fails, removal of old volume impossible:

          I had a volume "Calibre" set up as filesystem with the path /media/SG2TB/M/Calibre but I changed the path afterwards to /media/SG2TB/M/Books.

          Trying to reproduce this... Do you mean here that you deleted the Old volume and added a new Volume? Because you cannot change the path of 'filesystem' volumes.

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            nvm, I reproduced it. If you change the path behind Cloudron's back, it doesn't work. I think it's correct to error since that path doesn't exist anymore. But anyway quick fix is: simple create empty /media/SG2TB/M/Calibre on the server and then Retry configure will work.

            After it comes up, remove the mount from the app, delete the volume, add new volume with correct path, add mount into app...

            necrevistonnezrN 1 Reply Last reply
            0
            • girishG girish

              nvm, I reproduced it. If you change the path behind Cloudron's back, it doesn't work. I think it's correct to error since that path doesn't exist anymore. But anyway quick fix is: simple create empty /media/SG2TB/M/Calibre on the server and then Retry configure will work.

              After it comes up, remove the mount from the app, delete the volume, add new volume with correct path, add mount into app...

              necrevistonnezrN Offline
              necrevistonnezrN Offline
              necrevistonnezr
              wrote on last edited by
              #6

              @girish said in Bug: When adding of a volume fails, docker container creation fails, removal of old volume impossible:

              nvm, I reproduced it. If you change the path behind Cloudron's back, it doesn't work. I think it's correct to error since that path doesn't exist anymore. But anyway quick fix is: simple create empty /media/SG2TB/M/Calibre on the server and then Retry configure will work.

              After it comes up, remove the mount from the app, delete the volume, add new volume with correct path, add mount into app...

              That's what I did, I went behind Cloudron's back 😉
              ... and didn't think of the obvious solution presented by you! Thank you.

              1 Reply Last reply
              1
              • girishG girish has marked this topic as solved on
              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