lampy
(Gerwin)
December 15, 2020, 5:10pm
1
Platform information:
Hardware: Raspberry Pi 4 Model B Rev 1.1 4GB
OS: Raspbian GNU/Linux 10 (buster)
Java Runtime Environment: Zulu11-32
openHAB version: openHAB3
Received a new RPI and plan to slowly migrate to openHAB3 with a complete clean install. After reading this post thought trying installing directly openHAB3, without first installing openHAB2 and updating afterwards.
Unfortunately did not managed to succeed (yet).
Steps taken:
Download latest image and flashed SD card with Etcher.
Updated config file with clonebranch=openHAB3, debugmode=maximum and java_opt=Zulu11-32 openhabian.conf (3.1 KB)
Unfortunately the process stopped at some point with the following log. The full logfile can be shared, but found a couple of times my password in, is there more sensitive info in?
Removing node-util-deprecate (1.0.2-1) ...
Removing node-wrappy (1.0.2-1) ...
Removing node-inherits (2.0.3-1) ...
Removing libjs-inherits (2.0.3-1) ...
Removing node-strip-ansi (4.0.0-1) ...
Removing node-ansi-regex (3.0.0-1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Updating FireMotD available updates count ...
+ return 0
+ echo OK
OK
+ cd /
+ rm -f /opt/openHABian-install-inprogress
+ touch /opt/openHABian-install-successful
++ timestamp
++ date +%F_%T_%Z
+ echo '2020-12-15_12:18:39_CET [openHABian] Execution of '\''openhabian-config unattended'\'' completed.'
2020-12-15_12:18:39_CET [openHABian] Execution of 'openhabian-config unattended' completed.
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-15_12:18:39_CET [openHABian] Waiting for openHAB to become re ady on openHABianDevice... '
2020-12-15_12:18:39_CET [openHABian] Waiting for openHAB to become ready on open HABianDevice... + tryUntil 'curl --silent --head http://openHABianDevice:8080/st art/index |& grep -qs '\''HTTP/1.1 200 OK'\''' 20 10
+ local cmd
+ local attempts
+ local interval
+ cmd='curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
+ attempts=20
+ interval=10
+ [[ 20 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 19 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 18 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 17 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 16 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 15 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 14 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 13 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 12 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 11 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 10 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 9 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 8 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 7 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 6 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 5 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 4 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 3 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 2 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 1 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start /index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -q s '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 0 -le 0 ]]
+ [[ -z 1 ]]
+ return 0
+ echo FAILED
FAILED
+ exit 1
Following the debug guide:
-rw-r--r-- 1 root root 0 Dec 15 12:18 /opt/openHABian-install-successful
reboot did not work
cannot access the webinterface
Currently the SSH screen looks like below:
Don’t know if this is of any help @mstormi , please let me know I can provide more info or test more.
Wolfgang_S
(Wolfgang_S)
December 15, 2020, 5:57pm
2
The screenshot says that the dashboard would be available via http://openhab3:8080 while curl tries to access http://openHABianDevice:8080 .
As far as I understand the installation is done and it is being checked if openhab is started.
What do you see in /var/log/openhab.log ?
Is there a java process running ( ps -ef |grep java ) ?
lampy
(Gerwin)
December 15, 2020, 6:34pm
3
Tried indeed both including the ip:8080, but no response. Also Port 80 is not showing anything anymore.
There are some directories created, but no files are in.
The console is also not accessible, maybe openhab itself is not installed?
lampy
(Gerwin)
December 15, 2020, 9:41pm
6
@Wolfgang_S the command does not show anything
The openhabian-config is accessible
@mstormi : you hint worked, although I don’t have the idea just me trying the third time was the magic.
Now I can access the front-end, will continue with the setup. Thanks!
After checking the log still the same error is shown. Don’t know if it hurts.
0 upgraded, 0 newly installed, 250 to remove and 0 not upgraded.
After this operation, 24.8 MB disk space will be freed.
(Reading database ... 56035 files and directories currently installed.)
Removing gyp (0.1+20180428git4d467626-3) ...
Removing javascript-common (11) ...
Removing libbrotli1:armhf (1.0.7-2+deb10u1) ...
Removing libc-ares2:armhf (1.14.0-1) ...
Removing node-cacache (11.3.2-2) ...
Removing node-mississippi (3.0.0-1) ...
Removing node-through2 (2.0.5-2) ...
Removing node-flush-write-stream (1.0.3-1) ...
Removing node-pumpify (1.5.1-1) ...
Removing node-request (2.88.1-2) ...
Removing node-is-typedarray (1.0.0-2) ...
Removing libjs-is-typedarray (1.0.0-2) ...
Removing libssl-dev:armhf (1.1.1d-0+deb10u4+rpt1) ...
Removing libuv1-dev:armhf (1.24.1-1) ...
Removing libuv1:armhf (1.24.1-1) ...
Removing node-nopt (3.0.6-3) ...
Removing node-abbrev (1.1.1-1) ...
Removing node-har-validator (5.1.0-1) ...
Removing node-ajv (5.0.0-1) ...
Removing node-ansi (0.3.0-3) ...
Removing node-boxen (1.2.2-1) ...
Removing node-ansi-align (2.0.0-1) ...
Removing node-libnpx (10.2.0+repack-1) ...
Removing node-yargs (10.0.3-2) ...
Removing node-cliui (4.1.0-1) ...
Removing node-wrap-ansi (4.0.0-1) ...
Removing node-chalk (2.3.0-2) ...
Removing node-ansi-styles (3.2.1-1) ...
Removing node-ansistyles (0.1.3-1) ...
Removing node-npmlog (4.1.2-1) ...
Removing node-gauge (2.7.4-1) ...
Removing node-move-concurrently (1.0.1-2) ...
Removing node-archy (1.0.0-2) ...
Removing node-are-we-there-yet (1.1.4-1) ...
Removing node-http-signature (1.2.0-1) ...
Removing node-sshpk (1.13.1+dfsg-2) ...
Removing node-asn1 (0.2.3-1) ...
Removing node-dashdash (1.14.1-2) ...
Removing node-jsprim (1.4.0-1) ...
Removing node-verror (1.10.0-1) ...
Removing node-form-data (2.3.2-2) ...
Removing node-asynckit (0.4.0-2) ...
Removing node-aws-sign2 (0.7.1-1) ...
Removing node-aws4 (1.8.0-1) ...
Removing node-read-package-json (2.0.13-1) ...
Removing node-copy-concurrently (1.0.5-4) ...
Removing node-bcrypt-pbkdf (1.0.1-1) ...
Removing node-bluebird (3.5.1+dfsg2-2) ...
Removing node-normalize-package-data (2.4.0-1) ...
Removing node-is-builtin-module (2.0.0-1) ...
Removing node-builtin-modules (3.0.0-1) ...
Removing node-npm-package-arg (6.0.0-2) ...
Removing node-validate-npm-package-name (3.0.0-1) ...
Removing node-builtins (1.0.3-1) ...
Removing node-call-limit (1.1.0-1) ...
Removing node-yargs-parser (11.1.1-1+deb10u1) ...
Removing node-camelcase (5.0.0-1) ...
Removing node-caseless (0.12.0-1) ...
Removing node-tar (4.4.6+ds1-3) ...
Removing node-chownr (1.1.1-1) ...
Removing node-cli-boxes (1.0.0-1) ...
Removing node-widest-line (1.2.2-1) ...
Removing node-co (4.6.0-1) ...
Removing node-color-convert (1.9.0-3) ...
Removing node-color-name (1.1.3-1) ...
Removing node-combined-stream (1.0.7-1) ...
Removing node-concat-stream (1.6.2-1) ...
Removing node-config-chain (1.1.11-1) ...
Removing node-console-control-strings (1.1.0-1) ...
Removing node-term-size (1.2.0+dfsg-2) ...
Removing node-os-locale (2.0.0-1) ...
Removing node-execa (0.10.0+dfsg-1) ...
Removing node-cross-spawn (5.1.0-2) ...
Removing node-parallel-transform (1.1.0-2) ...
Removing node-cyclist (1.0.1-2) ...
Removing node-decamelize (1.2.0-1) ...
Removing node-latest-version (3.1.0-1) ...
Removing node-package-json (4.0.1-1) ...
Removing node-got (7.1.0-1) ...
Removing node-decompress-response (3.3.0-1) ...
Removing node-registry-url (3.1.0-1) ...
Removing node-registry-auth-token (3.3.1-1) ...
Removing node-rc (1.1.6-2) ...
Removing node-deep-extend (0.4.1-2) ...
Removing node-delayed-stream (0.0.5-1) ...
Removing node-delegates (1.0.0-1) ...
Removing node-detect-indent (5.0.0-1) ...
Removing node-detect-newline (2.1.0-1) ...
Removing node-duplexer3 (0.1.4-4) ...
Removing node-duplexify (3.6.1-1) ...
Removing node-ecc-jsbn (0.1.1-1) ...
Removing node-editor (1.0.0-1) ...
Removing node-encoding (0.1.12-2) ...
Removing node-stream-each (1.2.2-2) ...
Removing node-pump (3.0.0-1) ...
Removing node-end-of-stream (1.4.1-1) ...
Removing node-errno (0.1.4-1) ...
Removing node-escape-string-regexp (1.0.5-1) ...
Removing node-extend (3.0.2-1) ...
Removing node-extsprintf (1.3.0-1) ...
Removing node-find-up (2.1.0-1) ...
Removing node-forever-agent (0.6.1-1) ...
Removing node-from2 (2.3.0-1) ...
Removing node-fs-vacuum (1.2.10-2) ...
Removing node-fs-write-stream-atomic (1.0.10-4) ...
Removing node-get-caller-file (1.0.2-1) ...
Removing node-get-stream (3.0.0-1) ...
Removing node-getpass (0.1.7-1) ...
Removing node-write-file-atomic (2.3.0-1) ...
Removing node-sha (2.0.1-1) ...
Removing node-graceful-fs (4.1.11-1) ...
Removing node-har-schema (2.0.0-1) ...
Removing node-supports-color (4.4.0-2) ...
Removing node-has-flag (2.0.0-1) ...
Removing node-isurl (1.0.0-1) ...
Removing node-has-to-string-tag-x (1.4.1+dfsg-1) ...
Removing node-has-symbol-support-x (1.4.1+dfsg-1) ...
Removing node-has-unicode (2.0.1-2) ...
Removing node-hosted-git-info (2.7.1-1) ...
Removing node-iconv-lite (0.4.13-2) ...
Removing node-iferr (1.0.2-1) ...
Removing node-import-lazy (3.0.0.REALLY.2.1.0-1) ...
Removing node-unique-filename (1.1.0+ds-2) ...
Removing node-imurmurhash (0.1.4-1) ...
Removing node-ini (1.3.5-1) ...
Removing node-lcid (1.0.0-1) ...
Removing node-invert-kv (1.0.0-1) ...
Removing node-is-npm (1.0.0-1) ...
Removing node-is-object (1.0.1-1) ...
Removing node-is-plain-obj (1.1.0-1) ...
Removing node-is-retry-allowed (1.1.0-1) ...
Removing node-is-stream (1.1.0-1) ...
Removing node-which (1.3.0-2) ...
Removing node-isexe (2.0.0-4) ...
Removing node-isstream (0.1.2+dfsg-1) ...
Removing node-jsbn (1.1.0-1) ...
Removing node-json-parse-better-errors (1.0.2-2) ...
Removing node-json-schema (0.2.3-1) ...
Removing node-json-stable-stringify (1.0.1-1) ...
Removing node-json-stringify-safe (5.0.1-1) ...
Removing node-jsonify (0.0.0-1) ...
Removing node-jsonstream (1.3.2-1) ...
Removing node-jsonparse (1.3.1-6) ...
Removing node-lazy-property (1.0.0-3) ...
Removing node-locate-path (2.0.0-1) ...
Removing node-lockfile (1.0.4-1) ...
Removing node-lowercase-keys (1.0.0-2) ...
Removing node-lru-cache (5.1.1-4) ...
Removing node-mem (1.1.0-1) ...
Removing node-mime-types (2.1.21-1) ...
Removing node-mimic-fn (1.1.0-1) ...
Removing node-mimic-response (1.0.0-1) ...
Removing node-minimist (1.2.0-1+deb10u1) ...
Removing node-mkdirp (0.5.1-1) ...
Removing node-promzard (0.3.0-1) ...
Removing node-read (1.0.7-1) ...
Removing node-mute-stream (0.0.8-1) ...
Removing node-node-uuid (3.3.2-2) ...
Removing node-npm-run-path (2.0.2-2) ...
Removing node-oauth-sign (0.9.0-1) ...
Removing node-object-assign (4.1.1-2) ...
Removing node-opener (1.4.3-1) ...
Removing node-osenv (0.1.5-1) ...
Removing node-p-cancelable (0.3.0-1) ...
Removing node-p-timeout (1.2.0-1) ...
Removing node-p-finally (1.0.0-2) ...
Removing node-p-locate (2.0.0-1) ...
Removing node-p-limit (1.1.0-1) ...
Removing node-path-exists (3.0.0-1) ...
Removing node-path-is-inside (1.0.2-1) ...
Removing node-performance-now (2.1.0+debian-1) ...
Removing node-url-parse-lax (1.0.0-1) ...
Removing node-prepend-http (2.0.0-1) ...
Removing node-promise-inflight (1.0.1-1) ...
Removing node-proto-list (1.2.4-1) ...
Removing node-prr (1.0.1-1) ...
Removing node-tough-cookie (2.3.4+dfsg-1) ...
Removing node-punycode (2.1.1-2) ...
Removing node-qs (6.5.2-1) ...
Removing node-qw (1.0.1-1) ...
Removing node-require-directory (2.1.1-1) ...
Removing node-require-main-filename (1.0.1-1) ...
Removing node-resolve-from (4.0.0-1) ...
Removing node-retry (0.10.1-1) ...
Removing node-tunnel-agent (0.6.1-1) ...
Removing node-semver-diff (2.1.0-2) ...
Removing node-semver (5.5.1-1) ...
Removing node-set-blocking (2.0.0-1) ...
Removing node-shebang-command (1.2.0-1) ...
Removing node-shebang-regex (2.0.0-1) ...
Removing node-signal-exit (3.0.2-1) ...
Removing node-slash (1.0.0-1) ...
Removing node-slide (1.1.6-2) ...
Removing node-sorted-object (2.0.1-1) ...
Removing node-validate-npm-package-license (3.0.1-1) ...
Removing node-spdx-correct (1.0.2-1) ...
Removing node-spdx-expression-parse (1.0.4-1) ...
Removing node-spdx-license-ids (1.2.2-1) ...
Removing node-ssri (5.2.4-2) ...
Removing node-stream-iterate (1.2.0-4) ...
Removing node-stream-shift (1.0.0-1) ...
Removing node-strip-eof (1.0.0-2) ...
Removing node-strip-json-comments (2.0.1-2) ...
Removing node-text-table (0.2.0-2) ...
Removing node-through (2.3.8-1) ...
Removing node-timed-out (4.0.1-4) ...
Removing node-tweetnacl (0.14.5+dfsg-3) ...
Removing node-typedarray (0.0.6-1) ...
Removing node-uid-number (0.0.6-1) ...
Removing node-unpipe (1.0.0-1) ...
Removing node-url-to-options (1.0.1-1) ...
Removing node-uuid (3.3.2-2) ...
Removing node-which-module (2.0.0-1) ...
Removing node-wide-align (1.1.0-1) ...
Removing node-xdg-basedir (3.0.0-1) ...
Removing node-xtend (4.0.1-2) ...
Removing node-y18n (3.2.1-2) ...
Removing node-yallist (3.0.3-1) ...
Removing nodejs-doc (10.21.0~dfsg-1~deb10u1+rpi1) ...
Removing python-pkg-resources (40.8.0-1) ...
Removing triggerhappy (0.5.0-1) ...
Warning: Stopping triggerhappy.service, but it can still be activated by:
triggerhappy.socket
Removing node-readable-stream (2.3.6-1) ...
Removing node-run-queue (1.0.3-1) ...
Removing node-aproba (1.2.0-1) ...
Removing node-assert-plus (1.0.0-1) ...
Removing node-rimraf (2.6.2-1) ...
Removing node-glob (7.1.3-2) ...
Removing node-minimatch (3.0.4-3) ...
Removing node-brace-expansion (1.1.8-1) ...
Removing node-balanced-match (0.4.2-1) ...
Removing node-string-width (2.1.1-1) ...
Removing node-wcwidth.js (1.0.0-1) ...
Removing node-defaults (1.0.3-1) ...
Removing node-clone (2.1.2-1) ...
Removing node-concat-map (0.0.1-1) ...
Removing node-core-util-is (1.0.2-1) ...
Removing node-fs.realpath (1.0.0-1) ...
Removing node-inflight (1.0.6-1) ...
Removing node-isarray (2.0.4-1) ...
Removing node-once (1.4.0-3) ...
Removing node-path-is-absolute (1.0.0-1) ...
Removing node-process-nextick-args (2.0.0-1) ...
Removing node-string-decoder (1.2.0-1) ...
Removing node-safe-buffer (5.1.2-1) ...
Removing node-util-deprecate (1.0.2-1) ...
Removing node-wrappy (1.0.2-1) ...
Removing node-inherits (2.0.3-1) ...
Removing libjs-inherits (2.0.3-1) ...
Removing node-strip-ansi (4.0.0-1) ...
Removing node-ansi-regex (3.0.0-1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Updating FireMotD available updates count ...
+ return 0
+ echo OK
OK
+ cd /
+ rm -f /opt/openHABian-install-inprogress
+ touch /opt/openHABian-install-successful
++ timestamp
++ date +%F_%T_%Z
+ echo '2020-12-15_22:30:23_CET [openHABian] Execution of '\''openhabian-config unattended'\'' completed.'
2020-12-15_22:30:23_CET [openHABian] Execution of 'openhabian-config unattended' completed.
++ timestamp
++ date +%F_%T_%Z
+ echo -n '2020-12-15_22:30:23_CET [openHABian] Waiting for openHAB to become ready on openHABianDevice... '
2020-12-15_22:30:23_CET [openHABian] Waiting for openHAB to become ready on openHABianDevice... + tryUntil 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\''' 20 10
+ local cmd
+ local attempts
+ local interval
+ cmd='curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
+ attempts=20
+ interval=10
+ [[ 20 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ grep -qs 'HTTP/1.1 200 OK'
++ curl --silent --head http://openHABianDevice:8080/start/index
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 19 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 18 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 17 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 16 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 15 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 14 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 13 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 12 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 11 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 10 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 9 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 8 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 7 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 6 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 5 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 4 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 3 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 2 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 1 -le 0 ]]
+ cond_echo '\nexecuting curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'' \c'
+ [[ -z 1 ]]
+ eval 'curl --silent --head http://openHABianDevice:8080/start/index |& grep -qs '\''HTTP/1.1 200 OK'\'''
++ curl --silent --head http://openHABianDevice:8080/start/index
++ grep -qs 'HTTP/1.1 200 OK'
+ out=1
+ [[ 1 -eq 0 ]]
+ sleep 10
+ [[ -z 1 ]]
+ (( attempts-=1 ))
+ [[ 0 -le 0 ]]
+ [[ -z 1 ]]
+ return 0
+ echo FAILED
FAILED
+ exit 1
mstormi
(Markus Storm)
December 15, 2020, 9:51pm
7
It wasn’t, I changed a detail in the repo.
2 Likes