Xen Orchestra - Community Edition - Installing with Yarn
-
@dbeato
Shame on me for skipping that part, I lost about 1 hour. In my defense, their documentation is not consistent (so I was kind of lost).- Here it is recommending packages/xo-server/.xo-server.yaml
- I remember having used packages/xo-server/.config.yaml
- Now I'm using /etc/xo-server/config.yaml per https://xen-orchestra.com/docs/configuration.html
Thank you!
-
Also worth noting the installation script in the OP (from my GH) makes this change for you.
-
@DustinB3403
I used:
sudo bash
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bashBut I had to make the change manually.
[Edit]
Mmm... I remember that something didn't work after I configured the reverse proxy and changed the listening port. I had lots of problems but discarded the nginx part as it was working flawlessly so I I tried to update (don't ask, the brain works weird past mid night).
After that I copied the sample config.So, disregard my post if you use the OP installer. For sure I messed something in my installation
-
@DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:
As the original topic to install XO is quite long, and has a lot of history now is as good a time as any to create a new thread on how to both install and update your XO installations.
This has been tested against Ubuntu 16.10 with SSH access as the only added feature.
Here you can find the github repo where the installation script is kept (and updated to meet any new requirements of XOA)
To install
sudo bash
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bash
That should be all you need, follow the on screen prompts and you'll have yourself a 100% functional XO installation within minutes.
To update and to enable some functionality, if you run the below you'll get the ability to import your configuration settings.
sudo bash
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f
There you go, simple and done.
Maybe a dumb question, but just to confirm: if I've already run both the installer script and the updater script above, can I update / upgrade XO by simply re-running
sudo bash
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f
?Thanks
-
@notverypunny yes.
You'll need to identify yourself to git though.
-
Looks like it's still saved in the git config somewhere, ran the script and it's now updated to 5.33
Thanks!
-
@notverypunny Yeah if you've already identified once before you won't have to again.
-
FYI, my backups started failing under 5.33 and I had to revert to the prior version. Let us know if you run into any issues.
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
FYI, my backups started failing under 5.33 and I had to revert to the prior version. Let us know if you run into any issues.
All backups or a specific type? Have you created a GH issue with the devs?
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
FYI, my backups started failing under 5.33 and I had to revert to the prior version. Let us know if you run into any issues.
Good to know, I'll keep an eye on things and report back.... Just out of curiosity are they backup or backup-ng jobs?
-
@notverypunny said in Xen Orchestra - Community Edition - Installing with Yarn:
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
FYI, my backups started failing under 5.33 and I had to revert to the prior version. Let us know if you run into any issues.
Good to know, I'll keep an eye on things and report back.... Just out of curiosity are they backup or backup-ng jobs?
Everything should be using backup-ng.
Backup was depreciated some time ago, so you should migrate your backup jobs to the new version.
-
@DustinB3403 I'm only using Delta backups, so that's the one that failed for me. I have not opened an issue on GH because I wasn't sure if this was something that was impacting everyone or just me.
I did start a thread on their forum.
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
I did start a thread on their forum.
Can you provide a link?
-
@DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:
Can you provide a link?
It's not like their forum is so busy that you couldn't find it on your own. :face_with_stuck-out_tongue:
https://xen-orchestra.com/forum/topic/1244/backups-failing-after-recent-update
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:
Can you provide a link?
It's not like their forum is so busy that you couldn't find it on your own. :face_with_stuck-out_tongue:
https://xen-orchestra.com/forum/topic/1244/backups-failing-after-recent-update
Yeah. . . but I haven't logged into their forum so there would be 1000 unread posts lol.
-
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:
Can you provide a link?
It's not like their forum is so busy that you couldn't find it on your own. :face_with_stuck-out_tongue:
https://xen-orchestra.com/forum/topic/1244/backups-failing-after-recent-update
Having that issue for a while.
-
@dbeato said in Xen Orchestra - Community Edition - Installing with Yarn:
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:
Can you provide a link?
It's not like their forum is so busy that you couldn't find it on your own. :face_with_stuck-out_tongue:
https://xen-orchestra.com/forum/topic/1244/backups-failing-after-recent-update
Having that issue for a while.
Which issue, the backup issue or their forums activity? If the forum, I think the biggest issue is they have two distinct platforms.
One for XO and another for XCP-ng. They need to consolidate their platforms into one and drive all of that traffic to the same place.
-
@DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:
@dbeato said in Xen Orchestra - Community Edition - Installing with Yarn:
@Danp said in Xen Orchestra - Community Edition - Installing with Yarn:
@DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:
Can you provide a link?
It's not like their forum is so busy that you couldn't find it on your own. :face_with_stuck-out_tongue:
https://xen-orchestra.com/forum/topic/1244/backups-failing-after-recent-update
Having that issue for a while.
Which issue, the backup issue or their forums activity? If the forum, I think the biggest issue is they have two distinct platforms.
One for XO and another for XCP-ng. They need to consolidate their platforms into one and drive all of that traffic to the same place.
Lol both, but I am more interested on the backup issue. I posted there now.
-
-
So backups seem to be an issue on 5.33
Digging a bit deeper to see what's what, but the web interface shows the following:
Error: ENOENT: no such file or directory, open '/var/nfsmounts/--nfsServerMountName--/xo-vm-backups/ff56004a-8730-52cd-195a-27af82106e30/vdis/d8b24ab1-2bdf-484d-bd59-ea23bc4d2e9d/2c4dcf82-910a-4d8b-8657-f2ff3e413665/20190112T060003Z.vhd'