Page 1 of 1
Update from Beta need to reinstall solaredge
Posted: Tuesday 08 July 2025 11:09
by hjzwiers
I have a strange thing in my installation. I am running Dockge and have everything installed and running well.
When I do an update of domoticz beta i get a failure from the solaredge modbustcp app and need to reinstall
pip3 install pymodbus==3.6.9
pip3 install solaredge_modbus==0.8.0
from within in the domoticz folder, why is this necessary?
Re: Update from Beta need to reinstall solaredge
Posted: Thursday 24 July 2025 8:13
by jannl
Seems like normal behaviour. When you install a new docker container, the added installs are not present anymore and to be reinstalled. The same happens when you bring the container down.
Not sure how this works with dockge, but checkout customstart.sh to automate this.
Edit: I looked up dockge and it seems a tool to simplify the maintenance of the yaml files and the stop/start of the containers. I have just very few containers and 'vi rules', so I stick to the command line. But the remark of customstart still stands.
Re: Update from Beta need to reinstall solaredge
Posted: Thursday 24 July 2025 8:17
by eddieb
add the following lines to /opt/stacks/domoticz/config/customstart.sh
echo installing python requirements for solaredge-modbus-tcp
cd /opt/domoticz/userdata/plugins/domoticz-solaredge-modbustcp-plugin/
python3 -m pip install -r requirements.txt --upgrade
echo done
Re: Update from Beta need to reinstall solaredge
Posted: Thursday 24 July 2025 20:59
by hjzwiers
Thanks, I've implemented this and will try!
Re: Update from Beta need to reinstall solaredge
Posted: Thursday 24 July 2025 21:17
by waltervl
For use of the custom start script see the wiki
https://wiki.domoticz.com/Docker#custom ... _container
For example, it is better to make sure it only runs at first startup. The mechanism is explained in the wiki.