OpenMarine
OpenPlotter 32bits SignalK install - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: OpenPlotter 32bits SignalK install (/showthread.php?tid=2196)

Pages: 1 2


OpenPlotter 32bits SignalK install - verkerkbr - 2020-01-03

Openplotter 2.0 runs very well on my Raspberries.

Installed the OpenPlotter options also on my Linux 64 bits Mint Tricia. Can be done just as the OpenCPN PPA install with Oppenplotter !
Replace opencpn/opencpn with openplotter/openplotter. Key must be installed via keyserver. Same as OpenCPN.

64 bits works perfect and now with OpenCPN input direct with SignalK.

Next plan was to install the OpenPlotter option also in a 32bit Linux Buster version.

This works also with the ppa install.

Only the install of SignalK and of course the SignalK dashboard does not work. Nodejs files seems to be missing. Looked at the NodeJS site, but can not trace what is going wrong here. Also installed NPM files, but still the same problems.

SignalK installer 2.0.7-beta  missing https://deb.nodesource...

Version on the 32 bits system is node 10. Do I need another version ?

Solved with:

Changed the server version nodesource 10 to 8 and after a lot of npm files passing by. SignalK now works also on my 32 bits version.

Bram


OpenPlotter 32bits SignalK install - tkurki - 2020-01-04

Nodejs has dropped 32 bit Linux from official support in version 10. Nodejs 8 long term support ended just a few days ago at the end of 2019.

Signal K server is now on Nodejs 10 and will be moving on to 12, timeframe unspecified. Works already on 12 afaik. If you want to run on 8 feel free to do so on your own time, but don’t expect answers to help requests.

https://github.com/nodejs/build/issues/885

https://github.com/nodejs/Release


Sent from my iPhone using Tapatalk


RE: OpenPlotter 32bits SignalK install - verkerkbr - 2020-01-04

(2020-01-04, 08:53 AM)tkurki Wrote: Nodejs has dropped 32 bit Linux from official support in version 10. Nodejs 8 long term support ended just a few days ago at the end of 2019.

Signal K server is now on Nodejs 10 and will be moving on to 12, timeframe unspecified. Works already on 12 afaik. If you want to run on 8 feel free to do so on your own time, but don’t expect answers to help requests.

https://github.com/nodejs/build/issues/885

https://github.com/nodejs/Release


Sent from my iPhone using Tapatalk

Hi Tkurki,

i had allready seen this on the Nodejs website, that there is no longer Nodejs Linux support voor 32 bits. 32 bits support for Windows was/is still available.

What are the options to get the SignalK server running on a 32 bits system ? How about the Raspberry Pi which is still 32 bits ?

The hardware of the Pi 4 is 64 bits. There is probably a way to use an 64 bits Buster version on the Pi.

Regards,


Bram


RE: OpenPlotter 32bits SignalK install - Sailoog - 2020-01-04

(2020-01-03, 07:53 PM)verkerkbr Wrote: Openplotter 2.0 runs very well on my Raspberries.

Installed the OpenPlotter options also on my Linux 64 bits Mint Tricia. Can be done just as the OpenCPN PPA install with Oppenplotter !
Replace opencpn/opencpn with openplotter/openplotter. Key must be installed via keyserver. Same as OpenCPN.

64 bits works perfect and now with OpenCPN input direct with SignalK.

Next plan was to install the OpenPlotter option also in a 32bit Linux Buster version.

This works also with the ppa install.

Only the install of SignalK and of course the SignalK dashboard does not work. Nodejs files seems to be missing. Looked at the NodeJS site, but can not trace what is going wrong here. Also installed NPM files, but still the same problems.

SignalK installer 2.0.7-beta  missing https://deb.nodesource...

Version on the 32 bits system is node 10. Do I need another version ?

Solved with:

Changed the server version nodesource 10 to 8 and after a lot of npm files passing by. SignalK now works also on my 32 bits version.

Bram

The only openplotter app that you should install directly from openplotter PPA is openplotter-settings. The rest of apps must be installed from openplotter-settings or you will have errors.

