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 Import Backup Fails in odd ways

    Support
    import backup
    3
    5
    115
    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.
    • robi
      robi last edited by girish

      Importing an app by exporting a backup config from cloudronA to cloudronB.

      Backups are on S3v4 + encrypted

      Importing Backup > uploading backup config saved from cloudronA.

      Access key is omitted from config save, so pasting that in, however the bug is allowing the import to continue w/o entering the enryption password.

      This causes the import to fail during the download phase.
      It's not graceful either. Can't cancel it.

      Then the Task Error from the Repair tab lets you retry it, which also fails.

      Then going back to Backups tab, one cannot do another import by uploading another backup config. The fields remain blank.

      One must completely exit the app config before one can try again.

      So two bugs possibly. The middle one shouldn't come up if the first is prevented.

      Life of Advanced Technology

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

        Good report. I guess we have to export in the config that a password is required and the UI needs to "require" it. @nebulon knows better than me if this is easy or not.

        As for the second issue, import should be allowed in any app state (like restore). So, that looks like a bug, will check.

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

          So, the import is indeed allowed even if the app errored out. The "retry import" is not ideal since it doesn't allow you to retry the import with a password.

          1 Reply Last reply Reply Quote 0
          • robi
            robi last edited by

            Correct.

            The flow could be improved further by providing a unique one-time link (via the api?) for a backup config file that one can simply paste into the destination cloudron instead of downloading and then importing a file.

            Life of Advanced Technology

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

              For a start, the next version will require the user to add an encryption password if the backup config indicates that the backup is encrypted.

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