How to Upgrade from Plugin: 7.1.011. Backup/Restore plugin.py
Posted: Monday 28 October 2024 13:42
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
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