Headplane upgrade not working

What app is this about, and its version: Headplane 0.6.1
What YunoHost version are you running: 12.1.35
What type of hardware are you using: Raspberry Pi 3, 4+

Describe your issue

I posted this on github too.

I tried to update Headplane to v0.6.1 with no success

Here’s the last part of the log:
https://paste.yunohost.org/raw/uqorosimuz.apache

Share relevant logs or error messages

https://paste.yunohost.org/raw/uqorosimuz.apache

Salut @Pinipon

Visiblement, c’est un problème de syntaxe dans le fichier /var/www/headscale/dnsrecords.json

Crochet ou accolade manquante ?

1 Like

Hi, I checked that file and it’s empty, also I don’t have any hook for Headscale
I do have one for Adguard Home, maybe that’s conflicting? :thinking:

If it’s empty, you can try filling it with [

]

or {

}

I added “[ ]” to the /var/www/headscale/dnsrecords.json file, and I still got this error:

2025-11-25 23:40:31,481: WARNING - Nov 25 23:40:30 node[188856]: 
2025-11-25T23:40:30.951Z [config] ERROR: Using separate DNS config file but dns.extra_records_path is not set in Headscale config 
2025-11-25 23:40:31,488: DEBUG - + return 1 
2025-11-25 23:40:31,488: WARNING - Nov 25 23:40:30 node[188856]: 
2025-11-25T23:40:30.951Z [config] ERROR: Please set `dns.extra_records_path` in the Headscale config 2025-11-25 23:40:31,489: DEBUG - + ynh_exit_properly 
2025-11-25 23:40:31,489: WARNING - Nov 25 23:40:30 node[188856]: 
2025-11-25T23:40:30.952Z [config] ERROR: Or remove `headscale.dns_records_path` from the Headplane config 
2025-11-25 23:40:31,492: WARNING - Nov 25 23:40:30 systemd[1]: headplane.service: Main process exited, code=exited, status=1/FAILURE 

So I added this to my headscale config file

dns:
  extra_records_path: /var/www/headscale/dnsrecords.json

And I had to comment this section:

#  extra_records: []

And after that it worked.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.