OpenMarine
How to install Freeboard offline charts? - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: How to install Freeboard offline charts? (/showthread.php?tid=2181)



How to install Freeboard offline charts? - MartinT - 2019-12-30

Hello,
while looking for a way of passing nmea data from my raspberry pi to my VHF Radio i found this amazing project.
I realy like the Freeboard Web based display, is there a way of installing offline charts e.g. OSM KAP-Charts?


Additionaly the Freeboard Maps is not accepting Notes (Error 404) or Waypoints (Server could not update Waypoint details)

Any help highly appreciated.

Best Regards,
Martin


RE: How to install Freeboard offline charts? - MartinT - 2020-01-01

Hi there,
seems like i need the Signal K Node server Charts plugin @signalk/charts-plugin
i tried to install this via the Appstore and it failed.

Then i tried in console with
pi@openplotter:~ $ sudo /bin/bash
root@openplotter:/home/pi# npm i @signalk/charts-plugin

it tried to install sqlite3 and failed:

> sqlite3@4.1.1 install /home/pi/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v57-linux-arm.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.1.1 and node@8.17.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
gyp WARN EACCES current user ("pi") does not have permission to access the dev dir "/root/.cache/node-gyp/8.17.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/sqlite3/.node-gyp"
make: Entering directory '/home/pi/node_modules/sqlite3/build'
make: *** No rule to make target '../.node-gyp/8.17.0/include/node/common.gypi', needed by 'Makefile'. Stop.
make: Leaving directory '/home/pi/node_modules/sqlite3/build'
gyp ERR! build error

i tested to download the sqlite package with wget end got Error 403: Forbidden.

wget https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v57-linux-arm.tar.gz
--2020-01-01 12:37:46-- https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v57-linux-arm.tar.gz
Resolving mapbox-node-binary.s3.amazonaws.com (mapbox-node-binary.s3.amazonaws.com)... 52.216.177.203
Connecting to mapbox-node-binary.s3.amazonaws.com (mapbox-node-binary.s3.amazonaws.com)|52.216.177.203|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2020-01-01 12:37:47 ERROR 403: Forbidden.

Any suggestions?

Best Regards,
Martin


How to install Freeboard offline charts? - tkurki - 2020-01-02

Please try to install the plugin from the SK admin’s App Store.

Why are you trying it manually?

There are no prebuilt Arm binaries for sqlite3: be warned that the install and compile takes so long that it seems stalled.

If anybody wants to help in adding Arm support here’s a pointer to get started: https://github.com/mapbox/node-sqlite3/issues/418




Sent from my iPhone using Tapatalk


RE: How to install Freeboard offline charts? - kris_usa - 2020-10-12

I have the same problem. Did you find solution?


RE: How to install Freeboard offline charts? - jamos.tan@gmail.com - 2021-01-04

My Freeboard is also not working anymore, SignalK says:"could not find sqlite3"
Tried re-installing through apt-get and npm, no success. Says it cannot find package.json

It did work before, but I am ashamed to say I have no idea anymore what I upgraded or did when it stopped working.


RE: How to install Freeboard offline charts? - tkurki - 2021-01-05

Remove and reinstall from App store.

https://github.com/SignalK/signalk-server/blob/master/SERVERPLUGINS.md#removing-a-plugin