<?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[Tips on installing XO]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I want to manually install XO on Debian 12. Is 20GB hard disk with 4GB RAM enough?</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://xcp-ng.org/forum/topic/8269/tips-on-installing-xo</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 03:16:25 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/8269.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Jan 2024 06:45:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tips on installing XO on Mon, 22 Jul 2024 19:29:04 GMT]]></title><description><![CDATA[<p dir="auto">I've acctually got a PR to help solve the documentation regarding the yarn forever part. Since I never could get that to work, I implemented a systemd variant instead.</p>
<p dir="auto"><a href="https://github.com/vatesfr/xen-orchestra/pull/7848" target="_blank" rel="noopener noreferrer nofollow ugc">#7848</a></p>
<p dir="auto">Ping <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> for visibility <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/80630</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/80630</guid><dc:creator><![CDATA[probain]]></dc:creator><pubDate>Mon, 22 Jul 2024 19:29:04 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 29 May 2024 13:12:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> No idea since I haven't worked with this service.</p>
]]></description><link>https://xcp-ng.org/forum/post/78104</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78104</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Wed, 29 May 2024 13:12:47 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 29 May 2024 13:07:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>, does this cause a problem?</p>
]]></description><link>https://xcp-ng.org/forum/post/78103</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78103</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Wed, 29 May 2024 13:07:51 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 29 May 2024 13:06:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> AFAIK, that command isn't part of our documentation and it shouldn't be needed.</p>
]]></description><link>https://xcp-ng.org/forum/post/78102</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78102</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Wed, 29 May 2024 13:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 29 May 2024 12:54:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>,<br />
In the <strong>Always Running</strong> section, when you click on <strong>forever</strong>, you will go to the Github address and it is written there.</p>
]]></description><link>https://xcp-ng.org/forum/post/78100</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78100</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Wed, 29 May 2024 12:54:49 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 29 May 2024 12:34:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> said in <a href="/forum/post/78096">Tips on installing XO</a>:</p>
<blockquote>
<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>,<br />
I followed the documentation and as you can see I have installed the <code>forever</code> service.</p>
</blockquote>
<p dir="auto">I don't recall the documentation telling you to run <code>npm install forever -g</code>. <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
<p dir="auto">I can't recall if it was in this thread, but I previously mentioned that I've never actually used this service. If I get some time, I'll try building a VM from scratch and give <code>forever</code> a try.</p>
]]></description><link>https://xcp-ng.org/forum/post/78099</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78099</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Wed, 29 May 2024 12:34:50 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 29 May 2024 11:46:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>,<br />
I followed the documentation and as you can see I have installed the <code>forever</code> service.</p>
]]></description><link>https://xcp-ng.org/forum/post/78096</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78096</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Wed, 29 May 2024 11:46:03 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Tue, 28 May 2024 10:56:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> You didn't answer my question about your internet connection, so I'm going to assume the answer is "yes". <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61c.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--stuck_out_tongue_winking_eye" style="height:23px;width:auto;vertical-align:middle" title=":stuck_out_tongue_winking_eye:" alt="😜" /></p>
<p dir="auto">Also, you should reread the documentation on adding the forever service because that isn't the proper method. Seems like we went over this several months ago.</p>
]]></description><link>https://xcp-ng.org/forum/post/78028</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78028</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Tue, 28 May 2024 10:56:31 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Tue, 28 May 2024 07:25:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>,<br />
Yes, I'm using Debian. I got the following results:</p>
<pre><code># yarn
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ husky install
husky - Git hooks installed
Done in 3.98s.
#
# yarn build
yarn run v1.22.22
$ TURBO_TELEMETRY_DISABLED=1 turbo run build --scope xo-server --scope xo-server-'*' --scope xo-web
 WARNING  --scope is deprecated and will be removed in 2.0
• Packages in scope: xo-server, xo-server-audit, xo-server-auth-github, xo-server-auth-google, xo-server-auth-ldap, xo-server-auth-oidc, xo-server-auth-saml, xo-server-backup-reports, xo-server-load-balancer, xo-server-netbox, xo-server-perf-alert, xo-server-sdn-controller, xo-server-test, xo-server-test-plugin, xo-server-transport-email, xo-server-transport-icinga2, xo-server-transport-nagios, xo-server-transport-slack, xo-server-transport-xmpp, xo-server-usage-report, xo-server-web-hooks, xo-web
• Running build in 22 packages
• Remote caching disabled

 Tasks:    25 successful, 25 total
