I've installed emoncms on an odroid u3 under arch... and have got I thought everything sorted out... but still the in comming data from the PI isn't being stored, the data files never get bigger, and I can't see the charted data.
I modifed the hard coded place for storing data /home/pi/data/php??? to my location /var/lib/php??? and files are created but just never go beyound 0 size.
The emoncms.log shows data comming in the feed and input look ok, simular to the pi which is also logging the same data.
I added two report lines in the /etc/emonhub/emonhub.conf so that data gets posted to the pi emoncms and the u3 version, and also the emoncms.org. Just testing things out.
Any help why data isn't getting stored or where I can poke and look to understand whats going on better.
Re: emoncms-Feed data isn't being stored
Have you set the permissions for the new data folders?
sudo chown www-data:root /var/lib/php???
Paul
Re: emoncms-Feed data isn't being stored
Yes the permissions are set, my httpd user is different on arch... but I have empty files created there at least.
Re: emoncms-Feed data isn't being stored
If you moved the data files to their present locations, are the permissions ok for the files themselves?
Re: emoncms-Feed data isn't being stored
I';m still stuck, the data wasn't moved there... and empty files are created but never any data is witten.
Any ideas where to look ?
Thanks
Re: emoncms-Feed data isn't being stored
Did both the .dat and .meta files get created under /var/lib/phpfina, /var/lib/phpfiwa and phptimeseries?
Can you try manually posting inputs via, does it show any errors?
http://SERVER/emoncms/input/post.json?node=1&csv=100,200,300
What does your input process list look like, are you just logging the values?
Re: emoncms-Feed data isn't being stored
The meta data is never created in the var/lib/phpfina
[root@u3 lib]# ls -lR /var/lib/php*
/var/lib/phpfina:
total 0
/var/lib/phpfiwa:
total 0
/var/lib/phptimeseries:
total 0
-rw-r--r-- 1 http http 0 Mar 18 16:16 feed_41.MYD
-rw-r--r-- 1 http http 0 Mar 18 16:16 feed_42.MYD
-rw-r--r-- 1 http http 0 Mar 18 16:16 feed_43.MYD
-rw-r--r-- 1 http http 0 Mar 18 16:16 feed_44.MYD
-rw-r--r-- 1 http http 0 Mar 18 16:16 feed_45.MYD
-rw-r--r-- 1 http http 0 Mar 18 16:21 feed_46.MYD
-rw-r--r-- 1 http http 0 Mar 18 16:21 feed_47.MYD
-rw-r--r-- 1 http http 0 Mar 18 16:21 feed_48.MYD
I'm just logging the values to PHPTIMESERIES, but the meta data isn't created it seems. There should be files in the phpfina dir? Permissions for these dir's are completely open right now.
Re: emoncms-Feed data isn't being stored
Additionally, Yes I could post data, via the manual method you mention, and no error messages from the browser or in emoncms.log were shown...
I'm really confused....