-
Notifications
You must be signed in to change notification settings - Fork 53
update to signalk 1.1.1 #199
Comments
Yes, we know. OpenPlotter update process uses a signalk-server-node fork previous to that change. Current OP version will no be updated any longer. We are working on the new release with debian stretch, Raspberry 3B+ compatible, moitessier hat support, pypilot, and better signal k integration from npm package. |
I tried following the above procedure to upgrade the Signalk-server on an Rpi running OpenPLotter. I got to this statement npm install && npm run prepublishOnly and it ended by dumping a log file that has these errors as the last lines error code EINTEGRITY error sha512-..... integrity checksum failed |
I tried, from the beginning, a second time and got the same result. |
Well, I think I got it. What I did this time was to first upgrade to OpenPlotter 0.17.1 stable. Then follow the above procedures, but before the npm install I ran "npm config set package-lock false" this time the install completed ok. After a reboot and running OPenPlotter I can go to Chrome and open the SignalK server GUI version 1.1.2! |
In SKServer ver 1.1.2 when you update informaton (vessel data, data providers) you need to restart the SKserver. If you have logged into Security you get that click-on option in the server page, however this does NOT restart the server all it seems to do is to shut it down. After using it I get the message "not connected to server" and reloading the web page does not help. I have to go back to the OpenPlotter page to restart the SKserver. |
How does OpenPlotter run sk server? Restart server functionality relies on something like systemd to start the server. Restarting automatically would be a good guard against the server crashing |
You are trying to update signal k server on openplotter 0.17.1. As I have said before we will not update the current signal k server version on 0.17.1 because that involves changes on openplotter code. You will see that kind of error. On openplotter 1.x.x (based on raspbian stretch) we are no longer installing signal k server from github, we will install and update from npm and openplotter code will be adapted to that change. |
I understand I jumped the gun a bit, but I have the SKserver ver 1.1.2 running in the OpenPLotter 0.17.1 environment with the above procedure. However I don't seem to be able to match up the performance (data providers, web apps, etc) between the stand alone environment and the OpenPlotter environment, but that may be because of my confusion or things are in a current state of flux. |
So bad memory on my part. the restart in the stand alone SignalK server also only shuts the server down, I have to restart it from the terminal (where I started it to begin with). |
Hi sailoog ,Where is the build script you use to package all the stuff on the raspbian to make it openplotter flavour ? |
It is not just one. We will publish them when they are ready if you need |
Not that I need them but I would probably contribute. So pushing a commit then rebuild it from raspbian would my best practice avenue. |
Take a raspbian image git clone openplotter in .config -> use the bash scripts in the update folder. There will be some errors solve them. Install SignalK as it is done in the script (for master). Install SignalK as it discribed on SignalK side (using V1.0.0 wifi). |
As I read, there will be no signalk upgrade support for the 1.7.x ? |
manual update to signalk-server-node 1.1.1 seems to be working (nodejs 8.x needed):
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt install nodejs
cd /home/pi/.config
rm -rf signalk-server-node_tmp
git clone https://github.com/SignalK/signalk-server-node.git signalk-server-node_tmp
cd signalk-server-node_tmp
npm install && npm run prepublishOnly
npm install mdns
cd /home/pi/.config
rm -rf signalk-server-node
mv signalk-server-node_tmp signalk-server-node
please note 'Develop: Install from git' at https://github.com/SignalK/signalk-server-node/blob/master/README.md
The text was updated successfully, but these errors were encountered: