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 from backup (tampered file)

    Support
    backups
    5
    13
    121
    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

      Decryption error at /home/yellowtent/boxdata/mail/solr/dovecot/data/index/_2j2_Lucene84_0.tim: Invalid password or tampered file (mac mismatch)
      

      Just got this friendly error popping up and pretty sure my backup password is correct. What's the recommended approach? Shall I just try it again? It takes ~30min to download each time 😢

      Visit https://www.axelsegebrecht.com for more about me

      murgero jdaviescoates 2 Replies Last reply Reply Quote 0
      • murgero
        murgero App Dev @3246 last edited by

        @3246 I would try another backup and see if it fails there too

        Maybe wrong password or the password was mistyped?

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

        1 Reply Last reply Reply Quote 2
        • jdaviescoates
          jdaviescoates @3246 last edited by

          @3246 it's things like this that make me avoid using encryption for most things. I tend to think the the risk of someone accessing my data is lower than something going wrong with encryption (or me forgetting the pw or whatever) 😛

          I don't really have much/ any sensitive data anyway 🙂

          I use Cloudron with Gandi & Hetzner

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

            OK, maybe you guys are right. I appear to have two very similar entries in my password safe darn it...

            Now I got this error:

            Already activated. Restore with a fresh Cloudron installation.
            

            Does that mean I have to start from scratch?!

            Visit https://www.axelsegebrecht.com for more about me

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

              What the deuce! I hit refresh on that restore page and now the DNS update dialogue popped up followed by ... disappointment and dread as the SSL certs haven't been generated yet, so I am greeted by an HSTS error message instead of my Cloudron dashboard.

              I assume it worked out OK in the end after I entered the, presumably, correct password but threw an error in my face instead?!

              Visit https://www.axelsegebrecht.com for more about me

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

                @jdaviescoates said in Error restoring from backup (tampered file):

                @3246 it's things like this that make me avoid using encryption for most things. I tend to think the the risk of someone accessing my data is lower than something going wrong with encryption (or me forgetting the pw or whatever) 😛

                I don't really have much/ any sensitive data anyway 🙂

                #EncryptAllTheThings

                Even if you don't have anything to hide or use it for business, in which case you /really/ should use it, you should use it anyway because it's good for you and a great way to stay in shape 😄

                Visit https://www.axelsegebrecht.com for more about me

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

                  @3246 said in Error restoring from backup (tampered file):

                  a great way to stay in shape

                  😆

                  I recommended the Scientific 7 minute workout, see eg https://archive.nytimes.com/well.blogs.nytimes.com/2013/05/09/the-scientific-7-minute-workout/

                  I use this wonderful app:
                  https://f-droid.org/en/packages/com.enjoyingfoss.feeel/
                  https://play.google.com/store/apps/details?id=com.enjoyingfoss.feeel&gl=us

                  Although recently it reduced the last two side planks to 15 seconds (instead of 30) and the gap between them be 5 seconds (instead of 10) so I had to duplicate and edit it to get back to the original I know and love.

                  A while ago I did it every day without fail for 100 days straight. Then I did Joe Wicks full body 20 min workout https://www.youtube.com/watch?v=Og_f0_QO_Ko for 56 days straight (I copied the routine into the great Just Another Workout Timer app https://f-droid.org/packages/com.blockbasti.justanotherworkouttimer/ so as to not have to watch the video to do it)

                  Then I got tennis and golf elbow from too many press-ups 😢

                  So now, after slowly building up my running ability with the Couch to 5k program (I used this app https://play.google.com/store/apps/details?id=com.phe.couchto5K&gl=US ) I alternate workout days with run days 4ish days a week.

                  🙂

                  I use Cloudron with Gandi & Hetzner

                  1 Reply Last reply Reply Quote 2
                  • 3246
                    3246 last edited by

                    Quick update: the SSL errors persist, the apps are stuck 'restoring' and that's despite rebooting and leaving it for a night.

                    Looks like I need to wipe it and start again.

                    Visit https://www.axelsegebrecht.com for more about me

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

                      @3246 to get over the HSTS issue, in most browsers you have to "forget about this page" in the browser history.

                      1 Reply Last reply Reply Quote 1
                      • Topic has been marked as a question  nebulon nebulon 
                      • 3246
                        3246 last edited by

                        Got it working after starting from scratch. Looks like one of the backups files got corrupted 😢

                        Is there a way to run a consistency check or is a test restore the best way?

                        Visit https://www.axelsegebrecht.com for more about me

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

                          @3246 said in Error restoring from backup (tampered file):

                          Is there a way to run a consistency check or is a test restore the best way?

                          I think consistency check is coming in next version, for now I think test restore best way

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply Reply Quote 2
                          • Topic has been marked as solved  nebulon nebulon 
                          • girish
                            girish Staff last edited by

                            @3246 @jdaviescoates Yes, the consistency check will come in next version. Also, a bit of fail early for password failures will help. Have to investigate how this can be done.

                            3246 1 Reply Last reply Reply Quote 2
                            • 3246
                              3246 @girish last edited by

                              @girish awesome! I think what would be helpful is to test the parameters before pressing 'restore', just to validate that both the connection and decryption keys are OK.

                              I found the error messages we have right where more confusing than helpful. I don't really know what I did wrong because to resolve it, I just took a fresh backup and restored it using the same details.

                              All good now though.

                              Visit https://www.axelsegebrecht.com for more about me

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