sanderdw / hassio-addons

DSMR Reader Datalogger and Metabase Home Assistant Add-ons
https://community.home-assistant.io/search?q=%40sanderdw%20%23home-assistant-os
Other
53 stars 13 forks source link

DSMR won't start anymore #93

Closed scubabas closed 2 months ago

scubabas commented 2 months ago

As of yesterday evening, DSMR won't start anymore, no updates done at that time... Error log: [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] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing...


User UID: 0 User GID: 0

[cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-set-app-defaults: executing...

[ INFO ] DSMR Reader Reader release: 5.11.0

[ INFO ] DSMR Reader Reader Docker release: 2024.02.04

[ INFO ] Ensure permissions...

[ INFO ] Setting architecture requirements...

[ INFO ] ARM Architecture

[ INFO ] Verifying if the DSMR Reader web credential variables have been set...

[ INFO ] Verifying database connectivity to host: dsmrdb with port: 5432... nc: getaddrinfo for host "dsmrdb" port 5432: Name has no usable address

sanderdw commented 2 months ago

Are you using the Timescale addon as the database? Because I see the DSMR addon trying to connect to dsmrdb as a host which means it's likely not configured correctly.

I suggest it to uninstall the DSMR addon, install it again and then reconfigure it. Data is fine as it's persisted in the database.

scubabas commented 2 months ago

Yes I do.

Will try re-install. Thanks

scubabas commented 2 months ago

Well, that did the trick. Thanks!

DavyRoswinkel commented 2 months ago

Hi,

I have the same issue, reinstalling didn't solve the issue.

Looks like a problem with the hostname of the database.

Even tried the previous version, but got the same issue. I checked the timescale addon it looks like it's running normally

I will try uninstalling and reinstalling again

DavyRoswinkel commented 2 months ago

It is back online now. With alot of warnings and hints. Probably because of the missing connection. About not enough readings found.

But its running again

sanderdw commented 2 months ago

@DavyRoswinkel, so no problems anymore?

Otherwise please drop a copy of the logging here 🙂

DavyRoswinkel commented 2 months ago

@DavyRoswinkel, so no problems anymore?

Otherwise please drop a copy of the logging here 🙂

No problems anymore