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

    Rotating backup parse error

    Support
    backups
    3
    7
    80
    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.
    • tradenet
      tradenet last edited by girish

      I don't know if this is a coincidence after upgrading to v7.3.5
      A backup returned a parse error after rotating backup to minio storage.
      With this error:

      Error: XMLParserError: Unexpected close tag\nLine: 5\nColumn: 7\nChar: > 504
      ```"
      

      at Response.done (/home/yellowtent/box/src/storage/s3.js:348:48)
      at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:367:18)
      at Request.callListeners (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
      at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
      at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:686:14)
      at Request.transition (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:22:10)
      at AcceptorStateMachine.runTo (/home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:14:12)
      at /home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:26:10
      at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:38:9)
      at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:688:12)

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

        @tradenet which s3 provider are you using?

        tradenet 1 Reply Last reply Reply Quote 0
        • tradenet
          tradenet @girish last edited by tradenet

          @girish I am using minio on my server. It's been working fine up until I upgraded to v7.3.5 unless it's a coincidence. I rebooted the Mastadon instance yesterday. Today I get the same error.
          Interestingly enough, I do see the backup for yesterday in the minio bucket for yesterday this time around.

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

            @tradenet do you see any crashes on the minio side?

            Also, can you check if the bucket name is not included in the endpoint url? That's the only check that was added in the patch release.

            tradenet 1 Reply Last reply Reply Quote 0
            • tradenet
              tradenet @girish last edited by tradenet

              @girish I am not entirely sure how to check this. However, I don't see the bucket name in the endpoint ie.
              Bucket name is "disk1"
              I see:

              box:storage/s3 Uploaded maple/snapshot/app_5c2458fc-73dd-4f1a-8536-4387d9eb08de.tar.gz
              

              Where the folder in the bucket is "maple/".
              However, I am also noticing some postgres memory errors a few hours after the backup failure notice.

              klawitterb 1 Reply Last reply Reply Quote 0
              • klawitterb
                klawitterb @tradenet last edited by

                I’m also experiencing the same problem, it always seems to fail on large files or when a lot of files are backed up. In my case it’s a Nextcloud backup which is failing. Smaller apps with less data work just fine.
                Using a similar setup: incremental backup with minio/s3

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

                  @klawitterb @tradenet If you could give us access to your setup, can you please write to support@cloudron.io . Happy to debug further.

                  We use minio as well for some of our backups and haven't faced any issue as such.

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