[SOLVED] Error first installation of openHABian 1.5 in rp4

hello my friends of this community today I bring you a problem that I have in my first installation of openhab 1.5 on the raspberry pi 4 card of 1gb of ram.

It turns out that when starting the installation of openhab 1.5 in rp4 everything goes very well until it finishes and I get the following error:


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: Wed Aug 14 14:24:19 2019 from 192.168.0.104

Attention! The openHABian setup process seems to have failed on your system.
Sorry, this shouldn't happen! Please restart the installation process. Chances
are high setup will succeed on the second try.

In order to find the cause of the problem, have a look at the installation log:
   sudo cat /boot/first-boot.log

Contact the openHAB community forum for help if the problem persists:
https://community.openhab.org/tags/openhabian

[14:36:11] openhabian@openhab:~$ sudo cat /boot/first-boot.log

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for openhabian:
2019-07-10_01:22:02_BST [openHABian] Starting the openHABian initial setup.
2019-07-10_01:22:02_BST [openHABian] Storing configuration... OK
2019-07-10_01:22:02_BST [openHABian] Starting webserver with installation log...                                                                                                                                                              OK
2019-07-10_01:22:07_BST [openHABian] Changing default username and password... O                                                                                                                                                             K
2019-07-10_01:22:09_BST [openHABian] Setting up Wi-Fi connection... OK, rebootin                                                                                                                                                             g...
2019-07-10_01:22:26_BST [openHABian] Starting the openHABian initial setup.
2019-07-10_01:22:26_BST [openHABian] Storing configuration... OK
2019-07-10_01:22:26_BST [openHABian] Starting webserver with installation log...                                                                                                                                                              OK
2019-07-10_01:22:31_BST [openHABian] Changing default username and password... S                                                                                                                                                             KIPPED
2019-07-10_01:22:31_BST [openHABian] Setting up Wi-Fi connection... OK
2019-07-10_01:22:35_BST [openHABian] Ensuring network connectivity... OK
2019-07-10_01:22:36_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2019-08-14_00:27:41_BST [openHABian] Updating repositories and upgrading install                                                                                                                                                             ed packages... OK
2019-08-14_00:48:56_BST [openHABian] Installing git package... OK
2019-08-14_00:50:51_BST [openHABian] Cloning myself... OK
2019-08-14_00:51:17_BST [openHABian] Executing 'openhabian-setup.sh unattended'.                                                                                                                                                             ..
2019-08-14_00:51:17_BST [openHABian] Checking for root privileges... OK
2019-08-14_00:51:17_BST [openHABian] Loading configuration file '/etc/openhabian                                                                                                                                                             .conf'... OK
2019-08-14_00:51:17_BST [openHABian] Setting timezone based on IP geolocation...                                                                                                                                                              FAILED (pip)
2019-08-14_01:02:58_BST [openHABian] Setting locale based on openhabian.conf...                                                                                                                                                              OK
2019-08-14_01:03:34_BST [openHABian] Setting hostname of the base system... OK
2019-08-14_01:03:34_BST [openHABian] Setting the GPU memory split down to 16MB f                                                                                                                                                             or headless system... OK
2019-08-14_01:03:34_BST [openHABian] Enabling Audio output... OK
2019-08-14_01:03:35_BST [openHABian] Installing basic can't-be-wrong packages (s                                                                                                                                                             creen, vim, ...)... 2019-08-14_00:56:00_BST [openHABian] Starting the openHABian                                                                                                                                                              initial setup.
2019-08-14_00:56:00_BST [openHABian] Storing configuration... OK
2019-08-14_00:56:00_BST [openHABian] Starting webserver with installation log...                                                                                                                                                              OK
2019-08-14_00:56:06_BST [openHABian] Changing default username and password... S                                                                                                                                                             KIPPED
2019-08-14_00:56:06_BST [openHABian] Setting up Wi-Fi connection... OK
2019-08-14_00:56:10_BST [openHABian] Ensuring network connectivity... OK
2019-08-14_00:56:11_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2019-08-14_01:15:13_BST [openHABian] Updating repositories and upgrading install                                                                                                                                                             ed packages... OK
2019-08-14_01:15:24_BST [openHABian] Installing git package... OK
2019-08-14_01:15:29_BST [openHABian] Cloning myself... OK
2019-08-14_01:16:01_BST [openHABian] Executing 'openhabian-setup.sh unattended'.                                                                                                                                                             ..
2019-08-14_01:16:01_BST [openHABian] Checking for root privileges... OK
2019-08-14_01:16:01_BST [openHABian] Loading configuration file '/etc/openhabian                                                                                                                                                             .conf'... OK
2019-08-14_01:16:01_BST [openHABian] Setting timezone based on IP geolocation...                                                                                                                                                              FAILED
2019-08-14_01:18:46_BST [openHABian] Setting locale based on openhabian.conf...                                                                                                                                                              OK
2019-08-14_01:19:23_BST [openHABian] Setting hostname of the base system... OK
2019-08-14_01:19:24_BST [openHABian] Setting the GPU memory split down to 16MB f                                                                                                                                                             or headless system... OK
2019-08-14_01:19:24_BST [openHABian] Enabling Audio output... OK
2019-08-14_01:19:25_BST [openHABian] Installing basic can't-be-wrong packages (s                                                                                                                                                             creen, vim, ...)... OK
2019-08-14_01:19:37_BST [openHABian] Installing additional needed packages... OK
2019-08-14_01:20:47_BST [openHABian] Adding slightly tuned bash config files to                                                                                                                                                              system... OK
2019-08-14_01:20:47_BST [openHABian] Adding slightly tuned vim config file to sy                                                                                                                                                             stem... OK
2019-08-14_01:20:47_BST [openHABian] Downloading and setting up FireMotD... OK 2                                                                                                                                                             019-08-14_01:22:13_BST [openHABian] Installing Zulu Embedded OpenJDK... OK
2019-08-14_01:49:03_BST [openHABian] Installing or upgrading to latest openHAB r                                                                                                                                                             elease (stable)... OK
2019-08-14_02:06:21_BST [openHABian] Adding an openHAB dashboard tile for 'openh                                                                                                                                                             abiandocs'... OK
2019-08-14_02:06:21_BST [openHABian] Adding openHAB syntax to vim editor... OK
2019-08-14_02:06:22_BST [openHABian] Adding openHAB syntax to nano editor... OK
2019-08-14_02:06:28_BST [openHABian] Adding openHAB scheme to multitail... OK
2019-08-14_02:06:28_BST [openHABian] Preparing openHAB folder mounts under /srv/                                                                                                                                                             ... OK
2019-08-14_02:06:28_BST [openHABian] Applying file permissions recommendations..                                                                                                                                                             . OK
2019-08-14_02:06:30_BST [openHABian] Applying miscellaneous system settings... O                                                                                                                                                             K
2019-08-14_02:06:30_BST [openHABian] Setting up Samba network shares... FAILED
2019-08-14_02:08:42_BST [openHABian] Initial setup exiting with an error!


2019-08-14_06:47:43_BST [openHABian] Starting the openHABian initial setup.
2019-08-14_06:47:43_BST [openHABian] Storing configuration... OK
2019-08-14_06:47:43_BST [openHABian] Starting webserver with installation log...                                                                                                                                                              OK
2019-08-14_06:47:49_BST [openHABian] Changing default username and password... S                                                                                                                                                             KIPPED
2019-08-14_06:47:50_BST [openHABian] Setting up Wi-Fi connection... OK
2019-08-14_06:47:54_BST [openHABian] Ensuring network connectivity... OK
2019-08-14_06:47:55_BST [openHABian] Waiting for dpkg/apt to get ready... OK
2019-08-14_13:23:17_BST [openHABian] Updating repositories and upgrading install                                                                                                                                                             ed packages... OK
2019-08-14_13:23:40_BST [openHABian] Installing git package... OK
2019-08-14_13:24:03_BST [openHABian] Cloning myself... OK
2019-08-14_13:25:29_BST [openHABian] Executing 'openhabian-setup.sh unattended'.                                                                                                                                                             ..
2019-08-14_13:25:29_BST [openHABian] Checking for root privileges... OK
2019-08-14_13:25:29_BST [openHABian] Loading configuration file '/etc/openhabian                                                                                                                                                             .conf'... OK
2019-08-14_13:25:29_BST [openHABian] Setting timezone based on IP geolocation...                                                                                                                                                              FAILED
2019-08-14_13:26:00_BST [openHABian] Setting locale based on openhabian.conf...                                                                                                                                                              OK
2019-08-14_13:26:39_BST [openHABian] Setting hostname of the base system... OK
2019-08-14_13:26:40_BST [openHABian] Setting the GPU memory split down to 16MB f                                                                                                                                                             or headless system... OK
2019-08-14_13:26:40_BST [openHABian] Enabling Audio output... OK
2019-08-14_13:26:41_BST [openHABian] Installing basic can't-be-wrong packages (s                                                                                                                                                             creen, vim, ...)... OK
2019-08-14_13:27:07_BST [openHABian] Installing additional needed packages... OK
2019-08-14_13:27:08_BST [openHABian] Adding slightly tuned bash config files to                                                                                                                                                              system... OK
2019-08-14_13:27:08_BST [openHABian] Adding slightly tuned vim config file to sy                                                                                                                                                             stem... OK
2019-08-14_13:27:08_BST [openHABian] Downloading and setting up FireMotD... OK 2                                                                                                                                                             019-08-14_13:28:38_BST [openHABian] Installing Zulu Embedded OpenJDK... OK
2019-08-14_14:01:06_BST [openHABian] Installing or upgrading to latest openHAB r                                                                                                                                                             elease (stable)... OK
2019-08-14_14:01:50_BST [openHABian] Adding an openHAB dashboard tile for 'openh                                                                                                                                                             abiandocs'... Replacing... OK
2019-08-14_14:01:50_BST [openHABian] Adding openHAB syntax to vim editor... OK
2019-08-14_14:01:52_BST [openHABian] Adding openHAB syntax to nano editor... OK
2019-08-14_14:01:53_BST [openHABian] Adding openHAB scheme to multitail... OK
2019-08-14_14:01:54_BST [openHABian] Preparing openHAB folder mounts under /srv/                                                                                                                                                             ... OK
2019-08-14_14:01:54_BST [openHABian] Applying file permissions recommendations..                                                                                                                                                             . OK
2019-08-14_14:01:57_BST [openHABian] Applying miscellaneous system settings... m                                                                                                                                                             kdir: cannot create directory ‘/home/openhabian/.ssh’: File exists
OK
2019-08-14_14:01:57_BST [openHABian] Setting up Samba network shares... FAILED
2019-08-14_14:08:19_BST [openHABian] Initial setup exiting with an error!

I have already tried to change the SD, the power supply is the official one, I went from Lan to Wi-Fi but I still have not been able to perform an successful installation, if you need more information about my problem please tell me and I will answer, thank you very much I hope that can you help me :frowning:

Welcome.
You might want to change the title. You installed openHABian 1.5 which has openHAB 2.4 , I assume.

Use code fences please.
Your install failed on Samba but the log unfortunately does not tell us a reason why.
As that’s close to the end you could try manually installing openHAB from openhabian-config menu.
Did you use the image ? If no try that.

hey friend thank you very much, I am new using openhab but with your comment I was able to solve my problem :).

pd: I do not speak English and I am using the google translator excuse me if I have spelling errors.

1 Like