OpenMarine

Full Version: Rpi5 openplotter 4.x signalk18 CAN0 problem native socketcan interface unable to load
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
I have a Raspberry Pi 5 running OpenPlotter 4.x. After updating SignalK from version 16 to 18, all the information SignalK receives from CAN0 disappeared, although the data is still reaching the Raspberry Pi. The error message is: "unable to load native socketcan interface"
(2025-12-18, 10:32 AM)haddock3 Wrote: [ -> ]Hi
I have a Raspberry Pi 5 running OpenPlotter 4.x. After updating SignalK from version 16 to 18, all the information SignalK receives from CAN0 disappeared, although the data is still reaching the Raspberry Pi. The error message is: "unable to load native socketcan interface"

Might be worth asking the signalk devs over on discord> https://discord.com/invite/uuZrwz4dCS
Latest signalk is version 2.18.0 ?
Thanks PaddyB.
I can't find any information about versions and bugs on Discord, or I don't know how to use it.
Yes, it's version 2.18.0.
Thanks for the reply tkurki.

Is it really that simple?:
cd /usr/lib/node_modules/signalk-server/
sudo npm install socketcan
sudo systemctl restart signalk.service

I'm not an expert at all, and I use SignalK within the OpenPlotter ecosystem. Whenever I've done something outside of OpenPlotter, it's started malfunctioning.

The issue is:
- Was SocketCan not available in previous versions of SignalK 2.18.0, and now it's needed? Is that why it needs to be installed?
- Was SocketCan available, but not compatible with SignalK 2.18.0?
- Did installing SignalK 2.18.0 damage SocketCan?

The solution:
Do you know if installing SocketCan could affect the rest of OpenPlotter? Or is it completely independent?
Or will future SignalK updates include this installation by default?

Best regards
jach
what was ok for me after following https://github.com/SignalK/signalk-server/issues/1870


in my case.
- did new install openplotter from scratch
- no OS update, no openplotter app update => SK update from webUI . OK
- npm - v => 10.8.1
- node -v => 18.17.1
- did the config from CANbus app v4.1.0. (mac Arthur Hat).
- I see can0 error.
- npm config get prefix => /usr and no sub dir.
- signalk.server only in /usr/lib/node_modules/
- cd /usr/lib/node_modules/signalk.server
- sudo num install socketcan
- sudo systemctl restart signalk.service
=> ok up and running.

I wonder now if updating openplotter app and OS will break something