Hello @Robert.Wall @TrystanLea ,
Thanks again for your assistance with this.
I tried moving all the system components from Stable to Master, and back again (via the Admin/Components page). No difference.
I tried using the same commands as suggested in that other post on both the App and Sync modules.
pi@emonpi:/var/www/emoncms/Modules/app $ git status
On branch stable
Your branch is up to date with 'origin/stable'.
nothing to commit, working tree clean
pi@emonpi:/var/www/emoncms/Modules/app $ git pull origin stable
From https://github.com/emoncms/app
* branch stable -> FETCH_HEAD
Already up to date.
pi@emonpi:/var/www/emoncms/Modules/app $ git checkout .
Updated 0 paths from the index
pi@emonpi:/var/www/emoncms/Modules/app $
pi@emonpi:/opt/emoncms/modules/sync/sync-module $ git status
On branch stable
Your branch is up to date with 'origin/stable'.
nothing to commit, working tree clean
pi@emonpi:/opt/emoncms/modules/sync/sync-module $ git pull origin stable
From https://github.com/emoncms/sync
* branch stable -> FETCH_HEAD
Already up to date.
pi@emonpi:/opt/emoncms/modules/sync/sync-module $ git checkout .
Updated 0 paths from the index
pi@emonpi:
Here’s the most recent full upgrade log
Updating /var/www/emoncms
- current branch: master
- local changes: no
- git fetch:
Switched to branch '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/app
- current branch: master
- local changes: no
- git fetch:
Switched to branch '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:
Switched to branch '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/dashboard
- current branch: master
- local changes: no
- git fetch:
Switched to branch '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: master
- local changes: no
- git fetch:
Switched to branch '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: master
- local changes: no
- git fetch:
Switched to branch '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/setup
- current branch: master
- local changes: no
- git fetch:
Switched to branch '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: master
- local changes: no
- git fetch:
Switched to branch '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:
Switched to branch '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)
This script must be run as root
Try "sudo /opt/emoncms/modules/network/install.sh"
- component updated
Updating /opt/emoncms/modules/postprocess
- current branch: master
- local changes: no
- git fetch:
Switched to branch '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:
Switched to branch '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)
[]
- 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: master
- local changes: no
- git fetch:
Switched to branch '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/openenergymonitor/avrdude-rpi
- current branch: master
- local changes: no
- git fetch:
Switched to a new branch 'stable'
- git checkout: branch 'stable' set up to track 'origin/stable'.
- git pull: Already up to date.
- database update: no changes
- component updated
Updating /opt/openenergymonitor/emonhub
- current branch: master
- local changes: no
- git fetch:
Switched to branch '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)
EmonHub directory: /opt/openenergymonitor/emonhub
emonSD_pi_env provided in arg = 1
user provided as arg = pi
installing or updating emonhub dependencies
Reading package lists...
Building dependency tree...
Reading state information...
python3-serial is already the newest version (3.5-1.1).
python3-configobj is already the newest version (5.0.8-1).
python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
python3-pymodbus is already the newest version (3.0.0-7).
bluetooth is already the newest version (5.66-1+rpt1+deb12u2).
python3-spidev is already the newest version (20200602~200721-1+bookworm).
0 upgraded, 0 newly installed, 0 to remove and 246 not upgraded.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: paho-mqtt==1.6.1 in /home/pi/.local/lib/python3.11/site-packages (1.6.1)
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.28.1)
Requirement already satisfied: py-sds011 in /home/pi/.local/lib/python3.11/site-packages (0.9)
Requirement already satisfied: sdm_modbus in /home/pi/.local/lib/python3.11/site-packages (0.7.0)
Requirement already satisfied: minimalmodbus in /home/pi/.local/lib/python3.11/site-packages (2.1.1)
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (from py-sds011) (3.5)
Requirement already satisfied: pymodbus>=3.5.0 in /home/pi/.local/lib/python3.11/site-packages (from sdm_modbus) (3.6.3)
Requirement already satisfied: pyserial-asyncio>=0.6.0 in /usr/lib/python3/dist-packages (from sdm_modbus) (0.6)
Remove console from /boot/cmdline.txt
Stop and disable serial service
Unit /etc/systemd/system/[email protected] is masked, ignoring.
/etc/emonhub directory already exists
Setting ownership of /var/log/emonhub to pi
Setting ownership of /var/log/emonhub/emonhub.log to pi and permissions to 644
Installing /usr/local/bin/emonhub symlink
emonhub.service already installed
- Service ActiveState=active
- component updated
Updating /opt/openenergymonitor/emonPiLCD
- current branch: master
- local changes: no
- git fetch:
Switched to branch '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)
- installing python3-rpi-lgpio
Reading package lists...
Building dependency tree...
Reading state information...
python3-rpi-lgpio is already the newest version (0.6-0~rpt1).
0 upgraded, 0 newly installed, 0 to remove and 246 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3-smbus is already the newest version (4.3-2+b2).
i2c-tools is already the newest version (4.3-2+b2).
python3-gpiozero is already the newest version (2.0.1-0+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 246 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libopenjp2-7 is already the newest version (2.5.0-2+deb12u2).
0 upgraded, 0 newly installed, 0 to remove and 246 not upgraded.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: redis in /usr/local/lib/python3.11/dist-packages (5.0.1)
Requirement already satisfied: paho-mqtt in /home/pi/.local/lib/python3.11/site-packages (1.6.1)
Requirement already satisfied: xmltodict in /home/pi/.local/lib/python3.11/site-packages (0.13.0)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.28.1)
Requirement already satisfied: adafruit-circuitpython-ssd1306 in /home/pi/.local/lib/python3.11/site-packages (2.12.16)
Requirement already satisfied: Pillow in /home/pi/.local/lib/python3.11/site-packages (10.2.0)
Requirement already satisfied: async-timeout>=4.0.2 in /usr/local/lib/python3.11/dist-packages (from redis) (4.0.3)
Requirement already satisfied: Adafruit-Blinka in /home/pi/.local/lib/python3.11/site-packages (from adafruit-circuitpython-ssd1306) (8.31.0)
Requirement already satisfied: adafruit-circuitpython-busdevice in /home/pi/.local/lib/python3.11/site-packages (from adafruit-circuitpython-ssd1306) (5.2.6)
Requirement already satisfied: adafruit-circuitpython-framebuf in /home/pi/.local/lib/python3.11/site-packages (from adafruit-circuitpython-ssd1306) (1.6.5)
Requirement already satisfied: Adafruit-PlatformDetect>=3.53.0 in /home/pi/.local/lib/python3.11/site-packages (from Adafruit-Blinka->adafruit-circuitpython-ssd1306) (3.59.0)
Requirement already satisfied: Adafruit-PureIO>=1.1.7 in /home/pi/.local/lib/python3.11/site-packages (from Adafruit-Blinka->adafruit-circuitpython-ssd1306) (1.1.11)
Requirement already satisfied: pyftdi>=0.40.0 in /home/pi/.local/lib/python3.11/site-packages (from Adafruit-Blinka->adafruit-circuitpython-ssd1306) (0.55.0)
Requirement already satisfied: adafruit-circuitpython-typing in /home/pi/.local/lib/python3.11/site-packages (from Adafruit-Blinka->adafruit-circuitpython-ssd1306) (1.9.6)
Requirement already satisfied: RPi.GPIO in /home/pi/.local/lib/python3.11/site-packages (from Adafruit-Blinka->adafruit-circuitpython-ssd1306) (0.7.1)
Requirement already satisfied: rpi-ws281x>=4.0.0 in /home/pi/.local/lib/python3.11/site-packages (from Adafruit-Blinka->adafruit-circuitpython-ssd1306) (5.0.0)
Requirement already satisfied: sysv-ipc>=1.1.0 in /home/pi/.local/lib/python3.11/site-packages (from Adafruit-Blinka->adafruit-circuitpython-ssd1306) (1.1.0)
Requirement already satisfied: pyusb!=1.2.0,>=1.0.0 in /home/pi/.local/lib/python3.11/site-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-ssd1306) (1.2.1)
Requirement already satisfied: pyserial>=3.0 in /usr/lib/python3/dist-packages (from pyftdi>=0.40.0->Adafruit-Blinka->adafruit-circuitpython-ssd1306) (3.5)
Requirement already satisfied: adafruit-circuitpython-requests in /home/pi/.local/lib/python3.11/site-packages (from adafruit-circuitpython-typing->Adafruit-Blinka->adafruit-circuitpython-ssd1306) (2.0.4)
Requirement already satisfied: typing-extensions~=4.0 in /home/pi/.local/lib/python3.11/site-packages (from adafruit-circuitpython-typing->Adafruit-Blinka->adafruit-circuitpython-ssd1306) (4.9.0)
- reinstalling emonPiLCD.service
Removed "/etc/systemd/system/emonPiLCD.service".
Removed "/etc/systemd/system/multi-user.target.wants/emonPiLCD.service".
- installing emonPiLCD.service
Created symlink /etc/systemd/system/emonPiLCD.service → /opt/openenergymonitor/emonPiLCD/emonPiLCD.service.
Created symlink /etc/systemd/system/multi-user.target.wants/emonPiLCD.service → /opt/openenergymonitor/emonPiLCD/emonPiLCD.service.
- Service ActiveState=active
- component updated
Updating /opt/openenergymonitor/EmonScripts
- current branch: master
- local changes: no
- git fetch:
Switched to branch '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/openenergymonitor/RFM2Pi
- current branch: master
- local changes: no
- git fetch:
Switched to a new branch 'stable'
- git checkout: branch 'stable' set up to track 'origin/stable'.
- git pull: Already up to date.
- database update: no changes
- component updated
- all components updated
Not sure if this (from the log above) is an issue?
Defaulting to user installation because normal site-packages is not writeable
I don’t remember ever changing any ‘ini’ settings via SSH - all done via UI.
Also, I’m pretty sure ‘Demand Shaper’ module was installed before, although I wasn’t using it.
thanks again.