OpenMarine

Full Version: Not Authorized to see data log files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Goodmorning,

Last evening I was playing around with the new OP2.x and it tried the datalogging feature for the signalK data. 

At first it worked, I could see the data files showing in the signalK web-area (10.10.10.1:3000). One for every hour.
But at some point, it showed that I am not authorized to see these files. 

The only thing I added in between is that In installed InfluxDB. Maybe this has something to do with it?

Hoep somebody can help,

regards,
Vic
files proprietary and permissions?
(2020-02-04, 04:05 PM)Sailoog Wrote: [ -> ]files proprietary and permissions?

I didn't change anything (I think Angel). So the question is, how to resolve!

Link to screenshot
Does anybody now where the log files are located? So I can try to access them thru vnc and the folder structure.

regards,
V
(2020-02-05, 08:29 AM)Vic Wrote: [ -> ]Does anybody now where the log files are located? So I can try to access them thru vnc and the folder structure.

regards,
V

I've just enabled logging for a connection, file is in  /home/pi/.signalk/
So for the first few lines of my newly created file>
cat  /home/pi/.signalk/skserver-raw_2020-02-05T09.log | head


Though if you have influxdb installed then it's actually much more informative saving the data in  there using the influxdb signalk app then view with either chronograf or grafana. One tip about influxdb, I have problems with it using lots of resources and this helped lots >
In the influxdb settings file,  /etc/influxdb/influxdb.conf, there's a setting which should be false, 
In the ...
[monitor]   
section set ....
   store-enabled = false

So using the nano text editor , type in a terminal >
 sudo nano /etc/influxdb/influxdb.conf
Find the store-enabled setting and change to '= false', press ctrl x to exit and 'Y' to save the file then enter. 

Should be plenty links with how to install influxdb & chronograf, though maybe worth someone doing  a quick how to for openplotter for the manual as it's such a wonderful tool? Cool
Influxdb and Signal K log files are different things, I think your problem is with SK node server. Have you tried to update to 1.20?

PaddyB, influxdb & chronograf & grafana are already included in OP2. See openplotter-dashboards app.
I made a mistake in the influxdb screen. In the openplotter manual on grafana/influxdb, it say that I have to create a data base in openplotter. Instead of doing this, I made a folder "boatdata" for the logfiles in the signalK/influx app. After removing this, the logfiles became visible and accessible again.

Last night I got the grafana graphs working. And I will try to get a write up on how i did this.
(2020-02-07, 08:28 AM)Vic Wrote: [ -> ]I made a mistake in the influxdb screen. In the openplotter manual on grafana/influxdb, it say that I have to create a data base in openplotter. Instead of doing this, I made a folder "boatdata" for the logfiles in the signalK/influx app. After removing this, the logfiles became visible and accessible again.

Last night I got the grafana graphs working. And I will try to get a write up on how i did this.

Ops that chapter is obsolete. Please send us any text you do to update it.