Skip to content

Vultr - APIv2 #3234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arturswi opened this issue Oct 4, 2023 · 8 comments · Fixed by #3387
Closed

Vultr - APIv2 #3234

arturswi opened this issue Oct 4, 2023 · 8 comments · Fixed by #3387
Labels
dns provider request This issue is a request to integrate a new DNS-challenge provider

Comments

@arturswi
Copy link

arturswi commented Oct 4, 2023

What provider would you like to see added to NPM?
VULTR

Have you checked if a certbot plugin exists?
Failed to add TXT record for "my-domain": Error fetching DNS domains list: 503 - Sorry, all newly created accounts are forbidden from using API v1, all other accounts are able to use this deprecated API until September 30, 2023 at which point Vultr API v1 will be sunset. Please use API v2.
More info: https://www.vultr.com/docs/vultr-api-v1-to-v2-transition-strategies/

@arturswi arturswi added the dns provider request This issue is a request to integrate a new DNS-challenge provider label Oct 4, 2023
@JBM1866
Copy link

JBM1866 commented Oct 30, 2023

This is also occurring on several instances that I run.
Needs to support the new V2 API for Vultr or a LOT of certifications are going to expire.

@Everglase
Copy link

This is also a issue for me as well as I have quite a number of certificates that are expiring and I can not renew them because of the API v2 not being implemented.

@clord
Copy link
Contributor

clord commented Nov 1, 2023

All of my lab systems are down because of this (edit: working around locally). Will this issue help?

I opened this issue with the certbot-dns-vultr repo where the error originated: lezgomatt/certbot-dns-vultr#3

@arturswi
Copy link
Author

arturswi commented Nov 2, 2023

my workaround

#download certbot for vultr with api v2 support
curl https://raw.githubusercontent.com/lezgomatt/certbot-dns-vultr/master/certbot_dns_vultr.py > /root/certbot_dns_vultr.py
#move old file as a backup
mv /opt/certbot/lib/python3.7/site-packages/certbot_dns_vultr.py /opt/certbot/lib/python3.7/site-packages/certbot_dns_vultr.py.bak
#replace old file new file
mv /root/certbot_dns_vultr.py /opt/certbot/lib/python3.7/site-packages/certbot_dns_vultr.py

@clord
Copy link
Contributor

clord commented Nov 2, 2023

certbot-dns-vultr is updated to work with the v2 api and that work is released, so I believe the only thing required is to bump the version in nginx-proxy-manager

I suppose this line needs to change to 1.1.0rc1. Looks like v1.1.0 is out now.

@Everglase
Copy link

my workaround

#download certbot for vultr with api v2 support curl https://raw.githubusercontent.com/lezgomatt/certbot-dns-vultr/master/certbot_dns_vultr.py > /root/certbot_dns_vultr.py #move old file as a backup mv /opt/certbot/lib/python3.7/site-packages/certbot_dns_vultr.py /opt/certbot/lib/python3.7/site-packages/certbot_dns_vultr.py.bak #replace old file new file mv /root/certbot_dns_vultr.py /opt/certbot/lib/python3.7/site-packages/certbot_dns_vultr.py

@arturswi I can't seem to find that "certbot_dns_vultr.py" file in that directory on in my docker container.

Any hints as to where it hides in the docker?

@phauxcamus
Copy link

Another workaround until the container is updated is to use pip to upgrade, then restart the container:

docker exec -it nginx-proxy-manager "pip install --upgrade certbot certbot-dns-vultr"
docker restart nginx-proxy-manager

@mstummer
Copy link

Thanks so much for posting the workaround, that got my domains going again:

  • first did the pip install as suggested above
  • then ran into the issue "Can't create table 'npm'.'migrations" described here and followed workaround there: Bad Gateway - error create table npm.migrations Permission Denied #1499
  • then couldn't renew the certificates, but deleting them and issuing new ones worked. ("The requested certbot-dns-vultr:dns-vultr plugin does not appear to be installed")

clord added a commit to clord/nginx-proxy-manager that referenced this issue Dec 13, 2023
@jc21 jc21 closed this as completed in #3387 Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dns provider request This issue is a request to integrate a new DNS-challenge provider
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants