[SOLVED] Error in updating the openhabian configurator

  • Platform information:
    RPI3 running openhabian 2.3.0 (Build)

I thought i would use the holidays as many other upgrading my openhab setup, but I got an error when I tried to update the updater :slight_smile: .

[15:34:36] openhabian@openHABianPi:~$ sudo openhabian-config
[sudo] password for openhabian:
2018-12-25_15:34:43_CET [openHABian] Checking for root privileges... OK
/opt/openhabian/functions/config.sh: line 1: in/env: No such file or directory
2018-12-25_15:34:54_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2018-12-25_15:34:58_CET [openHABian] openHABian configuration tool version: [master]v1.4.1-421(846d7b3)
2018-12-25_15:34:58_CET [openHABian] Checking for changes in origin... error: inflate: data stream error (incorrect header check)
fatal: loose object 1e92b7f8348ea484781162af41df9affc8e92bbb (stored in .git/objects/1e/92b7f8348ea484781162af41df9affc8e92bbb) is corrupt
error: https://github.com/openhab/openhabian.git did not send all necessary objects

OK
2018-12-25_15:35:16_CET [openHABian] Updating myself... error: inflate: data stream error (incorrect header check)
fatal: loose object 1e92b7f8348ea484781162af41df9affc8e92bbb (stored in .git/objects/1e/92b7f8348ea484781162af41df9affc8e92bbb) is corrupt
error: https://github.com/openhab/openhabian.git did not send all necessary objects

error: inflate: data stream error (incorrect header check)
fatal: loose object 1e92b7f8348ea484781162af41df9affc8e92bbb (stored in .git/objects/1e/92b7f8348ea484781162af41df9affc8e92bbb) is corrupt
error: inflate: data stream error (incorrect header check)
fatal: loose object 1e92b7f8348ea484781162af41df9affc8e92bbb (stored in .git/objects/1e/92b7f8348ea484781162af41df9affc8e92bbb) is corrupt
FAILED - There was a problem fetching the latest changes for the openHABian configuration tool. Please check your internet connection and try again later...
2018-12-25_15:35:27_CET [openHABian] Updating myself... error: inflate: data stream error (incorrect header check)
fatal: loose object 1e92b7f8348ea484781162af41df9affc8e92bbb (stored in .git/objects/1e/92b7f8348ea484781162af41df9affc8e92bbb) is corrupt
error: https://github.com/openhab/openhabian.git did not send all necessary objects

Is this a server-related error or error in the scripts?

Did you check your internet connection?

yes :slight_smile:

[15:56:23] openhabian@openHABianPi:~$ ping www.google.com
PING www.google.com (172.217.21.164) 56(84) bytes of data.
64 bytes from arn11s03-in-f4.1e100.net (172.217.21.164): icmp_seq=1 ttl=53 time=30.3 ms
64 bytes from arn11s03-in-f4.1e100.net (172.217.21.164): icmp_seq=2 ttl=53 time=24.6 ms
64 bytes from arn11s03-in-f4.1e100.net (172.217.21.164): icmp_seq=3 ttl=53 time=25.3 ms
64 bytes from arn11s03-in-f4.1e100.net (172.217.21.164): icmp_seq=4 ttl=53 time=25.2 ms

Internet is good,:+1: You may be correct about a server issue, I guess maybe do as the error message suggest and try again later.:wink:

Got it working. Seems it needed a “sudo reboot”

2018-12-25_15:34:43_CET [openHABian] Checking for root privileges... OK
/opt/openhabian/functions/config.sh: line 1: in/env: No such file or directory

This error did not show up after reboot… See below.

[16:36:29] openhabian@openHABianPi:~$ sudo openhabian-config
[sudo] password for openhabian:
2018-12-25_16:36:35_CET [openHABian] Checking for root privileges... OK
2018-12-25_16:36:35_CET [openHABian] Loading configuration file '/etc/openhabian                                    .conf'... OK
2018-12-25_16:36:37_CET [openHABian] openHABian configuration tool version: [mas                                    ter]v1.4.1-421(846d7b3)
2018-12-25_16:36:37_CET [openHABian] Checking for changes in origin... Updates a                                    vailable...
2018-12-25_16:36:46_CET [openHABian] Updating myself... OK - Commit history (old                                    est to newest):


d0dd543 - Change from apt to apt-get in build (#472) (4 weeks ago) <Elias Gabrie                                    lsson> E
 build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

3ed9415 - removed changerfile from amanda.conf (#474) (3 weeks ago) <Markus Stor                                    m> N
 includes/amanda.conf_template | 1 -
 1 file changed, 1 deletion(-)

b170db7 - Multitail update (#481) (8 days ago) <Thomas Dietrich> N
 functions/menu.sh               |  2 +-
 functions/openhab.sh            |  8 ++---
 includes/multitail.openhab.conf | 67 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+), 5 deletions(-)

99530fb - Add fully scripted influxdb + grafana installation (#465) (8 days ago)                                     <Elias Gabrielsson> E
 functions/openhab.sh  |  10 +-
 functions/packages.sh | 271 +++++++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 242 insertions(+), 39 deletions(-)

4ff2949 - Fixed syntax error InfluxDB+Grafana installation (#486) (7 days ago) <                                    Elias Gabrielsson> E
 functions/packages.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

4ae93e2 - Fixes bug in openhabian-config help menu (#438) (#483) (7 days ago) <t                                    ylerbinski> N
 functions/menu.sh | 5 +++++
 1 file changed, 5 insertions(+)

66fc298 - specify openhab2 package version (#476) (6 days ago) <Markus Storm> N
 functions/openhab.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

e4f192b - Remove unused Java installation code (#490) (6 days ago) <Elias Gabrie                                    lsson> E
 functions/java-jre.sh | 24 +-----------------------
 1 file changed, 1 insertion(+), 23 deletions(-)

67ea550 - Zulu repo (#491) (6 days ago) <Elias Gabrielsson> E
 functions/java-jre.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


openHABian configuration tool successfully updated.
Visit the development repository for more details: https://github.com/openhab/op                                    enhabian
The tool will now restart to load the updates...


2018-12-25_16:36:50_CET [openHABian] Checking for root privileges... OK
2018-12-25_16:36:50_CET [openHABian] Loading configuration file '/etc/openhabian                                    .conf'... OK
2018-12-25_16:38:08_CET [openHABian] openHABian configuration tool version: [mas                                    ter]v1.4.1-430(67ea550)

Looking forward to trying out the updated MQTT binding and all the other goodies!
Happy hollidays! :smile:

Good deal.:+1:

I’ve edited your title to start with [Solved] so others with a similar issue will hopefully find a quick solution.

Thanks