Closed ethanpil closed 4 years ago
I am having the exact same issue on Debian 10.0.0! Did a basic netinstall for it and rebooted, got the script, ran it, and I'm seeing the very same errors (yarn environment error, journalctl cannot find module bluebird, same systemctl status output, etc). Essentially the same as reported above, but without any manual fiddling at all.
I have just finished running the script on Debian 9.11, and it works without issues. I stared at the installation script output, and indeed it seems that the Yarn install steps at the end did not complete at all when compared to the 10.0.0 attempt.
I will take a look at it, but I suspect this is caused by an upstream issue.
@Danp2 didn't we have another issue with bluebird a while back?
@Jarli01 Yes... you previously added apt-transport-https
to the dependency list here -- #52
Guessing the error is related to this --
Get:4 https://dl.yarnpkg.com/debian stable InRelease [13.3 kB]
Err:4 https://dl.yarnpkg.com/debian stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E
Reading package lists... Done
W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E
E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
There also this, which occurs just prior to the above --
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
curl: (23) Failed writing body (550 != 1369)
Seems like this line is failing --
/usr/bin/curl -sS $yarn_gpg | apt-key add -
Testing now after manually installing gnupg
Worked manually. Coded the fix to the install script. Would someone please test to confirm? Use the following command to test --
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/dp_debianfix/xo_install.sh | bash
Will test this tonight and confirm!
Worked manually. Coded the fix to the install script. Would someone please test to confirm? Use the following command to test --
sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/dp_debianfix/xo_install.sh | bash
I just tested and can confirm this works as expected. XO installed and started without any further issues.
GnuPG is included in the full version, so must've been removed from the netinstall iso.
Fixed in #62.
FYI, issue is solved on 10.0.0 too ^_^.
I was just able to confirm, gpg is included in the full live iso but not the netinstall iso. Just another dependency that is needed.
@Danp2 thanks for jumping on that so quickly.
Describe the bug I just tried (for the second time) a fresh install in a Debian 10.1 VM. The install fails and XO wont start.
My feeling is that we have the wrong Yarn package install?
cd /opt/xen-orchestra
yarn
and I get
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
Other useful stuff:
I then did this:
Then I went back and did:
None of this solved the problem, but clearly yarnpkg didnt install and the
yarn
command doesnt do the correct thing, which I suspect is breaking the install. If I have time, I will try on a Debian 9 to see if the issue is Debian 10. If anyone has some thoughts, or suggestions, I would appreciate it.To Reproduce Steps to reproduce the behavior:
Expected behavior XO starts service
Screenshots N/A
Desktop/Server details (please complete the following information): Freshly downloaded and verified debian-10.1.0-amd64-netinst.iso in XCP-NG 8.0
Additional context n/a
Confirm XOCE services are running
Provide the output of journalctl logs
Provide answers to these questions:
Is this a fresh install or an upgrade? Fresh. Tried twice.
Version of XOCE server and web interface you're running XCP-NG 8.0
What OS is XOCE running on? Debian 10.1
A link to the ISO you've used as as the server (so we can verify/troubleshoot) https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.1.0-amd64-netinst.iso
What method did you use to install XOCE (xo_install.sh, manual installation, etc) xo_install.sh
What specific XOCE page you're on, and what specific element you're interacting with to trigger the error
If a stacktrace is provided in the error, include that too.
Any errors that appear in your browser's error console.
Include what you've done so far in the installation, and if you got any error messages along the way.
Indicate whether or not you've manually edited any data directly.