Xen Orchestra from Sources backups Failing.
-
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.
-
@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.
-
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?
-
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.
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?
-
Do it work with XOA? It could help to see if it's an environment or a source install issue
-
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!
-
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:
New:
Any help and / or ideas would be greatly appreciated.
Thanks!