-
Notifications
You must be signed in to change notification settings - Fork 455
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
Updating modules #68
Comments
Can you please provide some more information on the full container image names (including tags) you created before and after the deployment. The Edge Agent will only detect a change in image if the new image tag differs from the previous one. If both images are pushed with tag 'latest', the Edge Agent will not detect the change in deployment and will only pull the new image the next time IoT Edge is reset. |
Oh that is based on meta info and not on changes in code itself? That would explain my case. |
Yes, please up the version. If you are using the VS Code extension, it can be changed in module.json. The Edge Agent cannot detect changes in code because the code is packaged inside a container. It detects a change in container based on the properties of the image. |
Ok clear, thanks! |
If I have a new or updated image for an existring module how can I update it manually though the Portal or something w/o using Visual Studio Code functionality ? |
@dsajanice I am updating the version in the module.json file, yet still experiencing the issue which @nhuurnink described. Any advice? |
Hi there,
When I'm trying to update a module by using "Create deployment to single device" in VSC, it states Deployment succeeded. However on my device the module seems to keep running, and I don't see any changes in behavior until I completely reset IoT Edge.
What is required to force the module to re-run with the new deployed code? Or am I thinking about this whole process the wrong way?
The text was updated successfully, but these errors were encountered: