No NMEA2000 data anymore
I've upgraded to the latest signalk server and suddenly i am not receiving and NMEA2000 data anymore. It fails with the message:
Cannot read properties of undefined (reading 'createRawChannelWithOptions')
.
This could be coincidence, i've also installed mqtt-gw plugin (now disabled). I am using a Sailhat (SH-RPI) to receive the data. It was receiving fine two weeks ago, i haven't made any changes to the NMEA2000 connection settings.
I'm running node v22.15.0 (saw the other posts about 2.14.0). Downgrade to 2.13.5 failed with
Any thoughts really appreciated. thx20 Replies
see https://discord.com/channels/1170433917761892493/1385877537145618478
I got the same error after upgrading.
Remove that directory in the error message
The .signalk-server.1toV…..
You might want to try 2.14 again. That issue you’re having happens when something terrible goes wrong during install
Thx. Removed the folder. You mean reinstall 2.14 or just reboot?
Reinstall 2.14
Ok, will lay course close to land to stay in 4G range 😉
i needed to uninstall and install again. anything else did not work
dont forget the backup 😉
How do i uninstall?
good reminder
just remove node_modules?
npm uninstall signalk-server
GitHub
FAQ: Frequently Asked Questions
An implementation of a Signal K central server for boats. - SignalK/signalk-server
once again run npm install signalk-server
maybe with sudo, depending on your system.
Yes. Need sudo. and it’s “sudo npm install -g signalk-server”
Thanks a lot working on it...
Will this kill the installation process? I guess my 4G is flaky at the moment
Would there be a way for npm to first download signalk to the pi and than install from that? I guess that will be difficult with dependencies though
Yeah, not that I know of
Pfff again disconnected... will try in the harbour. Thx so far
Will try using vnc, because i think it is the connection with the pi that might be the problem. In vnc the npm process would keep running.
you coud also run it in the background
True with & at the end wasn't it?
need to redirect the output, so
sudo npm install -g signalk-server > /tmp/npm.out & 2>&1
thx will try that the next time.
VNC failed for some reason. Tried running it in the bckground. After the connection was reset again i couldn't find /tmp/npm.out (i could before it disconnected). Though with top i see an active node process running, so i guess its doing something. Strange
Might be something to do with sudo. Not sure I ever tried that before…
Had to reinstall two more times but now it works. Thx again!