This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rpi5 openplotter 4.x signalk18 CAN0 problem native socketcan interface unable to load
#1
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"
Reply
#2
(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 ?
Reply
#3
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.
Reply
#4
Added to the FAQ https://github.com/SignalK/signalk-serve...ot-working
Reply
#5
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
Reply
#6
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)