[SOLVED] [openHabian] Cloning myself... FAILED

installopenhab
installation
beginners
Tags: #<Tag:0x00007f0145298b58> #<Tag:0x00007f01452989f0> #<Tag:0x00007f0145298838>

(Chris669) #1
  • Platform information:

    • Hardware: _RPI2
    • openHAB version: openHabian 1.4
  • Trying to install from mSATA drive connected via USB
    SD card Etcher formated with Raspbian Lite, I modified the cmdline.txt with root=PARTUUID=mypartuuid, it’s booting, OpenHabbian starts to install, until I get this error message:

  • [openHabian] Cloning myself… FAILED

And the installation stops.

Before, i was able to install from SD, no problems.

What am I doing wrong? Do I need to modify a file in the sATA drive? Thanks, Chris

2017-11-29_02:37:35_UTC [openHABian] Starting the openHABian initial setup.
2017-11-29_02:37:35_UTC [openHABian] Storing configuration… OK
2017-11-29_02:37:35_UTC [openHABian] Changing default username and password… OK
2017-11-29_02:37:37_UTC [openHABian] Setting up Ethernet connection… OK
2017-11-29_02:37:37_UTC [openHABian] Ensuring network connectivity… OK
2017-11-29_02:37:38_UTC [openHABian] Waiting for dpkg/apt to get ready… OK
2018-01-12_10:46:50_UTC [openHABian] Updating repositories and upgrading installed packages… OK
2018-01-12_10:52:33_UTC [openHABian] Installing git package… OK
2018-01-12_10:53:26_UTC [openHABian] Cloning myself… OK
2018-01-12_10:53:32_UTC [openHABian] Executing ‘openhabian-setup.sh unattended’…
2018-01-12_10:53:32_UTC [openHABian] Checking for root privileges… OK
2018-01-12_10:53:33_UTC [openHABian] Loading configuration file ‘/etc/openhabian.conf’… OK
2018-01-12_10:53:33_UTC [openHABian] Setting timezone based on IP geolocation… OK (Europe/Zurich)
2018-01-12_11:59:21_CET [openHABian] Setting locale based on openhabian.conf… OK
2018-01-12_12:01:15_CET [openHABian] Setting hostname of the base system… OK
2018-01-12_12:01:16_CET [openHABian] Setting the GPU memory split down to 16MB for headless system… OK
2018-01-12_12:01:16_CET [openHABian] Enabling Audio output… OK
2018-01-12_12:01:18_CET [openHABian] Installing basic can’t-be-wrong packages (screen, vim, …)… OK
2018-01-12_12:04:56_CET [openHABian] Installing additional needed packages… OK
2018-01-12_12:05:43_CET [openHABian] Adding slightly tuned bash config files to system… OK
2018-01-12_12:05:43_CET [openHABian] Adding slightly tuned vim config file to system… OK
2018-01-12_12:05:43_CET [openHABian] Downloading and setting up FireMotD… OK
2018-01-12_12:07:38_CET [openHABian] Installing Zulu Embedded OpenJDK… OK
2018-01-12_12:12:28_CET [openHABian] Installing or upgrading to latest openHAB release (stable)… FAILED (apt)
2018-01-12_12:13:20_CET [openHABian] Initial setup exiting with an error!

2018-01-12_12:55:39_CET [openHABian] Starting the openHABian initial setup.
2018-01-12_12:55:39_CET [openHABian] Storing configuration… OK
2018-01-12_12:55:40_CET [openHABian] Changing default username and password… SKIPPED
2018-01-12_12:55:40_CET [openHABian] Setting up Ethernet connection… OK
2018-01-12_12:55:40_CET [openHABian] Ensuring network connectivity… OK
2018-01-12_12:55:40_CET [openHABian] Waiting for dpkg/apt to get ready… OK
2018-01-12_12:57:28_CET [openHABian] Updating repositories and upgrading installed packages… FAILED
2018-01-12_12:58:57_CET [openHABian] Initial setup exiting with an error!

2018-01-12_13:05:52_CET [openHABian] Starting the openHABian initial setup.
2018-01-12_13:05:52_CET [openHABian] Storing configuration… OK
2018-01-12_13:05:53_CET [openHABian] Changing default username and password… SKIPPED
2018-01-12_13:05:53_CET [openHABian] Setting up Ethernet connection… OK
2018-01-12_13:05:53_CET [openHABian] Ensuring network connectivity… OK
2018-01-12_13:05:53_CET [openHABian] Waiting for dpkg/apt to get ready… OK
2018-01-12_13:06:53_CET [openHABian] Updating repositories and upgrading installed packages… OK
2018-01-12_13:07:48_CET [openHABian] Installing git package… OK
2018-01-12_13:07:55_CET [openHABian] Cloning myself… FAILED
2018-01-12_13:07:55_CET [openHABian] Initial setup exiting with an error!


openHABian v1.4 / v1.4.1 released!
(Udo Hartmann) #2

there are 3 FAILED messages :slight_smile:

2018-01-12_12:12:28_CET [openHABian] Installing or upgrading to latest openHAB release (stable)… FAILED (apt)
2018-01-12_12:57:28_CET [openHABian] Updating repositories and upgrading installed packages… FAILED
2018-01-12_13:07:55_CET [openHABian] Cloning myself… FAILED

Unfortunately I have no idea what to change, maybe a lack of permissions?


(Chris669) #3

thanks, I assume it is copying something somewhere, but didn’t changed any permissions…


( ) #4

Without the system at hand it’s impossible to guess what goes wrong here.
My suggestion would be to use a normal Raspbian first, then when it is up and running, go the Manual Setup path: http://docs.openhab.org/installation/openhabian.html#manual-setup


(Chris669) #5

Thanks, for my case, do you recommend first to install standard package on SD card and then using option 37 Move Root to USB?


( ) #6

I’d recommend to install Raspbian on your mSATA drive directly, THEN install openHABian


(Chris669) #7

Ok, in the meantime as installing direct on mSATA drive didn’t worked for me (RPI2) I used system menu option 37 of openhabian-config, works like a charm for me. Very happy with this, thanks!


(icefish) #8

I had the same problem, Clone myself… Failed. I was able to get past that point by setting the date since the image date is what was used as the timestamp.
“sudo date 07252018”
“sudo -s 10:01:30”
Also remove the /opt/openhabian directory (sudo rm -rf /opt/openhabian)

This seemed to fix it…


(Muhammad Moosa) #9

It is trying to clone for git repository, in my case my firewall was blocking Git ports.


(Ivica Sertić) #10

I had the same issue and sudo rm -rf /opt/openhabian and sudo /boot/first-boot.sh resolved it. Thank you @icefishingmn .