Openhabian-config error

  • Platform information:
    • Hardware: RPi 3B+, Intel 128 GB SSD, Aeon labs Z-Stick Gen 5
    • OS: Openhabian
    • Java Runtime Environment: Included in Openhabian
    • openHAB version: 2.4.0 Release Build
  • If logs where generated please post these here using code fences:
    No messages in openhab or events log.
  • Issue of the topic: please be detailed explaining your issue
    When I run openhabian-config I got the following errors:
    E: The repository ‘https://dl.bintray.com/openhab/apt-repo2 stable Release’ is no longer signed.
    N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

Below is the entire process when I run "sudo openhabian-config.

[13:58:30] openhabian@Guard:~$ sudo openhabian-config
[sudo] password for openhabian:
2019-09-05_13:58:51_CEST [openHABian] Checking for root privileges… OK
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Ign:2 http://repos.azulsystems.com/debian stable InRelease
Hit:3 http://repos.azulsystems.com/debian stable Release
Ign:4 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Hit:5 https://deb.nodesource.com/node_8.x stretch InRelease
Get:6 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Ign:7 https://dl.bintray.com/openhab/apt-repo2 stable Release.gpg
Get:9 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
Get:10 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB]
Reading package lists… Done
E: The repository ‘https://dl.bintray.com/openhab/apt-repo2 stable Release’ is no longer signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
2019-09-05_13:59:30_CEST [openHABian] Loading configuration file ‘/etc/openhabian.conf’… OK
2019-09-05_13:59:30_CEST [openHABian] openHABian configuration tool version: [master]v1.5-514(d77d644)
2019-09-05_13:59:32_CEST [openHABian] Checking for changes in origin… Updates available…
2019-09-05_13:59:48_CEST [openHABian] Updating myself… OK - Commit history (oldest to newest):

479f146 - build.bash: image mounting in docker, #697 (#700) (20 hours ago) N
build.bash | 53 ++++++++++++++++++++++++++++++++++++++++++++±-------
1 file changed, 45 insertions(+), 8 deletions(-)

f98d612 - Rewrite of Java rutine ensuring updated packages (#675) (19 hours ago) E
Dockerfile | 2 ±
build-image/openhabian.conf | 4 ++
build-image/openhabian.pi-raspbian.conf | 4 ++
build-image/openhabian.pine64-xenial.conf | 4 ++
functions/config.bash | 7 ++++
functions/helpers.bash | 6 +++
functions/java-jre.bash | 254 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++±----------------------------
functions/java-jre.bats | 35 ++++++++++++++++
functions/menu.bash | 11 ++±-
functions/packages.bash | 2 ±
functions/system.bash | 1 +
openhabian-setup.sh | 2 ±
12 files changed, 260 insertions(+), 72 deletions(-)

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

2019-09-05_13:59:50_CEST [openHABian] Checking for root privileges… OK
Ign:1 http://repos.azulsystems.com/debian stable InRelease
Hit:2 http://repos.azulsystems.com/debian stable Release
Hit:3 http://archive.raspberrypi.org/debian stretch InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:5 https://deb.nodesource.com/node_8.x stretch InRelease
Ign:6 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Get:8 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Ign:9 https://dl.bintray.com/openhab/apt-repo2 stable Release.gpg
Reading package lists… Done
E: The repository ‘https://dl.bintray.com/openhab/apt-repo2 stable Release’ is no longer signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
2019-09-05_13:59:56_CEST [openHABian] Loading configuration file ‘/etc/openhabian.conf’… OK
2019-09-05_13:59:56_CEST [openHABian] openHABian configuration tool version: [master]v1.5-516(f98d612)
2019-09-05_13:59:56_CEST [openHABian] Checking for changes in origin… OK
2019-09-05_14:00:06_CEST [openHABian] Checking for default openHABian username:password combination… FAILED
2019-09-05_14:00:07_CEST [openHABian] We hope you got what you came for! See you again soon

Anyone who can explain this?

Update openhabian-config first?

I have run the wget://… command in the link for weeks ago and it was ok to install repositories.
Have run the command now again but get the same error on starting openhabian-config.
English is not my native language and if I try to understand the sentence
“E: The repository ‘https://dl.bintray.com/openhab/apt-repo2 stable Release’ is no longer signed.”
is it not something wrong with the repository that is not signed?

I think running this command should resolve the issue.

wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add -

The old signing key expired. Your system need to accept the new one.

1 Like

@mstormi can you please look at this!

1 Like

Yes, Sir, of course ! At your service !
(anyone still wondering why Englishmen feel German English to be harsh ?)

If you had searched the forum you would have come across threads on this.
That’s unrelated to openHABian. The repo signature ain’t valid (any more), that’s why. Use the jfrog repo instead (beware mine below uses the testing repo, you have been on stable so exchange that).

[23:03:38] openhabian@openhabianpi:~$ cat /etc/apt/sources.list.d/openhab2.list
deb https://openhab.jfrog.io/openhab/openhab-linuxpkg testing main
#deb https://dl.bintray.com/openhab/apt-repo2 testing main
1 Like

@mstormi Thanks, I have searched the forum but since I not know the files in openhabian I have not understand what to do with the answers.
I’ve done my lesson and If I understand You now I shall change the file “openhab2.list” according to the following:
deb https://openhab.jfrog.io/openhab/openhab-linuxpkg stable main
#deb https://dl.bintray.com/openhab/apt-repo2 stable main
Is that correct?

yes

Worked like a Charm, Thanks

Hi,
I’m a beginner and have openhab working and time for me to add influxdb
With ssh I can go to my Synology NAS and get access to karaf with ssh -p 8101 openhab@localhost and with the default password habopen I get access. So this is fine.
I want to do the same with openhabian-config.
I go with ssh to my Synology NAS en type the command sudo openhabian-config. It is asking for the password what I was expecting but the default password (openhabian) specified in


is not working.
I hope someone can help with this.

Running openHABian is not supported on Synology.
Move to a Raspi to have a dedicated and supported platform.

1 Like

Thanks. Are you 100% sure.
Everything else is working fine.
Is there another way to do the influxdb setup?
image

Of what ? That openHABian is not supported on Synology ? Yes I am.

It might work to do a manual install, but you’re on your own there.
That’s the whole point about using openHABian.

1 Like

As he is the developer, he is 100% sure :rofl: