Hi!
I am having incredible difficulty upgrading to the latest version.
When i try i got this error
"error: Your local changes to the following files would be overwritten by merge:
plugin.py
Please commit your changes or stash them before you merge.
Aborting
Updating 5fea01e2..7b6f080e
ERROR while running command 'git pull --recurse-submodules'.
Git Status: On branch stable7
Your branch is behind 'origin/stable7' by 316 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
modified: plugin.py
Untracked files:
(use "git add ..." to include in what will be committed)
.gitconfig
ReportsTransport-stats.json
no changes added to commit (use "git add" and/or "git commit -a")
What does it mean? I made a backup true FTP and follow this step
In case of error
If you have edited/updated some of the plugin controlled file, you might get an error message protecting any update. In such situation you can reset those files with the latest version with the following commands
git reset --hard
git pull --forceand try to restore the file after update
After update i got difficult problems and the system crashed. I had to restore the memory card to previous backups
How can I update? please help. I'm noob in Linux....
Rasp 4+
Domoticz 2024.7
How to Upgrade from Plugin: 7.1.011. Backup/Restore plugin.py
Moderator: leecollings
-
- Posts: 1995
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: How to Upgrade from Plugin: 7.1.011. Backup/Restore plugin.py
it is really hard to answer, as there is not much error provided.
What did you ? what version are you know ? what are the logs ?
At least can you do the following and provide the full output.
From the plugin home directory
Please provide the Domoticz and plugin log file
What did you ? what version are you know ? what are the logs ?
At least can you do the following and provide the full output.
From the plugin home directory
Code: Select all
git status
Code: Select all
cat .hidden/VERSION
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
-
- Posts: 36
- Joined: Thursday 12 February 2015 22:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Contact:
Re: How to Upgrade from Plugin: 7.1.011. Backup/Restore plugin.py
Hi, here is the logs. The only changes I have made in Zigbee for Domoitcz is change the "Friendly Name" Management -> Device Management on my devices
- Attachments
-
- plugin errors.txt
- (24.77 KiB) Downloaded 7 times
-
- Zigbee update problem.jpg (109.73 KiB) Viewed 900 times
-
- Domoticz Logfile.txt
- (5.28 KiB) Downloaded 10 times
-
- Posts: 36
- Joined: Thursday 12 February 2015 22:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Contact:
Re: How to Upgrade from Plugin: 7.1.011. Backup/Restore plugin.py
Any suggestions? :
-
- Posts: 1995
- Joined: Monday 02 April 2018 20:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: France
- Contact:
Re: How to Upgrade from Plugin: 7.1.011. Backup/Restore plugin.py
from the plugin home directory
Reset the ownership of all plugin file to Pi
# get rid of local modifications
the restart domoticz
Reset the ownership of all plugin file to Pi
Code: Select all
sudo chown -R pi:pi .
Code: Select all
git reset --hard
git pull
sudo python3 -m pip install -r requirements.txt --upgrade
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
If the plugin provides you value, you can support me with a donation Paypal.
Wiki is available here.
Zigbee for Domoticz FAQ
Who is online
Users browsing this forum: PaulAmsterdam and 0 guests