All graphs and feeds are visible and no error occures.
There is no /var/www/emoncms/dashboard folder! Could this be the problem?
There is a /var/www/emoncms/Modules/dashboard folder!
I found the following error in apache2 logfile:
[Sat Sep 15 18:38:15.544158 2018] [:error] [pid 3068] [client 192.168.2.154:58450] PHP Warning: require(Modules/vis/vis_langjs.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/dashboard_edit_view.php on line 22, referer: http://192.168.2.112/emonclog file: d/Views/dashboard_view.php on line 24, referer: http://192.168.2.112/emoncms/dashboard/view&id=3
line22:
The file Modules/vis/vis_langjs.php does not exist!
Unfortunately, you don’t give us any information about your system, hardware or emoncms version, or how you installed it.
Without more information its difficult to help.
Go to meny Setup > Administration, and click the ‘Copy to Clipboard’ button in the Server Information section, and paste the results directly into a forum post.
git pull /var/www/emoncms
dev-mosquitto-php
master
* stable
symlinked_modules
On branch stable
Your branch is behind 'origin/stable' by 221 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: index.php
I suspect that you have made an manual edit to the file index.php at some stage, which is stopping the git update. Could this be the case?
Definetly not. I’m not that familar with git, so I won’t change there anything. Is it possible to repeat this or do you think that the dashboard files are lost?
I used the original one, still the same message. But the one from sourceforge doesn’t run at all.
I tried it with apt-get update / upgrade because git was a newer version availible. It may take a while.
That didn’t work. So I don’t want to spend too much time with this. Is there a way to install the latest release and keep the data and feed/input configuration (which still works) ? I’m afraid to lose the data and settings. To lose the dashboards doesn’t matter, the graphs still work.
I’m not a emonpi user… but I would tackle this by first of all by making a copy of your existing emoncms folder - cp -r emoncms oldemoncms
so that if it all goes wrong, you can rename oldemoncms back to emoncms, and things will be the same as they are now.
Then from within your emoncms folder, stash any file changes which you may have made. (Try googling ‘git stash’ for details about the ‘stash’ command, or see this guide.)
Then run the update again and see if that fixes the problem. If you then have a fully running system, delete the oldemoncms folder.
Hey the same happened to me a few times after updating as it does not automatically install the dashboards module! Make sure you download it and copy to Module folder!!!