Issue of the topic:
After a couple of hours from the start of the first boot, I unsuccessfully tried to connect to the OpenHAB web console.
Then I successfully tried to connect to the system via SSH (openhabian:openhabian).
The installation seemed stuck because of a missing file/directory:
/bin/bash: /opt/openhabian/openhabian-setup.sh: No such file or directory
I typed ctrl+c to get the shell prompt, which I obtained.
I cd to /opt/openhabian and found a file named openhabian-setup.bash (which looked like a regular script file) instead of openhabian-setup.sh.
If logs where generated please post these here using code fences:
2019-03-20_13:29:48_UTC [openHABian] Starting the openHABian initial setup.
2019-03-20_13:29:52_UTC [openHABian] Storing configuration... OK
2019-03-20_13:29:52_UTC [openHABian] Changing default username and password... OK
2019-03-20_13:30:28_UTC [openHABian] Setting up Ethernet connection... OK
2019-03-20_13:30:28_UTC [openHABian] Ensuring network connectivity... OK
2019-03-20_13:30:29_UTC [openHABian] Waiting for dpkg/apt to get ready... OK
2019-03-20_13:30:59_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2019-03-20_13:48:04_UTC [openHABian] Installing git package... OK
2019-03-20_13:49:54_UTC [openHABian] Cloning myself... OK
2019-03-20_13:50:13_UTC [openHABian] Executing 'openhabian-setup.sh unattended'...
/bin/bash: /opt/openhabian/openhabian-setup.sh: No such file or directory
2019-03-20_13:50:13_UTC [openHABian] Initial setup exiting with an error!
If the problem is actually the misspelled file, I’m afraid I have no way to correct it to start the installation over again.
Is this possible?
Otherwise, can I recover the installation from the point it stopped?
Unfortunately, I get stuck after a while, at basic_packages installation, a step of /opt/openhabian/functions/system.bash
openhabian@openHABianPi:~$ sudo /boot/first-boot.sh
2019-03-20_23:44:24_CET [openHABian] Starting the openHABian initial setup.
2019-03-20_23:44:24_CET [openHABian] Storing configuration... OK
2019-03-20_23:44:25_CET [openHABian] Changing default username and password... SKIPPED
2019-03-20_23:44:25_CET [openHABian] Setting up Ethernet connection... OK
2019-03-20_23:44:25_CET [openHABian] Ensuring network connectivity... OK
2019-03-20_23:44:25_CET [openHABian] Waiting for dpkg/apt to get ready... OK
2019-03-20_23:44:31_CET [openHABian] Updating repositories and upgrading installed packages... OK
2019-03-20_23:44:39_CET [openHABian] Installing git package... OK
2019-03-20_23:44:48_CET [openHABian] Cloning myself... OK
2019-03-20_23:44:55_CET [openHABian] Executing 'openhabian-setup.sh unattended'...
2019-03-20_23:44:55_CET [openHABian] Checking for root privileges... OK
2019-03-20_23:44:56_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2019-03-20_23:44:56_CET [openHABian] Setting timezone based on IP geolocation... OK (Europe/Rome)
2019-03-20_23:45:05_CET [openHABian] Setting locale based on openhabian.conf... OK
2019-03-20_23:45:52_CET [openHABian] Setting hostname of the base system... OK
2019-03-20_23:45:53_CET [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2019-03-20_23:45:53_CET [openHABian] Enabling Audio output... OK
2019-03-20_23:45:53_CET [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)...
The script hangs trying to do or waiting for something I couldn’t figure out.