Starting XO error
-
Fresh install from source. After Yarn Start I get this and it hangs until I kill it.
yarn run v1.22.22 $ node dist/cli.mjs 2025-02-05T19:45:02.109Z xo:main INFO Configuration loaded. 2025-02-05T19:45:02.111Z xo:main INFO Web server listening on http://[::]:80 2025-02-05T19:45:02.361Z xo:mixins:hooks WARN start failure { error: Error: spawn xenstore-read ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at processTicksAndRejections (node:internal/process/task_queues:90:21) { errno: -2, code: 'ENOENT', syscall: 'spawn xenstore-read', path: 'xenstore-read', spawnargs: [ 'vm' ], cmd: 'xenstore-read vm' } } 2025-02-05T19:45:02.544Z xo:main INFO Setting up /robots.txt → /root/xen-orchestra/packages/xo-server/robots.txt 2025-02-05T19:45:02.596Z xo:main INFO Setting up / → /root/xen-orchestra/packages/xo-web/dist 2025-02-05T19:45:02.596Z xo:main INFO Setting up /v6 → /root/xen-orchestra/@xen-orchestra/web/dist 2025-02-05T19:45:02.597Z xo:plugin INFO register audit 2025-02-05T19:45:02.597Z xo:plugin INFO register auth-github 2025-02-05T19:45:02.598Z xo:plugin INFO register auth-google 2025-02-05T19:45:02.598Z xo:plugin INFO register auth-ldap 2025-02-05T19:45:02.598Z xo:plugin INFO register auth-oidc 2025-02-05T19:45:02.598Z xo:plugin INFO register auth-saml 2025-02-05T19:45:02.598Z xo:plugin INFO register backup-reports 2025-02-05T19:45:02.598Z xo:plugin INFO register load-balancer 2025-02-05T19:45:02.599Z xo:plugin INFO register netbox 2025-02-05T19:45:02.599Z xo:plugin INFO register perf-alert 2025-02-05T19:45:02.599Z xo:plugin INFO register sdn-controller 2025-02-05T19:45:02.599Z xo:plugin INFO register test 2025-02-05T19:45:02.599Z xo:plugin INFO register test-plugin 2025-02-05T19:45:02.599Z xo:plugin INFO register transport-email 2025-02-05T19:45:02.600Z xo:plugin INFO register transport-icinga2 2025-02-05T19:45:02.600Z xo:plugin INFO register transport-nagios 2025-02-05T19:45:02.600Z xo:plugin INFO register transport-slack 2025-02-05T19:45:02.600Z xo:plugin INFO register transport-xmpp 2025-02-05T19:45:02.600Z xo:plugin INFO register usage-report 2025-02-05T19:45:02.600Z xo:plugin INFO register web-hooks foobar 2025-02-05T19:45:02.946Z xo:plugin INFO failed register test 2025-02-05T19:45:02.946Z xo:plugin INFO Cannot read properties of undefined (reading 'default') { error: TypeError: Cannot read properties of undefined (reading 'default') at Xo.registerPlugin (file:///root/xen-orchestra/packages/xo-server/src/index.mjs:369:18) } strict mode: required property "discoveryURL" is not defined at "#/anyOf/0" (strictRequired) strict mode: missing type "object" for keyword "required" at "#/anyOf/1/properties/advanced" (strictTypes) strict mode: required property "authorizationURL" is not defined at "#/anyOf/1/properties/advanced" (strictRequired) strict mode: required property "issuer" is not defined at "#/anyOf/1/properties/advanced" (strictRequired) strict mode: required property "userInfoURL" is not defined at "#/anyOf/1/properties/advanced" (strictRequired) strict mode: required property "tokenURL" is not defined at "#/anyOf/1/properties/advanced" (strictRequired) 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register auth-oidc 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register auth-google 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register auth-github 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register auth-ldap 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register auth-saml 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register netbox 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register test-plugin 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register transport-icinga2 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register transport-email 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register transport-nagios 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register transport-slack 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register transport-xmpp 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register usage-report 2025-02-05T19:45:02.997Z xo:plugin INFO successfully register web-hooks 2025-02-05T19:45:02.998Z xo:plugin INFO successfully register load-balancer 2025-02-05T19:45:02.998Z xo:plugin INFO successfully register backup-reports 2025-02-05T19:45:03.000Z xo:plugin INFO successfully register audit 2025-02-05T19:45:03.000Z xo:plugin INFO successfully register perf-alert 2025-02-05T19:45:03.004Z xo:plugin INFO successfully register sdn-controller ^C2025-02-05T19:45:09.999Z xo:main INFO SIGINT caught, closing… 2025-02-05T19:45:10.002Z xo:main INFO bye :-)
I Was poking around. But havent found much.
-
@raider600 Not sure about the
spawn xenstore-read
portion, but the rest looks pretty standard to me. Did you attempt to access the webpage while you had it running? -
@Danp Oh silly me. It does work. I was expecting it to bring me back to the prompt though.
-
@raider600 Are you running this in a VM? The only time I've seen anything with
xenstore-read
is when the customer was trying to run XOA on ESXi. -
@Danp It wasnt a VM. I dedicated a whole PC to debian and XO. But I was completely clueless as to what I was doing. I am off and running now though. Thank you
-
O olivierlambert marked this topic as a question
-
O olivierlambert has marked this topic as solved