Skip to content
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

Can't update the dns (gandi): Duplicate keyword name at line 60. #3649

Open
3v1n0 opened this issue Jun 17, 2024 · 2 comments
Open

Can't update the dns (gandi): Duplicate keyword name at line 60. #3649

3v1n0 opened this issue Jun 17, 2024 · 2 comments
Labels

Comments

@3v1n0
Copy link

3v1n0 commented Jun 17, 2024

Describe the issue you are experiencing

When launching the addon I'm always getting this:

Error parsing credentials configuration '/data/dnsapikey': Duplicate keyword name at line 60.

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Debian

Which add-on are you reporting an issue with?

Let's Encrypt

What is the version of the add-on?

5.0.18

Steps to reproduce the issue

  1. Launch the addon
  2. Don't profit

System Health information

.

Anything in the Supervisor logs that might be useful for us?

Basically the dnsapikey file contained for me dns_gandi_api_key duplicated entry:

dns_desec_token = null                                  
 dns_digitalocean_token = null                          
 dns_directadmin_url = null                             
 dns_directadmin_username = null                        
 dns_directadmin_password = null                        
 dns_dnsimple_token = null                              
 dns_dnsmadeeasy_api_key = null   
 dns_dnsmadeeasy_secret_key = null
 dns_duckdns_token = null  
 dns_dynu_auth_token = null     
 dns_gandi_api_key = FooBarBaz                        
 dns_gehirn_api_token = null                            
 dns_gehirn_api_secret = null
 dns_hetzner_api_token = null                                                                           
 dns_infomaniak_token = null                            
 dns_linode_key = null                                  
 dns_linode_version = null                              
 dns_luadns_email = null                                                                                         
 dns_luadns_token = null                                                                                         
 dns_namecheap_username = null                                                                                   
 dns_namecheap_api_key = null                                                                                    
 dns_netcup_customer_id = null                                                                                   
 dns_netcup_api_key = null                                                                                       
 dns_netcup_api_password = null                                                                                  
 dns_njalla_token = null                                
 dns_nsone_api_key = null                               
 dns_porkbun_key = null                                 
 dns_porkbun_secret = null                              
 dns_ovh_endpoint = null                                
 dns_ovh_application_key = null                         
 dns_ovh_application_secret = null
 dns_ovh_consumer_key = null      
 dns_rfc2136_server = null 
 dns_rfc2136_port = null                                
 dns_rfc2136_name = null                                
 dns_rfc2136_secret = null                              
 dns_rfc2136_algorithm = null
 aws_access_key_id = null                               
 aws_secret_access_key = null                           
 dns_sakuracloud_api_token = null                       
 dns_sakuracloud_api_secret = null                                                                               
 dns_transip_username = null                                                                                     
 dns_transip_key_file = /data/transip-rsa.key                                                                    
 dns_inwx_url = https://api.domrobot.com/xmlrpc/                                                                 
 dns_inwx_username = null                                                                                        
 dns_inwx_password = null                                                                                        
 dns_inwx_shared_secret = null                                                                                   
 dns_google_domains_access_token = null                 
 dns_cloudns_auth_password = null                       
 dns_dreamhost_baseurl = null                           
 dns_dreamhost_api_key = null                           
 dns_he_user = null                                     
 dns_he_pass = null                                     
 dns_easydns_endpoint = null      
 dns_easydns_usertoken = null     
 dns_easydns_userkey = null
 dns_websupport_identifier = null                       
 dns_websupport_secret_key = null                       
                                                        
dns_gandi_api_key = FooBarBaz

Anything in the add-on logs that might be useful for us?

No response

Additional information

I've been able to workaround this myself, by re-editing the file on the fly while the the update was happening, removing the duplicate entry. Otherwise there was no way for me to run the addon

@MathieuEtcheverria
Copy link

MathieuEtcheverria commented Jun 18, 2024

gandi_api_key is deprecated.
open your Gandi account and generate a token 👍
Update :
gandi_api_key : xxxxxxx
to
gandi_token: xxxxxxxxx

#3625 (comment)

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants