➜ ~ /opt/openenergymonitor/EmonScripts/update/service-runner-update.sh all $firmware_key $serial_port Starting update via service-runner-update.sh (v3.0) > Filesystem Size Used Avail Use% Mounted on rpool/data/subvol-109-disk-0 10G 1.4G 8.7G 14% / none 492K 4.0K 488K 1% /dev tmpfs 48G 0 48G 0% /dev/shm tmpfs 19G 168K 19G 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 9.5G 0 9.5G 0% /run/user/1000 tmpfs 9.5G 0 9.5G 0% /run/user/1001 - Could not find emonSD version file git pull /opt/openenergymonitor/EmonScripts On branch stable Your branch is up to date with 'origin/stable'. Untracked files: (use "git add ..." to include in what will be committed) install/phpredis/ nothing added to commit but untracked files present (use "git add" to track) Already up to date. ------------------------------------------------------------- Main Update Script ------------------------------------------------------------- Date: Mon Oct 21 07:56:16 BST 2024 EUID: 1001 openenergymonitor_dir: /opt/openenergymonitor type: all serial_port: ttyAMA0 firmware: emonPi_discrete_jeelib Traceback (most recent call last): File "/opt/openenergymonitor/EmonScripts/other/i2cdetect.py", line 4, in bus = smbus.SMBus(1) FileNotFoundError: [Errno 2] No such file or directory Hardware detected: rfm2pi Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.4). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: redis in /usr/local/lib/python3.10/dist-packages (5.0.4) Requirement already satisfied: async-timeout>=4.0.3 in /usr/local/lib/python3.10/dist-packages (from redis) (4.0.3) Running apt-get update Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease Get:4 https://pkgs.tailscale.com/stable/ubuntu jammy InRelease Hit:5 https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy InRelease Fetched 6578 B in 1s (4655 B/s) Reading package lists... Done Start emonhub update script: ------------------------------------------------------------- emonHub update ------------------------------------------------------------- Enabling SPI for RFM69SPI Updating /opt/openenergymonitor/emonhub - current branch: stable WARNING local changes in /opt/openenergymonitor/emonhub - Module not updated - git status: On branch stable Your branch is up to date with 'origin/stable'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: conf/emonhub.conf Untracked files: (use "git add ..." to include in what will be committed) src/src no changes added to commit (use "git add" and/or "git commit -a") Start emoncms update: ------------------------------------------------------------- Update Emoncms Core ------------------------------------------------------------- Updating /var/www/emoncms - current branch: stable - local changes: no - git fetch: Fetching origin Already on 'stable' - git checkout: Your branch is up to date with 'origin/stable'. - git pull: Already up to date. - database update: no changes - component updated ------------------------------------------------------------- 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=active --- ------------------------------------------------------------- Update Emoncms Modules ------------------------------------------------------------- Updating /var/www/emoncms/Modules/app - current branch: stable - local changes: no - git fetch: Fetching origin Already on 'stable' - git checkout: Your branch is up to date with 'origin/stable'. - git pull: Already up to date. - database update: no changes - component updated Updating /var/www/emoncms/Modules/config - current branch: master - local changes: no - git fetch: Fetching origin Already on 'master' - git checkout: Your branch is up to date with 'origin/master'. - git pull: Already up to date. - database update: no changes - component updated Updating /var/www/emoncms/Modules/dashboard - current branch: stable - local changes: no - git fetch: Fetching origin Already on 'stable' - git checkout: Your branch is up to date with 'origin/stable'. - git pull: Already up to date. - database update: no changes - component updated Updating /var/www/emoncms/Modules/device - current branch: stable - local changes: no - git fetch: Fetching origin Already on 'stable' - git checkout: Your branch is up to date with 'origin/stable'. - git pull: Already up to date. - database update: no changes - component updated Updating /var/www/emoncms/Modules/graph - current branch: stable - local changes: no - git fetch: Fetching origin Already on 'stable' - git checkout: Your branch is up to date with 'origin/stable'. - git pull: Already up to date. - database update: no changes - component updated Updating /opt/emoncms/modules/backup - current branch: stable - local changes: no - git fetch: Fetching origin Already on 'stable' - git checkout: Your branch is up to date with 'origin/stable'. - git pull: Already up to date. - database update: no changes - running module install/update script (user=pi) - config.cfg already exists, left unmodified - creating /etc/php/8.1/mods-available/emoncmsbackup.ini post_max_size = 3G upload_max_filesize = 3G upload_tmp_dir = /var/opt/emoncms/backup/uploads - phpenmod emoncmsbackup - restarting apache - component updated Updating /opt/emoncms/modules/network - current branch: master - local changes: no - git fetch: Fetching origin Already on 'master' - git checkout: Your branch is up to date with 'origin/master'. - git pull: Already up to date. - database update: no changes - running module install/update script (user=pi) This script must be run as root Try "sudo /opt/emoncms/modules/network/install.sh" - component updated Updating /opt/emoncms/modules/postprocess - current branch: stable - local changes: no - git fetch: Fetching origin Already on 'stable' - git checkout: Your branch is up to date with 'origin/stable'. - git pull: Already up to date. - database update: no changes - component updated Updating /opt/emoncms/modules/sync - current branch: master - local changes: no - git fetch: Fetching origin Already on 'master' - git checkout: Your branch is up to date with 'origin/master'. - git pull: Already up to date. - database update: no changes - running module install/update script (user=pi) [] - reinstalling emoncms_sync.service Removed /etc/systemd/system/multi-user.target.wants/emoncms_sync.service. Created symlink /etc/systemd/system/multi-user.target.wants/emoncms_sync.service -> /lib/systemd/system/emoncms_sync.service. - Service ActiveState=active - component updated Updating /opt/emoncms/modules/usefulscripts - current branch: stable - local changes: no - git fetch: Fetching origin Already on 'stable' - git checkout: Your branch is up to date with 'origin/stable'. - git pull: Already up to date. - database update: no changes - component updated ------------------------------------------------------------- System update done: Mon Oct 21 07:56:28 BST 2024 ------------------------------------------------------------- restarting service-runner