syntax error when updating webcallserver

SLM

Member
[ec2-user@ip-xxx-xx-xx-xx tools]$ sudo service webcallserver update
>>> New version available: 5.2.971
>>> Your version: 5.2.927
>>> Version 5.2.971 is available, try to update
>>> You have to stop FlashphonerWebCallServer before update.
>>> Stop now [yes/no] ? yes
FlashphonerWebCallServer: stopping
[ OK ]
>>> Updating FlashphonerWebCallServer
>>> Downloading 5.2.971 build
>>> FlashphonerWebCallServer updated to 5.2.971

>>> Starting FlashphonerWebCallServer

FlashphonerWebCallServer: starting [ OK ]
/etc/init.d/webcallserver: line 1757: syntax error near unexpected token `in'
/etc/init.d/webcallserver: line 1757: ` in'


Why do we get this error? Streaming still seems to work after the update.
 

Max

Administrator
Staff member
Good day.
Why do we get this error? Streaming still seems to work after the update.
This is probably bash issue: we running the startup script, changing it from inside while updating, then trying to use some script functions.
A simple restart should help.
We also recommend to upgrade base image to Amazon Linux 2 and use systemctl to control the service. In this case, such issues do not occur.
 
Top