The symlinks in the /live/[domain] name keep disappearing within 1 minute.
I'm running a Docker container for self-hosted bitwarden. The certificate is created and works fine. However, the symlinks in the /live/[domain] folder pointing to the files in the /archive/[domain] folder keep disappearing, resulting in simple 0-byte files in the /live/[domain] folder.
I have recreated the symlink files in the WSL console and from Windows with the same result.
I am able to create symlinks in the parent folder folder - /live (i.e. not in the [domain] subfolder) and the symlinks remain stable.
My domain is: bw,davekiernan.com
I ran this command: dir
It produced this output:
right after creating the symlinks
07/05/2022 08:02 PM cert.pem [....\archive\bw.davekiernan.com\cert3.pem]
07/05/2022 08:02 PM chain.pem [....\archive\bw.davekiernan.com\chain3.pem]
12/05/2021 11:18 AM 424 dhparam.pem
07/05/2022 08:02 PM fullchain.pem [....\archive\bw.davekiernan.com\fullchain3.pem]
07/05/2022 08:02 PM privkey.pem [....\archive\bw.davekiernan.com\privkey3.pem]
one minute after getting the output above, the same dir produces:
07/05/2022 08:02 PM 0 cert.pem
07/05/2022 08:02 PM 0 chain.pem
12/05/2021 11:18 AM 424 dhparam.pem
07/05/2022 08:02 PM 0 fullchain.pem
07/05/2022 08:02 PM 0 privkey.pem
Notice the timestamps are the same, but the files are no longer symlinks.
My web server is (include version): nginx
The operating system my web server runs on is (include version): Windows 10, Docker
My hosting provider, if applicable, is: self hosted bitwarden
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): n/a