Skip to content

Circular dependency on clickhouse proxy deployment #232

@LDiazN

Description

@LDiazN

When you try to deploy de clickhouse proxy you might get an error where nginx is unable to start due to a missing dehydrated file (fullchain.pem)

To generate this file, you need to start dehydrated and pass the ACME challenge

But to pass the challenge you need to have nginx running and serving a file, and it begins a circular dependency

Usually the way to solve this manually is to move the prometheus-proxy.conf file (which requires the fullchain.pem) out of /etc/nginx/conf.d , restart nginx, restart dehydrated, move prometheus-proxy.conf back to /etc/nginx/conf.d and reboot nginx again.

We should find a way to set this up in the correct order so that this maneuver is not necessary

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions