Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

mv: can't rename '/etc/nginx/vhost.d/example.com.new': Resource busy #11

@jice-lavocat

Description

@jice-lavocat

Hi there,

Thanks for this really great container. I am using a few containers and I use docker-compose v2 syntax. Some of them have custom vhost.d config files (I'm using the Per-VIRTUAL_HOST configuration).

So, I guess there is some conflicts appearing when the container tries to generate the vhost config to pass the validation. Indeed, when I keep my vhost config files in the compose file, I encounter the following error :
mv: can't rename '/etc/nginx/vhost.d/example.com.new': Resource busy

And this prevents the validation of the given domain.

I managed to do the generation, by disabling temporarily my custom vhost conf files, running the container, then re-enabling them. But this is not really a solution, and I'm not sure that the renewal will work.

Is it a bug from the container, or a configuration I am missing ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions