OH3/OH2.5 - Ich krieg keine Installation hin

Moderatoren: seppy, udo1toni

Benutzeravatar
peter-pan
Beiträge: 2568
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von peter-pan »

Ich glaube ich steh irgendwie im Walde(oder auf'm Schlauch).

Ich versuche seit einigen Tagen ein openHAB-System aufzusetzen und scheitere kläglich.
Ich hab es mit dem SD-Karten-Image probiert und auch mit einer manuellen Installation auf der Basis RasPi OS lite. Es klappt einfach nicht.

Es wird zwar immer das Linux-System installiert aber die OH-Installation wird abgebrochen. Als Hardware steht ein RasPi 4b mit 2 GB Speicher zur Verfügung(Ethernet).
Ich hab es auch mit verschiedenen Version (openHABian V1.6.6 und openHABian v1.7-beta) probiert.

In der "openhabian.conf" hab ich ich die Parameter

Code: Alles auswählen

# Hostname to set this one to
hostname=oh3
# if it exists, the default user (with its working environment) will be renamed to this username given here ...
username=hab3
# ... and given this password. The password will be removed from this file after completion for security reasons.
userpw="verratichnicht"

# install zram per default, set to "disable" to skip installation
zraminstall=disable
...geändert


Hier mal die First-Boot-Logs von drei Versuchen:

Code: Alles auswählen

hab3@oh3:~ $ sudo cat /boot/first-boot.log
[sudo] Passwort für hab3:


2021-05-07_16:00:49_BST [openHABian] Starting the openHABian initial setup.
2021-05-07_16:00:49_BST [openHABian] Storing configuration... OK
2021-05-07_16:00:50_BST [openHABian] Starting webserver with installation log...                                                                                             OK
2021-05-07_16:00:56_BST [openHABian] Changing default username and password... O                                                                                            K
2021-05-07_16:01:00_BST [openHABian] Setting up Ethernet connection... OK
2021-05-07_16:01:00_BST [openHABian] Ensuring network connectivity... OK
2021-05-07_16:01:00_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2021-05-07_16:01:07_BST [openHABian] Updating repositories and upgrading install                                                                                            ed packages... OK
2021-05-07_16:01:23_BST [openHABian] Installing git package... OK
2021-05-07_16:01:50_BST [openHABian] Updating myself from https://github.com/ope                                                                                            nhab/openhabian, main branch... OK
2021-05-07_16:01:56_BST [openHABian] Starting execution of 'openhabian-config un                                                                                            attended'... OK
2021-05-07_16:01:56_BST [openHABian] Checking for root privileges... OK
2021-05-07_16:01:57_BST [openHABian] Updating Linux package information... OK
2021-05-07_16:02:02_BST [openHABian] Loading configuration file '/etc/openhabian                                                                                            .conf'... OK
2021-05-07_16:02:03_BST [openHABian] Adjusting swap size to 3744 MB... OK (reboo                                                                                            t required)
2021-05-07_16:02:04_BST [openHABian] Setting timezone based on openhabian.conf..                                                                                            . OK (Europe/Berlin)
2021-05-07_17:02:04_CEST [openHABian] Enabling time synchronization using NTP...                                                                                             OK
2021-05-07_17:02:04_CEST [openHABian] Setting locale based on openhabian.conf...                                                                                             OK (reboot required)
2021-05-07_17:02:42_CEST [openHABian] Setting hostname of the base system based                                                                                             on openhabian.conf... OK
2021-05-07_17:02:42_CEST [openHABian] Setting the GPU memory split down to 16MB                                                                                             for headless system... OK
2021-05-07_17:02:42_CEST [openHABian] Enabling Audio output... OK
2021-05-07_17:02:42_CEST [openHABian] Installing basic can't-be-wrong packages (                                                                                            screen, vim, ...)... OK
2021-05-07_17:03:53_CEST [openHABian] Installing additional needed packages... O                                                                                            K
2021-05-07_17:05:05_CEST [openHABian] Installing python3 serial package... OK
2021-05-07_17:05:30_CEST [openHABian] Installing pigpio package... OK
2021-05-07_17:05:54_CEST [openHABian] Installing additional bluetooth packages..                                                                                            . OK
2021-05-07_17:06:16_CEST [openHABian] Adding slightly tuned bash configuration f                                                                                            iles to system... OK
2021-05-07_17:06:16_CEST [openHABian] Adding slightly tuned vim configuration fi                                                                                            le to system... OK
2021-05-07_17:06:16_CEST [openHABian] tailscale VPN installation... SKIPPED (no                                                                                             preauthkey defined)
2021-05-07_17:06:16_CEST [openHABian] Applying miscellaneous system settings...                                                                                             OK
2021-05-07_17:06:16_CEST [openHABian] Downloading FireMotD... OK
2021-05-07_17:06:19_CEST [openHABian] Installing FireMotD... OK
2021-05-07_17:06:19_CEST [openHABian] Generating FireMotD theme... OK
2021-05-07_17:06:36_CEST [openHABian] Setting up FireMotD apt updates count serv                                                                                            ice... OK
2021-05-07_17:06:51_CEST [openHABian] Installing cached version of Java to ensur                                                                                            e that some form of Java is installed!
2021-05-07_17:06:51_CEST [openHABian] Installing Java Zulu prerequisites (libc,                                                                                             libstdc++, zlib1g)... OK
2021-05-07_17:06:51_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK...                                                                                             OK
2021-05-07_17:06:53_CEST [openHABian] Installing Java Zulu CEK to enable unlimit                                                                                            ed cipher strength... OK
2021-05-07_17:06:55_CEST [openHABian] Installing Java Zulu prerequisites (libc,                                                                                             libstdc++, zlib1g)... OK
2021-05-07_17:06:55_CEST [openHABian] Downloading Java Zulu 11 32-Bit OpenJDK...                                                                                             OK
2021-05-07_17:08:01_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK...                                                                                             OK
2021-05-07_17:08:11_CEST [openHABian] Installing Java Zulu CEK to enable unlimit                                                                                            ed cipher strength... OK
2021-05-07_17:08:11_CEST [openHABian] Beginning install of latest openhab releas                                                                                            e (stable)... OK
2021-05-07_17:08:11_CEST [openHABian] Adding required keys to apt... OK
2021-05-07_17:08:12_CEST [openHABian] Installing selected main version... FAILED                                                                                             (update apt lists)
2021-05-07_17:08:16_CEST [openHABian] Getting initial openHAB configuration... S                                                                                            KIPPED (backup not found at /boot/initial.zip)
2021-05-07_17:08:16_CEST [openHABian] Activating the openHAB console on all inte                                                                                            rfaces... FAILED (sshHost)
2021-05-07_17:08:16_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2021-05-07_17:08:18_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2021-05-07_17:08:19_CEST [openHABian] Adding openHAB scheme to multitail... OK
2021-05-07_17:08:19_CEST [openHABian] Preparing openHAB folder mounts under '/sr                                                                                            v/openhab-*'... OK
2021-05-07_17:08:24_CEST [openHABian] Installing Samba... OK
2021-05-07_17:09:33_CEST [openHABian] Setting up Samba network shares... OK
2021-05-07_17:09:34_CEST [openHABian] Setting up Samba service... OK
2021-05-07_17:09:35_CEST [openHABian] Installing Frontail prerequsites (NodeJS).                                                                                            .. FAILED
Failed to open terminal.







┌──────────────────────────┤ Frontail not installed ├──────────────────────────┐
│                                                                              │
│ Frontail is not installed!                                                   │
│                                                                              │
│ Canceling operation!                                                         │
│                                                                              │
│                                    <Ok>                                      │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘







2021-05-07_17:09:35_CEST [openHABian] Skipping zram install as requested.2021-05                                                                                            -07_17:09:35_CEST [openHABian] Beginning Mail Transfer Agent setup... CANCELED (                                                                                            no configuration provided)
2021-05-07_17:09:35_CEST [openHABian] Applying file permissions recommendations.                                                                                            .. FAILED (please execute after openHAB is installed)
2021-05-07_17:09:36_CEST [openHABian] Setting up automated SD mirroring and back                                                                                            up... SKIPPED (no configuration provided)
2021-05-07_17:09:36_CEST [openHABian] Cleaning up... OK
2021-05-07_17:10:00_CEST [openHABian] Execution of 'openhabian-config unattended                                                                                            ' completed.
2021-05-07_17:10:00_CEST [openHABian] First time setup successfully finished. Re                                                                                            booting your system!
2021-05-07_17:10:00_CEST [openHABian] After rebooting the openHAB dashboard will                                                                                             be available at: http://oh3:8080
2021-05-07_17:10:00_CEST [openHABian] After rebooting to gain access to a consol                                                                                            e, simply reconnect using ssh.
hab3@oh3:~ $


2021-05-07_19:31:37_CEST [openHABian] Starting the openHABian initial setup.
2021-05-07_19:31:37_CEST [openHABian] Storing configuration... OK
2021-05-07_19:31:37_CEST [openHABian] Starting webserver with installation log... bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
FAILED
2021-05-07_19:31:42_CEST [openHABian] Changing default username and password... SKIPPED
2021-05-07_19:31:42_CEST [openHABian] Setting up Ethernet connection... OK
2021-05-07_19:31:42_CEST [openHABian] Ensuring network connectivity... OK
2021-05-07_19:31:42_CEST [openHABian] Waiting for dpkg/apt to get ready... OK
2021-05-07_19:31:49_CEST [openHABian] Updating repositories and upgrading installed packages... OK
bash: /boot/webserver.bash: Datei oder Verzeichnis nicht gefunden
2021-05-07_19:32:04_CEST [openHABian] Updating myself from https://github.com/openhab/openhabian, main branch... OK
2021-05-07_19:32:10_CEST [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-05-07_19:32:10_CEST [openHABian] Checking for root privileges... OK
2021-05-07_19:32:11_CEST [openHABian] Updating Linux package information... OK
2021-05-07_19:32:16_CEST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-05-07_19:32:16_CEST [openHABian] Adjusting swap size to 3844 MB... OK (reboot required)
2021-05-07_19:32:16_CEST [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-05-07_19:32:16_CEST [openHABian] Enabling time synchronization using NTP... OK
2021-05-07_19:32:16_CEST [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-05-07_19:32:56_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-05-07_19:32:56_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-05-07_19:32:56_CEST [openHABian] Enabling Audio output... OK
2021-05-07_19:32:56_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2021-05-07_19:33:01_CEST [openHABian] Installing additional needed packages... OK
2021-05-07_19:33:09_CEST [openHABian] Installing python3 serial package... OK
2021-05-07_19:33:17_CEST [openHABian] Installing pigpio package... OK
2021-05-07_19:33:22_CEST [openHABian] Installing additional bluetooth packages... OK
2021-05-07_19:33:28_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2021-05-07_19:33:29_CEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2021-05-07_19:33:29_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2021-05-07_19:33:29_CEST [openHABian] Applying miscellaneous system settings... OK
2021-05-07_19:33:33_CEST [openHABian] Downloading FireMotD... OK
2021-05-07_19:33:34_CEST [openHABian] Installing FireMotD... OK
2021-05-07_19:33:34_CEST [openHABian] Generating FireMotD theme... OK
2021-05-07_19:33:56_CEST [openHABian] Setting up FireMotD apt updates count service... OK
2021-05-07_19:34:19_CEST [openHABian] Beginning install of latest openhab release (stable)... OK
2021-05-07_19:34:19_CEST [openHABian] Adding required keys to apt... OK
2021-05-07_19:34:19_CEST [openHABian] Installing selected main version... FAILED (update apt lists)
2021-05-07_19:34:24_CEST [openHABian] Getting initial openHAB configuration... SKIPPED (backup not found at /boot/initial.zip)
2021-05-07_19:34:24_CEST [openHABian] Activating the openHAB console on all interfaces... FAILED (sshHost)
2021-05-07_19:34:24_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2021-05-07_19:34:25_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2021-05-07_19:34:26_CEST [openHABian] Adding openHAB scheme to multitail... OK
2021-05-07_19:34:26_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2021-05-07_19:34:30_CEST [openHABian] Setting up Samba network shares... OK
2021-05-07_19:34:30_CEST [openHABian] Setting up Samba service... OK
2021-05-07_19:34:32_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... FAILED
Failed to open terminal.







┌──────────────────────────┤ Frontail not installed ├──────────────────────────┐
│                                                                              │
│ Frontail is not installed!                                                   │
│                                                                              │
│ Canceling operation!                                                         │
│                                                                              │
│                                    <Ok>                                      │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘







2021-05-07_19:34:32_CEST [openHABian] Skipping zram install as requested.2021-05-07_19:34:32_CEST [openHABian] Beginning Mail Transfer Agent setup... CANCELED (no configuration provided)
2021-05-07_19:34:32_CEST [openHABian] Applying file permissions recommendations... FAILED (please execute after openHAB is installed)
2021-05-07_19:34:32_CEST [openHABian] Setting up automated SD mirroring and backup... SKIPPED (no configuration provided)
2021-05-07_19:34:32_CEST [openHABian] Cleaning up... OK
2021-05-07_19:34:37_CEST [openHABian] Execution of 'openhabian-config unattended' completed.
2021-05-07_19:34:37_CEST [openHABian] First time setup successfully finished. Rebooting your system!
2021-05-07_19:34:37_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://oh3:8080
2021-05-07_19:34:37_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
hab3@oh3:~ $


hab3@oh3:~ $ sudo cat /boot/first-boot.log


2021-10-30_11:29:55_UTC [openHABian] Starting the openHABian initial setup.
2021-10-30_11:29:55_UTC [openHABian] Storing configuration... OK
2021-10-30_11:30:04_UTC [openHABian] Starting webserver with installation log... OK
2021-10-30_11:30:15_UTC [openHABian] Changing default username and password... OK
2021-10-30_11:30:33_UTC [openHABian] Setting up Ethernet connection... OK
2021-10-30_11:30:33_UTC [openHABian] Ensuring network connectivity... OK
2021-10-30_11:30:33_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2021-10-30_11:30:39_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2021-10-30_11:30:57_UTC [openHABian] Installing git package... OK
2021-10-30_11:31:25_UTC [openHABian] Updating myself from https://github.com/openhab/openhabian, HEAD branch... OK
2021-10-30_11:31:28_UTC [openHABian] Starting execution of 'openhabian-config unattended'... OK
2021-10-30_11:31:28_UTC [openHABian] Checking for root privileges... OK
2021-10-30_11:31:28_UTC [openHABian] Updating Linux package information... OK
2021-10-30_11:31:33_UTC [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2021-10-30_11:31:34_UTC [openHABian] Adjusting swap size to 3744 MB... OK (reboot required)
2021-10-30_11:31:34_UTC [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2021-10-30_13:31:35_CEST [openHABian] Enabling time synchronization using NTP... OK
2021-10-30_13:31:35_CEST [openHABian] Setting locale based on openhabian.conf... OK (reboot required)
2021-10-30_13:32:11_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2021-10-30_13:32:11_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2021-10-30_13:32:11_CEST [openHABian] Enabling Audio output... OK
2021-10-30_13:32:12_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2021-10-30_13:33:32_CEST [openHABian] Installing additional needed packages... OK
2021-10-30_13:34:19_CEST [openHABian] Installing python3 serial package... OK
2021-10-30_13:34:43_CEST [openHABian] Installing pigpio package... OK
2021-10-30_13:35:08_CEST [openHABian] Installing additional bluetooth packages... OK
2021-10-30_13:35:30_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2021-10-30_13:35:30_CEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2021-10-30_13:35:31_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2021-10-30_13:35:31_CEST [openHABian] Applying miscellaneous system settings... OK
2021-10-30_13:35:32_CEST [openHABian] Downloading FireMotD... OK
2021-10-30_13:35:34_CEST [openHABian] Installing FireMotD... OK
2021-10-30_13:35:34_CEST [openHABian] Generating FireMotD theme... OK
2021-10-30_13:36:12_CEST [openHABian] Setting up FireMotD apt updates count service... OK
2021-10-30_13:36:34_CEST [openHABian] Installing cached version of Java to ensure that some form of Java is installed!
2021-10-30_13:36:34_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2021-10-30_13:36:34_CEST [openHABian] Installing Java Zulu 11 32-Bit OpenJDK... OK
2021-10-30_13:36:36_CEST [openHABian] Installing Java Zulu CEK to enable unlimited cipher strength... OK
2021-10-30_13:36:37_CEST [openHABian] Beginning install of latest openhab release (stable)... OK
2021-10-30_13:36:37_CEST [openHABian] Adding required keys to apt... OK
2021-10-30_13:36:38_CEST [openHABian] Installing selected HEAD version... FAILED (update apt lists)
2021-10-30_13:36:43_CEST [openHABian] Getting initial openHAB configuration... SKIPPED (backup not found at /boot/initial.zip)
2021-10-30_13:36:43_CEST [openHABian] Activating the openHAB console on all interfaces... FAILED (sshHost)
2021-10-30_13:36:43_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2021-10-30_13:36:45_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2021-10-30_13:36:45_CEST [openHABian] Adding openHAB scheme to multitail... OK
2021-10-30_13:36:45_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2021-10-30_13:36:50_CEST [openHABian] Installing Samba... OK
2021-10-30_13:38:09_CEST [openHABian] Setting up Samba network shares... OK
2021-10-30_13:38:10_CEST [openHABian] Setting up Samba service... OK
2021-10-30_13:38:11_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... FAILED
Failed to open terminal.







┌──────────────────────────┤ Frontail not installed ├──────────────────────────┐
│                                                                              │
│ Frontail is not installed!                                                   │
│                                                                              │
│ Canceling operation!                                                         │
│                                                                              │
│                                    <Ok>                                      │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘







2021-10-30_13:38:18_CEST [openHABian] Skipping zram install as requested.2021-10-30_13:38:18_CEST [openHABian] Beginning Mail Transfer Agent setup... CANCELED (no configuration provided)
2021-10-30_13:38:18_CEST [openHABian] Applying file permissions recommendations... FAILED (please execute after openHAB is installed)
2021-10-30_13:38:18_CEST [openHABian] Setting up automated SD mirroring and backup... SKIPPED (no configuration provided)
2021-10-30_13:38:18_CEST [openHABian] Cleaning up... OK
2021-10-30_13:38:50_CEST [openHABian] Execution of 'openhabian-config unattended' completed.
2021-10-30_13:38:50_CEST [openHABian] First time setup successfully finished. Rebooting your system!
2021-10-30_13:38:50_CEST [openHABian] After rebooting the openHAB dashboard will be available at: http://oh3:8080
2021-10-30_13:38:50_CEST [openHABian] After rebooting to gain access to a console, simply reconnect using ssh.
hab3@oh3:~ $
Vielleicht kann mir ja jemand sagen was ich vergesse oder übersehe oder schlicht und einfach falsch mache.
von udo1toni » 1. Dez 2021 20:17
Das mit der Uhrzeit ist tatsächlich vermutlich das eigentliche Problem. Hatte das vorher gar nicht gesehen, aber das erklärt dann, warum die Schlüssel noch gar nicht gültig sind.

Du könntest versuchen, die Rechneruhr mal korrekt zu stellen :) und danach einfach ein apt update && apt upgrade durchzuführen.

Gewöhnlich sollte Raspberry Pi OS automatisch die Uhrzeit über NTP beziehen. Evtl. stimmen die Einstellungen innerhalb Deines Routers nicht.
Gehe zur vollständigen Antwort
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.2 openhabian

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

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von udo1toni »

Bist Du sicher, dass openHAB nicht installiert ist? Die Meldung bezieht sich ja nur auf Frontail, und das schlägt fehl, weil NodeJS nicht installiert wird.
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet

Benutzeravatar
peter-pan
Beiträge: 2568
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von peter-pan »

Udo, ich weiss, dass hört sich doof an, aber es ist wirklich so. Ich krieg OH nicht installiert.

Ich hab gestern noch mal einen Versuch gestartet. Basierend auf der Vorlage, die du mir schon mal gegeben hast. Da hab ich es dann hin bekommen (teilweise). Basis war hier das mit Etcher aufgespielte Image.

Allerdings ließ sich frontail nicht installieren, trotz:

Code: Alles auswählen

sudo apt-get install nodejs 
sudo apt-get install npm
npm i frontail -g
Bei der Installation von npm gab's dann Fehlermeldungen.

Code: Alles auswählen

Do you want to continue? [Y/n] Y
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf node-ansi-regex all 3.0.0-1
  404  Not Found [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf node-tar all 4.4.6+ds1-3
  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/n/node-ansi-regex/node-ansi-regex_3.0.0-1_all.deb  404  Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/n/node-tar/node-tar_4.4.6+ds1-3_all.deb  404  Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
openhabian@hostoh3:~ $ sudo apt update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://davesteele.github.io/comitup/repo comitup InRelease [3,936 B]
Get:3 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing InRelease [12.5 kB]
Err:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 075721F6A224060A
Reading package lists... Done
E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 206d 6h 53min 31s). Updates for this repository will not be applied.
E: Release file for http://davesteele.github.io/comitup/repo/dists/comitup/InRelease is not valid yet (invalid for another 167d 4h 31min 12s). Updates for this repository will not be applied.
E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 206d 9h 1min 10s). Updates for this repository will not be applied.
W: GPG error: https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 075721F6A224060A
E: The repository 'https://openhab.jfrog.io/artifactory/openhab-linuxpkg testing InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
openhabian@hostoh3:~ $
Die Fehlermeldungen sagen mir eher weniger. :oops:

Irgendwie steh ich auf dem Schlauch. Ich frage mich auch, warum die Installation von frontail nicht klappt. Eigentlich mach ich ja nichts anderes als das Image mit Etcher auf die SD-Karte zu spielen und zu warten. Es gibt aber nach dem Ende der Installation (Abbruch) kein OH und auch keinen Dienst (openhab.service), etc.

Das einzige was nach dem Reboot passiert ist, dass "FireMotD" bzw. ".bash_profile" versucht auf oh2 zu zugreifen(das gibt's aber auch nicht).
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.2 openhabian

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

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von udo1toni »

Warum buster? Inzwischen ist bullseye längst stable, das Raspberry Pi OS sollte ebenfalls mit bullseye arbeiten.
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet

Benutzeravatar
peter-pan
Beiträge: 2568
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von peter-pan »

udo1toni hat geschrieben: 30. Nov 2021 13:29Warum buster?
Ich weiss. Ich habe ja Dank deiner "helfenden Hand" auch mein OH3-Test-System auf "bullseye" aufgerüstet. Das hat allerdings bei meinem Prod-System (2.5.12) nicht geklappt(mit einem Clone). Und so fing alles an......

Egal. Das Buster hatte von einem Installations-Versuch (openhabian 1.6.6)oder evtl. RasPi-OS auf der SD-Karte. Auf dieser Basis habe ich dann mit deiner Vorlage weiter gearbeitet. Theoretisch könnte(kann) ich jetzt OH3 aufrufen und einen Admin anmelden. Aber mit so einer "halben" Installation will ich nicht weiter arbeiten.

Code: Alles auswählen

login as: openhabian
openhabian@192.168.178.24's password:
Linux hostoh3 5.10.63-v7l+ #1457 SMP Tue Sep 28 11:26:14 BST 2021 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri May  7 23:54:37 2021 from 192.168.178.99

Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.


###############################################################################
###############  hostoh3  #####################################################
###############################################################################
##        Ip = 192.168.178.24
##   Release = Raspbian GNU/Linux 10 (buster)
##    Kernel = Linux 5.10.63-v7l+
##  Platform = Raspberry Pi 4 Model B Rev 1.1
##    Uptime = 0 day(s). 0:0:43
## CPU Usage = 30.3% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
##  CPU Load = 1m: 0.99, 5m: 0.29, 15m: 0.10
##    Memory = Free: 1.49GB (80%), Used: 0.37GB (20%), Total: 1.87GB
##      Swap = Free: 1.99GB (100%), Used: 0.00GB (0%), Total: 1.99GB
##      Root = Free: 23.65GB (85%), Used: 4.10GB (15%), Total: 28.97GB
##   Updates = 0 apt updates available.
##  Sessions = 1 session(s)
## Processes = 128 running processes of 32768 maximum processes
###############################################################################

                          _   _     _     ____   _
  ___   ___   ___   ___  | | | |   / \   | __ ) (_)  ____   ___
 / _ \ / _ \ / _ \ / _ \ | |_| |  / _ \  |  _ \ | | / _  \ / _ \
| (_) | (_) |  __/| | | ||  _  | / ___ \ | |_) )| || (_) || | | |
 \___/|  __/ \___/|_| |_||_| |_|/_/   \_\|____/ |_| \__|_||_| | |
      |_|                          3.2.0.M4 - Milestone Build

Looking for a place to get started? Check out 'sudo openhabian-config' and the
documentation at https://www.openhab.org/docs/installation/openhabian.html
The openHAB dashboard can be reached at http://hostoh3:8080
To interact with openHAB on the command line, execute: 'openhab-cli --help'

openhabian@hostoh3:~ $

Ich hab es auch schon mit openhabian v1.7. beta probiert, da dort ja schon standardmäßig bullseye verwendet wird. Immer das gleiche Ergebnis.
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.2 openhabian

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

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von udo1toni »

Aber die Fehlermeldungen müssten andere sein. Bei buster bin ich ziemlich sicher, dass externe Paketquellen angepasst werden müssen, weil buster eben nicht mehr stable, sondern oldstable ist.
Auf der anderen Seite kann ich mir auch nicht vorstellen, dass 1.7 so broken sein soll und das niemandem auffällt...
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet

Benutzeravatar
peter-pan
Beiträge: 2568
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von peter-pan »

udo1toni hat geschrieben: 30. Nov 2021 14:40 Auf der anderen Seite kann ich mir auch nicht vorstellen, dass 1.7 so broken sein soll und das niemandem auffällt...
Tja, da bin ich jetzt auch überfragt. Aber, wenn ich doch openhabian v1.6.6 nehme würde doch das Script die notwendigen Massnahmen erledigen.

Aber hier sollte ich ja die richtigen (aktuellen) Downloads bekommen und mit Option 1 flashen. Ich probier's erst mal mit 3.1stable und sollte das klappen, werde ich das mal mit dem Milestone probieren.

Vielleicht geschieht ja ein kleines Wunder ;)
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.2 openhabian

yab
Beiträge: 22
Registriert: 10. Jun 2020 13:47
Answers: 1

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von yab »

Code: Alles auswählen

login as: openhabian
...
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
...
Dein wlan ist geblockt nach der opebhabian 1.7 Installation , wenn ich das richtig verstehe. Das hast du schon wahrgenommen, oder?

Ich hatte die Tage auch sowas nach einen meiner Updateversuche "buster" -> "bullseye". Aber ich kann mich nicht wirklich erinnern, wie ich das Problem gelöst habe.
Gruß
--
Marino

Benutzeravatar
peter-pan
Beiträge: 2568
Registriert: 28. Nov 2018 12:03
Answers: 25
Wohnort: Schwäbisch Gmünd

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von peter-pan »

yab hat geschrieben: 30. Nov 2021 15:51 Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
Danke für die Info.
Das hat aber m.W. nichts mit meinen Problemen zu tun, da ich am Ethernet hänge und gar keine Wi-Fi Verbindung habe. Es steht da auch, dass ich "raspi-config" benutzen sollte. Aber falls man das probiert, kommt diese Meldung:

Code: Alles auswählen

openhabian@hostoh3:~ $ sudo raspi-config
[sudo] password for openhabian:
sudo: raspi-config: command not found
Aber die Wi_Fi-Message hab ich ganz einfach über "openhabian-config" weg bekommen(oder mit rfkill).

Gerade habe ich versucht das Milstone-Release von der Homepage herunter zu laden. Da wird mir nun aber das gleich Zip-File angeboten, wie für "stable". Das muss ich aber jetzt nicht verstehen.

Eine andere Frage. Hast du die Migration nach "bullseye" hinbekommen ?
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.1.2 openhabian

yab
Beiträge: 22
Registriert: 10. Jun 2020 13:47
Answers: 1

Re: OH3/OH2.5 - Ich krieg keine Installation hin

Beitrag von yab »

peter-pan hat geschrieben: 30. Nov 2021 16:08 Es steht da auch, dass ich "raspi-config" benutzen sollte.
Ja, sorry. raspi-config wird in ohb weggelassen, weil es die Dinge wohl verkompliziert.
Mir war nur die Meldung in Auge gefallen ... vermutlich weil ich die Tage da auch #?+%! hatte.
Gerade habe ich versucht das Milstone-Release von der Homepage herunter zu laden. Da wird mir nun aber das gleich Zip-File angeboten, wie für "stable". Das muss ich aber jetzt nicht verstehen.
Es wird sicher nicht jeder Milestone in openhabian implementiert. Den könntest ja dann ggf. mit openhabian-config nachinstallieren. Wenn du denn mal eine funktionierende Installation hättest ... <\ähem>
Eine andere Frage. Hast du die Migration nach "bullseye" hinbekommen ?
Auf der Basis von irgend einen Image von Joy-IT wegen Strompi3: ja, 2mal. Beim ersten mal war irgendwann irgendwas kaputt bzw. habe ich den vnc-server nicht zum spielen bekommen. Der zweite Versuch sieht besser aus, war aber auch holprig und ich kann nicht wirklich beschreiben, wie ich da hingekommen bin. Trotzdem ist das nix, was ich für ein Zielsystem machen würde, das stabil sein soll.

Hier gibt es gerade einen Artikel Upgrade: Raspberry Pi OS auf »Bullseye« aktualisieren. Aber so geradlinig ging das bei mir nicht.


EDIT meint: ich hätte mal die Anleitung von Udo dazu lesen sollen. :roll:
Gruß
--
Marino

Antworten