Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update done but in fact no update is done #21

Open
darrepac opened this issue Apr 2, 2021 · 2 comments
Open

Update done but in fact no update is done #21

darrepac opened this issue Apr 2, 2021 · 2 comments

Comments

@darrepac
Copy link

darrepac commented Apr 2, 2021

Hello

I am just starting using your plugin manager that sounds great.
I am willing to update Shelly_MQTT plugin that I have running on version 0.5.5 in my system
On Shelly_MQTT repository the version is 0.5.9 and when I press update in plugin manager, and it says that the update has been done and to restart domoticz but in fact the version is still 0.5.5
What I am missing?

thx

@darrepac
Copy link
Author

darrepac commented Apr 4, 2021

Here is the log during update process:

 Updating Plugin:Shelly MQTT translator
2021-04-04 10:32:34.435 (Plugin Manager) Checking plugin "Shelly MQTT" for updates
2021-04-04 10:32:35.404 (Plugin Manager) Calling:LANG=en_US /usr/bin/git status -uno on folder /home/pi/domoticz/plugins/Shelly_MQTT
2021-04-04 10:32:35.467 (Plugin Manager) Git Response:b'On branch master\nYour branch is behind \'origin/master\' by 16 commits, and can be fast-forwarded.\n (use "git pull" to update your local branch)\n\nChanges not staged for commit:\n (use "git add <file>..." to update what will be committed)\n (use "git checkout -- <file>..." to discard changes in working directory)\n\n\tmodified: mqtt.py\n\tmodified: plugin.py\n\nno changes added to commit (use "git add" and/or "git commit -a")\n'
2021-04-04 10:32:35.468 (Plugin Manager) Calling: "LANG=en_US /usr/bin/git pull --force" on folder /home/pi/domoticz/plugins/Shelly_MQTT
2021-04-04 10:32:36.420 (Plugin Manager) Git Response:b'Updating c5efbc6..0636aee\n'
2021-04-04 10:32:36.420 (Plugin Manager) Succesfully pulled gitHub update: c5efbc6..0636ae for plugin Shelly MQTT translator
2021-04-04 10:32:36.420 (Plugin Manager) ---Restarting Domoticz MAY BE REQUIRED to activate new plugins---

@darrepac
Copy link
Author

darrepac commented May 15, 2021

Seems there was a git conflict (local changes). Could be nice to handle it in the GUI (at least copy the git error message)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant