[Solved] Cloud service problem

Hi!

I followed the offical instruction.

I install OpenHab cloud service and configure it, after I register on myopenhab.org, and I add UUID and Secret.

But still got this message:

Your openHAB is not online. Please check if your installation is running or recheck the openHAB settings in your account.

Can someone help?

It’s likely that your Java Version is not up to date. Check here for example:


There are a couple of other threads dealing with the topic, just use the search function or google :slight_smile:

Thaks for the help, the java version caused the problem!

Update process:

sudo su
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
exit

Is it suitable for raspberry pi?

Should be, however what Raspi are you using and what OS? If the OS would be openHABian, there would be no need for an Java update!

The Raspi’s OS is Raspbian and my java -version is 1.8.0_65, so I think that it is necessary to update the java.

I have solved the problem by updating the java.
Thank you.
Here are my steps:

  1. sudo apt-get install dirmngr
  2. sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com EEA14886
  3. deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
    deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
  4. sudo apt-get update
  5. sudo apt-get install oracle-java8-installer
2 Likes

For Veagau’s step 3, you need to put the two lines into a file in /etc/apt/sources.list.d.
E.g.:
$ sudo vim /etc/apt/sources.list.d/ubuntu-java.list
and paste the two lines

deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main

Then follow step 4 and 5.

See https://askubuntu.com/questions/233064/why-am-i-getting-command-deb-not-found/233069 for additional info.