I’m looking through both links now, but have to set it aside for a few hours for some other work.
But I think this is worth noting: I’ve tried setup several times - image one, while waiting for the other to start, do another, just in case. When I put a new image in and start the Pi, I have a monitor on and keyboard attached. I’m using Raspberry Pi Imager to write the images. When I modify the settings in Imager to create a password for the user pi, I find that it boots up. (I can’t remember if it automatically logs that user in or not.) If I don’t specify the user pi and a password, then when it boots, on the monitor, it asks me for my keyboard info and to specify a username (I use pi) and a password, then logs me in.
I’m wondering, since oH is designed to be run headless, if that’s the issue - that I do ANYTHING with the user. But, on the other hand, when Debian (isn’t OpenHabian based on Debian?) asks for setup info, I don’t know if other services are already running and if oH can continue with that prompt showing. (I suspect this isn’t an issue. I’m just mentioning it in case it becomes an issue later.)
While openhabian shows up as a directory in /home, it does not show in /etc/passwd. (I made an assumption - if the directory is there, I assumed the user was fully created.)
My guess is that the thing to do now is to use a clean image and boot and just step away from the keyboard and give it time to see what it does if I don’t mess with the user info. I can give it time and, after 10-20 minutes (the user should be created by then), see if I can ssh under openhab in to see what’s going on.
Here’s /boot/first-boot.log, at the bottom of the post. A number of items failed. I’m wondering if that could be because I messed with the user pi and it didn’t get to change it to openhab.
I’m going to take a fresh image and put it in to boot while I have to go fix a lock at the office. That’ll take a few hours and that should allow enough time, if it’s working properly (and if I don’t interfere) for the web interface to be up and running.
2022-04-04_15:41:56_BST [openHABian] Starting the openHABian initial setup.
2022-04-04_15:41:56_BST [openHABian] Storing configuration... OK
2022-04-04_15:41:57_BST [openHABian] Starting webserver with installation log... OK
2022-09-07_18:00:10_BST [openHABian] Changing default username and password... OK
2022-09-07_18:00:10_BST [openHABian] Setting up Ethernet connection... OK
2022-09-07_18:00:11_BST [openHABian] Ensuring network connectivity... OK
2022-09-07_18:00:11_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2022-09-07_18:00:18_BST [openHABian] Updating repositories and upgrading installed packages... OK
2022-09-07_18:00:42_BST [openHABian] Installing git package... FAILED
2022-09-07_18:00:43_BST [openHABian] Updating myself from https://github.com/openhab/openhabian, openHAB3 branch... OK
2022-09-07_18:00:43_BST [openHABian] Starting execution of 'openhabian-config unattended'... OK
2022-09-07_18:00:43_BST [openHABian] Checking for root privileges... OK
2022-09-07_18:00:45_BST [openHABian] Updating Linux package information... \ ESC[2D| ESC[2D/ ESC[2D- ESC[2D\ ESC[2D| ESC[2D/ ESC[2D- ESC[2D\ ESC[2DOK
2022-09-07_18:00:50_BST [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2022-09-07_18:00:50_BST [openHABian] Adjusting swap size to 7588 MB... OK (reboot required)
2022-09-07_18:00:50_BST [openHABian] Setting timezone based on openhabian.conf... OK (Europe/Berlin)
2022-09-07_19:00:50_CEST [openHABian] Enabling time synchronization using NTP... OK
2022-09-07_19:00:50_CEST [openHABian] Setting locale based on openhabian.conf... FAILED (reconfigure locales)
2022-09-07_19:01:10_CEST [openHABian] Setting hostname of the base system based on openhabian.conf... OK
2022-09-07_19:01:10_CEST [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2022-09-07_19:01:10_CEST [openHABian] Enabling Audio output... OK
2022-09-07_19:01:10_CEST [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... FAILED (remove raspi-config)
2022-09-07_19:01:11_CEST [openHABian] Installing additional needed packages... FAILED
2022-09-07_19:01:13_CEST [openHABian] Adding slightly tuned bash configuration files to system... OK
2022-09-07_19:01:13_CEST [openHABian] Adding slightly tuned vim configuration file to system... OK
2022-09-07_19:01:13_CEST [openHABian] tailscale VPN installation... SKIPPED (no preauthkey defined)
2022-09-07_19:01:13_CEST [openHABian] Applying miscellaneous system settings... OK
2022-09-07_19:01:13_CEST [openHABian] Installing FireMotD required packages (bc, sysstat, jq, moreutils)... FAILED
2022-09-07_19:01:14_CEST [openHABian] Fetching OpenJDK 11... FAILED
2022-09-07_19:01:16_CEST [openHABian] Installing OpenJDK 11... FAILED
2022-09-07_19:01:17_CEST [openHABian] Beginning install of latest openhab release (stable)... OK
2022-09-07_19:01:17_CEST [openHABian] Adding required keys to apt... OK
2022-09-07_19:01:18_CEST [openHABian] Installing selected openHAB3 version... FAILED
2022-09-07_19:01:23_CEST [openHABian] Getting initial openHAB configuration... SKIPPED (backup not found at /boot/initial.zip)
2022-09-07_19:01:23_CEST [openHABian] Activating the openHAB console on all interfaces... FAILED (sshHost)
2022-09-07_19:01:23_CEST [openHABian] Adding openHAB syntax to vim editor... OK
2022-09-07_19:01:25_CEST [openHABian] Adding openHAB syntax to nano editor... OK
2022-09-07_19:01:26_CEST [openHABian] Adding openHAB scheme to multitail... FAILED (remove default configuration)
2022-09-07_19:01:26_CEST [openHABian] Preparing openHAB folder mounts under '/srv/openhab-*'... OK
2022-09-07_19:01:29_CEST [openHABian] Installing Samba... FAILED
2022-09-07_19:01:30_CEST [openHABian] Installing Frontail prerequsites (NodeJS)... FAILED
Failed to open terminal.ESC[1;24rESC[4lESC)0ESC[m^OESC[37mESC[40mESC[1;24rESC[HESC[JESC[1;1HESC[35mESC[K