-
Have you tried with the special URL?
-
Not sure what that is honestly. Very new to xcp-ng
-
- Visit your host/pool master URL (like https://<master-ip-address>) and validate the self-signed certificate
- Then enter this URL in your browser:
https://lite.xen-orchestra.com/#/?master=<master-ip-address>
- Profit
-
Closer. I at least get a login page but when I try to log in, I get "An error has occurred" I have confirmed the password. I just logged in to the host directly on the machine to confirm.
-
Pause, I am an idiot.. I left the <> around my IP lol..
Can you explain why the calling on HOST_URL/xolite.html did not work and why I needed your special URL to make that work? I think you have a very interesting way to accessing XO Lite while it's in beta.
-
@saneece said in XO Lite: building an embedded UI in XCP-ng:
I've tried to put get this working on both of my hosts but I get the same output when I go to it in Edge and Chrome
Microsoft Edge
Version 121.0.2277.106 (Official build) (64-bit)Google Chrome
Version 121.0.6167.185 (Official Build) (64-bit)Both hosts are on XCP-NG 8.2
Output is of the wget command that should be executed from a shell on the host, but you are talking about edge and chrome.
You did do the wget command in a shell (should save a xolite.html file and not an index.html file) and then with a browser open the xo-lite url on the host it was downloaded on?Otherwise it looks like a typo in the command that made you redirect the screen output of the wget command to a file called xolite.html
-
@saneece The XO Lite installing instructions say that you should run this command on your xcp-ng server
wget https://lite.xen-orchestra.com/ -O /opt/xensource/www/xolite.html
You seem to have omitted the -O /opt/xensource/www/xolite.html part, since your screenshot talks about "Saving as index.html", and that's why you can't go to HOST_URL/xolite.html
-
@peder and @HeMaN I copied and pasted the command from the post into SSH on both my hosts.
Read my follow up posts though and youll see I can access it with https://lite.xen-orchestra.com/#/?master=<master-ip-address> so I am good now. Thanks though.
-
@saneece said in XO Lite: building an embedded UI in XCP-ng:
Can you explain why the calling on HOST_URL/xolite.html did not work and why I needed your special URL
Yeah, I was just explaining why HOST_URL/xolite.html didn't work for you.
You only ranwget https://lite.xen-orchestra.com/
and that's why your log screenshots says that it's saving to index.html.If you had run the entire command it would have said "Saving to /opt/xensource/www/xolite.html " and you would have been able to access it the "normal" way.
-
@peder Gotcha. I actually checked my command history and I did include the "-O /opt/xensource/www/xolite.html" portion of the command. It does look like the -O was lowercase though which ended up being the problem so you were right. Apparently I DIDN'T copy and paste it like I thought I did, so I apologize. Thanks friends!
-
Wget options say
-o logfile,
--output-file=logfile
Log all messages to logfile. The messages are normally reported to standard error.-O file, --output-document=file
The documents are not written to the appropriate files, but all are concatenated together and written to file.So the output of your first wget download was indeed redirected to the xolite.html file you saw in your browser in stead of downloading the file.
The location where you were when you typed the command will have the index.html file that is downloaded as seen in the 'log' file you created
-
Hello! I was checking in to see if there has been any updated versions of this past 0.1.3 (01046). If so, how can I install it?
It doesn't appear there are, but I just wanted to make sure.
Thank you!
-
@MathieuRA or @pdonias will tell you
-
Hi
The current version of XOLite embedded by XCP-ng is
0.1.3,
but in the next XCP-ng update, a new XOLite version will be deployed.If you're eager to see what a newer version of XOLite does, you can follow these steps:
@olivierlambert said in XO Lite: building an embedded UI in XCP-ng:
Visit your host/pool master URL (like https://<master-ip-address>) and validate the self-signed certificate
Then enter this URL in your browser: https://lite.xen-orchestra.com/#/?master=<master-ip-address>
ProfitIf you encountered errors in the display of stats with this latest version, this is "normal". A patch is coming soon.
-
@olivierlambert Thanks for sharing this tool. I'll test it!
When reading the documentation, I had a question. If my internet link becomes unavailable, I will not be able to get XO Lite as I will not be able to download the code from Vates' servers to fully run the application. In the final version of XO Lite, do you intend to make the application completely available so that it can be run on the server side?
-
XO Lite is now pre installed on 8.3, so you do not need an internet connection
-
This post is deleted! -
@olivierlambert do or do not?
-
@olivierlambert Your company is fantastic! Since I started testing XCP-NG and XO, I've seen a lot of new things. Congratulations again.
-
@saneece You do NOT (ie don't) need an internet connection.