Cached:    0 cached, 25 total
  Time:    4m4.224s 

Done in 244.88s.
#
# npm install forever -g
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

added 282 packages in 1m

45 packages are looking for funding
  run `npm fund` for details
#
# yarn global add forever
yarn global v1.22.22
[1/4] Resolving packages...
warning forever &gt; forever-monitor &gt; chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning forever &gt; forever-monitor &gt; chokidar &gt; fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
warning forever &gt; forever-monitor &gt; chokidar &gt; braces &gt; snapdragon &gt; source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning forever &gt; flatiron &gt; prompt &gt; utile &gt; rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning forever &gt; forever-monitor &gt; chokidar &gt; braces &gt; snapdragon &gt; source-map-resolve &gt; resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning forever &gt; forever-monitor &gt; chokidar &gt; braces &gt; snapdragon &gt; source-map-resolve &gt; source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning forever &gt; forever-monitor &gt; chokidar &gt; braces &gt; snapdragon &gt; source-map-resolve &gt; urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning forever &gt; flatiron &gt; prompt &gt; utile &gt; rimraf &gt; glob@7.2.3: Glob versions prior to v9 are no longer supported
warning forever &gt; flatiron &gt; prompt &gt; utile &gt; rimraf &gt; glob &gt; inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "forever@4.0.3" with binaries:
      - forever
Done in 31.95s.
#
# yarn global add forever-service
yarn global v1.22.22
[1/4] Resolving packages...
warning forever-service &gt; swig@1.4.2: This package is no longer maintained
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "forever-service@0.5.11" with binaries:
      - forever-service
      - get-forever-config
Done in 8.61s.
#
# forever-service install orchestra -r xo -s dist/cli.mjs
forever-service version 0.5.11

Platform - Debian GNU/Linux 12 (bookworm)
orchestra provisioned successfully

Commands to interact with service orchestra
Start   - "sudo service orchestra start"
Stop    - "sudo service orchestra stop"
Status  - "sudo service orchestra status"
Restart - "sudo service orchestra restart"
#
# /sbin/service orchestra start
#
# /sbin/service orchestra status
● orchestra.service - LSB: forever-service startup script for orchestra
     Loaded: loaded (/etc/init.d/orchestra; generated)
     Active: active (exited) since Tue 2024-05-28 00:14:36 PDT; 13s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 45721 ExecStart=/etc/init.d/orchestra start (code=exited, status=0/SUCCESS)
        CPU: 33ms

May 28 00:14:34 XO systemd[1]: Starting orchestra.service - LSB: forever-service startup script for orchestra...
May 28 00:14:35 XO orchestra[45721]: Starting orchestra
May 28 00:14:36 XO systemd[1]: Started orchestra.service - LSB: forever-service startup script for orchestra.
</code></pre>
<p dir="auto">But:</p>
<pre><code># ss -tupln
Netid  State   Recv-Q   Send-Q     Local Address:Port      Peer Address:Port  Process                                                      
udp    UNCONN  0        0                0.0.0.0:111            0.0.0.0:*      users:(("rpcbind",pid=16688,fd=5),("systemd",pid=1,fd=66))  
udp    UNCONN  0        0                   [::]:111               [::]:*      users:(("rpcbind",pid=16688,fd=7),("systemd",pid=1,fd=68))  
tcp    LISTEN  0        128              0.0.0.0:22             0.0.0.0:*      users:(("sshd",pid=10085,fd=3))                             
tcp    LISTEN  0        4096             0.0.0.0:111            0.0.0.0:*      users:(("rpcbind",pid=16688,fd=4),("systemd",pid=1,fd=58))  
tcp    LISTEN  0        511            127.0.0.1:6379           0.0.0.0:*      users:(("redis-server",pid=40261,fd=6))                     
tcp    LISTEN  0        128                 [::]:22                [::]:*      users:(("sshd",pid=10085,fd=4))                             
tcp    LISTEN  0        4096                [::]:111               [::]:*      users:(("rpcbind",pid=16688,fd=6),("systemd",pid=1,fd=67))  
tcp    LISTEN  0        511                [::1]:6379              [::]:*      users:(("redis-server",pid=40261,fd=7))    
</code></pre>
<p dir="auto">No service runs on Potter 80!</p>
]]></description><link>https://xcp-ng.org/forum/post/78022</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78022</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Tue, 28 May 2024 07:25:18 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Mon, 27 May 2024 19:00:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> There are several instance in this thread where the errors you encounter appear to be network related. Do you regularly have issues with your internet connection? Are you still using Debian 12 as the base OS?</p>
]]></description><link>https://xcp-ng.org/forum/post/77999</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77999</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Mon, 27 May 2024 19:00:25 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Mon, 27 May 2024 18:21:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>,<br />
Thank you so much for your reply.<br />
I installed a new VM and  cloned the repository manually. It has been at this stage for hours:</p>
<pre><code># yarn
yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning "@commitlint/cli &gt; @commitlint/load &gt; cosmiconfig-typescript-loader@5.0.
0" has unmet peer dependency "@types/node@*".
warning "@commitlint/cli &gt; @commitlint/load &gt; cosmiconfig-typescript-loader@5.0.
0" has unmet peer dependency "typescript@&gt;=4".
warning "@vue/eslint-config-typescript &gt; @typescript-eslint/eslint-plugin &gt; ts-a
pi-utils@1.3.0" has unmet peer dependency "typescript@&gt;=4.2.0".
warning "workspace-aggregator-832699f2-72dd-4d94-b7ec-a6f4c545ea40 &gt; @vates/even
t-listeners-manager &gt; tap &gt; @tapjs/test &gt; @isaacs/ts-node-temp-fork-for-pr-2009@
10.9.5" has unmet peer dependency "@types/node@*".
warning "workspace-aggregator-832699f2-72dd-4d94-b7ec-a6f4c545ea40 &gt; @vates/even
t-listeners-manager &gt; tap &gt; @tapjs/asserts &gt; tcompare &gt; react-element-to-jsx-str
ing@15.0.0" has unmet peer dependency "react@^0.14.8 || ^15.0.1 || ^16.0.0 || ^1
7.0.1 || ^18.0.0".
warning "workspace-aggregator-832699f2-72dd-4d94-b7ec-a6f4c545ea40 &gt; @vates/even
t-listeners-manager &gt; tap &gt; @tapjs/asserts &gt; tcompare &gt; react-element-to-jsx-str
ing@15.0.0" has unmet peer dependency "react-dom@^0.14.8 || ^15.0.1 || ^16.0.0 |
| ^17.0.1 || ^18.0.0".
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
[13/21] ⠄ argon2
[-/21] ⡀ waiting...
[-/21] ⡀ waiting...
[-/21] ⡀ waiting...
[-/21] ⡀ waiting...
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/77994</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77994</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Mon, 27 May 2024 18:21:59 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Sun, 26 May 2024 12:06:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> Looks like you had an issue during the attempt to <code>git clone</code> the XO repository, which would explain why the directory was subsequently not found. I would recommend retrying the install using a fresh VM.</p>
]]></description><link>https://xcp-ng.org/forum/post/77913</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77913</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Sun, 26 May 2024 12:06:09 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Sun, 26 May 2024 09:31:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> you should report 3rd party script issues where they are built, eg <a href="https://github.com/Jarli01/xenorchestra_installer" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Jarli01/xenorchestra_installer</a></p>
<p dir="auto">The community forums are meant to deal with <a href="https://xen-orchestra.com/docs/installation.html#from-the-sources" target="_blank" rel="noopener noreferrer nofollow ugc">the documented way to install XO</a> <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/77911</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77911</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sun, 26 May 2024 09:31:35 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Sun, 26 May 2024 09:21:17 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I cloned the repository <strong>Jarli01/xenorchestra_installer</strong>. I then tried to install it using the <code>bash xo_install.sh</code> command, but I got the following error:</p>
<pre><code>Cloning into 'xen-orchestra'...
remote: Enumerating objects: 128131, done.
remote: Counting objects: 100% (4123/4123), done.
remote: Compressing objects: 100% (1937/1937), done.
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 611 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
xo_install.sh: line 50: cd: /opt/xen-orchestra: No such file or directory
yarn install v1.22.22
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 0.17s.
yarn run v1.22.22
error Couldn't find a package.json file in "/opt"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
xo_install.sh: line 54: cd: packages/xo-server: No such file or directory
cp: cannot stat 'sample.config.toml': No such file or directory
ls: cannot access '/opt/xen-orchestra/packages/xo-server-*': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/xo-server.service → /lib/systemd/system/xo-server.service.


Installation complete, open a browser to:
172.20.2.56 

Default Login:admin@admin.net Password:admin

Don't forget to change your password!
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/77910</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77910</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Sun, 26 May 2024 09:21:17 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Thu, 28 Mar 2024 13:12:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>, Yes. I read.<br />
These were questions that I had asked before and no one answered:<br />
1- Should I run the commands as root or sudo?</p>
<p dir="auto">2- Which directory is suitable to clone XO? I want to clone it in the /usr/local/src directory and this requires administrative access.</p>
]]></description><link>https://xcp-ng.org/forum/post/74416</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74416</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Thu, 28 Mar 2024 13:12:35 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Thu, 28 Mar 2024 13:04:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a></p>
<blockquote>
<p dir="auto">2024-03-28T12:45:02.002Z xo:main WARN   Access denied.<br />
2024-03-28T12:45:02.003Z xo:main WARN   Ports &lt; 1024 are often reserved to privileges users.<br />
<img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/2716.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--heavy_multiplication_x" style="height:23px;width:auto;vertical-align:middle" title="✖" alt="✖" /> EACCES: permission denied, open '/home/xo/.config/xo-server/config.z-auto.json'</p>
</blockquote>
<p dir="auto">Did you read this part of the documentation? <a href="https://xen-orchestra.com/docs/installation.html#sudo" target="_blank" rel="noopener noreferrer nofollow ugc">https://xen-orchestra.com/docs/installation.html#sudo</a></p>
<blockquote>
<p dir="auto">What should I do if I want to completely remove XO and use the script xenorchestra_installer?</p>
</blockquote>
<p dir="auto">I hope that was more of a rhetorical question, because your best option is to simply spin up a new VM and start over. There are other options as well --</p>
<ul>
<li>Revert to an existing snapshot that you took prior to all of the above</li>
<li>Remove the <code>/home/username/xen-orchestra</code> directory and hope for the best <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f606.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--laughing" style="height:23px;width:auto;vertical-align:middle" title=":laughing:" alt="😆" /></li>
</ul>
]]></description><link>https://xcp-ng.org/forum/post/74415</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74415</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Thu, 28 Mar 2024 13:04:49 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Thu, 28 Mar 2024 12:48:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>,<br />
I did the following commands:</p>
<pre><code># yarn global add forever
yarn global v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Installed "forever@4.0.3" with binaries:
      - forever
Done in 5.19s.
#
# yarn global add forever-service
yarn global v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Installed "forever-service@0.5.11" with binaries:
      - forever-service
      - get-forever-config
Done in 4.48s.
#
# forever-service install orchestra -r xo -s dist/cli.mjs
forever-service version 0.5.11

Platform - Debian GNU/Linux 12 (bookworm)
orchestra provisioned successfully

Commands to interact with service orchestra
Start   - "sudo service orchestra start"
Stop    - "sudo service orchestra stop"
Status  - "sudo service orchestra status"
Restart - "sudo service orchestra restart"
#
# sudo service orchestra start
#
# sudo service orchestra status
● orchestra.service - LSB: forever-service startup script for orchestra
     Loaded: loaded (/etc/init.d/orchestra; generated)
     Active: active (exited) since Thu 2024-03-28 08:38:18 EDT; 22s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 199365 ExecStart=/etc/init.d/orchestra start (code=exited, status=0/SUCCESS)
        CPU: 19ms

