After a bit of a problem with inputs via MQTT (I added 60 new input and FeedWriter went weird) I ended up rebooting my EmonPi, which hasn’t happened in years. I think from the Admin/Update Log there has been an update during the restart (or it’s possible I clicked Full Update by accident?), either way my install had been brought up to date, which is probably about time!
HOWEVER, I now have issues with the menus. Firstly Apps/Dashboards/DemandShaper have disappeared from the horizontal menu. And Graphs/Emonhub/Post Process/Sync/Backup/Wifi from the vertical menu have gone.
Hello @Vster if you navigate to Admin > Components are there any components/modules that look like they have not updated? Might be due to local changes or they might not all be on a consistent branch e.g stable vs master?
@TrystanLea I don’t have the Component menu. What’s the URL to it? @JasF Yep, tried that first. Cleared browser cache, then different browser and different laptop. No change. @dlmpryor Ah, now you’re onto something.
pi@emonpi:~ $ cd /var/www/emoncms
pi@emonpi:/var/www/emoncms $ git pull
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 17 (delta 8), reused 13 (delta 6), pack-reused 0
Unpacking objects: 100% (17/17), done.
From GitHub - emoncms/emoncms: Web-app for processing, logging and visualising energy, temperature and other environmental data
f5597e48…a50e1fb9 master → origin/master
Updating 1a5aee34…d240d513
error: Your local changes to the following files would be overwritten by merge:
Modules/input/input_methods.php
Please commit your changes or stash them before you merge.
Aborting
pi@emonpi:/var/www/emoncms $ cd /var/www/emoncms/Modules/app/
pi@emonpi:/var/www/emoncms/Modules/app $ git pull
Already up to date.
pi@emonpi:/var/www/emoncms/Modules/app $ cd /var/www/emoncms
pi@emonpi:/var/www/emoncms $ git diff
diff --git a/Modules/input/input_methods.php b/Modules/input/input_methods.php
index 32ec902b..68accd8c 100644
--- a/Modules/input/input_methods.php
+++ b/Modules/input/input_methods.php
@@ -57,7 +57,7 @@ class InputMethods
if ($param->exists('time')) {
$inputtime = $param->val('time');
// Remove from array so no used as an input
- unset($jsondataLC['time']);
+ // unset($jsondataLC['time']);
// validate time
if (is_numeric($inputtime)){
pi@emonpi:/var/www/emoncms $
Well, that’s embarrassing! I had made a change to input_method.php, on the advice of @borpin as a fix to issues I was having imported data from WeeWX/WeatherStation.
Glad to see the change is in the new version of input_method.php.
WIth change removed git dragged down a whole pile of files and and the menus are fixed and then new Components menu is there and everything is updated!