...
Code Block |
---|
|
servicesudo webcallserversystemctl stop webcallserver |
4. Launch WCS 5.2 installation script
Code Block |
---|
|
cd FlashphonerWebCallServer-5.2.XXXX
sudo ./install.sh |
5. When the installation script finishes, update the service startup information
Code Block |
---|
|
sudo systemctl daemon-reload |
6. Start WCS
Code Block |
---|
|
servicesudo webcallserversystemctl start webcallserver |
Check how server works by this instruction.
...
Code Block |
---|
|
servicesudo systemctl start webcallserver stop |
2. Remove symbolic link to WCS directory
Code Block |
---|
|
cd /usr/local
sudo rm -f FlashphonerWebCallServer |
...
Code Block |
---|
|
servicesudo webcallserversystemctl start webcallserver |
Switching between two WCS installations
...
Code Block |
---|
|
servicesudo webcallserversystemctl stop webcallserver |
2. Remove symbolic link to WCS directory
Code Block |
---|
|
cd /usr/local
sudo rm -f FlashphonerWebCallServer |
...
Code Block |
---|
|
cd /usr/local
sudo ln -sf FlashphonerWebCallServer-5.0.3333 FlashphonerWebCallServer |
...
Code Block |
---|
|
servicesudo webcallserversystemctl start webcallserver |
Switching back is done same way.
Known issues
1. update.sh script does not launch.
...
3. When two WCS versions are installed on same server, those instances should not be running simultaneously.
4. WCS cannot start due to permission lack after updating from 5.2 previous build to 5.2.976 or newer
Symptoms: WCS is not starting with the following message
Code Block |
---|
|
FlashphonerWebCallServer cannot be started from user flashphoner, please fix the permissions to the folders or run 'webcallserver set-permissions'! |
Solution: use the following command
Code Block |
---|
|
sudo /usr/local/FlashphonerWebCallServer/bin/webcallserver set-permissions |
then restart WCS
5. WCS cannot start due to service parameters changing after updating from 5.2 previous build to 5.2.976 or newer
Symptoms: WCS is not starting with the following messages in /usr/local/FlashphonerWebCallServer/logs/startup.log file
Code Block |
---|
|
[2021-07-05 09:02:12] INFO checkJavaOptions - Checking JVM options
sudo: unrecognized option '--show-version'
...
[2021-07-05 09:02:12] ERROR checkJavaOptions - FlashphonerWebCallServer can't start due to incorrect java options |
Solution: use the following command
Code Block |
---|
|
sudo /usr/local/FlashphonerWebCallServer/bin/webcallserver fix-service |
then restart WCS