[codeface] Re: Failure during Vagrant Installation

  • From: Wolfgang Mauerer <wolfgang.mauerer@xxxxxxxxxxxxxxxxx>
  • To: <codeface@xxxxxxxxxxxxx>
  • Date: Thu, 16 Mar 2017 16:29:39 +0100

Dear all,

Am 10/03/2017 um 16:23 schrieb Kuppelwieser, Stefan:

Hello Claus,

I retried it, but I get the same Error.

I have clone your branch again on my local machine and run vagrant up. (14.04)
During the installing I get the same error like last week.

I can reproduce the error locally here, and it seems that a missing
npm binary is the root cause -- when npm is missing,
integration_scripts/install_codeface_node.sh can (obviously) not install
any node modules, and this makes it in turn impossible to run the ID
service.

Though actually I'm wondering why things ever worked during the last
couple of months :) @Claus, in 3db494fd4d7fe353c (already merged to
master), you remove npm from the list of installed packages. Do you
recall if this was intentional?

Manually installing npm on the VM in question and then pulling in
the node dependencies solves the problem.

Thanks & best regards, Wolfgang Mauerer

It begins at line 5243. [1]

After the Installation I run the .sh Scripts, but it fails (again) too.

      vagrant@vagrant-ubuntu-trusty-64:/vagrant$ 
./integration-scripts/install_common.sh
      Providing common binaries and libraries
      nodejs is /usr/bin/nodejs
      ln: failed to create symbolic link '/usr/bin/nodejs': File exists
      
      vagrant@vagrant-ubuntu-trusty-64:/vagrant$ sudo 
./integration-scripts/install_common.sh
      Providing common binaries and libraries
      nodejs is /usr/bin/nodejs
      ln: failed to create symbolic link '/usr/bin/nodejs': File exists


[1] Attachment: log.txt

---
Best wishes,
Stefan Kuppelwieser

-----Original Message-----
From: codeface-bounce@xxxxxxxxxxxxx [mailto:codeface-bounce@xxxxxxxxxxxxx] On ;
Behalf Of Claus Hunsen
Sent: Friday, March 10, 2017 2:57 PM
To: codeface@xxxxxxxxxxxxx
Subject: [codeface] Re: Failure during Vagrant Installation

Hello Stefan,

I can give a short follow-up: I have re-installed my VM (14.04) yesterday 
(based on my current branch) and everything worked flawlessly.

Do you still have problems?

-- Claus


On 02/03/17 13:00, Claus Hunsen wrote:
Hello Stefan,

sorry for taking so long for an answer, I guess, everyone is kinda 
busy these days.


Regarding your installation problems: There are several issues during 
your installation (also referring to
<https://github.com/siemens/codeface/issues/58>):

1) You cannot download various R source packages.
In the log that is attached to your message to the mailing list, these 
download errors are not occurring anymore. I guess, your Internet 
uplink failed to some reason during the installation. Please make sure 
you have a stable connection to the Internet. Alternatively, the 
R-packages mirror was probably down to some reason. But, both reasons 
can unfortunately only be circumvented by retrying...

2) cppstats could not be installed properly (Line 5395).
This issue has been fixed on my branch [1], but the patches are not 
merged to siemens/codeface/master yet [2]. As you can see in the 
TravisCI log [3], the issue is indeed fixed.

Please checkout my branch [1] and try the Vagrant installation based 
on this particular branch.

3) The installation of the ID service failed (Lines 5183 and 5408).
If the problem persists after using my branch for the Codeface 
installation (see point 2)), do the following: Please log into the VM 
using "vagrant ssh" (or running the machine from VirtualBox) and run 
the following commands:
cd /vagrant/
./integration-scripts/install_common.sh
./integration-scripts/install_codeface_node.sh
Afterwards, the ID service should be functional. Sometimes, Vagrant 
simply gets a hiccup and does not perform certain commands.


In summary, please try my branch [1] for retrying the installation. If 
any further problems occur, do not hesitate to ask for help. This 
time, we will respond faster. ;)

Best,
Claus

[1] <https://github.com/clhunsen/codeface/tree/claus-updates>
[2] <https://github.com/siemens/codeface/pull/57>
[3] <https://travis-ci.org/siemens/codeface/builds/203601483>


On 16/02/17 18:18, Kuppelwieser, Stefan wrote:
Hello,

I want to install Codeface on my local Windows 10 x64 Machine.

As prerequisite I have installed:

  * vagrant
  * virtual box
  * git bash

I have followed the instruction from the wiki for installation with vagrant.

Unfortunately I get always an error. Something can't download. I 
tried it to download it manual - it works.

In the appendix is the log file from codeface.

Can somebody help me.
I dont know how I can fixed that.

Thank you very much.

Best wishes,
Stefan Kuppelwieser

 



______________________________________________________________

Krones AG

Vorstand: Christoph Klenk, Vorstandsvorsitzender,

Michael Andersen, Rainulf Diepold, Thomas Ricker, Markus Tischer, 
Ralf Goldbrunner

Vorsitzender des Aufsichtsrats: Volker Kronseder

Registergericht: Regensburg HRB 23 44, Umsatzsteuer-ID-Nummer: DE 133
695 999

______________________________________________________________


Der Inhalt dieser E-Mail und jeder Anhang ist vertraulich.
Diese Inhalte sind nur fuer die benannten Adressaten.
Wenn Sie diese E-Mail durch einen Fehler erhalten haben, 
benachrichtigen Sie sofort Ihren Administrator oder den Absender.
Behandeln Sie die E-Mail vertraulich.

* Diese E-Mail wurde auf Viren und gefaehrlichen Inhalt geprueft. * 
______________________________________________________________

The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system 
manager or the sender immediately and do not disclose the contents to 
anyone or make copies.

* This e-Mail was scanned for viruses, vandals and malicious content. 
*


______________________________________________________________

Krones AG
Vorstand: Christoph Klenk, Vorstandsvorsitzender,
Michael Andersen, Rainulf Diepold, Thomas Ricker, Markus Tischer, Ralf 
Goldbrunner 
Vorsitzender des Aufsichtsrats: Volker Kronseder
Registergericht: Regensburg HRB 23 44, Umsatzsteuer-ID-Nummer: DE 133 695 999
______________________________________________________________
Der Inhalt dieser E-Mail und jeder Anhang ist vertraulich.
Diese Inhalte sind nur fuer die benannten Adressaten.
Wenn Sie diese E-Mail durch einen Fehler erhalten haben,
benachrichtigen Sie sofort Ihren Administrator oder den Absender.
Behandeln Sie die E-Mail vertraulich.

* Diese E-Mail wurde auf Viren und gefaehrlichen Inhalt geprueft. *
______________________________________________________________

The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager
or the sender immediately and do not disclose the contents to anyone or
make copies.

* This e-Mail was scanned for viruses, vandals and malicious content. *


Other related posts: