Community
OpenEnergyMonitor

Community

Error on Inputs page in 10.1.2

Continuing the discussion from Uncaught reference error list format updated object:

Getting a new error on the inputs page

image

@TrystanLea Please check the git describe info matches yours

Server Information

Server Information

Services

  • emonhub :- Active Running
  • emoncms_mqtt :- Active Running
  • feedwriter :- Active Running - sleep 60s 22 feed points pending write
  • service-runner :- Active Running
  • emonPiLCD :- Active Running
  • redis-server :- Active Running
  • mosquitto :- Active Running

Emoncms

  • Version :- low-write 10.1.2
  • Modules :- Administration | App v2.0.1 | Backup v2.1.0 | EmonHub Config v2.0.2 | Dashboard v2.0.3 | Device v2.0.0 | EventProcesses | Feed | Graph v2.0.1 | Input | Postprocess v2.1.0 | CoreProcess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.0
  • Git :-

Server

  • OS :- Linux 4.14.71-v7+
  • Host :- emonpi | emonpi | (192.168.7.243)
  • Date :- 2019-06-30 18:01:50 UTC
  • Uptime :- 18:01:50 up 18 days, 1:31, 1 user, load average: 0.10, 0.12, 0.09

Memory

  • RAM :- Used: 19.83%
    • Total :- 976.74 MB
    • Used :- 193.7 MB
    • Free :- 783.04 MB
  • Swap :- Used: 0.00%
    • Total :- 100 MB
    • Used :- 0 B
    • Free :- 100 MB

Disk

  • / :- Used: 40.01%
    • Total :- 3.81 GB
    • Used :- 1.53 GB
    • Free :- 2.11 GB
  • /boot :- Used: 51.69%
    • Total :- 42.52 MB
    • Used :- 21.98 MB
    • Free :- 20.54 MB
  • /home/pi/data :- Used: 3.59%
    • Total :- 3.21 GB
    • Used :- 117.75 MB
    • Free :- 2.93 GB

HTTP

  • Server :- Apache/2.4.25 (Raspbian) HTTP/1.1 CGI/1.1 80

MySQL

  • Version :- 5.5.5-10.1.23-MariaDB-9+deb9u1
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2019-06-30 18:01:50 (UTC 00:00‌​)
  • Stats :- Uptime: 20998902 Threads: 3 Questions: 2140465 Slow queries: 0 Opens: 54 Flush tables: 1 Open tables: 27 Queries per second avg: 0.101

Redis

  • Version :- 3.2.6
  • Host :- localhost:6379
  • Size :- 99 keys (768.10K)
  • Uptime :- 243 days

MQTT Server

  • Version :- Mosquitto 1.4.10
  • Host :- localhost:1883 (127.0.0.1)

PHP

  • Version :- 7.0.30-0+deb9u1 (Zend Version 3.0.0)
  • Modules :- apache2handler | calendar v7.0.30-0+deb9u1 | Core v7.0.30-0+deb9u1 | ctype v7.0.30-0+deb9u1 | curl v7.0.30-0+deb9u1 | date v7.0.30-0+deb9u1 | dom v20031129 | exif v7.0.30-0+deb9u1 | fileinfo v1.0.5 | filter v7.0.30-0+deb9u1 | ftp v7.0.30-0+deb9u1 | gd v7.0.30-0+deb9u1 | gettext v7.0.30-0+deb9u1 | hash v1.0 | iconv v7.0.30-0+deb9u1 | igbinary v2.0.1 | json v1.4.0 | libxml v7.0.30-0+deb9u1 | mbstring v7.0.30-0+deb9u1 | mcrypt v7.0.30-0+deb9u1 | mosquitto v0.4.0 | mysqli v7.0.30-0+deb9u1 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ | openssl v7.0.30-0+deb9u1 | pcre v7.0.30-0+deb9u1 | PDO v7.0.30-0+deb9u1 | pdo_mysql v7.0.30-0+deb9u1 | Phar v2.0.2 | posix v7.0.30-0+deb9u1 | readline v7.0.30-0+deb9u1 | redis v4.1.1 | Reflection v7.0.30-0+deb9u1 | session v7.0.30-0+deb9u1 | shmop v7.0.30-0+deb9u1 | SimpleXML v7.0.30-0+deb9u1 | sockets v7.0.30-0+deb9u1 | SPL v7.0.30-0+deb9u1 | standard v7.0.30-0+deb9u1 | sysvmsg v7.0.30-0+deb9u1 | sysvsem v7.0.30-0+deb9u1 | sysvshm v7.0.30-0+deb9u1 | tokenizer v7.0.30-0+deb9u1 | wddx v7.0.30-0+deb9u1 | xml v7.0.30-0+deb9u1 | xmlreader v7.0.30-0+deb9u1 | xmlwriter v7.0.30-0+deb9u1 | xsl v7.0.30-0+deb9u1 | Zend OPcache v7.0.30-0+deb9u1 | zlib v7.0.30-0+deb9u1

Pi

  • Model :- Raspberry Pi 3 Model B+ Rev 1.3 - 1 GB (Sony UK)
  • SoC :- Broadcom BCM2835
  • Serial num. :- 71604C19
  • Temperature :- 52.08°C - 52.1°C
  • emonpiRelease :- emonSD-30Oct18
  • File-system :- read-write
Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.88 Safari/537.36 Vivaldi/2.4.1488.36
  • Language :- en-US,en;q=0.9

Window

  • Size :- 1414 x 833

Screen

  • Resolution :- 1920 x 1080

O dear, that error should not happen as it should only try to create a device if the device did not exist in the device list initially loaded from the device module.

Which suggests that there is a discrepancy between the redis cache of the device list and the persistent mysql table.

Do you see the emonpi device in the result given by this api?:

http://192.168.1.229/device/list.json

Thanks for testing @borpin

On a hunch, I flushed Redis and the error has gone.

Output is

[{
	"id": "4",
	"userid": "1",
	"nodeid": "diskstats",
	"name": "diskstats",
	"description": "",
	"type": "",
	"devicekey": "",
	"time": false
}, {
	"id": "1",
	"userid": "1",
	"nodeid": "emonpi",
	"name": "emonpi",
	"description": "",
	"type": "emonpi-HEM",
	"devicekey": "",
	"time": false
}, {
	"id": "3",
	"userid": "1",
	"nodeid": "emonth1",
	"name": "emonth1",
	"description": "",
	"type": "",
	"devicekey": "",
	"time": false
}, {
	"id": "2",
	"userid": "1",
	"nodeid": "emontx1",
	"name": "emontx1",
	"description": "",
	"type": "",
	"devicekey": "",
	"time": false
}, {
	"id": "11",
	"userid": "1",
	"nodeid": "emontxshield",
	"name": "emontxshield",
	"description": "",
	"type": "",
	"devicekey": "",
	"time": false
}]
1 Like

