Hi,
first of all thank you for all your work.
I’m testing out emoncms in two different raspberrys.
one run smoothly but with the other one i have issues with the graph module.
when i try to select a feed in the graph module a popup appears:
EmonCMS Error
the emoncms.log says :
|WARN|feed_model.php|Feed model: Requested feed does not exist feedid=0
i’ve got 3 PHPFINA feeds with an update of 30 sec.
another thing:
to pass my values i use this string every 30 sec:
“http://127.0.0.1/emoncms/input/post?time=”+ unixtime +"&node=energia&json={" + str(i) + “:” + str(values[i]) + “}&apikey=e7d40db902ca61eed33b2705432e218c”
the input section of emoncms does update the values but does not update the values’ time. in fact i see the values changing but i don’t see the “updated” counter reset to 0. it reset itself to 0 every 60sec.
thank you for your reply.
it’s a fresh raspbian stretch installation. i’ve used the instruction from github in both the raspberrys.
this is what it tells:
Version low-write 9.9.5
Modules Administration | Dashboard v1.3.2 | EventProcesses | Feed | Graph v1.2.1 | Input | CoreProcess | Schedule | Time | User | Visualisation
Have you cloned emoncms and the graph module at the same time or updated them together (git pulls)?
Are they both master branches?
There was a change a couple of weeks ago to the graph module that depended on a change to the emoncms core too. So graph modules installed or updated after that point need to run with emoncms installed or updated after that time too, assuming they are both on the default master branches.
If they are both master and both up to date, you should be ok
If they are both stable branches, you should be good.
It’s only when you have latest graph master and out of date emoncms master or emoncms stable, you should see the problem.
In short, ensure they are both master or both stable and ensure they are both up to date (fresh pull).
If the issue persists after an update and a browser cache clear [CRTL-F5] let us know the output of the following command, run from each of emoncms and emoncms/Modules/graph folders
git describe
git status
[edit - split 2 commands on to 2 lines in case the first fails (see below)]
I’m having the same problem described in the first post!
My EmonCMS installation was working ok for about a year, it isn’t a new one.
The result of the @pb66’s commands:
Emoncms:
root@emonpi(rw):emoncms# git describe
9.9.4-25-g59723e7
root@emonpi(rw):emoncms# git status
On branch stable
Your branch is behind 'origin/stable' by 180 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: default.emonpi.settings.php
no changes added to commit (use "git add" and/or "git commit -a")
Graph:
root@emonpi(rw):graph# git describe
fatal: No annotated tags can describe '607db6fd39329e7273860da4d2a66b9bfe411ea8'.
However, there were unannotated tags: try --tags.
root@emonpi(rw):graph# git status
On branch stable
Your branch is up-to-date with 'origin/stable'.
nothing to commit, working directory clean
Did you do the full update from the Administration Menu? The update takes a while (so be patient - go do something else) and you might need to clear cache again.