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

Recreating a docker container causes errors looking for old one until reboot #122

Closed
bartowski1182 opened this issue Apr 21, 2023 · 6 comments

Comments

@bartowski1182
Copy link

When I bring a docker container down and back up, I see my logs spammed with:

2023-04-21 16:16:03.098 ERROR (Thread-2 (RunDocker)) [custom_components.monitor_docker.helpers] [Docker] teslamate_teslamate_1: Container not available anymore (3) (DockerError(404, 'No such container: bc556f452791ea270bf943e754ba42a4c55426700f7997113be784fc7b4a8772'))

The annoying part is that the sensors are updated fine and are able to bind to the new docker container, despite the errors in the logs. Can we either get a fix for this or a way restart the monitor_docker integration?

@AlexKusnezov
Copy link

same here, thanks for pointing it out

@derekoharrow
Copy link

Duplicate of #104

I've raised a new request (#124) asking to add a reload capability which would at least avoid the need to restart HA.

@ualex73
Copy link
Owner

ualex73 commented May 17, 2024

Can you test the latest version, I believe it is fixed in this one. If confirmed, I will make a new version.

@derekoharrow
Copy link

Looking good so far. I have only been running it for about 30 minutes, but have killed and re-created some containers and it seems to be ok.

@ualex73
Copy link
Owner

ualex73 commented May 18, 2024

Sounds like a good test 👍

@ualex73
Copy link
Owner

ualex73 commented May 25, 2024

No negative response, so I will close this ticket :-) if it happens again, please raise a new ticket with info.

@ualex73 ualex73 closed this as completed May 25, 2024
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

4 participants