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

    Xen Orchestra from Sources backups Failing.

    Scheduled Pinned Locked Moved Management
    7 Posts 3 Posters 94 Views 2 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.
    • P Offline
      PC_123
      last edited by olivierlambert

      I'm out of ideas and the my normal helpers (AI Chatbots seem to be out of them too).

      I've been a long time XCP-ng user and have an instance of Xen Orchestra built from sources that's been and still runs on Ubuntu 18. Every time I try to update it or my instance of Xen Orchestra is seems to break. With the holiday weekend here, I decided to give it another try and have once again run out of ideas on how to get this working.

      On a fresh install of Debian 12, I am trying to get a backup to my remote (TrueNAS Scale) to accept the backups. From my very old Ubuntu 18, the backup jobs work to both TrueNAS and Synology NAS targets. From the fresh install of Debian I can't get of the remotes working. The error I get is:

      backupNg.runJob
      {
        "id": "4345ad59-46b6-4e19-9d0d-2bab9b75745a",
        "schedule": "8e6198de-8f95-4768-8e39-d17ce8336fcc"
      }
      {
        "call": {
          "duration": 34,
          "method": "session.login_with_password",
          "params": "* obfuscated *"
        }
      }
      

      Does anyone know what might be causing this? I've tried using the same exact config, no config, making a new dataset on the target. Nothing seems to be working. I'd be grateful for any guidance.

      I'm sure I missed some things please let me know if I can provide any additional useful information.

      If you know of any useful documentation or youtube videos please send them my way. I'm having a hard time understanding why it works on the older version of Ubuntu vs a more modern OS. I'm sure its increased security somewhere.

      Thanks for reading, hope someone has seen this before.

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Andrew Top contributor @PC_123
        last edited by

        @PC_123 This may sound odd, but try Debian 11. It's older but I have less issues with 11 than Debian 12 or 13.

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          PC_123 @Andrew
          last edited by

          @Andrew

          I tried Debian 11 and it failed during the installation process so I also tried Ubuntu 24.04. It installed successfully but I've received the same error as the one I experienced on Debian 12.

          The one things that is really strange is when I export the Xen Orchestra Configuration from my working Ubuntu 18.04 instance into a newly installed instance or Xen Orchestra running on any other version of Linux it adds old remotes at different IP Addresses then what is showing on the working instance of Ubuntu.

          It seems that Xen Orchestra is pulling from a database on my pool with incorrect information. Any idea where I can look to find and fix this issue?

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            PC_123 @PC_123
            last edited by

            This is extremely strange.

            Using a new install (not using the config) I created a link to the Remote NFS Server.

            The test works and shows the correct amount of data and a read/write speed so I do believe its connecting properly.

            aa9ba405-ffc1-46df-8965-5eba02139387-image.png

            4702e811-ff1d-4045-9f90-e6895a214a31-image.png

            Unfortunately when I run the backup job it fails and the log is showing that the connection failed to reach 127.0.0.1 which isn't the correct address or referenced in the configuration. Does anyone have an idea as to why this is happening to a brand new install of xen orchestra?

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

              Do it work with XOA? It could help to see if it's an environment or a source install issue 🙂

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                PC_123 @olivierlambert
                last edited by

                @olivierlambert

                Good morning Olivier! I believe the issue is with the Xen Orchestrator Installer Updater script no longer adding all of the required services.

                I had to do some finagling last night to get the service to even start and become active. By default there were errors everywhere and it wasn't even pointing to the correct location to access the files, yarn, etc.

                I'm going to try compiling the application with the documentation you and the team provided manually. I'm sure that was the issue. I'll report back shortly.

                Thank you everyone for taking a look and providing guidance!

                d93138c7-6fde-4958-88d1-f39c1439c6a0-image.png

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  PC_123 @PC_123
                  last edited by

                  No luck, I've tried building from source, using the script, etc.

                  Following along with Google Gemini I even managed to get walked into the process of damaging the Xapi to the point of losing access to the server from Xen Orchestra / XCP-ng Center (unfortunately for me it was the Pool Master).

                  Thankfully I had backups on my NAS and experienced minimal loses through the process of having to reinstall the operating system.

                  At this point, I'm guessing my pool that dates back to version 8.1 is screwed up in some way beyond human or AI understanding.

                  I have 2 Servers & 3 NAS units (2 TrueNas Scale) + 1 Synology that all work with the old version of Xen Orchestra but I can't get it to work with anything else. Manually putting the same info in or importing the configuration.

                  One of the servers was rebuilt today and added back to the pool. Is it possible that reinstalling the OS on the other server could fix everything?

                  I'm confused because the backups aren't failing from the old Xen Orchestra.

                  Old:
                  19e6f3da-3b22-4f7d-a47e-66d8216b3f8b-image.png

                  New:
                  263493de-a5cb-4610-b7ba-ba173fe7b055-image.png

                  Any help and / or ideas would be greatly appreciated.

                  Thanks!

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