Version not available on update

Michael

Member
Hello

We are trying to update Flashphoner on our machines.

We have a dozen machines.

Sometimes the script works at first try, sometimes not.

The Flashphoner update script says there a new version, but show not avaiable:
Bash:
sudo /usr/local/FlashphonerWebCallServer/bin/webcallserver update
>>> New version available: 5.2.1963
>>> Your version: 5.2.1685
>>> Version 5.2.1963 is not available
We try many times with no success.

After some time, like one hour we trying again. On some of these delayed tries, it works.

Seems like an intermittent issue.

Any tips?
 

Max

Administrator
Staff member
Good day.
This is a known issue: a fixed 5 seconds timeout is used to check if a build is available to download. This timeout is enough in most cases, but may be not enough if there are som temporary network issues between server to update and the builds file storage.
There is the ticket WCS-4092 to increase the timeout and to add command line key to change it if needed.
 

Max

Administrator
Staff member
Since build 5.2.1981 it is possible to set a maximum timeout in seconds for update checking and downloading operations (10 seconds by default)
Code:
sudo ./webcallserver check_update --update-timeout 10
sudo ./webcallserver update --update-timeout 10
 
Top