Xen Orchestra - Community Edition - Installing with Yarn
-
@dustinb3403 See the first answer here for how to check for the pre-existence of the repository.
-
Ok I have a patch made besides that really ugly one that will check for the multiverse repo and add it, please test it on other distro's and let me know of any issues.
https://github.com/Jarli01/xenorchestra_installer/pull/26
For now I'm going to back out the previous changes since this is a better approach.
Edit: It might fail if multiverse is already there. . . need to confirm more. But for now, going home to see my daughter!
-
Can others test this patch for me and let me know what issues you might encounter. I get the expected results here, but I've only been able to test with the mini 18.04.1-live Ubuntu iso so far.
-
@dustinb3403 said in Xen Orchestra - Community Edition - Installing with Yarn:
I was able to install on 18.04.1, its says successfully installed but for whatever reason not able to access it via the browser. Ran the updated script as well, that was successful too, still not able to access via web browser. Its a fresh install. Very weird...
-
@shwetkprabhat please provide the requested info from the GitHub help request.
https://github.com/Jarli01/xenorchestra_installer/issues/new
-
@dustinb3403 Thanks was about to post the logs here and saw your reply, posted on github.
-
@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.