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 Error restoring - no space left on device for app with custom storage location

    Support
    restore
    2
    4
    77
    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.
    • 3246
      3246 last edited by girish

      Hi there,

      I have another edge case and issue I am running into when restoring to another box:

      Original box

      • app has moved storage from /home/yellowtent/appsdata/... to /mnt/...
      • app can haz lots of data because Nextcloud

      Destination box

      • box has system drive (120GB SSD), and /home mounted to second drive (256GB SDD)
      • cloudron fails restoring because it tries to restore to /mnt/... and puts stuff on system drive

      Screenshot 2022-03-31 at 14.36.16.png

      I cannot for the life of me figure out a way to force it to restore to the default /home/... location on the second drive 😢

      Please help fellow Cloudron users!

      Solution: https://forum.cloudron.io/topic/6739/solved-error-restoring-no-space-left-on-device-for-app-with-custom-storage-location?_=1648795190229#

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        that is indeed an edge case which is not easily supported. Maybe it works to restore, if you create a symlink from /mnt... to a /home drive destination to get over the disk space issue and then once this worked, you reconfigure the app through the Cloudron dashboard to be back on the default location, then you should be able to remove the symlink again.

        This is just in theory, I personally haven't tried that yet.

        3246 1 Reply Last reply Reply Quote 1
        • 3246
          3246 @nebulon last edited by

          @nebulon thank you. I have tried it and at least the restore is working now 🙂

          I will report back once I reset the storage path after restoration.

          3246 1 Reply Last reply Reply Quote 0
          • 3246
            3246 @3246 last edited by 3246

            Note to self: Use an external drive that has twice the disk space needed by the apps as a temporary mount point to restore to! Because it will need to download a copy of the whole backup, then unpack and finally bin the download. D'oh!

            Step 1: Find a disk with sufficient space to restore to (apps space x 2)
            Step 2: Mount the disk and symlink to the original location in the backup file
            Step 3: Restore and then reset the storage location (or point it to where ever your new mount point is).

            Got it all working now. Perhaps it's time to invest in a bigger SSD for my home server 🙂

            1 Reply Last reply Reply Quote 0
            • Topic has been marked as a question  nebulon nebulon 
            • Topic has been marked as solved  nebulon nebulon 
            • First post
              Last post
            Powered by NodeBB