CentOS 7.3.1611 java 1.8.0_131

it seems to run however I can’t pull up the web interface and I don’t see any running process… like perhaps its just dying quietly. Are there logs somewhere that would shed some light as to whats going on here?

[root@homeseer ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@homeseer ~]# java -version
openjdk version “1.8.0_131”
OpenJDK Runtime Environment (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
[root@homeseer ~]# /usr/bin/java -jar ConciergeServer.jar
May 4, 2017 4:22:06 PM V:InstallManager:OS:Linux
[root@homeseer ~]# curl https://localhost:8989
curl: (7) Failed connect to localhost:8989; Connection refused
[root@homeseer ~]# ps -ef | grep java
root 1118 1 0 08:57 ? 00:00:14 /usr/bin/java -jar -Dserver.ip=192.168.1.130 -Dconfig.file=/root/habridge/data/habridge.config /root/habridge/ha-bridge-4.2.0.jar
root 2898 2777 0 16:23 pts/0 00:00:00 grep --color=auto java

I have the same issues
[root@NBW0010 ~]# /usr/bin/java -jar ConciergeServer.jar
07-May-2017 23:06:21 V:InstallManager:OS:Linux
[root@NBW0010 ~]# curl https://localhost:8989
curl: (7) Failed connect to localhost:8989; Connection refused

Richard. Which Linux distribution did you test on?

@gwichman have you tried anything else or made any progress
I might spin up a Ubuntu box today and see if I can get it to work

Are there any other dependencies this needs to run? I have a fresh CentOS7 box with httpd running and java rte 1.8.0. am I missing anything else?

Thanks
Nick.

Sent from my Nexus 6 using Tapatalk

Take a look at the install.sh … after running java -jar ConciergeServer.jar it should be in the same area as the ConciergeServer.jar file.
It must have not worked … probably need to rename the gksu to su and run it manually.

[quote=“alpha1, post:3, topic:196226”]@gwichman have you tried anything else or made any progress
I might spin up a Ubuntu box today and see if I can get it to work[/quote]

no not yet… I was going to see what kind of response i got in here before trying.

Hi Richard.
I can see the install.sh and have edited it to accommodate centos

working through the install.sh manually, i have got to the part where i start the conciergeservice.

When i run it “service conciergeserver start” i get the following
“/etc/init.d/conciergeserver: line 25: /lib/lsb/init-functions: no such file or directory”

I will try and work my way through but if know of the fix that would be awesome

thanks

Just look at some of the other scripts in the /etc/init.d directory.

Hi Richard

Just so you know, in the end i spun up a Debian build and threw it on there with very little issues.

Now i just need the 22nd may to come round so my wife can hand over my birthday present of a Google Home!

Thanks

I hope to have the Android app out by then …

That would be amazing…

Great work as always Richard. Have already paid for the Vera Concierge licence.

Thanks
Nick

Picking up on this thread because I’m working through the exact same issue trying to get VeraConcierge to run on my Synology NAS. I’ve installed java no problem and when I run java -jar ConciergeServer.jar I get:

Dec 5, 2017 1:39:26 AM V:InstallManager:OS:Linux

Which could imply success, but the server is not running although I’ve open the appropriate ports. So I’ve been working through the install.sh file and have modified it as follows:

#!/bin/sh
sudo cp conciergeserver /usr/local/etc/rc.d/conciergeserver
sudo chmod 755 /usr/local/etc/rc.d/conciergeserver
#sudo update-rc.d conciergeserver defaults ← update-rc.d command not found
sudo synoservice --enable /usr/local/etc/rc.d/conciergeserver ← Service [conciergeserver] does not exist
sleep 5
xdg-open https://localhost:8989

As you can see from the ← notes, there are two critical issues. If I just execute

/usr/local/etc/rc.d/conciergeserver

I receive the error: line 25: /lib/lsb/init-functions: No such file or directory

At this point it seems like this software is just incompatible with the Synology NAS, unless this looks like an easier problem to someone who is better trained than me. I don’t suppose it would be easier to create a docker container that I could execute on the NAS as I did for HA-Bridge before realizing Google Home no longer supports scanning locally for Hue emulators? Thanks in advance.

Marc

@MarcM - I will follow this thread to see if you or anyone else has had success running conciergeserver on the Synology. I suspected it wouldn’t be easy to get it working, so I didn’t even attempt it. I went with a dedicated Raspberry PI3 instead which is working nicely, but it would be even nicer to have fewer parts to integrate.

Thanks. For the time being, I’ve got it running on Win10 on a tiny fanless Liva X PC that I also use as a headless Spotify server connected to a Dragonfly audio card. It seems like a moderate challenge to get Concierge running in a Docker Container. Docker runs easily on Synology. Another alternative would be to run Virtual Box on Synology, which also looks quite easy, and then you can install whatever linux distro you use on your Rasberry Pi in a VB installation if you’ like to remove your Pi from the equation. I’ll probably go this route if I decide not to invest more time in learning Docker.

The complex part is how to run automatically on restart.
You may have to modify the install.sh script in the area where the ConciergeServer.jar file exists.

To actually run the server …

  1. cd to the area where the ConciergeServer.jar file exists
  2. java -jar ConciergeServer.jar service

install.sh just tries to do this on restart.

You also need to make sure you have a Java 8 JRE.