Erstinstallation nicht möglich

Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.

Moderatoren: seppy, udo1toni

Antworten
Frank67
Beiträge: 1
Registriert: 19. Okt 2019 09:57
Answers: 0

Erstinstallation nicht möglich

Beitrag von Frank67 »

Hallo,

ich kann openHAB nicht auf meiem Raspberry Pi 4 installieren.

ich habe das neuste Image v1.5 verwendet.

ich erhalte immer folgende Fehlermeldung:

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
FAILED
2019-10-19_12:34:55_CEST [openHABian] Initial setup exiting with an error!

hat einer eine Idee woran es liegen könnte ?

hier der vollständige Installationsstatus:

2019-07-10_01:21:34_BST [openHABian] Starting the openHABian initial setup.
2019-07-10_01:21:34_BST [openHABian] Storing configuration... OK
2019-07-10_01:21:34_BST [openHABian] Starting webserver with installation log... OK
2019-07-10_01:21:40_BST [openHABian] Changing default username and password... OK
2019-07-10_01:21:47_BST [openHABian] Setting up Ethernet connection... OK
2019-07-10_01:21:47_BST [openHABian] Ensuring network connectivity... OK
2019-07-10_01:21:47_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2019-10-19_11:24:47_BST [openHABian] Updating repositories and upgrading installed packages... OK
2019-10-19_11:30:19_BST [openHABian] Installing git package... OK
2019-10-19_11:30:43_BST [openHABian] Cloning myself... OK
2019-10-19_11:30:46_BST [openHABian] Executing 'openhabian-setup.sh unattended'...
2019-10-19_11:30:46_BST [openHABian] Checking for root privileges... OK
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists...
2019-10-19_11:30:50_BST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2019-10-19_11:30:50_BST [openHABian] Setting timezone based on IP geolocation... OK (Europe/Berlin)
2019-10-19_12:32:04_CEST [openHABian] Setting locale based on openhabian.conf... OK
2019-10-19_12:32:42_CEST [openHABian] Setting hostname of the base system... OK
2019-10-19_12:32:42_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2019-10-19_12:32:42_CEST [openHABian] Enabling Audio output... OK
2019-10-19_12:32:42_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2019-10-19_12:33:29_CEST [openHABian] Installing additional needed packages... OK
2019-10-19_12:33:48_CEST [openHABian] Adding slightly tuned bash config files to system... OK
2019-10-19_12:33:48_CEST [openHABian] Adding slightly tuned vim config file to system... OK
2019-10-19_12:33:48_CEST [openHABian] Downloading and setting up FireMotD... OK
2019-10-19_12:34:51_CEST [openHABian] Installing Java Zulu 32-Bit OpenJDK...
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
FAILED
2019-10-19_12:34:55_CEST [openHABian] Initial setup exiting with an error!


2019-10-19_12:37:36_CEST [openHABian] Starting the openHABian initial setup.
2019-10-19_12:37:36_CEST [openHABian] Storing configuration... OK
2019-10-19_12:37:36_CEST [openHABian] Starting webserver with installation log... OK
2019-10-19_12:37:41_CEST [openHABian] Changing default username and password... SKIPPED
2019-10-19_12:37:41_CEST [openHABian] Setting up Ethernet connection... OK
2019-10-19_12:37:41_CEST [openHABian] Ensuring network connectivity... OK
2019-10-19_12:37:41_CEST [openHABian] Waiting for dpkg/apt to get ready...

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

Re: Erstinstallation nicht möglich

Beitrag von udo1toni »

Ja, das ist momentan so. Es gab eine Änderung bei Zulu, wodurch openHABian nicht mehr den korrekten Pfad für die Installationsdateien bestimmen kann. Abhilfe momentan ist, Zulu von Hand zu installieren (die 32Bit-Version). Danach müsste das Script erkennen, dass Java Zulu schon installiert ist und den entsprechenden Schritt überspringen.
openHAB4.3.3 stable in einem Debian-Container (bookworm) (Proxmox 8.3.5, LXC), mit openHABian eingerichtet

violine21
Beiträge: 600
Registriert: 20. Sep 2019 05:49
Answers: 7

Re: Erstinstallation nicht möglich

Beitrag von violine21 »

Das dürfte aber nur funktionieren, wenn man statt des OpenHAB-Image, das normale Raspbian Buster installiert, dann das Zulu und zuletzt OpenHAB und seine Pakete.
Ich will hier auch noch einen neuen Pi 4 aufsetzen und werde warten, bis das OpenHAB-Image gefixt ist.
siehe auch hier:

Code: Alles auswählen

https://github.com/openhab/openhabian/issues/710

Antworten