OpenMarine
Not Authorized to see data log files - 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: Not Authorized to see data log files (/showthread.php?tid=2297)



Not Authorized to see data log files - Vic - 2020-02-04

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


RE: Not Authorized to see data log files - Sailoog - 2020-02-04

files proprietary and permissions?


RE: Not Authorized to see data log files - Vic - 2020-02-04

(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


RE: Not Authorized to see data log files - Vic - 2020-02-05

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

regards,
V


RE: Not Authorized to see data log files - PaddyB - 2020-02-05

(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


RE: Not Authorized to see data log files - Sailoog - 2020-02-05

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.


RE: Not Authorized to see data log files - Vic - 2020-02-07

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.


RE: Not Authorized to see data log files - Sailoog - 2020-02-07

(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.