XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XO (from source): backup error (to Wasabi)

    Scheduled Pinned Locked Moved Solved Backup
    backupwasabi
    24 Posts 5 Posters 4.6k Views 4 Watching
    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.
    • F Offline
      fatek
      last edited by

      Master commit f9690
      Create backup gives the following error msg

      Cannot read properties of undefined (reading 'MaxExportRate')
      

      I am able to backup metadata & XO config.

      Anyone with ideas?

      DanpD 1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        So we can consider this issue fixed. Thanks everybody for your feedback!

        1 Reply Last reply Reply Quote 0
        • DanpD Offline
          Danp Pro Support Team @fatek
          last edited by

          Hi,

          Can you show us the full error log?

          Dan

          1 Reply Last reply Reply Quote 0
          • F Offline
            fatek
            last edited by

            Settings, Logs is empty!

            DanpD 1 Reply Last reply Reply Quote 0
            • DanpD Offline
              Danp Pro Support Team @fatek
              last edited by

              @fatek Check the output from journalctl --

              journalctl -u xo-server -f -n 50

              1 Reply Last reply Reply Quote 0
              • F Offline
                fatek
                last edited by

                journalctl does not return any entries.

                DanpD 1 Reply Last reply Reply Quote 0
                • DanpD Offline
                  Danp Pro Support Team @fatek
                  last edited by

                  @fatek Try running it as sudo.

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    fatek @Danp
                    last edited by

                    @Danp I did try as sudo... still no output.

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Offline
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by olivierlambert

                      In the failed backup log, you have a button to download the whole message.

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        fatek @olivierlambert
                        last edited by

                        @olivierlambert
                        Since "show logs" does not generate any logs, there is no log to download?
                        Screenshot_20240918_100718.png

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates 🪐 Co-Founder CEO
                          last edited by

                          I'm not sure to understand, at which point this error appears?

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            fatek
                            last edited by

                            The error happens when you click on the Create button in Backup.
                            Screenshot_20240918_110635.png

                            1 Reply Last reply Reply Quote 0
                            • olivierlambertO Offline
                              olivierlambert Vates 🪐 Co-Founder CEO
                              last edited by

                              Okay, can you reproduce on XOA latest?

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                geogak
                                last edited by geogak

                                Having the Same issue, not in logs same error.

                                When creating the backup I get the error

                                Link to screen recording of process to make error occur
                                https://youtu.be/mPqZD-Rx_Ao

                                Browser Information

                                Microsoft Edge for Business
                                Learn more about Microsoft Edge for Business
                                Version 128.0.2739.79 (Official build) (64-bit)

                                1 Reply Last reply Reply Quote 0
                                • olivierlambertO Offline
                                  olivierlambert Vates 🪐 Co-Founder CEO
                                  last edited by

                                  @geogak you showed it with XO from the sources, I was asking to see if you have the issue with XOA "latest" channel. Don't mix XO from the sources and XOA. See https://xen-orchestra.com/docs/installation.html for more details.

                                  G 1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    geogak @olivierlambert
                                    last edited by

                                    @olivierlambert Ah, very well slight oversight on my part. Works as expected in XOA. I made a scheduled backup there no issue just now.

                                    1 Reply Last reply Reply Quote 0
                                    • LhoustL Offline
                                      Lhoust
                                      last edited by

                                      Yesterday I was receiving the same Error Message: XO from Sources with TrueNAS CORE as my Remote [Xen Orchestra, commit 63a88 --- Master, commit 21bd7].

                                      Log also Empty...

                                      NOTE: Yesterday my XCP-ng 8.3 RC2 had stopped responding, therefore had to reinstall, restoring the VMs and XO Config from a August 30th Backups, if that might be relevant?

                                      Backups are a Paid Feature, therefore I am unable to verify whether Backups work under XO...

                                      G 1 Reply Last reply Reply Quote 0
                                      • olivierlambertO Offline
                                        olivierlambert Vates 🪐 Co-Founder CEO
                                        last edited by

                                        @Lhoust you can always trigger a trial and test on XOA Latest. If you already had a trial, I'll be happy to renew it.

                                        LhoustL 1 Reply Last reply Reply Quote 1
                                        • G Offline
                                          geogak @Lhoust
                                          last edited by

                                          @Lhoust try updating to the latest commit, it looks like it was fixed in b62e803.

                                          Here is the github link if youre intrested in then change (I am)
                                          https://github.com/vatesfr/xen-orchestra/commit/b62e8035fca4e8cefcb2d1465d585342c720b45d#diff-7c35aaf9805ed05fd9c00b9a5ab3ac8a82f479d03331f0bc771002e302763a39R275

                                          0 MelissaFrncJrg committed to vatesfr/xen-orchestra
                                          fix(xo-web/backup): fix `r[''] is undefined` when creating a backup job
                                          
                                          Introduced by 8a9a67c
                                          Fixes #7990
                                          LhoustL 1 Reply Last reply Reply Quote 1
                                          • F Offline
                                            fatek
                                            last edited by

                                            Thanks to the Vates team for the fix.

                                            1 Reply Last reply Reply Quote 1
                                            • LhoustL Offline
                                              Lhoust @geogak
                                              last edited by

                                              @geogak said in XO (from source): backup error (to Wasabi):

                                              @Lhoust try updating to the latest commit, it looks like it was fixed in b62e803.

                                              Here is the github link if youre intrested in then change (I am)
                                              https://github.com/vatesfr/xen-orchestra/commit/b62e8035fca4e8cefcb2d1465d585342c720b45d#diff-7c35aaf9805ed05fd9c00b9a5ab3ac8a82f479d03331f0bc771002e302763a39R275

                                              Yesterday with Xen Orchestra, commit 63a88: I was receiving the Error Message when either attempting to Modify my "Restored" Backup Jobs or trying to re-Create New Backup Jobs

                                              Rolling back to my previous builds from August 30: Xen Orchestra, commit f1780
                                              September 9: Xen Orchestra, commit 6c8d4
                                              and running today's "Current" build Xen Orchestra, commit 21bd7

                                              I have been able to re-Create (and Run) my "Broken" Restored Backup Jobs (which I had deleted yesterday)!

                                              1 Reply Last reply Reply Quote 1
                                              • First post
                                                Last post