Timestore error being reported

I have a temperature node input, and the following processes;

1. x  0.1
2. Log to feed (Timestore)
3. max value
4. min value
5. x 1.8
6. + 32  (To convert temp to degF)
7. Log to feed (Timestore)

However, although the feed page displays the temp in degF, the Raw Data graph is blank, and the Timestore.log shows millions of these lines;

20130910-20:32:19:ERROR:tsdb.c(135): Error opening metadata 0000000000000084.tsdb: No such file or directory
20130910-20:32:19:ERROR:http_tsdb.c(699): Invalid node

Feed 84 corresponds to process 7 - Log to Feed.

I've tried deleting the feed/process, but whenever I re-add it, I get the same result (with incrementing feed id of course). All other existing feeds are OK, and no other errors reported.

Paul

Paul Reed's picture

Re: Timestore error being reported

...In fact, it's not unique to the temperature node described above. Any new feed that I create is exactly the same and the same error message is logged.

Paul

Paul Reed's picture

Re: Timestore error being reported

Sorted thanks to Trystan.

Make sure that your Timestore admin key is the same as contained in your settings.php file!

cat /var/lib/timestore/adminkey.txt

Paul

PhilThy's picture

Re: Timestore error being reported

Glad to hear yours is now ok Paul, will have to check mine out tomorrow. I'm convinced that my admin key was correct though, as it was one of the first things I checked.

DaveF's picture

Re: Timestore error being reported

is it changing ?

sudo ./timestore causes the key to change when I tried it a couple of times

Dave

 

 

Paul Reed's picture

Re: Timestore error being reported

It shouldn't do now, if you are using the latest timestore.

$ cd /home/pi/timestore/
$ git pull origin master

Paul

DaveF's picture

Re: Timestore error being reported

Paul

My install of Sat evening using the from scratch install quide and checking for updating timestore says that everything is at latest and up to date 2350 - maybe something else up as I have no graphs as mentioned by others

Additionally the processes may be running but it looks like no data is being stored in the database as the size which started at 0.3M is still at 0.3M 10 hours later.

(Updated sun)

Dave

Paul Reed's picture

Re: Timestore error being reported

Provided you cloned it from https://github.com/TrystanLea/timestore you should have the latest version.

Can you try this again (although you probably have already);

$ cat /var/lib/timestore/adminkey.txt

and ensure that this key is exactly the same as in your settings.php file.

Reboot your Pi, to ensure that the adminkey has been read correctly by the system.

$ sudo reboot

Then try;

$ sudo /etc/init.d/timestore status

and it should report that it's running.

Paul

DaveF's picture

Re: Timestore error being reported

Paul

I can confirm that the installed followed the Emoncms on the Raspberry Pi - Build from scratch.  All instruction are cut and paste into Putty. The time store database cloned from TrystanLea/timestore.  This was confirmed as up to date using the git pull origin master instruction higher in the thread above.

The admin key is identical - again cut and paste.  The only difference from the instruction is an addition of a semicolon following the close quotes - I followed the manual religiously the first time round !

Time store reports that its running

sun evening - When setting up and modifying feeds it is possible to select MYSQL - for a brief moment, then it switches back switches back to Time store.  When feeds are adjusted to daily then the graph frame draws.  My challenge is still to get it drawing graphs but it look to me as if it receives data correctly but does not store data - any ideas? 

Dave

 

Paul Reed's picture

Re: Timestore error being reported

Dave, have you had a look in the timestore error log?

$ sudo nano /var/log/timestore.log

I would expect 'DAILY' feed graphs to draw, as they are stored in MySQL not timestore.

I PM'd you earlier.

Paul

DaveF's picture

Re: Timestore error being reported

Quite a lot !

of error messages like:

20130921-20:47:33:ERROR:tsdb.c(135): Error opening metadata 0000000000000001.tsdb: No such file or directory
20130921-20:47:33:ERROR:http_tsdb.c(699): Invalid node

Thats a similar message to yours at the top of the thread -

I checked the key and it was ok - cannot do that now but will check this evening.

Thanks for idea

Dave

Paul Reed's picture

Re: Timestore error being reported

I know that you had some permission issues previously, could you also try re-installing php5-curl just to make sure that it did install correctly.

$ sudo apt-get install php5-curl

Paul

DaveF's picture

Re: Timestore error being reported

The command runs confirming php5-curl at newest version

You have picked up correctly I had problems with the permissions previously - in the end these were overcome by reinstalling the complete package from scratch - I don't think I ran, as per instructions, the first command sudo apt-get update.

I have rechecked the timestore admin key equals exactly the same as in settings.php

 

Dave

Singman's picture

Re: Timestore error being reported

Same problem here. I come from thread http://openenergymonitor.org/emon/node/2812

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.