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
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 10:25:01 EDT 2019
EUID: 1000
usrdir: /home/pi
type: all
firmware: emonpi
Checking environment:
- pi user found

EUID: 1000
Hardware detected: rfm2pi
Stopping emonPiLCD service
Display update message on LCD
I2C LCD NOT DETECTED on either 0x['27', '3f'] ...exiting LCD script
-------------------------------------------------------------
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://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [221 kB]
Fetched 11.9 MB in 9s (1,318 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
rng-tools is already the newest version (2-unofficial-mt.14-1).
python-gpiozero is already the newest version (1.5.0).
python-rpi.gpio is already the newest version (0.6.5~stretch-1).
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
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.

-------------------------------------------------------------
EmonPi Firmware Update
-------------------------------------------------------------
Start ATmega328 serial upload using avrdude with latest.hex
Discrete Sampling
avrdude -c arduino -p ATMEGA328P -P /dev/ttyAMA0 -b 115200 -U flash:w:/home/pi/emonpi/firmware/compiled/latest.hex
avrdude-original: Using autoreset DTR on GPIO Pin 7
avrdude-original: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe0
avrdude-original: stk500_getsync() attempt 2 of 10: not in sync: resp=0xfe
avrdude-original: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe0
avrdude-original: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe0
avrdude-original: stk500_getsync() attempt 5 of 10: not in sync: resp=0x70
avrdude-original: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf8
avrdude-original: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe0
avrdude-original: stk500_getsync() attempt 8 of 10: not in sync: resp=0x80
avrdude-original: stk500_getsync() attempt 9 of 10: not in sync: resp=0xfc
avrdude-original: stk500_getsync() attempt 10 of 10: not in sync: resp=0x70

avrdude-original done. Thank you.

strace: |autoreset: Broken pipe
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'.
Untracked files:
(use "git add ..." to include in what will be committed)

src/src

nothing added to commit but untracked files present (use "git add" to track)
From https://github.com/openenergymonitor/emonhub
6263f2f..ee1f537 emon-pi -> origin/emon-pi
Updating 6263f2f..ee1f537
Fast-forward
install.sh | 2 ++
1 file changed, 2 insertions(+)
Creating emonhub logfile
Symlinking emonhub.conf to /etc/emonhub/emonhub.conf
emonhub.service already installed

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: 0e4803a641b7784ed23edf87506ce761
Default settings.php md5: 0e4803a641b7784ed23edf87506ce761
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
f53bf35b..a0c672e4 stable -> origin/stable
Updating f53bf35b..a0c672e4
Fast-forward
Lib/gridjs/grid.html | 68 +++-
Lib/misc/nav_functions.php | 148 ++++----
Lib/misc/sidebar.css | 15 +-
Lib/misc/sidebar.js | 16 +-
Lib/responsive-linked-tables.js | 7 +-
Modules/admin/admin_controller.php | 10 +-
Modules/feed/feed_model.php | 50 +--
Modules/input/Views/input_view.js | 709 ++++++++++++++++++++++++++++++++++
Modules/input/Views/input_view.php | 759 ++-----------------------------------
Modules/vis/vis_menu.php | 3 +-
Modules/vis/vis_object.php | 66 ++--
Modules/vis/widget/vis_render.js | 110 +++---
Theme/basic/sidebar_view.php | 5 +-
Theme/basic/theme.php | 5 +
default.settings.php | 6 +-
docs/Update.md | 22 +-
index.php | 8 -
process_settings.php | 12 +-
readme.md | 2 +-
version.txt | 2 +-
20 files changed, 1046 insertions(+), 977 deletions(-)
create mode 100644 Modules/input/Views/input_view.js

NEW default settings.php md5: 0e4803a641b7784ed23edf87506ce761
settings.php not updated

-------------------------------------------------------------
Updating Emoncms Modules
-------------------------------------------------------------

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

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

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

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

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

From https://github.com/emoncms/dashboard
* branch stable -> FETCH_HEAD
abd1a0b..337df80 stable -> origin/stable
Updating abd1a0b..337df80
Fast-forward
Views/dashboard_list.php | 318 +++++--
dashboard_controller.php | 8 +-
dashboard_model.php | 22 +-
locale/cy_GB/LC_MESSAGES/dashboard_messages.mo | Bin 0 -> 1067 bytes
locale/cy_GB/LC_MESSAGES/dashboard_messages.po | 1203 ++++++++++++++++++++++++
module.json | 2 +-
6 files changed, 1448 insertions(+), 105 deletions(-)
create mode 100644 locale/cy_GB/LC_MESSAGES/dashboard_messages.mo
create mode 100644 locale/cy_GB/LC_MESSAGES/dashboard_messages.po

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

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

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

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

------------------------------------------
Updating /var/www/emoncms/Modules/wifi module
------------------------------------------
- git branch: stable
- git tags: 1.2.0-39-gb67783d
- no local changes
- running: git pull origin stable

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

------------------------------------------
Updating postprocess module
------------------------------------------
- git branch: emonpi
- git tags: 2.1.0-1-g1d25eb6
- no local changes
- running: git pull origin emonpi

Already up-to-date.
Already on 'emonpi'
Your branch is up-to-date with 'origin/emonpi'.

------------------------------------------
Updating sync module
------------------------------------------
- git branch: master
- git tags: 2.0.1-6-g4a081eb
- no local changes
- running: git pull origin master

From https://github.com/emoncms/sync
4a081eb..3ae3226 master -> origin/master
Updating 4a081eb..3ae3226
Fast-forward
sync-module/sync_menu.php | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
Already on 'master'
Your branch is up-to-date with 'origin/master'.

------------------------------------------
Updating backup module
------------------------------------------
- git branch: stable
- git tags: 2.0.0-12-g67a1f1d
- no local changes
- running: git pull origin stable

Already up-to-date.
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

www-data : www-data video systemd-journal

------------------------------------------
SERVICES
------------------------------------------
emoncms_mqtt.service already installed
feedwriter.service already installed
service-runner.service already installed
------------------------------------------
Reloading systemctl deamon
Update Emoncms database
[]

Restarting Services...
- sudo systemctl restart feedwriter.service
--- ActiveState=active ---
- sudo systemctl restart emoncms_mqtt.service
--- ActiveState=active ---
- sudo systemctl restart emonhub.service
--- ActiveState=active ---
Symlinking emonpiupdate.log
Installing emoncms logrotate...

Now setting up Logrotate...
Backing up old logrotate configuration...
Linked to new logrotate configuration...
Backing up old logrotate cron job...
mv: cannot stat '/etc/cron.daily/logrotate': No such file or directory
Linked to new logrotate cron job...

Completed


Completed

Running logrotate...

set log rotate config owner to root

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


Starting emonPi LCD service..


-------------------------------------------------------------
emonPi update done: Mon 1 Jul 10:26:00 EDT 2019
-------------------------------------------------------------
restarting service-runner
service-runner: no process found