Xen Orchestra - Community Edition - Installing with Yarn
-
Yes it is something Canonical has done to their server iso. Cant even install glances at the moment with it due to missing the software repos. Just doesnt make much sense why they would do that.
-
@momurda It's super weird, I tried looking around a little this morning and couldn't find any explanation. The mini.iso choosing basic server even includes the usual repos. I'm assuming somebody messed up somewhere. There aren't even comments in the sources.list file anymore, which I've definitely never seen before.
-
@bnrstnr said in Xen Orchestra - Community Edition - Installing with Yarn:
@dustinb3403 here is all that's in the new version sources.list
deb http://archive.ubuntu.com/ubuntu bionic main deb http://archive.ubuntu.com/ubuntu bionic-security main deb http://archive.ubuntu.com/ubuntu bionic-updates main
Yeah. . that is definitely a Ubuntu Fup there. . . unless they are pulling something fishy.
-
The new Ubuntu installer is meant to be lean and fast install.
It should work like it use to be using the alternate installer. -
Someone else has already reported this as an issue, the LIVE distro is slimmed down so much that it doesn't have these repo's included, but you can install them.
https://ubuntuforums.org/showthread.php?t=2397273
Edit: Adding the multiverse repo with
sudo add-apt-repository multiverse
allows the install to work without issue. -
I'm testing now with a possible patch for this, even though this is insane that Canonical would remove the multiverse repo from their mainline distro. . .
FFS.
-
I've added a repo addition to the start of the script, literally it just adds the multiverse repository and updates and upgrades the system while it's at it.
Of course this could cause issues with other issues so please test it with multiple distro's for me. If it causes issues, I'll simply add it as a troubleshooting step to make sure that the repo's are manually added prior to attempting the installation . . .
-
I've even made an issue on my own GH to find better ways of checking for and adding the repo if it's required.
-
@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