- Platform information:
- Hardware: Raspberry Pi 4 (with 4GB RAM)
- OS: Raspian (Docker installation)
- openHAB version: openhab/openhab:latest (see Docker hub)
Hello everybody,
I´ve installed openhab in a docker.
Everything seems fine, but I have no access to the configuration site in browser.
Maybe somebody can help me?
Raspian code:
pi@raspberrypi:~ $ docker run --name openhab --restart always openhab/openhab:latest
++ test -t 0
++ echo false
- interactive=false
- set -euo pipefail
- IFS=’
’ - ‘[’ limited = unlimited ‘]’
- rm -f /openhab/runtime/instances/instance.properties
- rm -f /openhab/userdata/tmp/instances/instance.properties
Starting with openhab user id: 9001 and group id: 9001 - NEW_USER_ID=9001
- NEW_GROUP_ID=9001
- echo ‘Starting with openhab user id: 9001 and group id: 9001’
- id -u openhab
++ getent group 9001 - ‘[’ -z ‘’ ‘]’
- echo ‘Create group openhab with id 9001’
Create group openhab with id 9001 - groupadd -g 9001 openhab
Create user openhab with id 9001 - echo ‘Create user openhab with id 9001’
- adduser -u 9001 --disabled-password --gecos ‘’ --home /openhab --gid 9001 openhab
Warning: The home dir /openhab you specified already exists.
Adding useropenhab' ... Adding new user
openhab’ (9001) with groupopenhab' ... adduser: Warning: The home directory
/openhab’ does not belong to the user you are currently creating.
The home directory/openhab' already exists. Not copying from
/etc/skel’. - groupadd -g 14 uucp2
- groupadd -g 16 dialout2
- groupadd -g 18 dialout3
- groupadd -g 32 uucp3
- groupadd -g 997 gpio
- adduser openhab dialout
Adding useropenhab' to group
dialout’ …
Adding user openhab to group dialout
Done. - adduser openhab uucp
Adding useropenhab' to group
uucp’ …
Adding user openhab to group uucp
Done. - adduser openhab uucp2
Adding useropenhab' to group
uucp2’ …
Adding user openhab to group uucp2
Done. - adduser openhab dialout2
Adding useropenhab' to group
dialout2’ …
Adding user openhab to group dialout2
Done. - adduser openhab dialout3
Adding useropenhab' to group
dialout3’ …
Adding user openhab to group dialout3
Done. - adduser openhab uucp3
Adding useropenhab' to group
uucp3’ …
Adding user openhab to group uucp3
Done. - adduser openhab gpio
Adding useropenhab' to group
gpio’ …
Adding user openhab to group gpio
Done. - case ${OPENHAB_VERSION} in
- initialize_volume /openhab/conf /openhab/dist/conf
- volume=/openhab/conf
- source=/openhab/dist/conf
++ ls -A /openhab/conf - ‘[’ -z ‘html
icons
items
persistence
rules
scripts
services
sitemaps
sounds
things
transform’ ‘]’ - initialize_volume /openhab/userdata /openhab/dist/userdata
- volume=/openhab/userdata
- source=/openhab/dist/userdata
++ ls -A /openhab/userdata - ‘[’ -z ‘etc
logs
tmp’ ‘]’
++ cmp /openhab/userdata/etc/version.properties /openhab/dist/userdata/etc/version.properties - ‘[’ ‘!’ -z ‘]’
- chown -R openhab:openhab /openhab
- sync
- ‘[’ -d /etc/cont-init.d ‘]’
- sync
- ‘[’ false == false ‘]’
++ IFS=’ ’
++ echo gosu openhab tini -s ./start.sh - ‘[’ ‘gosu openhab tini -s ./start.sh’ == ‘gosu openhab tini -s ./start.sh’ ‘]’
- command=($@ server)
- exec gosu openhab tini -s ./start.sh server
Launching the openHAB runtime…
When I go to my webbrowser and type in: http://localhost:8080
I will see the error: Website is not available
Thank you very much!
Best regards
Fabian