Page 3 of 3

Re: Failed to start Web Service

Posted: Sun 19 Aug 2018, 17:05
by mtak
Hi again,

After I had installed libssl1.0-dev i got the gateway up and running. Unfortunally my node-red installation stopped working instead. I'm using that together with mqtt to get messages from SPC sent over to domoticz.

The reason for node red stopping was that installing libssl1.0-dev removed "libssl-dev node-gyp nodejs-dev npm". Se below.

After installing node-red again libssl1.0-dev was removed.

So, it's a catch 22 situation here.

Any suggestions?

Regards
Mattias


domoticz@maja:/opt/spc-web-gateway$ sudo apt-get install libssl1.0-dev
Läser paketlistor… Färdig
Bygger beroendeträd
Läser tillståndsinformation… Färdig
Följande paket har installerats automatiskt och är inte längre nödvändiga:
gyp javascript-common libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libssl-doc libuv1-dev node-abbrev node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream
node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs
node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license node-which node-wrappy node-yallist python
python-minimal python-pkg-resources python2.7 python2.7-minimal
Använd ”sudo apt autoremove” för att ta bort dem.
Följande paket kommer att TAS BORT:
libssl-dev node-gyp nodejs-dev npm
Följande NYA paket kommer att installeras:
libssl1.0-dev
0 att uppgradera, 1 att nyinstallera, 4 att ta bort och 0 att inte uppgradera.
Behöver hämta 0 B/1 364 kB arkiv.
Efter denna åtgärd kommer 11,8 MB att frigöras på disken.

Re: Failed to start Web Service

Posted: Wed 22 Aug 2018, 16:33
by mtak
I've managed to solve my problem by running the spc gateway (together with the mqqt binding) on a separate Raspberry Pi (running Jessie). One advantage with this is ofcourse that it till be less vulnerable while doing upgrades on my domotics installation.
/Mattias