Update SUPLA-Server Raspberry PI from version 1.1 to 2.0

quickstop
Posts: 1
Joined: Fri May 12, 2017 7:46 am

Post

I'm trying to update supla-server using a script "update_v1.1-2.0.sh".
After running the script, I copy the "html" folder instead of the old version, then I change the configuration file as in the old version (parameters.yml).
As a result I get what is on the screenshot.
Image


Tell me, what is my mistake?

Here is the sequence of my actions:

sudo /etc/init.d/supla-server stop
sudo git clone https://github.com/SUPLA/raspberry
sudo sh raspberry/server-rbpi3/update_v1.1-2.0/update_v1.1-2.0.sh
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

This works only for installation based on this image
https://www.supla.org/download/SUPLA-SERVER-RBPI.zip

To upgrade, follow the next steps.

1. Make copy of the SD card using this tool
https://sourceforge.net/projects/win32diskimager/

2. Login as a user pi via ssh

3. Execute the following commands

Code: Select all

git clone https://github.com/SUPLA/raspberry
cd raspberry/server-rbpi3/update_v1.1-2.0
sudo ./update_v1.1-2.0.sh
SUPLA.... Nareszcie w domu.

Return to “General discussion”