neu installiertes Openhab3 kein Zugriff über Web

Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.

Moderatoren: seppy, udo1toni

HappyDexter
Beiträge: 36
Registriert: 17. Sep 2020 15:03
Answers: 0

Re: neu installiertes Openhab3 kein Zugriff über Web

Beitrag von HappyDexter »

OK, da ist der Fehler. Bei der Installation läuft was nicht rund, nur warum und warum mehrfach, da ich ja schon mehrfach die Karte neu geflasht habe.

first-boot.log:

Code: Alles auswählen


2022-04-04_13:06:13_BST [openHABian] Starting the openHABian initial setup.
2022-04-04_13:06:13_BST [openHABian] Storing configuration... OK
2022-04-04_13:06:14_BST [openHABian] Starting webserver with installation log... OK
2022-08-22_14:23:54_BST [openHABian] Changing default username and password... OK
2022-08-22_14:24:25_BST [openHABian] Setting up Ethernet connection... OK
2022-08-22_14:24:25_BST [openHABian] Ensuring network connectivity... OK
2022-08-22_14:24:25_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2022-08-22_14:25:16_BST [openHABian] Updating repositories and upgrading installed packages... OK
2022-08-22_14:25:21_BST [openHABian] Installing git package... OK
2022-08-22_14:25:32_BST [openHABian] Updating myself from https://github.com/openhab/openhabian, openHAB3 branch... OK
2022-08-22_14:25:35_BST [openHABian] Starting execution of 'openhabian-config unattended'... OK
2022-08-22_14:25:35_BST [openHABian] Checking for root privileges... OK
2022-08-22_14:25:36_BST [openHABian] Updating Linux package information... \ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2DOK
2022-08-22_14:25:41_BST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2022-08-22_14:25:41_BST [openHABian] Adjusting swap size to 7677 MB... OK (reboot required)
2022-08-22_14:25:42_BST [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2022-08-22_15:25:42_CEST [openHABian] Enabling time synchronization using NTP... OK
2022-08-22_15:25:42_CEST [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2022-08-22_15:26:05_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2022-08-22_15:26:05_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2022-08-22_15:26:05_CEST [openHABian] Enabling Audio output... OK
2022-08-22_15:26:05_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2022-08-22_15:26:54_CEST [openHABian] Installing additional needed packages... OK
2022-08-22_15:27:26_CEST [openHABian] Installing python3 serial package... OK
2022-08-22_15:27:35_CEST [openHABian] Installing pigpio package... OK
2022-08-22_15:27:42_CEST [openHABian] Installing additional bluetooth packages... OK
2022-08-22_15:27:47_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2022-08-22_15:27:47_CEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2022-08-22_15:27:47_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2022-08-22_15:27:47_CEST [openHABian] Applying miscellaneous system settings... OK
2022-08-22_15:27:48_CEST [openHABian] Downloading FireMotD... OK
2022-08-22_15:27:49_CEST [openHABian] Installing FireMotD... OK
2022-08-22_15:27:49_CEST [openHABian] Generating FireMotD theme... OK
2022-08-22_15:28:20_CEST [openHABian] Setting up FireMotD apt updates count service... OK
2022-08-22_15:28:34_CEST [openHABian] Fetching OpenJDK 11... OK
2022-08-22_15:28:36_CEST [openHABian] Installing OpenJDK 11... OK
2022-08-22_15:29:07_CEST [openHABian] Beginning install of latest openhab release (stable)... OK
2022-08-22_15:29:07_CEST [openHABian] Adding required keys to apt... OK
2022-08-22_15:29:08_CEST [openHABian] Installing selected openHAB3 version... OK
2022-08-22_15:30:00_CEST [openHABian] Setting up openHAB service... OK
2022-08-22_15:30:01_CEST [openHABian] Optimizing openHAB to run on low memory single board computers... OK
2022-08-22_15:30:01_CEST [openHABian] Setting openHAB HTTP/HTTPS ports... OK
2022-08-22_15:30:01_CEST [openHABian] Creating dependencies to jointly start services that depend on each other... OK
2022-08-22_15:30:03_CEST [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... OK
2022-08-22_15:30:03_CEST [openHABian] Restarting openHAB service to play it safe... OK
2022-08-22_15:30:03_CEST [openHABian] Getting initial openHAB configuration... SKIPPED (backup not found at /boot/initial.zip)
2022-08-22_15:30:03_CEST [openHABian] Activating the openHAB console on all interfaces... OK
2022-08-22_15:30:03_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2022-08-22_15:30:04_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2022-08-22_15:30:04_CEST [openHABian] Adding openHAB scheme to multitail... OK
2022-08-22_15:30:04_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2022-08-22_15:30:17_CEST [openHABian] Installing Samba... 

2022-08-22_15:31:36_CEST [openHABian] Starting the openHABian initial setup.
2022-08-22_15:31:36_CEST [openHABian] Storing configuration... OK
2022-08-22_15:31:37_CEST [openHABian] Starting webserver with installation log... OK
2022-08-22_15:31:42_CEST [openHABian] Changing default username and password... SKIPPED
2022-08-22_15:31:42_CEST [openHABian] Setting up Ethernet connection... OK
2022-08-22_15:31:42_CEST [openHABian] Ensuring network connectivity... OK
2022-08-22_15:31:42_CEST [openHABian] Waiting for dpkg/apt to get ready... OK
2022-08-22_15:32:00_CEST [openHABian] Updating repositories and upgrading installed packages... OK
2022-08-22_15:32:01_CEST [openHABian] Updating myself from https://github.com/openhab/openhabian, openHAB3 branch... OK
2022-08-22_15:32:04_CEST [openHABian] Starting execution of 'openhabian-config unattended'... OK
2022-08-22_15:32:04_CEST [openHABian] Checking for root privileges... OK
2022-08-22_15:32:07_CEST [openHABian] Updating Linux package information... \ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2DOK
2022-08-22_15:32:21_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2022-08-22_15:32:22_CEST [openHABian] Adjusting swap size to 7777 MB... OK (reboot required)
2022-08-22_15:32:22_CEST [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2022-08-22_15:32:22_CEST [openHABian] Enabling time synchronization using NTP... OK
2022-08-22_15:32:23_CEST [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2022-08-22_15:33:35_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2022-08-22_15:33:35_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2022-08-22_15:33:35_CEST [openHABian] Enabling Audio output... OK
2022-08-22_15:33:36_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... FAILED
2022-08-22_15:33:36_CEST [openHABian] We tried our best to get your system installed, but this may not have worked properly.
librdmacm1:armhf (33.2-1) wird eingerichtet ...
python3-dnspython (2.0.0-1) wird eingerichtet ...
libldb2:armhf (2:2.2.3-2~deb11u2) wird eingerichtet ...
python3-cffi-backend:armhf (1.14.5-1) wird eingerichtet ...
libgfxdr0:armhf (9.2-1) wird eingerichtet ...
libboost-thread1.74.0:armhf (1.74.0-9) wird eingerichtet ...
librados2 (14.2.21-1+rpi1) wird eingerichtet ...
libcephfs2 (14.2.21-1+rpi1) wird eingerichtet ...
python3-cryptography (3.3.2-1) wird eingerichtet ...
python3-ldb (2:2.2.3-2~deb11u2) wird eingerichtet ...
libgfrpc0:armhf (9.2-1) wird eingerichtet ...
samba-libs:armhf (2:4.13.13+dfsg-1~deb11u4) wird eingerichtet ...
libgfapi0:armhf (9.2-1) wird eingerichtet ...
samba-dsdb-modules:armhf (2:4.13.13+dfsg-1~deb11u4) wird eingerichtet ...
python3-samba (2:4.13.13+dfsg-1~deb11u4) wird eingerichtet ...
samba-vfs-modules:armhf (2:4.13.13+dfsg-1~deb11u4) wird eingerichtet ...
samba-common-bin (2:4.13.13+dfsg-1~deb11u4) wird eingerichtet ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE

Done
samba (2:4.13.13+dfsg-1~deb11u4) wird eingerichtet ...
Lege Gruppe »sambashare« (GID 116) an ...
Fertig.
Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
Please ignore the following error about deb-systemd-helper not finding those services.
(samba-ad-dc.service masked)
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
samba-ad-dc.service is a disabled or a static unit, not starting it.
Trigger für man-db (2.9.4-2) werden verarbeitet ...
Trigger für libc-bin (2.31-13+rpt2+rpi1+deb11u3) werden verarbeitet ...
2022-08-22_15:34:12_CEST [openHABian] Execution of 'openhabian-config unattended' completed.
2022-08-22_15:34:12_CEST [openHABian] First time setup successfully finished. Rebooting your system!
2022-08-22_15:34:12_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://openhab3:8080
2022-08-22_15:34:12_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.


2022-08-22_15:35:15_CEST [openHABian] Starting the openHABian initial setup.
2022-08-22_15:35:15_CEST [openHABian] Storing configuration... OK
2022-08-22_15:35:16_CEST [openHABian] Starting webserver with installation log... bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
FAILED
2022-08-22_15:35:21_CEST [openHABian] Changing default username and password... SKIPPED
2022-08-22_15:35:21_CEST [openHABian] Setting up Ethernet connection... OK
2022-08-22_15:35:21_CEST [openHABian] Ensuring network connectivity... OK
2022-08-22_15:35:21_CEST [openHABian] Waiting for dpkg/apt to get ready... OK
2022-08-22_15:35:37_CEST [openHABian] Updating repositories and upgrading installed packages... OK
bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
2022-08-22_15:35:48_CEST [openHABian] Updating myself from https://github.com/openhab/openhabian, openHAB3 branch... OK
2022-08-22_15:35:50_CEST [openHABian] Starting execution of 'openhabian-config unattended'... OK
2022-08-22_15:35:50_CEST [openHABian] Checking for root privileges... OK
2022-08-22_15:35:51_CEST [openHABian] Updating Linux package information... \ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2D\ [2D| [2D/ [2D- [2DOK
2022-08-22_15:36:06_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2022-08-22_15:36:06_CEST [openHABian] Adjusting swap size to 7777 MB... OK (reboot required)
2022-08-22_15:36:07_CEST [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2022-08-22_15:36:07_CEST [openHABian] Enabling time synchronization using NTP... OK
2022-08-22_15:36:07_CEST [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2022-08-22_15:37:14_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2022-08-22_15:37:14_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2022-08-22_15:37:14_CEST [openHABian] Enabling Audio output... OK
2022-08-22_15:37:15_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2022-08-22_15:37:18_CEST [openHABian] Installing additional needed packages... OK
2022-08-22_15:37:21_CEST [openHABian] Installing python3 serial package... OK
2022-08-22_15:37:24_CEST [openHABian] Installing pigpio package... OK
2022-08-22_15:37:27_CEST [openHABian] Installing additional bluetooth packages... OK
2022-08-22_15:37:30_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2022-08-22_15:37:30_CEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2022-08-22_15:37:30_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2022-08-22_15:37:30_CEST [openHABian] Applying miscellaneous system settings... OK
2022-08-22_15:37:30_CEST [openHABian] Downloading FireMotD... OK
2022-08-22_15:37:32_CEST [openHABian] Installing FireMotD... OK
2022-08-22_15:37:32_CEST [openHABian] Generating FireMotD theme... OK
2022-08-22_15:38:45_CEST [openHABian] Setting up FireMotD apt updates count service... OK
2022-08-22_15:39:19_CEST [openHABian] Reconfiguring OpenJDK 11... OK
2022-08-22_15:39:21_CEST [openHABian] Beginning install of latest openhab release (stable)... OK
2022-08-22_15:39:21_CEST [openHABian] Adding required keys to apt... OK
2022-08-22_15:39:22_CEST [openHABian] Installing selected openHAB3 version... OK
2022-08-22_15:39:39_CEST [openHABian] Setting up openHAB service... OK
2022-08-22_15:39:42_CEST [openHABian] Optimizing openHAB to run on low memory single board computers... OK
2022-08-22_15:39:42_CEST [openHABian] Setting openHAB HTTP/HTTPS ports... OK
2022-08-22_15:39:42_CEST [openHABian] Creating dependencies to jointly start services that depend on each other... OK
2022-08-22_15:39:45_CEST [openHABian] Adding an openHAB dashboard tile for 'openhabiandocs'... Replacing... OK
2022-08-22_15:39:45_CEST [openHABian] Restarting openHAB service to play it safe... OK
2022-08-22_15:40:09_CEST [openHABian] Getting initial openHAB configuration... SKIPPED (backup not found at /boot/initial.zip)
2022-08-22_15:40:09_CEST [openHABian] Activating the openHAB console on all interfaces... OK
2022-08-22_15:40:09_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2022-08-22_15:40:11_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2022-08-22_15:40:12_CEST [openHABian] Adding openHAB scheme to multitail... OK
2022-08-22_15:40:12_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2022-08-22_15:40:25_CEST [openHABian] Setting up Samba network shares... OK
2022-08-22_15:40:26_CEST [openHABian] Setting up Samba service... OK
2022-08-22_15:40:31_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... OK
2022-08-22_15:41:49_CEST [openHABian] Installing openHAB Log Viewer (frontail)... OK
2022-08-22_15:42:16_CEST [openHABian] Setting up openHAB Log Viewer (frontail) service... OK
2022-08-22_15:42:19_CEST [openHABian] Adding an openHAB dashboard tile for 'frontail'... OK
2022-08-22_15:42:19_CEST [openHABian] Installing zram... OK
2022-08-22_15:42:28_CEST [openHABian] Beginning Mail Transfer Agent setup... SKIPPED (no configuration provided)
2022-08-22_15:42:28_CEST [openHABian] Applying file permissions recommendations... OK
2022-08-22_15:42:35_CEST [openHABian] Setting up automated SD mirroring and backup... SKIPPED (no configuration provided)
2022-08-22_15:42:35_CEST [openHABian] Cleaning up... OK
2022-08-22_15:43:23_CEST [openHABian] Execution of 'openhabian-config unattended' completed.
2022-08-22_15:43:23_CEST [openHABian] First time setup successfully finished. Rebooting your system!
2022-08-22_15:43:23_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://openhab3:8080
2022-08-22_15:43:23_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden

HappyDexter
Beiträge: 36
Registriert: 17. Sep 2020 15:03
Answers: 0

Re: neu installiertes Openhab3 kein Zugriff über Web

Beitrag von HappyDexter »

Ich glaube jetzt tatsächlich es liegt am PI.

Ich habe die Karte jetzt nochmal neu geflasht und in meinem alten Pi starten lassen und siehe da, geht ohne Probleme.

Da es beides Pi 4 Model B sind, kann ich jetzt eigentlich die Karte Problemlos von einem in den anderen packen und schauen, ob er da dann auch noch läuft?

Benutzeravatar
udo1toni
Beiträge: 15249
Registriert: 11. Apr 2018 18:05
Answers: 242
Wohnort: Darmstadt

Re: neu installiertes Openhab3 kein Zugriff über Web

Beitrag von udo1toni »

Ja, das sollte egal sein.
Das ist auf jeden Fall ein sehr interessantes Problem, was man vermutlich auch näher untersuchen sollte.
Am Ende gibt es vielleicht inzwischen gefälschte Pi4 (würde mich nicht wundern, bei den Mondpreisen, die aufgerufen werden).
openHAB4.3.3 stable in einem Debian-Container (bookworm) (Proxmox 8.3.5, LXC), mit openHABian eingerichtet

mr.b4
Beiträge: 67
Registriert: 11. Sep 2019 16:57
Answers: 0

Re: neu installiertes Openhab3 kein Zugriff über Web

Beitrag von mr.b4 »

Ich hab hier auch wochenlang (mit Frustpausen) gekämpft bis der "Setup" heute endlich bis zum WebIF durchgelaufen ist.
Der Wechsel des Raspberry 4 hat (vermutlich) geholfen.
Ein Glück, dass ich zwei davon mal in der Arbeit bestellt hatte ;-)

Antworten