SUPLA server on shared host

User avatar
pzygmunt
Posts: 19243
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Is your phone is on the same network as the raspberry?
fubax
Posts: 20
Joined: Tue Sep 27, 2016 6:23 am

Post

yes it is!
User avatar
pzygmunt
Posts: 19243
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Check logs....

1. Create run script

pi@raspberrypi:~ $ nano debug.sh

script content:

#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/supla-server
export LD_LIBRARY_PATH
/usr/sbin/supla-server -D

pi@raspberrypi:~ $ chmod +x debug.sh

2. Stop supla-server

pi@raspberrypi:~ $ sudo /etc/init.d/supla-server stop

3. Run debug script
pi@raspberrypi:~ $ sudo ./debug.sh
User avatar
pzygmunt
Posts: 19243
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Before you will check the logs try this:

sudo /etc/init.d/supla-server stop
sudo git clone https://github.com/SUPLA/raspberry
sudo cp raspberry/server-rbpi3/usr/sbin/supla-server /usr/sbin/
sudo /etc/init.d/supla-server start
sudo rm -r raspberry
fubax
Posts: 20
Joined: Tue Sep 27, 2016 6:23 am

Post

pzygmunt wrote:Before you will check the logs try this:

sudo /etc/init.d/supla-server stop
sudo git clone https://github.com/SUPLA/raspberry
sudo cp raspberry/server-rbpi3/usr/sbin/supla-server /usr/sbin/
sudo /etc/init.d/supla-server start
sudo rm -r raspberry
Dear pzygmunt thank you for your help.after running the above commands now it connect like a charm ;)
Thank you again and best wishes for your success

Return to “General discussion”