@acebmxer
I appreciate your help with this issue of mine.
From my own unpriviliged account, I have always run 'sudo' followed by whatever command was needed. This has worked for more than a year without issue, but last week it all fell apart!
Trying to remove and reinstall nodejs and nvm using sudo from my account did not work.
However, I did find a way to get nodejs updated to version 24 and ronivay's update xo-install.sh script worked just fine. Instead of using sudo followed by the xo-update.sh command, I typed sudo -i
That brought me to the root prompt in the /root directory. I then installed nvm, sourced it, and installed nodejs version 24.
Still as root, I changed directory to the location of the xo-install.sh script and ran it without error, and it updated the the latest version of XO.
I logged out as root and then logged back in using my unpriviliged account. I am now able to run ronivay's xo-install.sh script by using sudo ./xo-install.sh with my own account. I hope it continues to work fine.
In the meantime, I'll experiment using your install_xen_orchestra script on a new VM and let you know how it goes.
Thank you.