Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-6402

[Fiware-ceedtech-coaching] Problems with Cloud Messaging installation

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
    • HD-Chapter:
      Data
    • HD-Enabler:
      Aeon

      Description

      Hi,
      The following is a message from an accelerated team in CEED Tech; they are trying to install the Cloud Messaging GE (AEON) but they got some errors (screenshot attached as pdf).
      After suggesting to this solution<https://github.com/mscdex/node-mariasql/issues/96>, the team still got errors, and the log is the following:

      npm install
      npm WARN deprecated jade@0.32.0<jade@0.32.0>: Jade has been renamed to pug, please install the latest version of pug instead of jade

      > bcrypt@0.7.7<bcrypt@0.7.7> install /aeon/fiware-cloud-messaging-api/node_modules/bcrypt
      > node-gyp rebuild

      make: Entering directory '/aeon/fiware-cloud-messaging-api/node_modules/bcrypt/build'
      CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
      CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
      CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
      SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
      SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node: Finished
      COPY Release/bcrypt_lib.node
      make: Leaving directory '/aeon/fiware-cloud-messaging-api/node_modules/bcrypt/build'
      npm WARN engine hawk@0.10.2<hawk@0.10.2>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )

      > kerberos@0.0.3<kerberos@0.0.3> install /aeon/fiware-cloud-messaging-api/node_modules/mongodb/node_modules/kerberos
      > (node-gyp rebuild 2> builderror.log) || (exit 0)

      make: Entering directory '/aeon/fiware-cloud-messaging-api/node_modules/mongodb/node_modules/kerberos/build'
      SOLINK_MODULE(target) Release/obj.target/kerberos.node
      SOLINK_MODULE(target) Release/obj.target/kerberos.node: Finished
      COPY Release/kerberos.node
      make: Leaving directory '/aeon/fiware-cloud-messaging-api/node_modules/mongodb/node_modules/kerberos/build'
      npm WARN engine sntp@0.1.4<sntp@0.1.4>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )
      npm WARN engine cryptiles@0.1.3<cryptiles@0.1.3>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )
      npm WARN engine boom@0.3.8<boom@0.3.8>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )
      npm WARN engine hoek@0.7.6<hoek@0.7.6>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )
      npm WARN engine hawk@3.1.3<hawk@3.1.3>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )
      -
      > contextify@0.1.15<contextify@0.1.15> install /aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/contextify
      > node-gyp rebuild

      make: Entering directory '/aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/contextify/build'
      CXX(target) Release/obj.target/contextify/src/contextify.o
      In file included from ../src/contextify.cc:3:0:
      ../node_modules/nan/nan.h:328:47: error: 'REPLACE_INVALID_UTF8' is not a member of 'v8::String'
      static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
      ^
      contextify.target.mk:84: recipe for target 'Release/obj.target/contextify/src/contextify.o' failed
      make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
      make: Leaving directory '/aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/contextify/build'
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
      gyp ERR! stack at ChildProcess.emit (events.js:98:17)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
      gyp ERR! System Linux 3.16.0-4-amd64
      gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
      gyp ERR! cwd /aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/contextify
      gyp ERR! node -v v0.10.29
      gyp ERR! node-gyp -v v0.12.2
      gyp ERR! not ok
      npm WARN engine cryptiles@2.0.5<cryptiles@2.0.5>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )
      npm WARN engine boom@2.10.1<boom@2.10.1>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )
      npm WARN engine hoek@2.16.3<hoek@2.16.3>: wanted:

      Unknown macro: {"node"}

      (current:

      Unknown macro: {"node"}

      )
      npm WARN This failure might be due to the use of legacy binary "node"
      npm WARN For further explanations, please read
      /usr/share/doc/nodejs/README.Debian

      npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/cssstyle/lib/properties'
      npm ERR! error rolling back jsdom@0.5.7<jsdom@0.5.7>

      Unknown macro: { [Error}

      npm ERR! Error: ENOENT, lstat '/aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png'
      npm ERR! If you need help, you may report this entire log,
      npm ERR! including the npm and node versions, at:
      npm ERR! <http://github.com/npm/npm/issues><http://github.com/npm/npm/issues>

      npm ERR! System Linux 3.16.0-4-amd64
      npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
      npm ERR! cwd /aeon/fiware-cloud-messaging-api
      npm ERR! node -v v0.10.29
      npm ERR! npm -v 1.4.21
      npm ERR! path /aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png
      npm ERR! fstream_path /aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png
      npm ERR! fstream_type File
      npm ERR! fstream_class FileWriter
      npm ERR! code ENOENT
      npm ERR! errno 34
      npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
      npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
      npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/cssstyle/lib/properties'
      npm ERR! error rolling back juice@0.3.3<juice@0.3.3>

      Unknown macro: { [Error}

      npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/boom'
      npm ERR! error rolling back hawk@3.1.3<hawk@3.1.3>

      Unknown macro: { [Error}

      npm ERR! Error: ENOENT, chmod '/aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml'
      npm ERR! If you need help, you may report this entire log,
      npm ERR! including the npm and node versions, at:
      npm ERR! <http://github.com/npm/npm/issues><http://github.com/npm/npm/issues>

      npm ERR! System Linux 3.16.0-4-amd64
      npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
      npm ERR! cwd /aeon/fiware-cloud-messaging-api
      npm ERR! node -v v0.10.29
      npm ERR! npm -v 1.4.21
      npm ERR! path /aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml
      npm ERR! fstream_path /aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/boom/.travis.yml
      npm ERR! fstream_type File
      npm ERR! fstream_class FileWriter
      npm ERR! fstream_finish_call chmod
      npm ERR! code ENOENT
      npm ERR! errno 34
      npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:305:19
      npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
      npm ERR! Error: ENOENT, lstat '/aeon/fiware-cloud-messaging-api/node_modules/email-templates/node_modules/juice/node_modules/jsdom/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash/node_modules/assert-plus/assert.js'
      npm ERR! If you need help, you may report this entire log,
      npm ERR! including the npm and ...

      Best regards,
      Marco

      Marco Terrinoni
      Consoft Sistemi s.p.a.
      BU Application
      Via Pio VII 127 - 10127 - Torino
      Tel (+39) 011 3161571
      Fax (+39) 011 3161583

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-ceedtech-coaching@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-ceedtech-coaching mailing list
      Fiware-ceedtech-coaching@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-ceedtech-coaching

        Issue Links

          Activity

          Hide
          consoft_coach Marco Terrinoni added a comment -

          Dear Germam,
          Can you provide us the link to GitHub page were this is discussed? This way we can keep an anchor to it in this Jira ticket.
          Thank you very much.
          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - Dear Germam, Can you provide us the link to GitHub page were this is discussed? This way we can keep an anchor to it in this Jira ticket. Thank you very much. Best regards, Marco
          Hide
          german German Herrero added a comment -

          Hi Marco, we responded in a wrong thread. First we have updated the Dockerfiles that fixes the bugs related with the deployment of the GE, but this seems to be another problem.
          How are they trying to deploy the GE? The error may be by two things: a wrong version of node.js (v0.10.x must be used), or not executing the scripts as administrator. This is mandatory.

          Best,

          Javier

          Show
          german German Herrero added a comment - Hi Marco, we responded in a wrong thread. First we have updated the Dockerfiles that fixes the bugs related with the deployment of the GE, but this seems to be another problem. How are they trying to deploy the GE? The error may be by two things: a wrong version of node.js (v0.10.x must be used), or not executing the scripts as administrator. This is mandatory. Best, Javier
          Hide
          consoft_coach Marco Terrinoni added a comment -

          Dear Javier,
          I forwarded your reply to the requestor, I will attach here his answer.
          In the mean time, I kindly ask you again to provide me the link to the GitHub section were this issue is discussed.
          Thank you very much for your cooperation.
          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - Dear Javier, I forwarded your reply to the requestor, I will attach here his answer. In the mean time, I kindly ask you again to provide me the link to the GitHub section were this issue is discussed. Thank you very much for your cooperation. Best regards, Marco
          Hide
          german German Herrero added a comment -

          Dear marco, it was a mistake from our side publishing in the wrong github thread. We deleted the comment and answer through this Jira issue. Everything is through Jira by now.

          Show
          german German Herrero added a comment - Dear marco, it was a mistake from our side publishing in the wrong github thread. We deleted the comment and answer through this Jira issue. Everything is through Jira by now.
          Hide
          consoft_coach Marco Terrinoni added a comment -

          Dear German,
          The user decided to drop the AEON enabler from his project and didn't provide a reply to your question.
          We can close this ticket.
          Thank you for your cooperation.
          Best regards,
          Marco

          Show
          consoft_coach Marco Terrinoni added a comment - Dear German, The user decided to drop the AEON enabler from his project and didn't provide a reply to your question. We can close this ticket. Thank you for your cooperation. Best regards, Marco

            People

            • Assignee:
              german German Herrero
              Reporter:
              consoft_coach Marco Terrinoni
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: