<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[What is xo-server-log?]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> I apologize for ignorance but I can't figure this out myself.  I am reading this <a href="https://xcp-ng.org/forum/topic/5916/broken-backup-logs">thread</a>  because I also would like to clean my experimental backup entries in the log and I can't understand what <code>xo-server-logs</code> command is, where it is residing and how to run it.  I was able to register in xo-cli but when I try to execute xo-server-logs I <code>get -bash: xo-server-logs: command not found</code></p>
<p dir="auto">Can you share some information?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://xcp-ng.org/forum/topic/7457/what-is-xo-server-log</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 15:38:52 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/7457.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Jun 2023 10:32:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to What is xo-server-log? on Wed, 21 Jun 2023 09:24:23 GMT]]></title><description><![CDATA[<p dir="auto">That script has a shebang pointing to node (first line), so no need to define it separately, just execute the script directly.</p>
]]></description><link>https://xcp-ng.org/forum/post/63381</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63381</guid><dc:creator><![CDATA[ronivay]]></dc:creator><pubDate>Wed, 21 Jun 2023 09:24:23 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Wed, 21 Jun 2023 09:11:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ronivay" aria-label="Profile: ronivay">@<bdi>ronivay</bdi></a> So happy to see you here.  Thank you for clarifying my confusion.  I did not modify installation paths and I found what I was looking for.  <code>logs-cli.mjs</code> does not run by itself and needs <code>node</code> to be prepended.  Is this correct?  However I made a symlink as you explained and it runs as <code>xo-server-logs</code> directly.</p>
]]></description><link>https://xcp-ng.org/forum/post/63380</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63380</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Wed, 21 Jun 2023 09:11:00 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 18:07:56 GMT]]></title><description><![CDATA[<p dir="auto">Sure. <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a> the executable you’re looking for is not called <code>xo-server-logs</code> for the installation done with XenOrchestraInstallerUpdater script. As mentioned above it’s installed beside xo-server as <code>logs-cli.mjs</code> and can be found here (assuming you didn’t change default install location).</p>
<pre><code>$ sudo /opt/xo/xo-server/dist/logs-cli.mjs -h

xo-server-logs --help, -h
…
</code></pre>
<p dir="auto">Help shows command examples as <code>xo-server-logs</code>, but you need to use above executable instead.</p>
<p dir="auto">You can also easily make <code>xo-server-logs</code> command to work if you wish by running:</p>
<pre><code>sudo ln -s /opt/xo/xo-server/dist/logs-cli.mjs /usr/local/bin/xo-server-logs
</code></pre>
<p dir="auto">But i wouldn’t recommend it if this is needed only once.</p>
]]></description><link>https://xcp-ng.org/forum/post/63371</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63371</guid><dc:creator><![CDATA[ronivay]]></dc:creator><pubDate>Tue, 20 Jun 2023 18:07:56 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 13:18:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a> It should be working fine with the other install but the answer to your initial question depends of how you installed XO, therefore my question.</p>
<p dir="auto">Maybe <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ronivay" aria-label="Profile: ronivay">@<bdi>ronivay</bdi></a> can answer your question.</p>
]]></description><link>https://xcp-ng.org/forum/post/63368</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63368</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Tue, 20 Jun 2023 13:18:49 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 13:16:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Alright, as far as I could understand I would not have gone through this puzzle solving if I had XO built following this <a href="https://xen-orchestra.com/docs/installation.html#from-the-sources" target="_blank" rel="noopener noreferrer nofollow ugc">guide</a>.</p>
<p dir="auto">Thank you clearing this out for me.  Will make another machine and try again.</p>
]]></description><link>https://xcp-ng.org/forum/post/63367</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63367</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Tue, 20 Jun 2023 13:16:44 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 13:06:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a> Ok, this is not installing from the sources following the official documentation!! This information would have been useful sooner.</p>
<p dir="auto"><code>xo-server-logs</code> is available directly in the directory where <code>xo-server</code> is compiled under the name <code>./dist/logs-cli.mjs</code>.</p>
<p dir="auto">For more information, please ask directly on the repo you linked.</p>
]]></description><link>https://xcp-ng.org/forum/post/63366</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63366</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Tue, 20 Jun 2023 13:06:46 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 13:04:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Well, I made a Debian virtual machine, updated it and then followed the <a href="https://github.com/ronivay/XenOrchestraInstallerUpdater/wiki" target="_blank" rel="noopener noreferrer nofollow ugc">instructions</a> on how to build XO from sources.  After that I was accessing XO through browser and XO started automatically on VM boot.  Until now there was no need for me do anything special in the command line on XO VM.  After receiving your previous message I went to /opt/xo/xo-server and executed yarn start and I saw the message saying that the TCP port is already occupied which means that I basically invoked the startup procedure which happens automatically when my VM starts.</p>
]]></description><link>https://xcp-ng.org/forum/post/63365</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63365</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Tue, 20 Jun 2023 13:04:29 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 12:52:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a> Let me retry my previous question: how do you make <code>xo-server</code> start in your install?</p>
]]></description><link>https://xcp-ng.org/forum/post/63364</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63364</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Tue, 20 Jun 2023 12:52:56 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 12:51:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Well, I know how to start XO, in fact I don't need to start it as it is always running.  I can access XO from browser and everything is good there.</p>
<p dir="auto">My original question was how to remove entries from backup logs and I did not (and still don't) understand how to issue the <code>xo-server-logs --delete namespace=jobs</code> command while I am in the shell.  Can you guide me like I am 1st-grade student?</p>
]]></description><link>https://xcp-ng.org/forum/post/63363</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63363</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Tue, 20 Jun 2023 12:51:16 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 12:39:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> I installed XO myself.  The documentation you shared the link for is quite quite helpful.  Reading.  Thanks.</p>
]]></description><link>https://xcp-ng.org/forum/post/63362</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63362</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Tue, 20 Jun 2023 12:39:21 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 12:34:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a> If you installed XO yourself (<a href="https://xen-orchestra.com/docs/installation.html#from-the-sources" target="_blank" rel="noopener noreferrer nofollow ugc">following our documentation</a>), you should know how to start XO.</p>
<p dir="auto">I cannot help you if you don't know how XO was installed on your machine.</p>
]]></description><link>https://xcp-ng.org/forum/post/63361</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63361</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Tue, 20 Jun 2023 12:34:16 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 12:30:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> That's what I was implying to ask - how I am supposed to run it <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=f084dd9e819" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" />  I run it from a command line when I connect to the XO VM via SSH.  Am I doing something wrong?</p>
]]></description><link>https://xcp-ng.org/forum/post/63360</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63360</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Tue, 20 Jun 2023 12:30:05 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 12:28:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a> Ok, how are you running <code>xo-server</code> in your install?</p>
]]></description><link>https://xcp-ng.org/forum/post/63359</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63359</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Tue, 20 Jun 2023 12:28:30 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 12:25:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Yes, I am working with a VM which has XO installed on it (built from source).  When I run <code>xo-server</code> I get the same :</p>
<p dir="auto"><code>-bash: xo-server: command not found</code></p>
<p dir="auto">I have xo-cli v0.19.0</p>
]]></description><link>https://xcp-ng.org/forum/post/63358</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63358</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Tue, 20 Jun 2023 12:25:26 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 12:19:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a> Are you using Xen Orchestra? Because <code>xo-server-logs</code> is a CLI for it that must be run on the same machine as <code>xo-server</code> is already running.</p>
]]></description><link>https://xcp-ng.org/forum/post/63357</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63357</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Tue, 20 Jun 2023 12:19:54 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 10:48:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Thanks for clarification.  I understand your warning about these utilities not being intended for users, nevertheless how do I get them installed?  I have XO running on Debian, so when I execute <code>apt install xo-server</code><br />
I get</p>
<pre><code class="language-Reading">Building dependency tree... Done
Reading state information... Done
E: Unable to locate package xo-server-logs```</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/63356</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63356</guid><dc:creator><![CDATA[Ascar]]></dc:creator><pubDate>Tue, 20 Jun 2023 10:48:39 GMT</pubDate></item><item><title><![CDATA[Reply to What is xo-server-log? on Tue, 20 Jun 2023 10:43:11 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ascar" aria-label="Profile: Ascar">@<bdi>Ascar</bdi></a>,</p>
<p dir="auto"><code>xo-server-logs</code> is a small CLI that is installed alongside <code>xo-server</code> which provides a low-level access to the logs in case <code>xo-server</code> is no longer working correctly.</p>
<p dir="auto">It should be ran with the same access (i.e. OS user) as <code>xo-server</code> itself (i.e. <code>sudo</code> might be necessary), and its documentation is available via <code>xo-server-logs -h</code>.</p>
<p dir="auto">As I said, it's really low level and not intended for users, don't expect it to be easy to use.</p>
<p dir="auto">We will improve log management in the future with the new <em>XO tasks</em> and the <em>REST API</em>.</p>
]]></description><link>https://xcp-ng.org/forum/post/63355</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63355</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Tue, 20 Jun 2023 10:43:11 GMT</pubDate></item></channel></rss>