OpenMarine

Full Version: Signal K server crashing. How to debug? [SOLVED]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i'm new to the linux world so this might be stupid questions but i really am stuck in what to google and where to search for answers.

I have installed openplotter V2 and the first thing i did was to update settings and other apps so i'm not sure when the issue started.
Now it seems like Signal K server crashes when i start the pi. The first "checking open plotter system" gives green "Signal K status" but if i run again i get this:

Quote:Checking Signal K server...

Signal K server is not running


When i open the terminal and write "openplotter" to activate debug mode i get "could not find commando"


How can i find out what is causing Signal K-server to crash (and how to fix it?)


I could have re-installed the OS but i've activated my charts on this OS so recovery/re-install would cost me too much Tongue


RPI 3
2020-03-24-OpenPlotter-v2-Headless-NOOBS
Settings 2.3.0
Signal K Installer 2.1.0
I have disconnected everything but eth, hdmi, mouse/keyboard

Edit: I have tried to Reinstall Signal K via "Signal K Installer 2.1.0"
I now tried to reinstall as described in wiki under "if you have lost the password". The signal k server then seems to be running stable, (based on status in the check) but i still cannot access localhost:3000. It just stands "searching" with no error.

When i tried again to reinstall using signal k installer, i got the same error again (running at start, then crashes)
look at /var/log/syslog and search for any error related to SK server
Thank you very much!

As of my knowledge it seems that there are files and folders missing. I am unable to get those folders by reinstalling using "SK installer" nor "sudo signal-server-setup" (i also tried to copy from a fresh install but with errors saying "sumlinks not supported" while copying)

How can i get the folders "node_modules" and "plugin-config-data" in to the installation?


Details:
The log file is saying "ENOENT: no such file or directory, open '/home/pi/.signalk/security.json'". I installed a new system and there is no "security.json"-file there either but there are a couple of folders (node_modules, and plugin-config-data).

I tried to install from scratch using sudo signalk-server-setup but the folders is still missing. I get the following warning when the installation is finished:


Quote:(node:10356) DeprecationWarning: Deep requiring like `const uuidv4 = require('uuid/v4');` is deprecated as of uuid@7.x. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requ...deprecated for more information.

Also, i tried to reinstall using "signal k installer" but the two folders are still missing. The install log is referring to the folder though.

Install log (last bit of it):

