Thanks's a lot. Now it worked!
M
Best posts made by michimate
Latest posts made by michimate
-
RE: Build from source Error
i used the latest master
git clone -b master http://github.com/vatesfr/xen-orchestra
I also tried again with the guide from your doku. Same result.
root@xoa-ce:/home/server-admin/xen-orchestra/packages/xo-server# yarn start yarn run v1.22.10 $ node bin/xo-server /home/server-admin/xen-orchestra/packages/xo-server/bin/xo-server:30 require('@xen-orchestra/log/configure').catchGlobalErrors(require('@xen-orchestra/log').default('xo:xo-server')) ^ TypeError: require(...).default is not a function at Object.<anonymous> (/home/server-admin/xen-orchestra/packages/xo-server/bin/xo-server:30:96) at Module._compile (internal/modules/cjs/loader.js:1068:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10) at Module.load (internal/modules/cjs/loader.js:933:32) at Function.Module._load (internal/modules/cjs/loader.js:774:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-
Build from source Error
Hello,
I am building xoa from source with the script from:
https://github.com/ronivay/XenOrchestraInstallerUpdaterAfter everything is completed I get this error.
I also tried this with the steps provided from the documentation directly. Same result.
OS is debain10
Mai 19 14:31:32 xoa-ce xo-server[22408]: /opt/xo/xo-builds/xen-orchestra-202105191427/packages/xo-server/bin/xo-server:30 Mai 19 14:31:32 xoa-ce xo-server[22408]: require('@xen-orchestra/log/configure').catchGlobalErrors(require('@xen-orchestra/log').default('xo:xo-server')) Mai 19 14:31:32 xoa-ce xo-server[22408]: ^ Mai 19 14:31:32 xoa-ce xo-server[22408]: TypeError: require(...).default is not a function Mai 19 14:31:32 xoa-ce xo-server[22408]: at Object.<anonymous> (/opt/xo/xo-builds/xen-orchestra-202105191427/packages/xo-server/bin/xo-server:30:96) Mai 19 14:31:32 xoa-ce xo-server[22408]: at Module._compile (internal/modules/cjs/loader.js:1068:30) Mai 19 14:31:32 xoa-ce xo-server[22408]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10) Mai 19 14:31:32 xoa-ce xo-server[22408]: at Module.load (internal/modules/cjs/loader.js:933:32) Mai 19 14:31:32 xoa-ce xo-server[22408]: at Function.Module._load (internal/modules/cjs/loader.js:774:14) Mai 19 14:31:32 xoa-ce xo-server[22408]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) Mai 19 14:31:32 xoa-ce xo-server[22408]: at internal/main/run_main_module.js:17:47 Mai 19 14:31:32 xoa-ce systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE Mai 19 14:31:32 xoa-ce systemd[1]: xo-server.service: Failed with result 'exit-code'. Mai 19 14:31:33 xoa-ce systemd[1]: xo-server.service: Service RestartSec=100ms expired, scheduling restart. Mai 19 14:31:33 xoa-ce systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 5. Mai 19 14:31:33 xoa-ce systemd[1]: Stopped XO Server. Mai 19 14:31:33 xoa-ce systemd[1]: xo-server.service: Start request repeated too quickly. Mai 19 14:31:33 xoa-ce systemd[1]: xo-server.service: Failed with result 'exit-code'. Mai 19 14:31:33 xoa-ce systemd[1]: Failed to start XO Server.