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: Wed 2 Oct 10:10:30 UTC 2019 EUID: 1000 usrdir: /home/pi type: all firmware: emonpi Checking environment: - pi user found EUID: 1000 Hardware detected: EmonPi Stopping emonPiLCD service Display update message on LCD I2C LCD DETECTED Ox27 ------------------------------------------------------------- Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.4 kB] Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease Hit:3 https://deb.nodesource.com/node_10.x stretch InRelease Fetched 25.4 kB in 2s (10.5 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 10 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_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00 avrdude-original: stk500_recv(): programmer is not responding avrdude-original: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00 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) Already up-to-date. 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: 59e80f731935867f5f93753d49c0fe86 Default settings.php md5: 59e80f731935867f5f93753d49c0fe86 settings.php has NOT been user modifed Checking status of /var/www/emoncms git repository Fetching origin From https://github.com/emoncms/emoncms 4f52134e..35a736e5 stable -> origin/stable 6274f797..38aa42ec master -> origin/master - git branch: stable - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Updating 4f52134e..35a736e5 Fast-forward Modules/admin/admin_model.php | 7 ++-- .../vis/visualisations/multigraph/multigraph.js | 1 + default-settings.ini | 24 +++++++------ example.settings.ini | 40 +++++++++++++++++++--- 4 files changed, 53 insertions(+), 19 deletions(-) NEW default settings.php md5: 59e80f731935867f5f93753d49c0fe86 settings.php not updated ------------------------------------------------------------- Updating Emoncms Modules ------------------------------------------------------------- ------------------------------------------ Updating /var/www/emoncms/Modules/app module ------------------------------------------ Fetching origin - git branch: stable - git tags: 2.0.1-72-g2e808a1 - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Already up-to-date. ------------------------------------------ Updating /var/www/emoncms/Modules/config module ------------------------------------------ Fetching origin - git branch: stable - git tags: 2.0.2-9-g1bba25a - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Already up-to-date. ------------------------------------------ Updating /var/www/emoncms/Modules/dashboard module ------------------------------------------ Fetching origin - git branch: stable - git tags: 2.0.3-34-ga331651 - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Already up-to-date. ------------------------------------------ Updating /var/www/emoncms/Modules/device module ------------------------------------------ Fetching origin - git branch: stable - git tags: 2.0.0-7-g62d5fcc - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Already up-to-date. ------------------------------------------ Updating /var/www/emoncms/Modules/graph module ------------------------------------------ Fetching origin From https://github.com/emoncms/graph 5471a5b..d967f6d stable -> origin/stable 5471a5b..d967f6d master -> origin/master - git branch: stable - git tags: 2.0.1-40-g5471a5b - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Updating 5471a5b..d967f6d Fast-forward embed.php | 12 +++++++----- view.php | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) ------------------------------------------ Updating /var/www/emoncms/Modules/wifi module ------------------------------------------ Fetching origin - git branch: stable - git tags: 2.0.0-29-g274bcd5 - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Already up-to-date. ------------------------------------------ Updating postprocess module ------------------------------------------ Fetching origin - git branch: stable - git tags: 2.1.0-17-g48fcafd - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Already up-to-date. ------------------------------------------ Updating sync module ------------------------------------------ Fetching origin - git branch: stable - git tags: 2.0.1-15-g39361e4 - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Already up-to-date. ------------------------------------------ Updating backup module ------------------------------------------ Fetching origin - git branch: stable - git tags: 2.0.0-26-g0c752ee - no local changes - running: git pull origin stable Branch stable set up to track remote branch stable from origin. Already up-to-date. ------------------------------------------ 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 /home/pi/emonpi/sudoers.d/emoncms-rebootbutton: parsed OK emoncms-rebootbutton sudoers entry installed /home/pi/emonpi/sudoers.d/emoncms-filesystem: parsed OK emoncms-filesystem sudoers entry installed /home/pi/emonpi/sudoers.d/wifi-sudoers: parsed OK wifi-sudoers sudoers entry 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: Wed 2 Oct 10:12:50 UTC 2019 ------------------------------------------------------------- restarting service-runner service-runner: no process found