Error to get IP adresse

Hello all,

I’m having trouble with my domoticz container, the container seems to start but I can’t reach the web server… In the log I clearly see the server does found the IP adress.
I’ve try to reinstall but the same. The container seems to run because my domoticz routine are running and the schedule is lightning my lights.
Here are my container log :

-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
Generating DH parameters, 2048 bit long safe prime, generator 5
This is going to take a long time
...................................................................................................................................................................
Generating a RSA private key
......................................................................+++++
............................................................+++++
writing new private key to '/config/keys/server_cert.pem'
-----
[cont-init.d] 30-config: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022-02-18 16:14:31.443 Status: Domoticz V2022.1 (c)2012-2022 GizMoCuz
2022-02-18 16:14:31.443 Status: Build Hash: c9526851b, Date: 2022-01-31 09:34:32
2022-02-18 16:14:31.443 Status: Startup Path: /usr/share/domoticz/
2022-02-18 16:14:31.528 BuildManifest: Created directory /config/plugins/
2022-02-18 16:14:31.577 Status: PluginSystem: Started, Python version '3.8.10', 0 plugin definitions loaded.

2022-02-18 16:14:31.578 Active notification Subsystems: fcm, http (2/13)
**2022-02-18 16:14:31.579 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative), trying ::**

**2022-02-18 16:14:31.579 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative), trying 0.0.0.0**

**2022-02-18 16:14:31.579 Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8080**
**2022-02-18 16:14:31.583 Status: WebServer(SSL) startup failed on address :: with port: 1443: resolve: Host not found (authoritative), trying ::**

**2022-02-18 16:14:31.585 Status: WebServer(SSL) startup failed on address :: with port: 1443: resolve: Host not found (authoritative), trying 0.0.0.0**

2022-02-18 16:14:31.587 Status: WebServer(SSL) started on address: 0.0.0.0 with port 1443
2022-02-18 16:14:31.594 Starting shared server on: 0.0.0.0:6144
2022-02-18 16:14:31.594 Status: TCPServer: shared server started...
2022-02-18 16:14:31.595 Status: RxQueue: queue worker started...
2022-02-18 16:14:33.595 Status: NotificationSystem: thread started...
2022-02-18 16:14:33.595 Status: EventSystem: reset all events...
2022-02-18 16:14:33.596 Status: EventSystem: reset all device statuses...
2022-02-18 16:14:33.610 Status: Python EventSystem: Initializing event module.
2022-02-18 16:14:33.610 Status: EventSystem: Started
2022-02-18 16:14:33.610 Status: EventSystem: Queue thread started...

Here is my xml docker :

> <?xml version="1.0"?>
> <Container version="2">
>   <Name>domoticz</Name>
>   <Repository>lscr.io/linuxserver/domoticz</Repository>
>   <Registry>https://github.com/orgs/linuxserver/packages/container/package/domoticz</Registry>
>   <Network>bridge</Network>
>   <MyIP/>
>   <Shell>bash</Shell>
>   <Privileged>false</Privileged>
>   <Support>https://github.com/linuxserver/docker-domoticz/issues/new/choose</Support>
>   <Project>https://www.domoticz.com</Project>
>   <Overview>Domoticz(https://www.domoticz.com) is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device.</Overview>
>   <Category>HomeAutomation: Network:Management</Category>
>   <WebUI>http://192.168.1.223:8080</WebUI>
>   <TemplateURL>https://raw.githubusercontent.com/linuxserver/templates/master/unraid/domoticz.xml</TemplateURL>
>   <Icon>https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/domoticz-logo.png</Icon>
>   <ExtraParams/>
>   <PostArgs/>
>   <CPUset/>
>   <DateInstalled>1645197863</DateInstalled>
>   <DonateText/>
>   <DonateLink/>
>   <Description>Domoticz(https://www.domoticz.com) is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device.</Description>
>   <Networking>
>     <Mode>bridge</Mode>
>     <Publish>
>       <Port>
>         <HostPort>8080</HostPort>
>         <ContainerPort>8080</ContainerPort>
>         <Protocol>tcp</Protocol>
>       </Port>
>       <Port>
>         <HostPort>6144</HostPort>
>         <ContainerPort>6144</ContainerPort>
>         <Protocol>tcp</Protocol>
>       </Port>
>       <Port>
>         <HostPort>1443</HostPort>
>         <ContainerPort>1443</ContainerPort>
>         <Protocol>tcp</Protocol>
>       </Port>
>     </Publish>
>   </Networking>
>   <Data>
>     <Volume>
>       <HostDir>/mnt/user/appdata/domoticz</HostDir>
>       <ContainerDir>/config</ContainerDir>
>       <Mode>rw</Mode>
>     </Volume>
>   </Data>
>   <Environment>
>     <Variable>
>       <Value>domoticz</Value>
>       <Name>WEBROOT</Name>
>       <Mode>{3}</Mode>
>     </Variable>
>     <Variable>
>       <Value>99</Value>
>       <Name>PUID</Name>
>       <Mode>{3}</Mode>
>     </Variable>
>     <Variable>
>       <Value>100</Value>
>       <Name>PGID</Name>
>       <Mode>{3}</Mode>
>     </Variable>
>     <Variable>
>       <Value>022</Value>
>       <Name>UMASK</Name>
>       <Mode>{3}</Mode>
>     </Variable>
>   </Environment>
>   <Labels/>
>   <Config Name="WebUI" Target="8080" Default="8080" Mode="tcp" Description="WebUI" Type="Port" Display="always" Required="true" Mask="false">8080</Config>
>   <Config Name="Port: 6144" Target="6144" Default="6144" Mode="tcp" Description="Domoticz communication port." Type="Port" Display="always" Required="true" Mask="false">6144</Config>
>   <Config Name="Port: 1443" Target="1443" Default="1443" Mode="tcp" Description="Domoticz communication port." Type="Port" Display="always" Required="true" Mask="false">1443</Config>
>   <Config Name="WEBROOT" Target="WEBROOT" Default="domoticz" Mode="{3}" Description="Sets webroot to domoticz for usage with subfolder reverse proxy. Not needed unless reverse proxying." Type="Variable" Display="always" Required="false" Mask="false">domoticz</Config>
>   <Config Name="Appdata" Target="/config" Default="/mnt/user/appdata/domoticz" Mode="rw" Description="Where Domoticz stores config files and data." Type="Path" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/domoticz</Config>
>   <Config Name="PUID" Target="PUID" Default="99" Mode="{3}" Description="Container Variable: PUID" Type="Variable" Display="advanced" Required="true" Mask="false">99</Config>
>   <Config Name="PGID" Target="PGID" Default="100" Mode="{3}" Description="Container Variable: PGID" Type="Variable" Display="advanced" Required="true" Mask="false">100</Config>
>   <Config Name="UMASK" Target="UMASK" Default="022" Mode="{3}" Description="Container Variable: UMASK" Type="Variable" Display="advanced" Required="false" Mask="false">022</Config>
> </Container>

Thanks for your help !

Which address are you going to? You have set the webroot en variabel to domoticz, so remember to add /domoticz/ to the end.

1 Like

OMG… I’ve try so many thing but not this, I feel so stupid…

@saarg so many thanks to point this to me eyes :smiley:

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