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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. "Backup Failed" since the last Cloudron Update

"Backup Failed" since the last Cloudron Update

Scheduled Pinned Locked Moved Solved Support
backups
39 Posts 9 Posters 2.1k Views 10 Watching
  • 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.
  • K Offline
    K Offline
    kubasbimbas
    wrote on last edited by
    #12

    @joseph I have verified that the app data were uploaded to the backup backend. Let's wait for tonight scheduled update to v1.69.1.

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #13

      Just looked into this. I think there is a regression in Cloudron 8. We fixed the backup cleaner to work properly but in the process it cleans up the backup entry in the database that is being created. https://git.cloudron.io/cloudron/box/-/commit/9704eefc21af313a4239e74999186ae44a43ed46 is the fix for that. @kubasbimbas can you try that one line change? You have to add that line to the file /home/yellowtent/box/src/backupcleaner.js on the server . No need to restart anything after applying the patch.

      D 1 Reply Last reply
      2
      • girishG girish

        Just looked into this. I think there is a regression in Cloudron 8. We fixed the backup cleaner to work properly but in the process it cleans up the backup entry in the database that is being created. https://git.cloudron.io/cloudron/box/-/commit/9704eefc21af313a4239e74999186ae44a43ed46 is the fix for that. @kubasbimbas can you try that one line change? You have to add that line to the file /home/yellowtent/box/src/backupcleaner.js on the server . No need to restart anything after applying the patch.

        D Offline
        D Offline
        Dont-Worry
        wrote on last edited by
        #14

        @girish Hi,

        What do I have to do to fix it ? I don't understand what I have to do with the git link you sent.

        Thanks

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #15

          @Dont-Worry no worries. if you send us a mail to support@cloudron.io , we can apply the patch on your server . (We debugged the issue on somebody's server, but we cannot match forum username and support requests... If you had sent us a mail ealier, we already patched your server)

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kubasbimbas
            wrote on last edited by
            #16

            @girish You patched my server. I confirm that automatic Cloudron backup as well as app update worked correctly. Thank you for your support.

            1 Reply Last reply
            0
            • potemkin_aiP Offline
              potemkin_aiP Offline
              potemkin_ai
              wrote on last edited by
              #17

              Same here on multiple servers backing up against S3. What's an ETA for the hotfix release?

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #18

                @potemkin_ai we will make a 8.0.4 next week .

                1 Reply Last reply
                1
                • girishG girish has marked this topic as solved on
                • potemkin_aiP Offline
                  potemkin_aiP Offline
                  potemkin_ai
                  wrote on last edited by
                  #19

                  If that's not too much, I would appreciate if you could ping this thread, once the new version released.

                  1 Reply Last reply
                  1
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #20

                    @potemkin_ai is out now

                    1 Reply Last reply
                    0
                    • potemkin_aiP Offline
                      potemkin_aiP Offline
                      potemkin_ai
                      wrote on last edited by
                      #21

                      Thank you!

                      1 Reply Last reply
                      0
                      • potemkin_aiP Offline
                        potemkin_aiP Offline
                        potemkin_ai
                        wrote on last edited by
                        #22

                        @girish , Cloudron v8.0.4, backups are still failing:

                        Aug 28 03:00:04 box:backupformat/tgz tarPack: processing /home/yellowtent/appsdata/<...>
                        [no timestamp]  /home/yellowtent/box/node_modules/aws-sdk/lib/services/s3.js:712
                        [no timestamp]  resp.error = AWS.util.error(new Error(), {
                        [no timestamp]  ^
                        [no timestamp] 
                        [no timestamp]  The specified method is not allowed against this resource.
                        [no timestamp]  at Request.extractError (/home/yellowtent/box/node_modules/aws-sdk/lib/services/s3.js:712:35)
                        [no timestamp]  at Request.callListeners (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
                        [no timestamp]  at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
                        [no timestamp]  at Request.emit (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:686:14)
                        [no timestamp]  at Request.transition (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:22:10)
                        [no timestamp]  at AcceptorStateMachine.runTo (/home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:14:12)
                        [no timestamp]  at /home/yellowtent/box/node_modules/aws-sdk/lib/state_machine.js:26:10
                        [no timestamp]  at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:38:9)
                        [no timestamp]  at Request.<anonymous> (/home/yellowtent/box/node_modules/aws-sdk/lib/request.js:688:12)
                        [no timestamp]  at Request.callListeners (/home/yellowtent/box/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
                        [no timestamp]  code: 'MethodNotAllowed',
                        [no timestamp]  region: null,
                        [no timestamp]  time: 2024-08-28T01:00:04.170Z,
                        [no timestamp]  requestId: '45dc6280-1336-4ef2-82df-8bf7545a1d89',
                        [no timestamp]  extendedRequestId: '45dc6280-1336-4ef2-82df-8bf7545a1d89',
                        [no timestamp]  cfId: undefined,
                        [no timestamp]  statusCode: 405,
                        [no timestamp]  retryable: false,
                        [no timestamp]  retryDelay: 20000
                        [no timestamp]  }
                        [no timestamp] 
                        [no timestamp]  v20.12.2
                        

                        The provider is Exoscale's SOS.

                        1 Reply Last reply
                        0
                        • potemkin_aiP Offline
                          potemkin_aiP Offline
                          potemkin_ai
                          wrote on last edited by
                          #23

                          @girish , I'm sorry, is there any news on that? I still can't backup my instance.

                          1 Reply Last reply
                          0
                          • nebulonN Offline
                            nebulonN Offline
                            nebulon
                            Staff
                            wrote on last edited by
                            #24

                            It seems to crash within the AWS SDK itself, I guess your S3 storage has some compatibility issues there, we have seen such problem in the past where the storage endpoint was flaky.

                            Maybe you can contact exoscale about this? MethodNotAllowed might indicate that they don't implement/support some required API?

                            potemkin_aiP 1 Reply Last reply
                            0
                            • nebulonN nebulon

                              It seems to crash within the AWS SDK itself, I guess your S3 storage has some compatibility issues there, we have seen such problem in the past where the storage endpoint was flaky.

                              Maybe you can contact exoscale about this? MethodNotAllowed might indicate that they don't implement/support some required API?

                              potemkin_aiP Offline
                              potemkin_aiP Offline
                              potemkin_ai
                              wrote on last edited by
                              #25

                              @nebulon thank you! My other instance is running perfectly fine against the same endpoint and it was working fine on the same endpoint from the same instance before the update, so I'm not sure - how / why it could be an issue outside of Cloudron?

                              1 Reply Last reply
                              0
                              • nebulonN Offline
                                nebulonN Offline
                                nebulon
                                Staff
                                wrote on last edited by
                                #26

                                That I don't know either, but if I interpret the error correctly the AWS SDK gets a 405 error status contacting the storage backend. Which is the HTTP error for "Method Not Allowed" so that lines up at least. I would have no clue to even start debugging this from our side to be honest. Also I don't think this is related to this initial forum thread at all. Maybe you can create a new forum thread with as much info as possible to track this.

                                1 Reply Last reply
                                0
                                • potemkin_aiP Offline
                                  potemkin_aiP Offline
                                  potemkin_ai
                                  wrote on last edited by
                                  #27

                                  I have provider 'Exoscale' in both cases and the backup stopped working immediately after 8.0.3, and it doesn't yet.

                                  It seems to be an issue on topic and I really can't do match - as everything is packed inside Exoscale module of Cloudron.

                                  1 Reply Last reply
                                  0
                                  • nebulonN Offline
                                    nebulonN Offline
                                    nebulon
                                    Staff
                                    wrote on last edited by nebulon
                                    #28

                                    This AWS node module was updated at https://git.cloudron.io/cloudron/box/-/commit/b5fad74ea08e4c6cd06edf881612223549fb4eb3#fa288d1472d29beccb489a676f68739ad365fc47_14_14 so maybe that introduced the incompatibility with exoscale

                                    So to be on the same page, your other Cloudron where backups are working, is on an older Cloudron version?

                                    potemkin_aiP 1 Reply Last reply
                                    0
                                    • girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #29

                                      I tested this with a test exoscale bucket in de-fra-1 region and it works. I wonder if this is IAM/Role related. I just gave it wholesale all permissions to objectstorage. Maybe you have something more specific?

                                      1 Reply Last reply
                                      0
                                      • nebulonN nebulon

                                        This AWS node module was updated at https://git.cloudron.io/cloudron/box/-/commit/b5fad74ea08e4c6cd06edf881612223549fb4eb3#fa288d1472d29beccb489a676f68739ad365fc47_14_14 so maybe that introduced the incompatibility with exoscale

                                        So to be on the same page, your other Cloudron where backups are working, is on an older Cloudron version?

                                        potemkin_aiP Offline
                                        potemkin_aiP Offline
                                        potemkin_ai
                                        wrote on last edited by
                                        #30

                                        @nebulon thanks.

                                        Both boxes are 8.0.4. Both back up to Exoscale.
                                        The only difference I can see is that the one that works points to https://sos-ch-gva-2.exo.io, and the other (that doesn't) - to https://sos-at-vie-1.exo.io.

                                        I wouldn't expect the endpoints to be somehow different, as it would complicate operations for Exoscale, but that is really the only difference I can see.

                                        1 Reply Last reply
                                        0
                                        • girishG Offline
                                          girishG Offline
                                          girish
                                          Staff
                                          wrote on last edited by
                                          #31

                                          Test bucket in sos-at-vie-1.exo.io works as well . I am only testing with small backups if that matters. Does the small backup fail for you ? Like a single app? Maybe it's some multi-part stuff which is failing

                                          potemkin_aiP 1 Reply Last reply
                                          0
                                          • girishG girish forked this topic on
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search