Code:
npm info it worked if it ends with ok
npm verb cli [ '/usr/bin/node',
npm verb cli   '/usr/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   '-g',
npm verb cli   '--unsafe-perm',
npm verb cli   'signalk-server' ]
npm info using npm@6.13.4
npm info using node@v10.19.0
npm verb npm-session 2507f9a3f7c6fc83
npm http fetch GET 304 https://registry.npmjs.org/signalk-server 1956ms (from cache)
npm timing stage:loadCurrentTree Completed in 7987ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 49ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1149ms
npm http fetch GET 304 https://registry.npmjs.org/@types%2fdebug 437ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/chalk 452ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bcryptjs 477ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/body-parser 483ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/baconjs 672ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/command-exists 374ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/compare-versions 406ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/compression 405ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cookie 396ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cookie-parser 398ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cors 361ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/debug 300ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fbindings 1347ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/clear 1426ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/errorhandler 233ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/figlet 154ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/express 305ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/geolib 116ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/get-installed-path 114ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fstreams 2063ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/dev-null-stream 1146ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/deep-get-set 1181ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fsignalk-schema 2276ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/dnssd2 1161ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/inquirer 454ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fserver-admin-ui 2536ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/express-namespace 1343ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/listr 485ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/jsonwebtoken 536ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash 574ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/file-timestamp-stream 1368ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/flatmap 1274ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/minimist 588ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/morgan 535ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/moment 676ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/node-fetch 589ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/json-patch 1316ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/pem 548ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/spdy 539ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/semver 575ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/split 491ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/stat-mode 456ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/uuid 478ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ws 380ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/node-gpsd 1112ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/primus 1087ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mdns 139ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2finstrumentpanel 2959ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fmaptracker 2810ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fsailgauge 2815ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fset-system-time 2804ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fsimplegauges 2671ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fzones 2622ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2ffreeboard-sk 3037ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fsignalk-to-nmea0183 2772ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/nan 221ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bindings 247ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/prebuild-install 250ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fbinding-abstract 986ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-readline 1039ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ms 82ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-delimiter 1021ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/file-uri-to-path 109ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/detect-libc 422ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/expand-template 428ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/github-from-package 421ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/napi-build-utils 419ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mkdirp 435ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/noop-logger 432ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/npmlog 440ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/node-abi 475ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/rc 470ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/pump 537ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tunnel-agent 1560ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-fs 1580ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-get 1592ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/which-pm-runs 1562ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/are-we-there-yet 211ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/console-control-strings 210ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/gauge 214ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/set-blocking 219ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/delegates 128ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/readable-stream 131ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/isarray 281ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/core-util-is 289ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/inherits 298ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/string_decoder 293ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/safe-buffer 305ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/util-deprecate 316ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/process-nextick-args 340ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/aproba 343ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/has-unicode 341ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/object-assign 348ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/signal-exit 347ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/strip-ansi 353ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/string-width 371ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/wide-align 378ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/code-point-at 252ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-fullwidth-code-point 256ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/number-is-nan 92ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ansi-regex 73ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/end-of-stream 128ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/once 150ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/wrappy 90ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/deep-extend 124ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ini 138ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/strip-json-comments 141ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/decompress-response 116ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-concat 135ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mimic-response 89ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/chownr 122ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mkdirp-classic 137ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-stream 153ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bl 113ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs-constants 183ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer 76ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/base64-js 98ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ieee754 101ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/JSONStream 141ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tv4 173ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/json-schema-ref-parser 185ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tv4-formats 1479ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/call-me-maybe 211ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/js-yaml 220ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/es6-promise 260ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/z-schema 260ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ono 423ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/esprima 106ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/argparse 118ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/sprintf-js 86ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/format-util 96ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isequal 184ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.get 208ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/commander 203ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/validator 224ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/core-js 267ms (from cache)
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm http fetch GET 304 https://registry.npmjs.org/jsonparse 121ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/through 140ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/any-shell-escape 3635ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/stream-throttle 3626ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/reconnect-core 3662ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/serialport 4056ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fn2k-signalk 4143ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/aws-sdk 4170ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fclient 4413ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fnmea0183-signalk 4417ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@canboat%2fcanboatjs 4471ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bit-buffer 187ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/dnssd 186ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/int64-buffer 194ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/date-fns 223ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/socketcan 1025ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mqtt 1038ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@canboat%2fpgns 1912ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/concat-stream 239ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/commist 245ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/es6-map 250ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/xtend 243ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mqtt-packet 263ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/split2 266ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/reinterval 1002ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/help-me 1061ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/websocket-stream 1073ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/leven 72ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-from 102ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/typedarray 103ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/d 723ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/event-emitter 712ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/es6-set 722ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/es6-iterator 732ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/es6-symbol 731ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/es5-ext 748ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/type 77ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/next-tick 88ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ext 102ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/through2 136ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/callback-stream 148ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/glob-stream 151ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/extend 336ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/glob-parent 336ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-negated-glob 338ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ordered-read-streams 337ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/remove-trailing-separator 345ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/pumpify 357ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/glob 396ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/to-absolute-glob 379ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/unique-stream 371ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs.realpath 232ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/minimatch 235ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/inflight 243ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/path-is-absolute 250ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/brace-expansion 104ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/balanced-match 121ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/concat-map 127ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-glob 132ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/path-dirname 148ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-extglob 77ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/duplexify 88ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/stream-shift 79ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-absolute 110ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-relative 87ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-windows 103ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-unc-path 110ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/unc-path-regex 66ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/through2-filter 98ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/json-stable-stringify-without-jsonify 107ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/async-limiter 71ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ultron 103ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-byte-length 1193ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-ready 1207ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-regex 1219ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fstream 1228ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fbinding-mock 1259ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-cctalk 1263ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/xml2js 1424ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/sax 126ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/xmlbuilder 129ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cross-fetch 148ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@babel%2fpolyfill 161ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/eventemitter3 184ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/isomorphic-ws 204ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/regenerator-runtime 3326ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/whatwg-fetch 98ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/moment-timezone 99ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ggencoder 969ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@signalk%2fnmea0183-utilities 3585ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/querystring 137ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/events 197ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/jmespath 206ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/url 210ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/punycode 117ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tslib 85ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/stream.finished 934ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ultra-strftime 956ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/define-properties 137ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/function-bind 138ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/object-keys 102ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/backoff 80ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/precond 72ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/limiter 65ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bytes 281ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/content-type 292ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/http-errors 295ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/depd 301ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/iconv-lite 305ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/on-finished 308ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/raw-body 312ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/type-is 331ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/qs 355ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/setprototypeof 144ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/statuses 158ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/toidentifier 175ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/safer-buffer 84ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ee-first 3072ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/unpipe 96ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/media-typer 238ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mime-types 271ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mime-db 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ansi-styles 90ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/supports-color 105ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@types%2fcolor-name 100ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-convert 967ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-name 94ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/has-flag 68ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/compressible 137ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/accepts 146ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/vary 2413ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/on-headers 2425ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/negotiator 97ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cookie-signature 67ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/escape-html 93ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/array-flatten 301ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/content-disposition 301ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/etag 297ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/encodeurl 310ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fresh 306ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/merge-descriptors 310ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/finalhandler 319ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/methods 336ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/parseurl 389ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/path-to-regexp 460ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/proxy-addr 732ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/range-parser 731ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/serve-static 663ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/utils-merge 677ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/send 725ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/forwarded 115ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ipaddr.js 118ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mime 111ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/destroy 118ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/global-modules 70ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/global-prefix 84ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/resolve-dir 96ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/which 133ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/expand-tilde 151ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/homedir-polyfill 157ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/parse-passwd 89ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/isexe 71ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cli-cursor 6584ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cli-width 6592ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mute-stream 6586ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ansi-escapes 9963ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/external-editor 9977ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/run-async 10203ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/figures 10216ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/rxjs 10233ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/type-fest 112ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/restore-cursor 82ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/onetime 83ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mimic-fn 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/chardet 73ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tmp 138ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/os-tmpdir 76ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/escape-string-regexp 79ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/emoji-regex 73ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isnumber 267ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isplainobject 271ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/jws 288ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isboolean 287ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.includes 298ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isstring 1551ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.isinteger 1562ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lodash.once 1557ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/jwa 83ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-equal-constant-time 100ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ecdsa-sig-formatter 102ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-observable 294ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-stream 296ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@samverschueren%2fstream-to-observable 311ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/listr-silent-renderer 303ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/listr-update-renderer 309ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-promise 319ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/listr-verbose-renderer 324ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/p-map 342ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/any-observable 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/symbol-observable 131ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/elegant-spinner 241ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cli-truncate 246ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/indent-string 251ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/log-symbols 255ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/log-update 268ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/has-ansi 104ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/slice-ansi 80ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/wrap-ansi 83ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/basic-auth 992ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/es6-promisify 100ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/md5 101ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/charenc 116ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/crypt 135ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-buffer 136ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/diagnostics 173ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/nanoid 172ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/access-control 1304ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/setheader 1285ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/asyncemit 1306ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fusing 1296ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/forwarded-for 1330ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/create-server 1340ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/millisecond 112ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/colorspace 135ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/kuler 133ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/enabled 140ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color 110ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/text-hex 125ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-string 88ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-swizzle 78ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-arrayish 70ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/env-variable 97ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/colornames 66ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/connected 1000ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/storage-engine 1038ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/emits 3063ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/predefine 3067ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/extendible 979ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/http-deceiver 158ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/select-hose 158ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/spdy-transport 172ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/handle-thing 190ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/detect-node 171ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/wbuf 170ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/obuf 179ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/hpack.js 199ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/minimalistic-assert 74ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 81086ms
npm timing stage:loadIdealTree Completed in 83239ms
npm timing stage:generateActionsToTake Completed in 372ms
npm verb correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
npm timing action:extract Completed in 689ms
npm info lifecycle signalk-server@1.29.0~preuninstall: signalk-server@1.29.0
npm info lifecycle signalk-server@1.29.0~uninstall: signalk-server@1.29.0
npm verb unbuild rmStuff signalk-server@1.29.0 from /usr/lib/node_modules
npm info lifecycle signalk-server@1.29.0~postuninstall: signalk-server@1.29.0
npm timing action:unbuild Completed in 158ms
npm timing action:remove Completed in 480ms
npm timing action:finalize Completed in 272ms
npm timing action:refresh-package-json Completed in 43ms
npm info lifecycle signalk-server@1.29.0~preinstall: signalk-server@1.29.0
npm timing action:preinstall Completed in 8ms
npm info linkStuff signalk-server@1.29.0
npm verb linkBins [ { 'signalk-server': 'bin/signalk-server',
npm verb linkBins     'signalk-server-setup': 'bin/signalk-server-setup',
npm verb linkBins     'signalk-generate-token': 'bin/signalk-generate-token' },
npm verb linkBins   '/usr/bin',
npm verb linkBins   true ]
/usr/bin/signalk-server -> /usr/lib/node_modules/signalk-server/bin/signalk-server
/usr/bin/signalk-server-setup -> /usr/lib/node_modules/signalk-server/bin/signalk-server-setup
/usr/bin/signalk-generate-token -> /usr/lib/node_modules/signalk-server/bin/signalk-generate-token
npm timing action:build Completed in 50ms
npm info lifecycle signalk-server@1.29.0~install: signalk-server@1.29.0
npm timing action:install Completed in 6ms
npm info lifecycle signalk-server@1.29.0~postinstall: signalk-server@1.29.0
npm timing action:postinstall Completed in 4ms
npm verb unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
npm timing stage:executeActions Completed in 3210ms
npm timing stage:rollbackFailedOptional Completed in 2ms
npm timing stage:runTopLevelLifecycles Completed in 94936ms
+ signalk-server@1.29.0
updated 1 package in 94.951s
npm verb exit [ 0, true ]
npm timing npm Completed in 102618ms
npm info ok 
Installing/Updating signal K server...
Removing previous installations...
Editing config files...
DONE
Setting version...
DONE