If this becomes a widespread issue I could add a check in the device create function to check against both the redis cache and the mysql table, with an automatic device redis cache reload if they differ. It could then also be possible to respond to the error in the input list javascript and reload the device list.

The redis cache and mysql table should not differ in the first place, but it seems to have done here so its something to keep an eye on.

Could it have just happened as part of the update?

I will say it again for emphasis, there is little information on the ‘device’ facility. For example, this is the diskstats input we created a while back (not actuallt running ATM)
image

  • What would be the correct ‘device’ to select and why?
  • The box listed as location is what comes out as description
  • What is a device key and what does it do?

I’m also having an issue with the inputs page on Emoncms 10.1.2 hosted on an emonBase. Initially I was getting the same error message but now going to inputs causes my browser to freeze.

I tried flushing Redis and rebooting but to no avail.

Server Information

Server Information

Services

  • emonhub :- Active Running
  • emoncms_mqtt :- Active Running
  • feedwriter :- Active Running - sleep 60s 10 feed points pending write
  • service-runner :- Active Running
  • emonPiLCD :- Active Exited
  • redis-server :- Active Running
  • mosquitto :- Active Running

Emoncms

  • Version :- low-write 10.1.2
  • Modules :- Administration | App v2.0.1 | Backup v2.1.0 | EmonHub Config v2.0.2 | Dashboard v2.0.3 | Device v2.0.0 | EventProcesses | Feed | Graph v2.0.1 | group | Input | Postprocess v2.1.0 | CoreProcess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v1.3.0
  • Git :-

Server

  • OS :- Linux 4.14.71-v7+
  • Host :- emonpi | | (10.106.205.206)
  • Date :- 2019-07-11 14:08:43 UTC
  • Uptime :- 14:08:43 up 22 min, 0 users, load average: 0.15, 0.21, 0.15

Memory

  • RAM :- Used: 15.54%
    • Total :- 976.74 MB
    • Used :- 151.8 MB
    • Free :- 824.94 MB
  • Swap :- Used: 0.00%
    • Total :- 100 MB
    • Used :- 0 B
    • Free :- 100 MB

Disk

  • / :- Used: 39.98%
    • Total :- 3.81 GB
    • Used :- 1.52 GB
    • Free :- 2.11 GB
  • /boot :- Used: 51.69%
    • Total :- 42.52 MB
    • Used :- 21.98 MB
    • Free :- 20.54 MB
  • /home/pi/data :- Used: 1.48%
    • Total :- 10.32 GB
    • Used :- 156.54 MB
    • Free :- 9.64 GB

HTTP

  • Server :- Apache/2.4.25 (Raspbian) HTTP/1.1 CGI/1.1 80

MySQL

  • Version :- 5.5.5-10.1.23-MariaDB-9+deb9u1
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2019-07-11 14:08:43 (UTC 00:00‌​)
  • Stats :- Uptime: 1357 Threads: 3 Questions: 259 Slow queries: 0 Opens: 25 Flush tables: 1 Open tables: 19 Queries per second avg: 0.190

Redis

  • Version :- 3.2.6
  • Host :- localhost:6379
  • Size :- 1933 keys (1.05M)
  • Uptime :- 0 days

MQTT Server

  • Version :- Mosquitto 1.4.10
  • Host :- localhost:1883 (127.0.0.1)

PHP

  • Version :- 7.0.30-0+deb9u1 (Zend Version 3.0.0)
  • Modules :- apache2handler | calendar v7.0.30-0+deb9u1 | Core v7.0.30-0+deb9u1 | ctype v7.0.30-0+deb9u1 | curl v7.0.30-0+deb9u1 | date v7.0.30-0+deb9u1 | dom v20031129 | exif v7.0.30-0+deb9u1 | fileinfo v1.0.5 | filter v7.0.30-0+deb9u1 | ftp v7.0.30-0+deb9u1 | gd v7.0.30-0+deb9u1 | gettext v7.0.30-0+deb9u1 | hash v1.0 | iconv v7.0.30-0+deb9u1 | igbinary v2.0.1 | json v1.4.0 | libxml v7.0.30-0+deb9u1 | mbstring v7.0.30-0+deb9u1 | mcrypt v7.0.30-0+deb9u1 | mosquitto v0.4.0 | mysqli v7.0.30-0+deb9u1 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $ | openssl v7.0.30-0+deb9u1 | pcre v7.0.30-0+deb9u1 | PDO v7.0.30-0+deb9u1 | pdo_mysql v7.0.30-0+deb9u1 | Phar v2.0.2 | posix v7.0.30-0+deb9u1 | readline v7.0.30-0+deb9u1 | redis v4.1.1 | Reflection v7.0.30-0+deb9u1 | session v7.0.30-0+deb9u1 | shmop v7.0.30-0+deb9u1 | SimpleXML v7.0.30-0+deb9u1 | sockets v7.0.30-0+deb9u1 | SPL v7.0.30-0+deb9u1 | standard v7.0.30-0+deb9u1 | sysvmsg v7.0.30-0+deb9u1 | sysvsem v7.0.30-0+deb9u1 | sysvshm v7.0.30-0+deb9u1 | tokenizer v7.0.30-0+deb9u1 | wddx v7.0.30-0+deb9u1 | xml v7.0.30-0+deb9u1 | xmlreader v7.0.30-0+deb9u1 | xmlwriter v7.0.30-0+deb9u1 | xsl v7.0.30-0+deb9u1 | Zend OPcache v7.0.30-0+deb9u1 | zlib v7.0.30-0+deb9u1

Pi

  • Model :- Raspberry Pi 3 Model B+ Rev 1.3 - 1 GB (Sony UK)
  • SoC :- Broadcom BCM2835
  • Serial num. :- E500AA40
  • Temperature :- 52.08°C - 51.5°C
  • emonpiRelease :- emonSD-30Oct18
  • File-system :- read-write
Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0
  • Language :- en-GB,en;q=0.5

Window

  • Size :- 1665 x 991

Screen

  • Resolution :- 1680 x 1050

Another issue I have is the text for the feed names on the graph page are the same colour as the background:

Have you cleared the browser cache or tried a private window?

Just tried a private window - same issue. I’d also previously tried Chrome which was also the same.

It is possible one of the Repos has not updated correctly. Could you post the update log please? You could try another update - it doesn’t hurt. Is this an EmonPi?

@TrystanLea can the purge command be added to the update script please as discussed here Unexpected output from git describe

Here is the log, it’s an emonBase I’m using. I will try another update unless there’s something obvious below.

(second half of log in another post due to length)

