*The nginx plugin is not working* *NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly.")*
#10
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The nginx plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly.")
```
certbot --nginx --key-type ecdsa --elliptic-curve secp384r1 -d private.yt.lemnoslife.com,v.lemnoslife.com,videos.lemnoslife.com,gitea.lemnoslife.com,server0.lemnoslife.com,gitlab.lemnoslife.com,crawler.yt.lemnoslife.com,yt4.lemnoslife.com,overleaf.lemnoslife.com,etesync.lemnoslife.com
```
<details>
<summary>Output:</summary>
```
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The nginx plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly.")
```
</details>
Source: https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$oqK08rnaUbU5KyFu7M0CJhRCHHckIgG_WlX3wuJOPys
When OverClock3000 `root` `crontab` runs.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certificate not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/gitea.lemnoslife.com-0001.conf)
What would you like to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel):
When run manually:
```bash
certbot --nginx --key-type ecdsa --elliptic-curve secp384r1 -d v.lemnoslife.com,videos.lemnoslife.com,gitea.lemnoslife.com,server0.lemnoslife.com,gitlab.lemnoslife.com,overleaf.lemnoslife.com,etesync.lemnoslife.com
```
<details>
<summary>Output:</summary>
```
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certificate not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/gitea.lemnoslife.com-0001.conf)
What would you like to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel):
```
</details>
Same when run automatically, see https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$XY3WNQRhkAMveMwwYDZPmjpQK37Vg8ImPmz-VGR8m7c.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Output:
Source: https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$oqK08rnaUbU5KyFu7M0CJhRCHHckIgG_WlX3wuJOPys
When OverClock3000
rootcrontabruns.Face again this issue.
When run manually:
Output:
Same when run automatically, see https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$XY3WNQRhkAMveMwwYDZPmjpQK37Vg8ImPmz-VGR8m7c.
DuckDuckGo search
"Could not find a usable 'nginx' binary".DuckDuckGo search Linux get domain name HTTPS expiration date. I suspect already having searched that.
The Stack Overflow answer 21297927 helps to establish the Bash script:
The Stack Overflow answer 74171106 solves this issue by adding
--nginx-ctl /usr/sbin/nginxto thecrontab.