...
New version installation with previous version update
Updating 5.1 to 5.2 or one 5.2 build to another
To update WCS 5.0 1 or 5.1 2 on your server to latest WCS 5.2 build, you have to do the following steps:
...
Code Block |
---|
|
servicesudo webcallserversystemctl stop webcallserver |
4. Launch update WCS 5.2 installation script
Code Block |
---|
|
cd FlashphonerWebCallServer-5.2.XXXX/server/tools
sudo ./update.sh |
The script updates settings files (for example, it merges legacy server.properties file with main settings file flashphoner.properties) and WCS database:
Image Removed
5. Launch WCS 5.2 installation script
Code Block |
---|
|
cd ../..
./install.sh |
...
5. When the installation script finishes, update the service startup information
Code Block |
---|
|
sudo systemctl daemon-reload |
76. Start WCS
Code Block |
---|
|
servicesudo webcallserversystemctl start webcallserver |
Check how server works by this instruction.
Since build 5.2.574, scripts in the /usr/local/FlashphonerWebCallServer/bin folder will not be overwritten to preserve possible tweaks while updating from one 5.2 build to another.
Updating 5.0 to 5.2
Before updating to 5.2, WCS 5.0 should be updated to latest 5.1 by this manual.
Another WCS version installation without previous version removing or updating
...
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.
...
Symptoms: Two Way Streaming example and other stream publishing and playing examples does not work
РешениеSolution: remove the string
Code Block |
---|
|
wss.keystore.file=wss.jks |
...
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