Scheduled docker Data Importer and Failed to open stream : Permission denied #8489
-
Hi, Most likely a question for community using the data-importer with docker, more than for the developer himself. I'm using the scheduled docker data importer using this method and see the error Failed to open stream : Permission denied
So I tried the trick:
So I'm trying now this FAQ So yeah, I would like to know how people using docker and who imports daily the data managed this Failed to open stream : Permission denied error. Thanks by advance, community. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For those who would have the same issue, I think I found a stable solution. On docker compose, I just added an healthcheck and actually also an autoheal service and for the last few days, the imports have all been successfull. I'm still learning docker but that seems useful. |
Beta Was this translation helpful? Give feedback.
For those who would have the same issue, I think I found a stable solution.
On docker compose, I just added an healthcheck
healthcheck: test: curl --fail http://ip:port/health || exit 1 interval: 600s timeout: 3s retries: 3 start_period: 300s
and actually also an autoheal service
autoheal: image: willfarrell/autoheal:1.2.0 volumes: - "/var/run/docker.sock:/var/run/docker.sock" environment: AUTOHEAL_CONTAINER_LABEL: autoheal AUTOHEAL_START_PERIOD: 600 AUTOHEAL_INTERVAL: 30
and for the last few days, the imports have all been successfull. I'm still learning docker but that seems useful.