Jarli01 / xenorchestra_installer

A simple install script for Xen Orchestra
GNU General Public License v3.0
432 stars 86 forks source link

Script doesn't run to completion #111

Closed dpearceMN closed 1 year ago

dpearceMN commented 1 year ago

Describe the bug Tried this on Ubuntu Server 20 and 22. Ran the script but I see no open port on the VM's OS.

messages.txt

systemctl start xo-server.service

Failed to start xo-server.service: Unit xo-server.service not found.

Jarli01 commented 1 year ago

Please fill out the ticket template. .

Danp2 commented 1 year ago

The script appears to be exiting prematurely following the yarn build command.

Danp2 commented 1 year ago

In my limited testing the script works when run locally, but fails to proceed beyond the yarn commands when using curl.

Danp2 commented 1 year ago

Retesting with 4GB based on this forum feedback.

Edit: This change made no difference for me.

dpearceMN commented 1 year ago

In my limited testing the script works when run locally, but fails to proceed beyond the yarn commands when using curl.

You are entirely correct. I downloaded the script and ran it in the terminal and it worked. Perhaps the documentation should change.

Danp2 commented 1 year ago

The script is designed to run via curl so that the latest version of the script is always used. This worked correctly before, and I've no idea why it fails to complete now. Any ideas @Jarli01?

Danp2 commented 1 year ago

The following method works correctly in my testing --

sudo bash
bash -c "$(curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh)"
Danp2 commented 1 year ago

FYI, I updated the Readme file with the above commands.