Xen Orchestra - Community Edition - Installing with Yarn
-
@DustinB3403
What was the fix for this?
sorry didn't reply on right line...
update script asking for Git Credentials -
@BC said in Xen Orchestra - Community Edition - Installing with Yarn:
@DustinB3403
What was the fix for this?
sorry didn't reply on right line...
update script asking for Git Credentialsgit config --global user.email "[email protected]" git config --global user.name "Your Name"
-
@DustinB3403
oh... doh... sry... fixing didn't realize I was looking at the answer! -
@BC No worries.
-
As it may help someone else:
I just made a new installation of XO Community (xo-server 5.32.2, xo-web 5.32.1) and found a problem with the web interface not fully working. As I use nginx as a reverse SSL proxy and HTTP authenticator I needed a custom .config.yamlIt happens that the included sample.config.yaml is not ready to be used (it's a sample, I get it). The mounts: section does not include the required files to be served.
Mine, which is a default installation worked with:mounts: '/': '/opt/xen-orchestra/packages/xo-web/dist'
-
@dave_c said in Xen Orchestra - Community Edition - Installing with Yarn:
As it may help someone else:
I just made a new installation of XO Community (xo-server 5.32.2, xo-web 5.32.1) and found a problem with the web interface not fully working. As I use nginx as a reverse SSL proxy and HTTP authenticator I needed a custom .config.yamlIt happens that the included sample.config.yaml is not ready to be used (it's a sample, I get it). The mounts: section does not include the required files to be served.
Mine, which is a default installation worked with:mounts: '/': '/opt/xen-orchestra/packages/xo-web/dist'
That is on the instructions by the way
https://xen-orchestra.com/docs/from_the_sources.html -
@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