1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/matrix-client-element/templates
Slavi Pantaleev 512f42aa76 Do not report docker kill/rm attempts as errors
These are just defensive cleanup tasks that we run.
In the good case, there's nothing to kill or remove, so they trigger an
error like this:

> Error response from daemon: Cannot kill container: something: No such container: something

and:

> Error: No such container: something

People often ask us if this is a problem, so instead of always having to
answer with "no, this is to be expected", we'd rather eliminate it now
and make logs cleaner.

In the event that:
- a container is really stuck and needs cleanup using kill/rm
- and cleanup fails, and we fail to report it because of error
suppression (`2>/dev/null`)

.. we'd still get an error when launching ("container name already in use .."),
so it shouldn't be too hard to investigate.
2021-01-27 10:22:46 +02:00
..
systemd Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
config.json.j2 Allow configuration of Element's bug_report_endpoint_url and showLabsSettings 2020-09-24 18:37:31 -05:00
nginx.conf.j2 Riot is now Element 2020-07-17 11:31:20 +03:00
welcome.html.j2 element web : update welcome page template 2020-09-29 12:33:47 +02:00