Fresh new install from Github on Ubuntu

Hi,

I'm doing a fresh new install from Github on a Ubuntu server (10.04).

First, I think the github current version is using Timestore, that should be noticed somewhere. Second, please use UTF-8 in your databases, yep there are some lifeforms outside <your country>. Third, on the Dashboard, we are missing some action to reorder layers (move up, move down, send to foreground, send to background).

I started with a basic configuration : an Openpicus board (yes, not Arduino :) ) get send a counter to Emoncns via CSV (Json is great but not enough documented...) via http://myserver/emoncms/input/post.json&node=1&csv=<data>&apikey=blablabla

But my main concern is not having a histogram. The documentation is very weak to describe inputs and feeds (http://emoncms.org/site/docs/inputsandfeeds), following the manual don't make a working configuration.

"Docs" and "Status" links are sending to blank pages.

No logs, process, or anything to see on my Ubuntu server to help.

More questions later when I will understand how everything work :)

  
mattiasj's picture

Re: Fresh new install from Github on Ubuntu

Hi, I think there is a bug in the current github version.

After some investigation I found that there are no error checking of database calls :(

So after trying to manually insert through any of the api links, even though I get an 'ok' reply, there was no data inserted into the database. Adding error checking to the database INSERT call returns failure and the error is:

Field 'description' doesn't have a default value

Is this a known bug or should I create an issue on github?

(Btw, using non-standard MySQL installation is a hassel, I patched the code to get the correct non-standard port... And using a non-standard path for emoncms also needs to add RewriteBase <old_base> to .htaccess)

Version used:

git clone https://github.com/emoncms/emoncms.git

commit 883c411e09873ced539e32f32579473921038468
Merge: c714276 0d7d222
Author: Trystan Lea <trystan.lea@xxxx.xxx>
Date:   Thu Sep 19 12:44:42 2013 -0700

Singman's picture

Re: Fresh new install from Github on Ubuntu

My first problem (graphs) not showing is now resolved. And I found another bug / request :

- when you choose a 'black' container on a dashboard, you can't see the dragging points for this object :)

Ok, now another question :

- I have two counters that always increment, giving me Watts I use during day and night. I want to monitor them, if possible only recording difference from previous value. Any hint about how to define Input / Feeds ?

Thanks.

Comment viewing options

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