To check for availability of a new installation archive, use this commanddo the following:
Code Block | ||||
---|---|---|---|---|
| ||||
service cd /usr/local/FlashphonerWebCallServer/bin sudo ./webcallserver check_update |
Updating the server can be done with one of the following commands:a) service webcallserver
Code Block | ||||
---|---|---|---|---|
| ||||
cd /usr/local/FlashphonerWebCallServer/bin sudo ./webcallserver update |
To start the update you will need to confirm stopping the server.
If a new installation archive is available, it is downloaded to the /tmp
directory and the update of the server is then started using install.sh -silent
.
After the update completes, an update message is shown and the server is started.
b) service webcallserver update yes
In this case, the server is stopped before starting the update without confirmationWhen updating WCS to builds 5.2.801-5.2.864, it is necessary to stop WCS manually after update to launch WCS as service:
Code Block | ||||
---|---|---|---|---|
| ||||
sudo ./webcallserver stop
systemctl restart webcallserver |
Since build 5.2.871, WCS is automatically relaunched as service after update.
Free disk space checking before update
Since build 5.2.1981 a free disk space available is checked before update. If the free space is less then 1 Gb, the istallation process will be stopped without any changes, and the following message will be displayed
Code Block | ||
---|---|---|
| ||
ERROR: Not enough space to install properly: less than 1048576 kbytes |
A timeout for update checking and downloading
Since build 5.2.1981 it is possible to set a maximum timeout in seconds for update checking and downloading operations
Code Block | ||||
---|---|---|---|---|
| ||||
sudo ./webcallserver check_update --update-timeout 10
sudo ./webcallserver update --update-timeout 10 |
The default timeout is 10 seconds.