Mar 28 08:38:16 XO systemd[1]: Starting orchestra.service - LSB: forever-service startup script for orchestra...
Mar 28 08:38:17 XO orchestra[199365]: Starting orchestra
Mar 28 08:38:18 XO systemd[1]: Started orchestra.service - LSB: forever-service startup script for orchestra.
#
# systemctl enable orchestra.service
orchestra.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable orchestra
</code></pre>
<p dir="auto">Then I rebooted the system, but XO is not running:</p>
<pre><code># ss -tupln
Netid State  Recv-Q  Send-Q   Local Address:Port   Peer Address:Port Process                                                   
udp   UNCONN 0       0              0.0.0.0:111         0.0.0.0:*     users:(("rpcbind",pid=472,fd=5),("systemd",pid=1,fd=37)) 
udp   UNCONN 0       0                 [::]:111            [::]:*     users:(("rpcbind",pid=472,fd=7),("systemd",pid=1,fd=39)) 
tcp   LISTEN 0       4096           0.0.0.0:111         0.0.0.0:*     users:(("rpcbind",pid=472,fd=4),("systemd",pid=1,fd=36)) 
tcp   LISTEN 0       511          127.0.0.1:6379        0.0.0.0:*     users:(("redis-server",pid=517,fd=6))                    
tcp   LISTEN 0       511              [::1]:6379           [::]:*     users:(("redis-server",pid=517,fd=7))                    
tcp   LISTEN 0       4096              [::]:111            [::]:*     users:(("rpcbind",pid=472,fd=6),("systemd",pid=1,fd=38)) 
</code></pre>
<p dir="auto">The log shows me the following error:</p>
<pre><code>2024-03-28T12:45:02.002Z xo:main WARN   Access denied.
2024-03-28T12:45:02.003Z xo:main WARN   Ports &lt; 1024 are often reserved to privileges users.
✖ EACCES: permission denied, open '/home/xo/.config/xo-server/config.z-auto.json'
Error: EACCES: permission denied, open '/home/xo/.config/xo-server/config.z-auto.json'
{"level":"error","message":"Forever detected script exited with code: 1"}
{"level":"error","message":"Script restart attempt #28"}
</code></pre>
<p dir="auto">What should I do if I want to completely remove XO and use the script <strong>xenorchestra_installer</strong>?</p>
]]></description><link>https://xcp-ng.org/forum/post/74413</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74413</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Thu, 28 Mar 2024 12:48:29 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Thu, 28 Mar 2024 12:05:25 GMT]]></title><description><![CDATA[<p dir="auto">These are the steps shown in the documentation --</p>
<pre><code class="language-bash">yarn global add forever
yarn global add forever-service

# Be sure to edit the path below to where your install is located!
cd /home/username/xen-orchestra/packages/xo-server/

# Change the username below to the user owning XO
forever-service install orchestra -r username -s dist/cli.mjs
</code></pre>
<p dir="auto">I don't see where you previously ran the line to install <code>forever-service</code>. Is that no longer needed? <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=0594cb2b96d" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
<p dir="auto">To answer your question, Yes, you would rerun that command after switching to the correct directory as shown above.</p>
]]></description><link>https://xcp-ng.org/forum/post/74409</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74409</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Thu, 28 Mar 2024 12:05:25 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Thu, 28 Mar 2024 10:30:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>,<br />
I did:</p>
<pre><code># sudo forever-service delete orchestra
forever-service version 0.5.11

Platform - Debian GNU/Linux 12 (bookworm)
Service orchestra deleted successfully
</code></pre>
<p dir="auto">What is the next step? Should I run <code>$ sudo forever-service install orchestra -r "Current_UserName" -s dist/cli.mjs</code> command again?</p>
]]></description><link>https://xcp-ng.org/forum/post/74392</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74392</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Thu, 28 Mar 2024 10:30:39 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 27 Mar 2024 15:19:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> AFAIK it is correct. I've never personally used <code>forever</code>, so my advice is only based on what you've posted to this thread.</p>
<p dir="auto">This part looked suspicious, so that is why I recommended removal / recreation --</p>
<pre><code># forever start dist/cli.mjs
warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info:    Forever processing file: dist/cli.mjs
(node:742838) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:742838) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(node:742838) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/74324</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74324</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Wed, 27 Mar 2024 15:19:14 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 27 Mar 2024 13:56:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>, according to the XO documentation I ran the following command:</p>
<pre><code>$ sudo forever-service install orchestra -r "Current_UserName" -s dist/cli.mjs
</code></pre>
<p dir="auto">Is this wrong?</p>
]]></description><link>https://xcp-ng.org/forum/post/74317</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74317</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Wed, 27 Mar 2024 13:56:29 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 27 Mar 2024 12:46:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jasonnix" aria-label="Profile: jasonnix">@<bdi>jasonnix</bdi></a> Documentation for <code>forever</code> can be found at <a href="https://github.com/zapty/forever-service" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/zapty/forever-service</a></p>
]]></description><link>https://xcp-ng.org/forum/post/74303</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74303</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Wed, 27 Mar 2024 12:46:31 GMT</pubDate></item><item><title><![CDATA[Reply to Tips on installing XO on Wed, 27 Mar 2024 12:32:26 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: Danp">@<bdi>Danp</bdi></a>,<br />
How?</p>
]]></description><link>https://xcp-ng.org/forum/post/74292</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74292</guid><dc:creator><![CDATA[jasonnix]]></dc:creator><pubDate>Wed, 27 Mar 2024 12:32:26 GMT</pubDate></item></channel></rss>