benlbrm / home-assistant-addons

Add-ons for home assistant
0 stars 5 forks source link

Not sure GandiDNS is running #1

Open derdide opened 1 year ago

derdide commented 1 year ago

Salut Benoît I have installed the GandiDNS add-on my home-assistant system, but I'm not sure it is running. Log is as follows: `[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] scripts: applying... [fix-attrs.d] scripts: exited 0. [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 00-banner.sh: executing...

Add-on: GandiDNS Update Gandi dns zone

Add-on version: 0.0.2 There is an update available for this add-on! Latest add-on version: null Please consider upgrading as soon as possible. parse error: Expected string key before ':' at line 1, column 4 [12:38:44] ERROR: Unknown HTTP error occured System: (aarch64 / raspberrypi3-64) Home Assistant Core: 2023.5.2 Home Assistant Supervisor: 2023.04.1

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

[cont-init.d] 00-banner.sh: exited 0. [cont-init.d] 01-log-level.sh: executing... [cont-init.d] 01-log-level.sh: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [12:38:48] INFO: Starting Ip Updater... [12:38:50] INFO: Updater Started`

and it hasn't changed since yesterday. I see the errors, but I'm guessing they shouldn't influence the running of the script. But I'm surprised it doesn't log when it runs

ClementPinard commented 1 month ago

Hi,

I had the same problem as you, and ran some investigation on the code.

I think most errors are from the outdated version of the docker images the gandiDns addon uses, and unfortunately, the actual errors are silenced.

I proposed a PR #3 to have more update standard, with respect to both Gandi API and Home Assistant way of designing custom addons.

Hope it will help you