Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Custom app database wiped after migration

    Solved Support restore custom apps
    3
    0 Votes
    3 Posts
    354 Views
    J
    It's fine to keep the post around, helps others in the future @igaudette said in Custom app database wiped after migration: Looks like the backup is not backing up the database of the custom apps, is it possible? FWIW, the backup strategy is the same for custom apps and apps from app store. The only difference is that one uses a customer docker image/registry and the ones from the appstore use a appstore provided docker image/docker hub.
  • Question: Moving apps to volume

    Solved Support restore
    2
    0 Votes
    2 Posts
    293 Views
    J
    @stevespaw said in Question: Moving apps to volume: How does this affect backup? All apps backed up as normal? I guess you mean you symlinked appdata (atleast, from your post history) ? If so, yes all apps are backed up as normal . And if I restore - I assume that the same mount points need to be in place -, but will the restore work normally then? Yes, correct.
  • Can't Restore Backup To Migrate Server

    Solved Support restore hetzner
    6
    0 Votes
    6 Posts
    658 Views
    I
    @scooke in my case, you've to reupload the private key instead of using the backup config.
  • Restore not possible when mailbox is included in backup

    Solved Support backup restore mail
    10
    1
    2 Votes
    10 Posts
    1k Views
    robiR
    @nebulon here's what an AI found: Tarball Permissions The tarball contains files with ownership/permissions the process can’t replicate (e.g., root-owned files). Example: Extraction fails when tar.extract preserves original ownership. SELinux/AppArmor Security policies block filesystem operations despite correct permissions. Tar Library Behavior: The tar library (likely tar-fs) might try to preserve file permissions from the tarball. If the tarball contains files owned by root and the app runs as yellowtent, extraction fails unless permissions are ignored. Fix: Modify the code to ignore permissions: javascript const tarStream = tar.extract({ cwd: destinationPath, ignore: () => true }); Debugging Steps Check Permissions: javascript console.log('Source:', fs.statSync(sourcePath).mode.toString(8)); console.log('Dest:', fs.statSync(destinationPath).mode.toString(8)); Ensure Directory Exists: javascript if (!fs.existsSync(destinationPath)) fs.mkdirSync(destinationPath, { recursive: true }); fs.accessSync(destinationPath, fs.constants.W_OK); Add Error Logging: javascript const readStream = fs.createReadStream(sourcePath).on('error', (err) => console.error('Read:', err)); const unzipStream = zlib.createGunzip().on('error', (err) => console.error('Gunzip:', err)); const tarStream = tar.extract({ cwd: destinationPath }).on('error', (err) => console.error('Tar:', err)); Potential Fixes Ignore Tar Permissions: javascript const tarStream = tar.extract({ cwd: destinationPath, ignore: () => true }); Test with Logging: Run the modified code with error handlers. async function tarExtract(sourcePath, destinationPath) { ensureSafePath(sourcePath); ensureSafePath(destinationPath); console.log('Source:', sourcePath, fs.statSync(sourcePath)); console.log('Dest:', destinationPath, fs.existsSync(destinationPath) ? fs.statSync(destinationPath) : 'does not exist'); const readStream = fs.createReadStream(sourcePath) .on('error', (err) => console.error('Read error:', err)); const unzipStream = zlib.createGunzip() .on('error', (err) => console.error('Gunzip error:', err)); const tarStream = tar.extract({ cwd: destinationPath }) .on('error', (err) => console.error('Tar error:', err)); readStream.pipe(unzipStream).pipe(tarStream); await streamPromise(tarStream); } Conclusion The error is likely a mismatch between the Cloudron app’s user permissions and the filesystem.
  • Mounting error for restore during server migration

    Solved Support digitalocean restore
    5
    1
    0 Votes
    5 Posts
    665 Views
    N
    Thank you for this. I ended up creating a DO Spaces bucket, putting the backup there, and then restoring from that. To make it work, I had to use the Dry Run option and then manually sync the DNS. But now it is working. I wish that Hostinger had something akin to DO Spaces, but it doesn't, so I am still trying to figure out my strategy for offsite backups. Thanks @nebulon for your help!
  • Moving entire Cloudron from Linode to Digital Ocean

    Solved Support migration restore
    8
    1 Votes
    8 Posts
    1k Views
    O
    OK, instead of increasing the disk space or trying to hunt down files to delete, I decided to set up the new server on a temporary domain to test everything out (and might just migrate to that domain permanently). One issue I ran into was Cloudron wouldn't recognize the DNS in the domain settings when changing the dashboard domain. Since I set up the server with IPv6 I had to enter both the IPv4 and 6 addresses into the DNS config for my domain (I'm doing it manually since Godaddy and NameCheap won't let you use their API unless you have a LOT of domains and/or pay a premium). I'll have to do that for every app individually. I'll have to think ahead as far as disk space is concerned so I don't run into the Postgresql problem again. Thanks for your help!
  • Recovery emails

    Solved Support email mailbox restore
    4
    1 Votes
    4 Posts
    639 Views
    mdc773M
    nice i eventually figure it out thanks
  • tarExtract pipeline error: Invalid tar header

    Solved Support restore nextcloud header tar
    30
    1 Votes
    30 Posts
    2k Views
    P
    @jdaviescoates Yes, with encryption. Me too, I never had issues with Hetzner Storage Boxes but since few months various problem happens...
  • 1 Votes
    2 Posts
    426 Views
    nebulonN
    What is your use-case to restore the whole Cloudron from Cloudron itself? I can see if Cloudron and thus the dashboard is not working, a restore might be required, but then it cannot restore itself in such cases.
  • Piping MYSQL error when restoring Vaultwarden backup

    Solved Support mysql restore
    3
    0 Votes
    3 Posts
    513 Views
    humptydumptyH
    Yep, as usual. It's user error. I was using the box config backup. I just had to adjust the backup path to point to the app. I figured out the correct path by logging into my Backblaze dashboard, browsed through the bucket (by date) and the file "name" is your path. Copy/paste into the import box along with the box settings and voila!
  • Installation page should show current version

    Feature Requests restore
    1
    1 Votes
    1 Posts
    138 Views
    No one has replied
  • No support for simply uploading a backup through the web ui?

    Solved Support backups restore
    7
    1 Votes
    7 Posts
    1k Views
    girishG
    @philkunz said in No support for simply uploading a backup through the web ui?: Ok got it. Is there a particular reason, why a simple upload through the webui is not supported? In some ways, this can be considered a security issue. If we had some bug in Cloudron code, then one can import/delete your existing data in the app. This is also why we don't allow deleting backups via the web ui. But (atleast I) have come around to this a bit. Maybe this can be considered a usability issue. We just need to figure out some safety hatch when user uploading a backup (maybe require 2fa, reenter password etc).
  • 1 Votes
    2 Posts
    211 Views
    N
    Hi All Work it out IPV6 on the OS level Need to make sure that is off ( will look at how to make sure the OS stop using it )
  • 1 Votes
    3 Posts
    623 Views
    girishG
    @gerard said in Restore v7.7.2 (Ubuntu 22.04) backup to v8.0.0 (Ububtu 24.04) system: The release notes state an "initial support for 24.04" that doesn't sound like it's fully supported yet. It should mostly work but we are just being a bit cautious here There's a limit to how many VPSs we can test the installation on. We tested on the popular ones and seems to work, but one never knows. The upgrade path for you would be to upgade to v8. Then later in 2-3 weeks time when v8 is considered more stable, you can migrate to a fresh ubuntu 24 with cloudron backups.
  • Cloudron Restore. Problem with Bunny DNS

    Solved Support bunny dns restore
    7
    1
    1 Votes
    7 Posts
    994 Views
    jamesJ
    Closed due to inactivity
  • 7 Votes
    3 Posts
    487 Views
    L
    @ChristopherMag Wow, what a great story, with a happy ending, too! Thank you for taking the time to tell us the tale.
  • Need a guide to troubleshoot Cloudron issues

    Solved Support restore
    6
    2
    1 Votes
    6 Posts
    1k Views
    girishG
    I will mark this as solved, but if you hit this again please let us know.
  • 1 Votes
    8 Posts
    452 Views
    girishG
    @AmbroiseUnly yeah, good idea. I will add it to our internal list to check for backup existence to give quicker feedback.
  • Restore cloudron with multiple volumes on a new server

    Solved Support restore
    3
    1
    1 Votes
    3 Posts
    351 Views
    jamesJ
    Closed due to inactivity
  • How to uplaod the downloaded tar.gz backup file

    Solved Support backup restore
    6
    1 Votes
    6 Posts
    1k Views
    nebulonN
    If you mean the webterminal, then this is into the filesystem of the app, not the host system. Cloudron does not have a webterminal into the host system, as it is not advised to tinker with this. However in this case you should use scp (essentially file transfer via ssh) to put the tarball into the /tmp of the server.