Syslog:

Code:
May 14 15:20:21 openplotter systemd[1]: Started signalk.service.
May 14 15:20:23 openplotter signalk-server[1371]: Could not parse security config
May 14 15:20:23 openplotter signalk-server[1371]: ENOENT: no such file or directory, open '/home/pi/.signalk/security.json'
May 14 15:20:24 openplotter signalk-server[1371]: { Error: Cannot find module './APB.js'
May 14 15:20:24 openplotter signalk-server[1371]:     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
May 14 15:20:24 openplotter signalk-server[1371]:     at Function.Module._load (internal/modules/cjs/loader.js:562:25)
May 14 15:20:24 openplotter signalk-server[1371]:     at Module.require (internal/modules/cjs/loader.js:692:17)
May 14 15:20:24 openplotter signalk-server[1371]:     at require (internal/modules/cjs/helpers.js:25:18)
May 14 15:20:24 openplotter signalk-server[1371]:     at Object.<anonymous> (/usr/lib/node_modules/signalk-server/node_modules/@signalk/nmea0183-signalk/hooks/index.js:3:10)
May 14 15:20:24 openplotter signalk-server[1371]:     at Module._compile (internal/modules/cjs/loader.js:778:30)
May 14 15:20:24 openplotter signalk-server[1371]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
May 14 15:20:24 openplotter signalk-server[1371]:     at Module.load (internal/modules/cjs/loader.js:653:32)
May 14 15:20:24 openplotter signalk-server[1371]:     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
May 14 15:20:24 openplotter signalk-server[1371]:     at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'MODULE_NOT_FOUND' }
May 14 15:20:24 openplotter systemd[1]: signalk.service: Main process exited, code=exited, status=255/EXCEPTION
May 14 15:20:24 openplotter systemd[1]: signalk.service: Failed with result 'exit-code'.
May 14 15:20:24 openplotter systemd[1]: signalk.service: Service RestartSec=100ms expired, scheduling restart.
May 14 15:20:24 openplotter systemd[1]: signalk.service: Scheduled restart job, restart counter is at 15.
May 14 15:20:24 openplotter systemd[1]: Stopped signalk.service.
It seems that some modules are missing.

Have you tried uninstalling the signal k installer app and reinstaling?
(2020-05-14, 05:24 PM)Sailoog Wrote: [ -> ]It seems that some modules are missing.

Have you tried uninstalling the signal k installer app and reinstaling?

Thank you very much! It seems to work perfectly now Smile