I’ve been trying to install Domoticz through linuxserver/domoticz image on OMV running on a RockPro64 board.
Although I’m using the suggested usage configuration (only altering the UI port from 8080 to 8085) the container won’t run no matter what. It gives out a ‘‘400 bad request’’ error when I’m trying to reach it on http://ipaddress:8085
[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
[cont-finish.d] executing container finish scripts…
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
…+ … … …+…+… …+…+… … root@rockpro64:~#
It looks like you are stopping the container before it finish the generation of the certificate. Have you tried waiting until the container log says it finished the startup?
It should look like the below.
[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...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
We gratefully accept donations at:
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
.....................................................................+.................................................................+.........+...................................................................................................................................................................................................................................................................................................................+.........................................+..............................+..........................................................................................................................................................+...............................................................................................................................................................................................................................................................................................................................+.....................................................................................+...............................................................+.....................................................................................................................+..........................................+..........................................................................................................................+.............................................................................................................................................................+.....+............+.................................+......................+...............+.........................................................................................................................................................................................+....................................................................................................................................................................+............................................................+............................................+.....................................................................+........................+.......................+........................................................................................................................+...........................................................................................................................................................................+..................................................................................................................................................................................................................................+..........+.....+.............................+............................................................................................................................................................................................................................................+.............................................................+.......................................................................+........................................................................................................+............................................................+..+...................+........+................+............................+................................................................................................................................................................................................................+...............+.+..........................................................+...........................+................................................................................................................................................................................+....................................................................................................................+......................................................................................................................+........................................................................................................................+..+........................+..................................................................................................................................................+............................+...........+................................................................................................................................+.........................................................+.........+..............+...............................................+........................................+............................................................................................................................................................................................................................................................................................................................+.......+.......................................+....................................................................................................................................................................................+...+.........+..................+..............................................+......................................................................................................................................................+........................................................................................................................................................................+........................+...................+...................................................................................................+.....................................................+................................................+..........................................+..........................................................................................................................................................................................................................................+............................................................................................+.........................................+.................................................+................................................................................................................................................................................................+........................+.......................................................+.............................................................+........................................+.........................................................................................................+......................................................................................+..........................................................................................................................................................................................................+.................................+........................................................................................................................................+.....................................+..................................................................................................................................................................................................................................................................................................................................................................................................................................................................+.....+......................................................+....................................................................................................................................+..................+...........................................................................................................................................................................................................................+.............................+.....+........................................+.............................................................................................................+..........................................................................................................................................................................................................+.....................................................................................................+................................................................................................................................................................................................+..................................................................................................................................................................................+..........................................................+.................................................................+................................................................+...........................+..............+................................+....+.................+.......................................................................................................................................................................................................................................+............................................................+.........................................................................................................+..................................................+.......................................+...............................................+.........................................................................................................................................+........................................................................................+....+................................................................................................+............................................................................................................+.................................................................+........................................................................................+....................................................................+........+..................................................................+...................................................................+...................................................................................................................................................................+............................+.............................+...........................................................+..............................+............+..................................................................................+.........................................................................................+.........................+............+.............................................+........................................................+.......+...................................................................................+.......+....+..................................................................................+...................................................................................................................+........................................................................................................................................................................................................................................................+..................................................................................................+.................................................................................................................................................+.......+...........................................+............................................+.+..........................................................................................................................................+.+.........................................................................................................+............+...............................................................................................................................................................................................................................................+.............................................................................................+........................+........................................................................................+......+......................................................................................................................................................................................................................................................................................................................................................................................................+...................................................................................................................................+...........................................................+........................+..............................+...........................................................+.................+..........................................................+.......................................................................................................................................................................................................................................................................................................................................................................................................................+...........................................................................................+................................................................................................+.......................................................................................................................................+....................+.............................................................................................................+..................................................+..............................................................+......................+.+..........................................................+....................+....................................+..........+..................................+..........................................................................................+....................+...............+............+........................................................................................................................+...................................................................+..+.........................+............+....................................................................+...............................................................................+........+..................................................+...............................................................................+...................+..........................+...................................................................................................................................................................................................................................+.........................................................................+........+.........+..............+..................................................+.............................................................................................+..............................................................................................................................................+.................+...+.....x........................................................+....+.................................................+...............................................................................................+................................................................................................................+...........................................................................................................................................................................................................................................................................................................+............................................................................+..................................................................................................................................+..............................................................................................................................+......+...........................................................................................................................................................+..........................................................................................+......................................................................................................................................+.................................................................................+..+........+...................................................................................................+....................................+...........................+.............................................++*++*
Generating a 2048 bit RSA private key
...........+++
................+++
writing new private key to '/config/keys/server_cert.pem'
-----
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom scripts found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.```
The truth is that when the image is installed I don’t check anything but start the container. How long should I wait for it to generate the certificate?
Where do I go from here now? Should I delete the container, rerun the image and watch the logs for completion?
Brought to you by linuxserver.io
We gratefully accept donations at:
GID/UID
User uid: 1000
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
root@rockpro64:/# docker logs domoticz
[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…
Brought to you by linuxserver.io
We gratefully accept donations at:
GID/UID
User uid: 1000
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
root@rockpro64:/#
Since there is no actual feedback of what’s being done in the background, I assumed that the process had finished as I got ‘’ root@rockpro64:/#’’ ib the terminal.
Remove the #optional you have after the WEBROOT variable.
docker doesn’t support remarks and reads it.
In fact, remove the WEBROOT variable completely during setup/troubleshooting and only add it later if needed.