Starting update via service-runner-update.sh (v3.0) > - emonSD version: emonSD-17Oct19 emonSD base image check passed...continue update git pull /opt/openenergymonitor/EmonScripts master * stable On branch stable Your branch is up to date with 'origin/stable'. nothing to commit, working tree clean Already up to date. ------------------------------------------------------------- Main Update Script ------------------------------------------------------------- Date: Tue 16 Jun 19:23:42 BST 2020 EUID: 1000 openenergymonitor_dir: /opt/openenergymonitor type: all firmware: none Hardware detected: rfm2pi git pull /opt/openenergymonitor/emonpi * master On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean Fetching origin Already up to date. git pull /opt/openenergymonitor/RFM2Pi * master error: object file .git/objects/16/5831043813e861b232957c57915a29596395ec is empty error: object file .git/objects/16/5831043813e861b232957c57915a29596395ec is empty fatal: loose object 165831043813e861b232957c57915a29596395ec (stored in .git/objects/16/5831043813e861b232957c57915a29596395ec) is corrupt error: object file .git/objects/16/5831043813e861b232957c57915a29596395ec is empty fatal: loose object 165831043813e861b232957c57915a29596395ec (stored in .git/objects/16/5831043813e861b232957c57915a29596395ec) is corrupt error: object file .git/objects/16/5831043813e861b232957c57915a29596395ec is empty fatal: loose object 165831043813e861b232957c57915a29596395ec (stored in .git/objects/16/5831043813e861b232957c57915a29596395ec) is corrupt Start emonhub update script: ------------------------------------------------------------- emonHub update ------------------------------------------------------------- git pull /opt/openenergymonitor/emonhub fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: Failed to resolve HEAD as a valid ref. No commits yet Changes to be committed: (use "git rm --cached ..." to unstage) new file: .gitattributes new file: .gitignore new file: README.md new file: conf/default/emonhub new file: conf/emonhub.conf new file: conf/emonpi.default.emonhub.conf new file: conf/interfacer_examples/bmw/bmw.emonhub.conf new file: conf/interfacer_examples/bmw/readme.md new file: conf/interfacer_examples/directserial-serialtx3e/readme.md new file: conf/interfacer_examples/directserial/readme.md new file: conf/interfacer_examples/graphite/graphite.emonhub.conf new file: conf/interfacer_examples/graphite/readme.md new file: conf/interfacer_examples/modbus/modbusTCP.emonhub.conf new file: conf/interfacer_examples/modbus/readme.md new file: conf/interfacer_examples/smasolar/readme.md new file: conf/interfacer_examples/smasolar/smasolar.emonhub.conf new file: conf/interfacer_examples/smilices/readme.md new file: conf/interfacer_examples/smilices/smilics.emonhub.conf new file: conf/interfacer_examples/vedirect/bmv700.vedirect.emonhub.conf new file: conf/interfacer_examples/vedirect/mppt.vedirect.emonhub.conf new file: conf/interfacer_examples/vedirect/readme.md new file: conf/nodes/10 new file: conf/nodes/11 new file: conf/nodes/12 new file: conf/nodes/13 new file: conf/nodes/14 new file: conf/nodes/15 new file: conf/nodes/16 new file: conf/nodes/19 new file: conf/nodes/20 new file: conf/nodes/21 new file: conf/nodes/22 new file: conf/nodes/23 new file: conf/nodes/24 new file: conf/nodes/25 new file: conf/nodes/26 new file: conf/nodes/5 new file: conf/nodes/6 new file: conf/nodes/7 new file: conf/nodes/8 new file: conf/nodes/9 new file: conf/nodes/Readme.md new file: conf/nodes/emonpi_auto_add_nodes.sh new file: conf/old.default.emonhub.conf new file: configuration.md new file: examples/control_sender.py new file: examples/mqtt_reader.py new file: install.sh new file: service/emonhub new file: service/emonhub.default.conf new file: service/emonhub.service new file: src/Cargo.py new file: src/emonhub.py new file: src/emonhub_buffer.py new file: src/emonhub_coder.py new file: src/emonhub_interfacer.py new file: src/emonhub_setup.py new file: src/interfacers/EmonHubBMWInterfacer.py new file: src/interfacers/EmonHubEmoncmsHTTPInterfacer.py new file: src/interfacers/EmonHubGraphiteInterfacer.py new file: src/interfacers/EmonHubJeeInterfacer.py new file: src/interfacers/EmonHubMqttInterfacer.py new file: src/interfacers/EmonHubPacketGenInterfacer.py new file: src/interfacers/EmonHubSMASolarInterfacer.py new file: src/interfacers/EmonHubSerialInterfacer.py new file: src/interfacers/EmonHubSocketInterfacer.py new file: src/interfacers/EmonHubTemplateInterfacer.py new file: src/interfacers/EmonHubTeslaPowerWallInterfacer.py new file: src/interfacers/EmonHubTx3eInterfacer.py new file: src/interfacers/EmonHubVEDirectInterfacer.py new file: src/interfacers/EmonModbusTcpInterfacer.py new file: src/interfacers/__init__.py new file: src/interfacers/tmp/EmonFroniusModbusTcpInterfacer.py new file: src/interfacers/tmp/EmonHubSmilicsInterfacer.py new file: src/smalibrary/SMABluetoothPacket.py new file: src/smalibrary/SMANET2PlusPacket.py new file: src/smalibrary/SMASolar_library.py new file: src/smalibrary/__init__.py Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) modified: README.md modified: conf/emonpi.default.emonhub.conf modified: conf/interfacer_examples/directserial-serialtx3e/readme.md modified: conf/nodes/emonpi_auto_add_nodes.sh modified: configuration.md modified: install.sh modified: src/Cargo.py modified: src/emonhub.py modified: src/emonhub_buffer.py modified: src/emonhub_coder.py modified: src/emonhub_interfacer.py modified: src/emonhub_setup.py modified: src/interfacers/EmonHubBMWInterfacer.py modified: src/interfacers/EmonHubEmoncmsHTTPInterfacer.py modified: src/interfacers/EmonHubGraphiteInterfacer.py modified: src/interfacers/EmonHubJeeInterfacer.py modified: src/interfacers/EmonHubMqttInterfacer.py modified: src/interfacers/EmonHubPacketGenInterfacer.py modified: src/interfacers/EmonHubSMASolarInterfacer.py modified: src/interfacers/EmonHubSerialInterfacer.py modified: src/interfacers/EmonHubSocketInterfacer.py modified: src/interfacers/EmonHubTemplateInterfacer.py modified: src/interfacers/EmonHubTeslaPowerWallInterfacer.py modified: src/interfacers/EmonHubTx3eInterfacer.py modified: src/interfacers/EmonHubVEDirectInterfacer.py modified: src/interfacers/EmonModbusTcpInterfacer.py modified: src/interfacers/__init__.py modified: src/interfacers/tmp/EmonFroniusModbusTcpInterfacer.py modified: src/interfacers/tmp/EmonHubSmilicsInterfacer.py modified: src/smalibrary/SMABluetoothPacket.py modified: src/smalibrary/SMANET2PlusPacket.py modified: src/smalibrary/SMASolar_library.py error: cannot lock ref 'refs/remotes/origin/MQTTSubscriberInterfacer': unable to resolve reference 'refs/remotes/origin/MQTTSubscriberInterfacer': reference broken From https://github.com/openenergymonitor/emonhub ! [new branch] MQTTSubscriberInterfacer -> origin/MQTTSubscriberInterfacer (unable to update local ref) error: cannot lock ref 'refs/remotes/origin/SDS011': unable to resolve reference 'refs/remotes/origin/SDS011': reference broken ! [new branch] SDS011 -> origin/SDS011 (unable to update local ref) error: cannot lock ref 'refs/remotes/origin/emon-pi': unable to resolve reference 'refs/remotes/origin/emon-pi': reference broken ! [new branch] emon-pi -> origin/emon-pi (unable to update local ref) error: cannot lock ref 'refs/remotes/origin/env_example': unable to resolve reference 'refs/remotes/origin/env_example': reference broken ! [new branch] env_example -> origin/env_example (unable to update local ref) error: cannot lock ref 'refs/remotes/origin/lanip-status': unable to resolve reference 'refs/remotes/origin/lanip-status': reference broken ! [new branch] lanip-status -> origin/lanip-status (unable to update local ref) error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken ! [new branch] master -> origin/master (unable to update local ref) error: cannot lock ref 'refs/remotes/origin/redis_config_interface': unable to resolve reference 'refs/remotes/origin/redis_config_interface': reference broken ! [new branch] redis_config_interface -> origin/redis_config_interface (unable to update local ref) error: cannot lock ref 'refs/remotes/origin/stable': unable to resolve reference 'refs/remotes/origin/stable': reference broken ! [new branch] stable -> origin/stable (unable to update local ref) error: cannot lock ref 'refs/remotes/origin/unitless_decoder': unable to resolve reference 'refs/remotes/origin/unitless_decoder': reference broken ! [new branch] unitless_decoder -> origin/unitless_decoder (unable to update local ref) error: cannot lock ref 'refs/tags/2.1.3': unable to resolve reference 'refs/tags/2.1.3': reference broken ! [new tag] 2.1.3 -> 2.1.3 (unable to update local ref) Failed to restart .service.service: Unit .service.service not found. - Service Running emonhub automatic node addition script Start emoncms update: ------------------------------------------------------------- Update Emoncms Core ------------------------------------------------------------- Checking status of /var/www/emoncms git repository - git branch: stable - no local changes - running: git pull origin stable Fetching origin From https://github.com/emoncms/emoncms * branch stable -> FETCH_HEAD Already up to date. Update Emoncms database [] ------------------------------------------------------------- Update Emoncms Services ------------------------------------------------------------- emoncms_mqtt.service already installed feedwriter.service already installed service-runner.service already installed Reloading systemctl deamon Restarting Services... - sudo systemctl restart feedwriter.service --- ActiveState=active --- - sudo systemctl restart emoncms_mqtt.service --- ActiveState=active --- - sudo systemctl restart emonhub.service --- ActiveState=activating --- /opt/openenergymonitor/EmonScripts/sudoers.d/emoncms-rebootbutton: parsed OK emonPi emoncms admin reboot button sudoers updated ------------------------------------------------------------- Update Emoncms Modules ------------------------------------------------------------- ------------------------------------------ Updating /var/www/emoncms/Modules/app module ------------------------------------------ - git branch: stable - git tags: 2.1.1-42-ge5d51a4 - no local changes - running: git pull origin stable Fetching origin Already on 'stable' Your branch is up to date with 'origin/stable'. Already up to date. ------------------------------------------ Updating /var/www/emoncms/Modules/config module ------------------------------------------ - git branch: stable - git tags: 2.0.5 - no local changes - running: git pull origin stable Fetching origin Already on 'stable' Your branch is up to date with 'origin/stable'. Already up to date. ------------------------------------------ Updating /var/www/emoncms/Modules/dashboard module ------------------------------------------ - git branch: stable - git tags: 2.0.7 - no local changes - running: git pull origin stable Fetching origin Already on 'stable' Your branch is up to date with 'origin/stable'. Already up to date. ------------------------------------------ Updating /var/www/emoncms/Modules/device module ------------------------------------------ - git branch: stable - git tags: 2.0.5 - no local changes - running: git pull origin stable Fetching origin Already on 'stable' Your branch is up to date with 'origin/stable'. Already up to date. ------------------------------------------ Updating /var/www/emoncms/Modules/graph module ------------------------------------------ - git branch: stable - git tags: 2.0.9 - no local changes - running: git pull origin stable Fetching origin Already on 'stable' Your branch is up to date with 'origin/stable'. Already up to date. ------------------------------------------ Updating /var/www/emoncms/Modules/setup module ------------------------------------------ - git branch: stable fatal: No names found, cannot describe anything. - git tags: - no local changes - running: git pull origin stable Fetching origin Already on 'stable' Your branch is up to date with 'origin/stable'. Already up to date. ------------------------------------------ Updating /var/www/emoncms/Modules/wifi module ------------------------------------------ - git branch: stable - git tags: 2.0.0-29-g274bcd5 - no local changes - running: git pull origin stable Fetching origin Already on 'stable' Your branch is up to date with 'origin/stable'. Already up to date. /opt/openenergymonitor/EmonScripts/sudoers.d/wifi-sudoers: parsed OK wifi sudoers entry updated ------------------------------------------ Updating /opt/emoncms/modules/backup module ------------------------------------------ - git branch: stable - git tags: 2.2.2-6-g70894e1 - no local changes - running: git pull origin stable Already up to date. Already on 'stable' Your branch is up to date with 'origin/stable'. ------------------------------------------ Updating /opt/emoncms/modules/demandshaper module ------------------------------------------ - git branch: stable - git tags: 1.2.4-5-gd689aae - no local changes - running: git pull origin stable Already up to date. Already on 'stable' Your branch is up to date with 'origin/stable'. ------------------------------------------ Updating /opt/emoncms/modules/postprocess module ------------------------------------------ - git branch: stable - git tags: 2.1.3-4-g5c50627 - no local changes - running: git pull origin stable Already up to date. Already on 'stable' Your branch is up to date with 'origin/stable'. ------------------------------------------ Updating /opt/emoncms/modules/sync module ------------------------------------------ - git branch: stable - git tags: 2.0.5 - no local changes - running: git pull origin stable Already up to date. Already on 'stable' Your branch is up to date with 'origin/stable'. ------------------------------------------ Updating /opt/emoncms/modules/usefulscripts module ------------------------------------------ - git branch: stable fatal: No names found, cannot describe anything. - git tags: - no local changes - running: git pull origin stable Already up to date. Already on 'stable' Your branch is up to date with 'origin/stable'. -------------------------------------------- Backup module installation and update script -------------------------------------------- - Loading EmonScripts config.ini - Copying default.config.cfg to config.cfg - Setting config.cfg settings - Backup module symlink already exists - PHP Version: 7.3 - Creating /etc/php/7.3/mods-available/emoncmsbackup.ini post_max_size = 3G upload_max_filesize = 3G upload_tmp_dir = /var/opt/emoncms/backup/uploads - phpenmod emoncmsbackup - /var/opt/emoncms/backup already exists - /var/opt/emoncms/backup/uploads already exists - restarting apache Update Emoncms database [] ------------------------------------------------------------- emonPi update done: Tue 16 Jun 19:24:11 BST 2020 ------------------------------------------------------------- restarting service-runner