LAST ENTRIES ON THE LOG FILE
Starting update via service-runner-update.sh (v2.0) >
- emonSD version: emonSD-30Oct18
emonSD base image check passed...continue update
git pull /home/pi/emonpi
sudo: unable to resolve host emonpi: Connection timed out
enable-ssh
enable-ssh-button
gpiozero-enable-ssh
greeebs-patch-1
* master
python-systemd-servicerunner
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Already up-to-date.
-------------------------------------------------------------
Main Update Script
-------------------------------------------------------------
Date: Mon 1 Jul 08:54:19 UTC 2019
EUID: 1000
usrdir: /home/pi
type: all
firmware: custom
Checking environment:
- pi user found

EUID: 1000
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
Hardware detected: rfm2pi
Stopping emonPiLCD service
sudo: unable to resolve host emonpi: Connection timed out
Display update message on LCD
sudo: unable to resolve host emonpi: Connection timed out
I2C LCD NOT DETECTED on either 0x['27', '3f'] ...exiting LCD script
-------------------------------------------------------------
sudo: unable to resolve host emonpi: Connection timed out
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Get:3 http://archive.raspberrypi.org/debian stretch/main armhf Packages [221 kB]
Get:4 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [45.0 kB]
Get:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
Get:6 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf Packages [95.5 kB]
Fetched 12.1 MB in 15s (789 kB/s)
Reading package lists...
sudo: unable to resolve host emonpi: Connection timed out
Reading package lists...
Building dependency tree...
Reading state information...
python-rpi.gpio is already the newest version (0.6.5~stretch-1).
Suggested packages:
python-gpiozero-docs
The following NEW packages will be installed:
python-colorzero rng-tools
The following packages will be upgraded:
python-gpiozero
1 upgraded, 2 newly installed, 0 to remove and 123 not upgraded.
Need to get 159 kB of archives.
After this operation, 420 kB of additional disk space will be used.
Get:1 http://archive.raspberrypi.org/debian stretch/main armhf python-colorzero all 1.1 [21.7 kB]
Get:2 http://archive.raspberrypi.org/debian stretch/main armhf python-gpiozero all 1.5.0 [88.2 kB]
Get:3 http://raspbian.mirror.uk.sargasso.net/raspbian stretch/main armhf rng-tools armhf 2-unofficial-mt.14-1 [48.7 kB]
apt-listchanges: Reading changelogs...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 159 kB in 0s (397 kB/s)
Selecting previously unselected package rng-tools.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 46885 files and directories currently installed.)
Preparing to unpack .../rng-tools_2-unofficial-mt.14-1_armhf.deb ...
Unpacking rng-tools (2-unofficial-mt.14-1) ...
Selecting previously unselected package python-colorzero.
Preparing to unpack .../python-colorzero_1.1_all.deb ...
Unpacking python-colorzero (1.1) ...
Preparing to unpack .../python-gpiozero_1.5.0_all.deb ...
Unpacking python-gpiozero (1.5.0) over (1.4.1) ...
Setting up rng-tools (2-unofficial-mt.14-1) ...
Processing triggers for systemd (232-25+deb9u4) ...
Setting up python-colorzero (1.1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up python-gpiozero (1.5.0) ...
E: Write error - ~LZMAFILE (28: No space left on device)
sudo: unable to resolve host emonpi: Connection timed out
Requirement already up-to-date: paho-mqtt in /usr/local/lib/python2.7/dist-packages
-------------------------------------------------------------
git pull /home/pi/RFM2Pi
* master
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Already up-to-date.

git pull /home/pi/usefulscripts
* master
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Already up-to-date.

git pull /home/pi/huawei-hilink-status
* master
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Already up-to-date.

git pull /home/pi/oem_node-red
* master
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Already up-to-date.

Start emonhub update script:
-------------------------------------------------------------
emonHub update started
-------------------------------------------------------------
- usr directory: /home/pi
git pull /home/pi/emonhub
* emon-pi
On branch emon-pi
Your branch is up-to-date with 'origin/emon-pi'.
nothing to commit, working tree clean
Already up-to-date.
Creating emonhub logfile
Symlinking emonhub.conf to /etc/emonhub/emonhub.conf
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
removing initd emonhub service
sudo: unable to resolve host emonpi: Connection timed out
Fatal: cannot find /usr/share/emonhub/emonhub.py
sudo: unable to resolve host emonpi: Connection timed out
Installing emonhub.service in /lib/systemd/system (creating symlink)
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
Created symlink /etc/systemd/system/multi-user.target.wants/emonhub.service → /home/pi/emonhub/service/emonhub.service.
Created symlink /etc/systemd/system/emonhub.service → /home/pi/emonhub/service/emonhub.service.
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out

Running emonhub automatic node addition script
[[5]]
Node 5 already present
[[6]]
Node 6 already present
[[7]]
Node 7 already present
[[8]]
Node 8 already present
[[9]]
Node 9 already present
[[10]]
Node 10 already present
[[11]]
Node 11 already present
[[12]]
Node 12 already present
[[13]]
Node 13 already present
[[14]]
Node 14 already present
[[19]]
Node 19 already present
[[20]]
Node 20 already present
[[21]]
Node 21 already present
[[22]]
Node 22 already present
[[23]]
Node 23 already present
[[24]]
Node 24 already present
[[25]]
Node 25 already present
[[26]]
Node 26 already present

Start emoncms update:

-------------------------------------------------------------
Emoncms update started
Emoncms update script V1.3 (26th March 2019)
-------------------------------------------------------------
- usr directory: /home/pi
- emoncms directory: /var/www/emoncms

current settings.php md5: bfcadb4356440ffc96c06a5d91aa2a02
Default settings.php md5: bfcadb4356440ffc96c06a5d91aa2a02
settings.php has NOT been user modifed

Checking status of /var/www/emoncms git repository
- git branch: stable
- no local changes
- running: git pull origin stable

From https://github.com/emoncms/emoncms
* branch stable -> FETCH_HEAD
59723e7c..a0c672e4 stable -> origin/stable
Updating 59723e7c..a0c672e4
Fast-forward
COPYRIGHT.txt | 2 +-
Lib/EmonLogger.php | 7 +-
Lib/gridjs/grid-demo.php | 721 ++++++++
Lib/gridjs/grid.html | 286 ++++
Lib/gridjs/grid.js | 111 ++
Lib/misc/autocomplete.css | 34 +
Lib/misc/autocomplete.js | 86 +
Lib/misc/gettext.js | 55 +
Lib/misc/nav_functions.php | 1010 ++++++++++++
Lib/misc/sidebar.css | 467 +++++-
Lib/misc/sidebar.js | 388 ++++-
Lib/responsive-linked-tables.js | 74 +-
Lib/tablejs/custom-table-fields.js | 27 +-
Lib/units.php | 3 +-
Lib/user_locale.js | 28 +
Lib/vue.min.js | 6 +
Modules/admin/admin_controller.php | 391 +++--
Modules/admin/admin_main_view.php | 1217 ++++++++------
Modules/admin/admin_menu.php | 11 +-
Modules/admin/admin_model.php | 396 +++++
Modules/admin/locale/cy_GB/LC_MESSAGES/messages.mo | Bin 0 -> 986 bytes
Modules/admin/locale/cy_GB/LC_MESSAGES/messages.po | 738 +++++++++
Modules/admin/locale/fr_FR/LC_MESSAGES/messages.mo | Bin 3710 -> 4712 bytes
Modules/admin/locale/fr_FR/LC_MESSAGES/messages.po | 153 +-
Modules/admin/pi-model.json | 38 +-
Modules/admin/static/admin_styles.css | 183 +++
Modules/admin/userlist_view.php | 4 +-
Modules/feed/Views/feedlist_view.php | 1721 ++++++++++++++------
Modules/feed/Views/feedlist_view_v2.php | 1298 ---------------
Modules/feed/engine/CassandraEngine.php | 11 +-
Modules/feed/engine/MysqlTimeSeries.php | 12 +-
Modules/feed/engine/PHPFina.php | 200 ++-
Modules/feed/engine/PHPFiwa.php | 7 +-
Modules/feed/engine/PHPTimeSeries.php | 9 +-
Modules/feed/engine/RedisBuffer.php | 19 +-
Modules/feed/engine/TemplateEngine.php | 10 +-
Modules/feed/feed_controller.php | 202 ++-
Modules/feed/feed_menu.php | 11 +-
Modules/feed/feed_model.php | 77 +-
Modules/feed/locale/fr_FR/LC_MESSAGES/messages.mo | Bin 12939 -> 14507 bytes
Modules/feed/locale/fr_FR/LC_MESSAGES/messages.po | 370 +++--
Modules/input/Views/device_view.php | 645 --------
Modules/input/Views/input_view.js | 709 ++++++++
Modules/input/Views/input_view.php | 299 ++--
Modules/input/input_controller.php | 187 +--
Modules/input/input_menu.php | 11 +-
Modules/input/input_methods.php | 17 +-
Modules/input/input_model.php | 14 +-
Modules/input/locale/fr_FR/LC_MESSAGES/messages.mo | Bin 14290 -> 15289 bytes
Modules/input/locale/fr_FR/LC_MESSAGES/messages.po | 167 +-
Modules/input/que_input_controller.php | 2 +-
Modules/process/Views/process_api.php | 4 +-
Modules/process/Views/process_ui.js | 16 +-
Modules/process/Views/process_ui.php | 69 +-
Modules/process/process_processlist.php | 18 +-
Modules/schedule/Views/schedule_api.php | 4 +-
Modules/schedule/Views/schedule_view.php | 13 +-
Modules/schedule/schedule_menu.php | 10 +-
Modules/schedule/schedule_model.php | 4 +-
Modules/user/Views/bookmarks.php | 259 +++
Modules/user/Views/sidebar.php | 3 +
Modules/user/locale/cy_GB/LC_MESSAGES/messages.mo | Bin 3015 -> 4653 bytes
Modules/user/locale/cy_GB/LC_MESSAGES/messages.po | 441 +++--
Modules/user/locale/fr_FR/LC_MESSAGES/messages.mo | Bin 7664 -> 8234 bytes
Modules/user/locale/fr_FR/LC_MESSAGES/messages.po | 220 +--
Modules/user/login_block.php | 11 +-
Modules/user/profile/profile.php | 7 +-
Modules/user/user.js | 10 +-
Modules/user/user_controller.php | 75 +-
Modules/user/user_menu.php | 48 +-
Modules/user/user_model.php | 199 ++-
Modules/user/user_schema.php | 2 +-
Modules/vis/Views/vis_main_view.php | 8 +-
Modules/vis/multigraph_model.php | 4 +-
Modules/vis/vis_menu.php | 11 +-
Modules/vis/vis_object.php | 66 +-
Modules/vis/visualisations/bargraph.php | 17 +-
Modules/vis/visualisations/editdaily.php | 2 +-
Modules/vis/visualisations/editrealtime.php | 3 +-
.../vis/visualisations/multigraph/multigraph.js | 1 +
Modules/vis/visualisations/smoothie.php | 12 +-
Modules/vis/widget/vis_render.js | 110 +-
Modules/vis/widget/vis_widget.php | 4 +-
Theme/basic/embed.php | 3 +
Theme/basic/emon-blue.css | 158 +-
Theme/basic/emon-standard.css | 149 +-
Theme/basic/emon-sun.css | 109 +-
Theme/basic/emoncms-base.css | 490 ++++++
Theme/basic/menu_view.php | 286 ++--
Theme/basic/sidebar_view.php | 257 +++
Theme/basic/theme.php | 496 +++---
core.php | 107 +-
default.emonpi.settings.php | 5 +-
default.settings.php | 16 +-
docs/LinuxInstall.md | 37 +-
docs/RaspberryPi/Low-write-mode.md | 10 +-
docs/RaspberryPi/MQTT.md | 26 +-
docs/RaspberryPi/general.md | 15 +-
docs/RaspberryPi/install_Wheezy.md | 4 +-
docs/RaspberryPi/jessie.md | 4 +-
docs/RaspberryPi/read-only.md | 12 +-
docs/RaspberryPi/readme.md | 14 +-
docs/SharedLinuxHostingInstall.md | 4 +-
docs/Update.md | 52 +
docs/Upgrading.md | 76 +-
docs/WindowsInstall.md | 4 +-
docs/files/emoncms_update.png | Bin 0 -> 78097 bytes
docs/gettext.md | 4 +
index.php | 136 +-
locale.php | 6 +-
logconfig.xml | 9 -
process_settings.php | 15 +
readme.md | 37 +-
route.php | 8 +-
scripts/feedwriter.php | 12 +-
scripts/logger/install.sh | 25 +-
scripts/logger/logrotate.conf | 4 +-
scripts/mqtt_input.service | 2 +-
scripts/phpmqtt_input.php | 15 +-
scripts/services/emoncms_mqtt/emoncms_mqtt.php | 385 +++++
scripts/services/emoncms_mqtt/emoncms_mqtt.service | 70 +
scripts/services/feedwriter/feedwriter.service | 70 +
scripts/services/install-service-emoncmsmqtt.md | 23 +
scripts/services/install-service-feedwriter.md | 24 +
scripts/services/install-service-runner-update.md | 34 +-
scripts/services/service-runner/service-runner.py | 56 +-
.../services/service-runner/service-runner.service | 11 +-
tests/Lib/emoncms_tests_helper.js | 3 +-
version.txt | 2 +-
129 files changed, 12202 insertions(+), 5168 deletions(-)
create mode 100644 Lib/gridjs/grid-demo.php
create mode 100644 Lib/gridjs/grid.html
create mode 100644 Lib/gridjs/grid.js
create mode 100644 Lib/misc/autocomplete.css
create mode 100644 Lib/misc/autocomplete.js
create mode 100644 Lib/misc/gettext.js
create mode 100644 Lib/misc/nav_functions.php
create mode 100644 Lib/user_locale.js
create mode 100644 Lib/vue.min.js
create mode 100644 Modules/admin/admin_model.php
create mode 100644 Modules/admin/locale/cy_GB/LC_MESSAGES/messages.mo
create mode 100644 Modules/admin/locale/cy_GB/LC_MESSAGES/messages.po
create mode 100644 Modules/admin/static/admin_styles.css
delete mode 100644 Modules/feed/Views/feedlist_view_v2.php
delete mode 100644 Modules/input/Views/device_view.php
create mode 100644 Modules/input/Views/input_view.js
create mode 100644 Modules/user/Views/bookmarks.php
create mode 100644 Modules/user/Views/sidebar.php
create mode 100644 Theme/basic/emoncms-base.css
create mode 100644 Theme/basic/sidebar_view.php
create mode 100644 docs/Update.md
create mode 100644 docs/files/emoncms_update.png
delete mode 100644 logconfig.xml
create mode 100644 scripts/services/emoncms_mqtt/emoncms_mqtt.php
create mode 100644 scripts/services/emoncms_mqtt/emoncms_mqtt.service
create mode 100644 scripts/services/feedwriter/feedwriter.service
create mode 100644 scripts/services/install-service-emoncmsmqtt.md
create mode 100644 scripts/services/install-service-feedwriter.md

NEW default settings.php md5: 0e4803a641b7784ed23edf87506ce761
Update required to settings.php...
sudo: unable to resolve host emonpi: Connection timed out
settings.php autoupdated

LAST ENTRIES ON THE LOG FILE
-------------------------------------------------------------
Updating Emoncms Modules
-------------------------------------------------------------

------------------------------------------
Updating /var/www/emoncms/Modules/app module
------------------------------------------
- git branch: stable
- git tags: 1.2.0-2-g3fbdf07
- no local changes
- running: git pull origin stable

From https://github.com/emoncms/app
* branch stable -> FETCH_HEAD
3fbdf07..6e5016a stable -> origin/stable
Updating 3fbdf07..6e5016a
Fast-forward
Lib/config.js | 75 +++-
Lib/feed.js | 13 +-
Views/app_view.php | 7 +-
Views/css/config.css | 17 +-
Views/css/dark.css | 280 ++++++++----
app_controller.php | 17 +-
app_menu.php | 63 ++-
app_model.php | 24 +-
apps/OpenEnergyMonitor/config-nav.php | 4 +
.../costcomparison/costcomparison.php | 38 +-
apps/OpenEnergyMonitor/costcomparison/rates.js | 86 ++++
apps/OpenEnergyMonitor/graph-nav.php | 12 +
apps/OpenEnergyMonitor/myelectric/myelectric.php | 352 ++++++++-------
apps/OpenEnergyMonitor/myelectric2/myelectric2.php | 64 ++-
apps/OpenEnergyMonitor/myenergy/myenergy.php | 223 ++++------
apps/OpenEnergyMonitor/myheatpump/myheatpump.php | 6 +-
apps/OpenEnergyMonitor/mysolarpv/mysolarpv.php | 491 +++++++++++---------
apps/OpenEnergyMonitor/mysolarpvdivert/app.json | 4 +-
.../mysolarpvdivert/mysolarpvdivert.php | 495 ++++++++++-----------
apps/OpenEnergyMonitor/openevse/openevse.php | 2 +-
apps/OpenEnergyMonitor/timeofuse/timeofuse.php | 43 +-
apps/OpenEnergyMonitor/timeofuse2/timeofuse2.php | 105 +++--
apps/OpenEnergyMonitor/timeofusecl/timeofusecl.php | 86 ++--
apps/blank/blank.php | 2 +-
apps/template/template.php | 2 +-
module.json | 2 +-
26 files changed, 1485 insertions(+), 1028 deletions(-)
create mode 100644 apps/OpenEnergyMonitor/config-nav.php
create mode 100644 apps/OpenEnergyMonitor/graph-nav.php

------------------------------------------
Updating /var/www/emoncms/Modules/config module
------------------------------------------
- git branch: stable
- git tags: 1.0.0-3-g486d4d3
- no local changes
- running: git pull origin stable

From https://github.com/emoncms/config
* branch stable -> FETCH_HEAD
486d4d3..1d9238e stable -> origin/stable
Updating 486d4d3..1d9238e
Fast-forward
README.md | 6 +
Views/tabs.php | 7 +
calibration.php | 387 ++
config_controller.php | 146 +-
config_menu.php | 36 +-
config_model.php | 53 +
connect.php | 69 +
edit.php | 145 -
editor.php | 157 +
module.json | 2 +-
restart.sh | 6 +
sidebar.php | 7 +
style.css | 92 +
view.php | 271 ++
vue.js | 10947 ++++++++++++++++++++++++++++++++++++++++++++++++
15 files changed, 12160 insertions(+), 171 deletions(-)
create mode 100644 Views/tabs.php
create mode 100644 calibration.php
create mode 100644 config_model.php
create mode 100644 connect.php
delete mode 100644 edit.php
create mode 100644 editor.php
create mode 100755 restart.sh
create mode 100644 sidebar.php
create mode 100644 style.css
create mode 100644 view.php
create mode 100644 vue.js

------------------------------------------
Updating /var/www/emoncms/Modules/dashboard module
------------------------------------------
- git branch: stable
- git tags: 1.3.1-1-g9b03e57
- no local changes
- running: git pull origin stable

From https://github.com/emoncms/dashboard
* branch stable -> FETCH_HEAD
9b03e57..337df80 stable -> origin/stable
Updating 9b03e57..337df80
Fast-forward
Readme.md | 2 +
Views/dashboard_config.php | 36 +-
Views/dashboard_edit_view.php | 39 +-
Views/dashboard_list.old.php | 125 ++
Views/dashboard_list.php | 755 ++++++++++--
Views/dashboard_view.php | 26 +-
Views/dashboardeditor.css | 1 -
Views/js/designer.js | 76 +-
Views/loadwidgets.php | 2 +-
dashboard.js | 132 +++
dashboard_controller.php | 37 +-
dashboard_langjs.php | 14 +-
dashboard_menu.php | 67 +-
dashboard_model.php | 47 +-
locale/cy_GB/LC_MESSAGES/dashboard_messages.mo | Bin 0 -> 1067 bytes
locale/cy_GB/LC_MESSAGES/dashboard_messages.po | 1203 ++++++++++++++++++++
.../{messages.mo => dashboard_messages.mo} | Bin
.../{messages.po => dashboard_messages.po} | 0
.../{messages.mo => dashboard_messages.mo} | Bin
.../{messages.po => dashboard_messages.po} | 0
.../{messages.mo => dashboard_messages.mo} | Bin 518 -> 512 bytes
locale/en_GB/LC_MESSAGES/dashboard_messages.po | 1105 ++++++++++++++++++
locale/en_GB/LC_MESSAGES/messages.po | 452 --------
.../{messages.mo => dashboard_messages.mo} | Bin
.../{messages.po => dashboard_messages.po} | 0
.../{messages.mo => dashboard_messages.mo} | Bin
.../{messages.po => dashboard_messages.po} | 0
locale/fr_FR/LC_MESSAGES/dashboard_messages.mo | Bin 0 -> 15862 bytes
.../{messages.po => dashboard_messages.po} | 744 ++++++------
locale/fr_FR/LC_MESSAGES/messages.mo | Bin 14689 -> 0 bytes
.../{messages.mo => dashboard_messages.mo} | Bin
.../{messages.po => dashboard_messages.po} | 0
.../{messages.mo => dashboard_messages.mo} | Bin
.../{messages.po => dashboard_messages.po} | 0
.../{messages.mo => dashboard_messages.mo} | Bin
.../{messages.po => dashboard_messages.po} | 0
module.json | 2 +-
widget/bar/bar_render.js | 45 +-
widget/bar/bar_widget.php | 15 -
widget/battery/battery_render.js | 60 +-
widget/button/button_render.js | 17 +-
widget/dewpoint/dewpoint_render.js | 43 +-
widget/dial/dial_render.js | 46 +-
widget/dial/dial_widget.php | 15 -
widget/feedtime/feedtime_render.js | 65 +-
widget/feedtime/feedtime_widget.php | 15 -
widget/feedvalue/feedvalue_render.js | 20 +-
widget/feedvalue/feedvalue_widget.php | 15 -
widget/frostpoint/frostpoint_render.js | 48 +-
widget/heatindex/heatindex_render.js | 41 +-
widget/humidex/humidex_render.js | 49 +-
widget/isactivefeed/isactivefeed_widget.php | 15 -
widget/jgauge/jgauge_render.js | 41 +-
widget/jgauge2/jgauge2_render.js | 42 +-
widget/signal/signal_render.js | 59 +-
widget/sun/sun_render.js | 57 +-
widget/thermometer/thermometer_render.js | 60 +-
widget/thresholds/thresholds_render.js | 18 +-
58 files changed, 4307 insertions(+), 1344 deletions(-)
create mode 100644 Views/dashboard_list.old.php
create mode 100644 locale/cy_GB/LC_MESSAGES/dashboard_messages.mo
create mode 100644 locale/cy_GB/LC_MESSAGES/dashboard_messages.po
rename locale/da_DK/LC_MESSAGES/{messages.mo => dashboard_messages.mo} (100%)
rename locale/da_DK/LC_MESSAGES/{messages.po => dashboard_messages.po} (100%)
rename locale/de_DE/LC_MESSAGES/{messages.mo => dashboard_messages.mo} (100%)
rename locale/de_DE/LC_MESSAGES/{messages.po => dashboard_messages.po} (100%)
rename locale/en_GB/LC_MESSAGES/{messages.mo => dashboard_messages.mo} (63%)
create mode 100644 locale/en_GB/LC_MESSAGES/dashboard_messages.po
delete mode 100644 locale/en_GB/LC_MESSAGES/messages.po
rename locale/es_ES/LC_MESSAGES/{messages.mo => dashboard_messages.mo} (100%)
rename locale/es_ES/LC_MESSAGES/{messages.po => dashboard_messages.po} (100%)
rename locale/et_EE/LC_MESSAGES/{messages.mo => dashboard_messages.mo} (100%)
rename locale/et_EE/LC_MESSAGES/{messages.po => dashboard_messages.po} (100%)
create mode 100644 locale/fr_FR/LC_MESSAGES/dashboard_messages.mo
rename locale/fr_FR/LC_MESSAGES/{messages.po => dashboard_messages.po} (73%)
delete mode 100644 locale/fr_FR/LC_MESSAGES/messages.mo
rename locale/it_IT/LC_MESSAGES/{messages.mo => dashboard_messages.mo} (100%)
rename locale/it_IT/LC_MESSAGES/{messages.po => dashboard_messages.po} (100%)
rename locale/nl_BE/LC_MESSAGES/{messages.mo => dashboard_messages.mo} (100%)
rename locale/nl_BE/LC_MESSAGES/{messages.po => dashboard_messages.po} (100%)
rename locale/nl_NL/LC_MESSAGES/{messages.mo => dashboard_messages.mo} (100%)
rename locale/nl_NL/LC_MESSAGES/{messages.po => dashboard_messages.po} (100%)
delete mode 100644 widget/bar/bar_widget.php
delete mode 100644 widget/dial/dial_widget.php
delete mode 100644 widget/feedtime/feedtime_widget.php
delete mode 100644 widget/feedvalue/feedvalue_widget.php
delete mode 100644 widget/isactivefeed/isactivefeed_widget.php

------------------------------------------
Updating /var/www/emoncms/Modules/device module
------------------------------------------
- git branch: master
- git tags: 1.1.1-17-g57fe5b5
- no local changes
- running: git pull origin master

From https://github.com/emoncms/device
* branch master -> FETCH_HEAD
57fe5b5..2ea6e74 master -> origin/master
Updating 57fe5b5..2ea6e74
Fast-forward
Views/device_dialog.js | 4 +-
Views/device_dialog.php | 2 +-
Views/device_view.php | 15 +-
data/CircuitSetup/circuitsetup_split-phase.json | 192 ++++++++++++++++++++++++
data/OpenEVSE/openevse.json | 14 +-
device_controller.php | 25 ++-
device_menu.php | 16 +-
device_model.php | 66 ++++----
device_template.php | 14 +-
module.json | 2 +-
10 files changed, 284 insertions(+), 66 deletions(-)
create mode 100644 data/CircuitSetup/circuitsetup_split-phase.json

------------------------------------------
Updating /var/www/emoncms/Modules/graph module
------------------------------------------
- git branch: stable
- git tags: 1.2.1-2-g7a2fc18
- no local changes
- running: git pull origin stable

From https://github.com/emoncms/graph
* branch stable -> FETCH_HEAD
7a2fc18..c7f4ea9 stable -> origin/stable
Updating 7a2fc18..c7f4ea9
Fast-forward
.gitmodules | 3 +
Lib/date.js | 893 +++++++
Lib/timezone-js | 1 +
Lib/tz/CONTRIBUTING | 92 +
Lib/tz/LICENSE | 5 +
Lib/tz/Makefile | 1093 ++++++++
Lib/tz/NEWS | 4719 ++++++++++++++++++++++++++++++++++
Lib/tz/README | 50 +
Lib/tz/africa | 1347 ++++++++++
Lib/tz/antarctica | 343 +++
Lib/tz/asia | 3600 ++++++++++++++++++++++++++
Lib/tz/australasia | 2046 +++++++++++++++
Lib/tz/backward | 130 +
Lib/tz/backzone | 699 +++++
Lib/tz/calendars | 173 ++
Lib/tz/checklinks.awk | 48 +
Lib/tz/checktab.awk | 186 ++
Lib/tz/etcetera | 80 +
Lib/tz/europe | 3995 ++++++++++++++++++++++++++++
Lib/tz/factory | 12 +
Lib/tz/iso3166.tab | 274 ++
Lib/tz/leap-seconds.list | 255 ++
Lib/tz/leapseconds | 69 +
Lib/tz/leapseconds.awk | 108 +
Lib/tz/northamerica | 3478 +++++++++++++++++++++++++
Lib/tz/pacificnew | 29 +
Lib/tz/southamerica | 1966 ++++++++++++++
Lib/tz/systemv | 39 +
Lib/tz/theory.html | 1352 ++++++++++
Lib/tz/version | 1 +
Lib/tz/yearistype.sh | 39 +
Lib/tz/ziguard.awk | 124 +
Lib/tz/zishrink.awk | 320 +++
Lib/tz/zone.tab | 449 ++++
Lib/tz/zone1970.tab | 383 +++
Lib/tz/zoneinfo2tdf.pl | 53 +
Views/sidebar.php | 16 +
embed.php | 21 +-
graph.css | 199 +-
graph.js | 530 ++--
graph_controller.php | 120 +-
graph_menu.php | 15 +-
graph_model.php | 8 +-
group_view.php | 4 +-
locale/cy_GB/LC_MESSAGES/messages.mo | Bin 0 -> 3466 bytes
locale/cy_GB/LC_MESSAGES/messages.po | 345 +++
locale/fr_FR/LC_MESSAGES/message.po | 327 +++
locale/fr_FR/LC_MESSAGES/messages.mo | Bin 0 -> 3714 bytes
module.json | 2 +-
readme.md | 2 +-
view.php | 573 +++--
51 files changed, 30219 insertions(+), 397 deletions(-)
create mode 100644 .gitmodules
create mode 100644 Lib/date.js
create mode 160000 Lib/timezone-js
create mode 100644 Lib/tz/CONTRIBUTING
create mode 100644 Lib/tz/LICENSE
create mode 100644 Lib/tz/Makefile
create mode 100644 Lib/tz/NEWS
create mode 100644 Lib/tz/README
create mode 100644 Lib/tz/africa
create mode 100644 Lib/tz/antarctica
create mode 100644 Lib/tz/asia
create mode 100644 Lib/tz/australasia
create mode 100644 Lib/tz/backward
create mode 100644 Lib/tz/backzone
create mode 100644 Lib/tz/calendars
create mode 100644 Lib/tz/checklinks.awk
create mode 100644 Lib/tz/checktab.awk
create mode 100644 Lib/tz/etcetera
create mode 100644 Lib/tz/europe
create mode 100644 Lib/tz/factory
create mode 100644 Lib/tz/iso3166.tab
create mode 100644 Lib/tz/leap-seconds.list
create mode 100644 Lib/tz/leapseconds
create mode 100644 Lib/tz/leapseconds.awk
create mode 100644 Lib/tz/northamerica
create mode 100644 Lib/tz/pacificnew
create mode 100644 Lib/tz/southamerica
create mode 100644 Lib/tz/systemv
create mode 100644 Lib/tz/theory.html
create mode 100644 Lib/tz/version
create mode 100644 Lib/tz/yearistype.sh
create mode 100644 Lib/tz/ziguard.awk
create mode 100644 Lib/tz/zishrink.awk
create mode 100644 Lib/tz/zone.tab
create mode 100644 Lib/tz/zone1970.tab
create mode 100755 Lib/tz/zoneinfo2tdf.pl
create mode 100644 Views/sidebar.php
create mode 100644 locale/cy_GB/LC_MESSAGES/messages.mo
create mode 100644 locale/cy_GB/LC_MESSAGES/messages.po
create mode 100644 locale/fr_FR/LC_MESSAGES/message.po
create mode 100644 locale/fr_FR/LC_MESSAGES/messages.mo

------------------------------------------
Updating /var/www/emoncms/Modules/group module
------------------------------------------
- git branch: stable
- git tags: 9.9.5-550-ga0c672e4
- no local changes
- running: git pull origin stable

From https://github.com/emoncms/emoncms
* branch stable -> FETCH_HEAD
Already up-to-date.

------------------------------------------
Updating /var/www/emoncms/Modules/wifi module
------------------------------------------
- git branch: stable
- git tags: 1.2.0-29-gd843ef2
- git status:

On branch stable
Your branch is up-to-date with 'origin/stable'.
nothing to commit, working tree clean


------------------------------------------
Updating postprocess module
------------------------------------------
- git branch: emonpi
fatal: No names found, cannot describe anything.
- git tags:
- no local changes
- running: git pull origin emonpi

From https://github.com/emoncms/postprocess
d392f91..1d25eb6 emonpi -> origin/emonpi
* [new tag] 1.0.0 -> 1.0.0
* [new tag] 2.0.0 -> 2.0.0
* [new tag] 2.1.0 -> 2.1.0
Updating d392f91..1d25eb6
Fast-forward
common.php | 29 +++++
postprocess-module/module.json | 2 +-
postprocess-module/postprocess_controller.php | 119 +++++++++++++++++---
postprocess-module/postprocess_menu.php | 10 +-
postprocess-module/postprocess_model.php | 2 +-
postprocess-module/view.js | 98 +++++++++++++++--
postprocess-module/view.php | 46 +++++++-
postprocess_run.php | 9 +-
processes/basic_formula.php | 151 ++++++++++++++++++++++++++
processes/constantflow_tokwh.php | 107 ++++++++++++++++++
processes/liquidorairflow_tokwh.php | 118 ++++++++++++++++++++
processes/powertokwh.php | 38 +++++--
processes/trimfeedstart.php | 3 +-
13 files changed, 681 insertions(+), 51 deletions(-)
create mode 100644 processes/basic_formula.php
create mode 100644 processes/constantflow_tokwh.php
create mode 100644 processes/liquidorairflow_tokwh.php
Already on 'emonpi'
Your branch is up-to-date with 'origin/emonpi'.

------------------------------------------
Updating sync module
------------------------------------------
- git branch: master
- git tags: 1.0.0-2-g67a12d6
- no local changes
- running: git pull origin master

From https://github.com/emoncms/sync
67a12d6..3ae3226 master -> origin/master
* [new tag] 1.0.1 -> 1.0.1
* [new tag] 2.0.0 -> 2.0.0
* [new tag] 2.0.1 -> 2.0.1
Updating 67a12d6..3ae3226
Fast-forward
readme.md | 39 ++++-
sync-module/Module.json | 2 +-
sync-module/sidebar.js | 56 --------
sync-module/style.css | 69 ---------
sync-module/sync_controller.php | 25 ++--
sync-module/sync_menu.php | 36 ++---
sync-module/sync_model.php | 2 +-
sync-module/sync_view.php | 307 ++++++++++++++++++++--------------------
sync_run.php | 7 +-
9 files changed, 228 insertions(+), 315 deletions(-)
delete mode 100644 sync-module/sidebar.js
delete mode 100644 sync-module/style.css
Already on 'master'
Your branch is up-to-date with 'origin/master'.

------------------------------------------
Updating backup module
------------------------------------------
- git branch: stable
- git tags: 1.1.5-4-g0aa1a3b
- no local changes
- running: git pull origin stable

From https://github.com/emoncms/backup
0aa1a3b..67a1f1d stable -> origin/stable
e811075..e365ab5 master -> origin/master
* [new branch] pb66-patch-1 -> origin/pb66-patch-1
* [new tag] 1.1.6 -> 1.1.6
* [new tag] 1.2.0 -> 1.2.0
* [new tag] 2.0.0 -> 2.0.0
Updating 0aa1a3b..67a1f1d
Fast-forward
.gitignore | 1 +
{backup => backup-module}/backup_controller.php | 37 +++--
backup-module/backup_menu.php | 32 +++++
backup-module/backup_view.php | 183 ++++++++++++++++++++++++
{backup => backup-module}/module.json | 2 +-
backup/backup_menu.php | 5 -
backup/backup_view.php | 134 -----------------
config.cfg | 24 ----
default.config.cfg | 34 +++--
emoncms-copy.sh | 91 ++++++++++++
emoncms-export.sh | 90 +++++++++---
emoncms-import.sh | 74 ++++++----
emonpi.default.config.cfg | 27 ----
get_emoncms_mysql_auth.php | 2 +-
install.sh | 40 ++++++
readme.md | 110 ++++----------
16 files changed, 534 insertions(+), 352 deletions(-)
create mode 100644 .gitignore
rename {backup => backup-module}/backup_controller.php (63%)
create mode 100644 backup-module/backup_menu.php
create mode 100644 backup-module/backup_view.php
rename {backup => backup-module}/module.json (54%)
delete mode 100644 backup/backup_menu.php
delete mode 100644 backup/backup_view.php
delete mode 100755 config.cfg
create mode 100755 emoncms-copy.sh
delete mode 100644 emonpi.default.config.cfg
create mode 100755 install.sh
Already on 'stable'
Your branch is up-to-date with 'origin/stable'.

------------------------------------------
Auto Installation of Emoncms Modules
------------------------------------------
- graph module already installed
- device module already installed
- postprocess module already installed
- sync module already installed
- backup module already installed

sudo: unable to resolve host emonpi: Connection timed out
/home/pi/emonpi/sudoers.d/wifi-sudoers: parsed OK
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out

wifi-sudoers sudoers entry installed
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
www-data : www-data video systemd-journal

------------------------------------------
SERVICES
------------------------------------------
Removing mqtt_input.service from /etc/systemd/system
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
Installing emoncms_mqtt.service in /lib/systemd/system (creating symlink)
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
Created symlink /etc/systemd/system/multi-user.target.wants/emoncms_mqtt.service → /var/www/emoncms/scripts/services/emoncms_mqtt/emoncms_mqtt.service.
Created symlink /etc/systemd/system/emoncms_mqtt.service → /var/www/emoncms/scripts/services/emoncms_mqtt/emoncms_mqtt.service.
sudo: unable to resolve host emonpi: Connection timed out
removing initd feedwriter service
sudo: unable to resolve host emonpi: Connection timed out
Log is turned off
Stopping feedwriter: stopped
sudo: unable to resolve host emonpi: Connection timed out
Installing feedwriter.service in /lib/systemd/system (creating symlink)
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
Created symlink /etc/systemd/system/multi-user.target.wants/feedwriter.service → /var/www/emoncms/scripts/services/feedwriter/feedwriter.service.
Created symlink /etc/systemd/system/feedwriter.service → /var/www/emoncms/scripts/services/feedwriter/feedwriter.service.
sudo: unable to resolve host emonpi: Connection timed out
service-runner.service already installed
------------------------------------------
Installing mariadb service config
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
[Service]
ProtectHome=false
Reloading systemctl deamon
sudo: unable to resolve host emonpi: Connection timed out
Update Emoncms database
[]

Restarting Services...
- sudo systemctl restart feedwriter.service
sudo: unable to resolve host emonpi: Connection timed out
--- ActiveState=active ---
- sudo systemctl restart emoncms_mqtt.service
sudo: unable to resolve host emonpi: Connection timed out
--- ActiveState=active ---
- sudo systemctl restart emonhub.service
sudo: unable to resolve host emonpi: Connection timed out
--- ActiveState=active ---
Symlinking emonpiupdate.log
Installing emoncms logrotate...

sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
Now setting up Logrotate...
Backing up old logrotate configuration...
sudo: unable to resolve host emonpi: Connection timed out
Linked to new logrotate configuration...
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
Backing up old logrotate cron job...
sudo: unable to resolve host emonpi: Connection timed out
Linked to new logrotate cron job...
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out
sudo: unable to resolve host emonpi: Connection timed out

Completed


Completed

Running logrotate...
sudo: unable to resolve host emonpi: Connection timed out

set log rotate config owner to root
sudo: unable to resolve host emonpi: Connection timed out

------------------------------------------
Emoncms update script complete
------------------------------------------


Starting emonPi LCD service..
sudo: unable to resolve host emonpi: Connection timed out


-------------------------------------------------------------
emonPi update done: Mon 1 Jul 08:58:07 UTC 2019
-------------------------------------------------------------
restarting service-runner
service-runner: no process found
sudo: unable to resolve host emonpi: Connection timed out

There is nothing obvious here.

Could you try a second update and post the output please?

Also try the usual tricks of rebooting and clearing browser cache please.

I’ve added an issue regarding purge command https://github.com/openenergymonitor/emonpi/issues/113

1 Like