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
After signalk update, Canbus data working but not in SK server
#1
I would like to share the experience that happened to me twice this month.
After the update of the signal k server through the signalk webui my canbus connection appears as inexistent at the dashboard. No connection arriving. I'm using bookworm version and Openplotter 4.

I checked the openplotter app and there it was a flow of data working perfectly. Then the problem was at the SK server of course.
One bulk solution is to reinstall the SK server losing data and plugins and recover the old configuration through the restore if a backup file has been created before. Too long and heavy.

After pursuiting answers I got the one that works to me:

The problem is the socket can module (not working) and should be reinstalled again. 
This  condition is produced during the update of the SK server sometimes. (two times to me...)

I used this code to solve it:

Reinstall socket can

cd /usr/lib/node_modules/signalk-server/
sudo npm install socketcan
sudo systemctl restart signalk.service

Hope it can help anyone too.

Cheers
Reply
#2
This was helpful - Thanks. Also ran into the same problem.

Can I check what node version you are now running and I guess you are on SK2.18?.

I'm running v20.19.6
Reply
#3
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
#4
(2025-12-20, 05:02 PM)Boatingbaileys Wrote: This was helpful - Thanks. Also ran into the same problem.

Can I check what node version you are now running and I guess you are on SK2.18?.

I'm running v20.19.6

Sorry for the delay

I'm using just now:

Signal K v. 2.19.1
node red v. 4.1.3
node.js v 20.19.6

works well

A.
Reply
#5
This was really useful, thanks for posting it. I’ve experienced the same behavior after a Signal K update where CANbus stopped showing in the server.
Just to double-check, which Signal K version are you currently running, and is this on Node.js 20.x? I’m on Node v20.19.6 at the moment and want to be sure before making further updates.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)