I have not tested yet but it seems that Debian 32 bits is not respecting the source preferences we set in openplotter and is installing nodejs from debian sources. The rest of Debian flavors are working right. We need to install nodejs from node sources to make all work ok. I will try to fix this preferences issue if I can confirm it. Anyway this change should help too: https://github.com/openplotter/openplotter-signalk-installer/pull/1/files

Use only nodejs versions recommended by Signal K.


OpenPlotter 32bits SignalK install - tkurki - 2020-01-04

I should have said: support for 32 bits on x86 Linux was dropped in Nodejs 10.

Arm is a different story.

But what is the actual problem that you are trying to solve / that you have? Or is there one?


Sent from my iPhone using Tapatalk


RE: OpenPlotter 32bits SignalK install - verkerkbr - 2020-01-05

(2020-01-04, 11:57 PM)tkurki Wrote: I should have said: support for 32 bits on x86 Linux was dropped in Nodejs 10.

Arm is a different story.

But what is the actual problem that you are trying to solve / that you have? Or is there one?


Sent from my iPhone using Tapatalk

Good morning Tkurki,

Thanks for the reply. 32 bits Linux is running with the SignalK server. Only by changing the nodejs version in the sources list to 8 instead of 10.

I understand that the future is 64 bits. Just tried a 64 bits version on my Raspberry Pi 4. This works very well also with OpenCPN and SignalK server.

Thanks for all you efforts with SignalK. It gains certainly more acceptance at the moment.

Regards,

Bram


RE: OpenPlotter 32bits SignalK install - Sailoog - 2020-01-05

(2020-01-04, 11:57 PM)tkurki Wrote: I should have said: support for 32 bits on x86 Linux was dropped in Nodejs 10.

Wait... that could be the explanation for the sources issue. Debian 32 bits uses debian repository instead the "preferred" node repository because does not exists x86 version. Installing nodejs from node sources installs npm at once but you have to install npm manually when installing from debian repository. Would this make sense?


RE: OpenPlotter 32bits SignalK install - verkerkbr - 2020-01-05

(2020-01-05, 11:09 AM)Sailoog Wrote:
(2020-01-04, 11:57 PM)tkurki Wrote: I should have said: support for 32 bits on x86 Linux was dropped in Nodejs 10.

Wait... that could be the explanation for the sources issue. Debian 32 bits uses debian repository instead the "preferred" node repository because does not exists x86 version. Installing nodejs from node sources installs npm at once but you have to install npm manually when installing from debian repository. Would this make sense?

Hi Sailoog,

What I have done: My first idea was NPM is missing, therefore it does not work. Installed the complete NPM files set. That did not solve the problem.


Tturki informed me that Nodejs version 10 is no longer supported in 32 bits.

Then I tried to lower the version 10 to 8 in the sources. Then a lot of files, also npm files were replaced with the result that SignalK could be installed on my 32 bits Linux Buster version.

Because 32 bits is a bit outdated. Next I tried the Raspian 64 bits OS in my RPI4 and took the Openplotter instructions for Linux systems. That worked very well. 

And with the OpenPlotter settings I could install OpenCPN and also the SignalK server and other settings.

Kernel update is now the 64 bits kernel V8 version (4.19.88.V8+)

Not yet tried the Oesenc dongle (not available) and no OpenGL setting. All the other items are running perfect. Better then the 32 bits version.

Regards,


Bram



RE: OpenPlotter 32bits SignalK install - e-sailing - 2020-01-05

My x86 Buster 32 bit (Raspberry Pi desktop PC) had the same issues.
You can work with nodejs 10 but you need to install npm (5.8 did work for me).
But signalk is not in the folder /usr/lib/node_modules. It is in /usr/local/lib/node_modules
Sailoog already merged the update which set the correct path to signalk in the file ~/.signalk/signalk-server.
So in future you only need to install npm and then openplotter-signalk-installer.


RE: OpenPlotter 32bits SignalK install - Sailoog - 2020-01-05

(2020-01-05, 04:22 PM)verkerkbr Wrote:
Not yet tried the Oesenc dongle (not available) and no OpenGL setting. All the other items are running perfect. Better then the 32 bits version.

 o-charts dongles does not support arm 64 bits. We will add this only if an official 64 bits system is released for raspberry