SUPLA server on shared host
-
- Posts: 19243
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
Is your phone is on the same network as the raspberry?
-
- Posts: 19243
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
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
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
-
- Posts: 19243
- Joined: Tue Jan 19, 2016 9:26 am
- Location: Paczków
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
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
-
- Posts: 20
- Joined: Tue Sep 27, 2016 6:23 am
Dear pzygmunt thank you for your help.after running the above commands now it connect like a charmpzygmunt 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
Thank you again and best wishes for your success