Date: Fri, 29 Mar 2024 08:22:04 +0100 (CET) Message-ID: <540650148.47397.1711696924083@docs.flashphoner.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_47396_1918083111.1711696924083" ------=_Part_47396_1918083111.1711696924083 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
To update WCS 5.1 or 5.2 on your server to latest WCS 5.2 build, you hav= e to do the following steps:
1. Download WebCallServer installation package from there, for example:
wget https://flas= hphoner.com/downloads/builds/WCS/5.2/FlashphonerWebCallServer-5.2.XXXX.tar.= gz=20
2. Unpack the package
tar -xvzf Fl= ashphonerWebCallServer-5.2.XXXX.tar.gz=20
3. Stop WCS
sudo systemctl st= op webcallserver=20
4. Launch WCS 5.2 installation script
cd Flashphon= erWebCallServer-5.2.XXXX sudo ./install.sh=20
5. When the installation script finishes, update the service startu= p information
sudo systemctl da= emon-reload=20
6. Start WCS
sudo systemctl st= art webcallserver=20
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.
Before updating to 5.2, WCS 5.0 should be updated to latest 5.1 by this manual.
Sometimes, it is necessary to install more recent or older WCS version w= ithout removing or updating the already installed one. This can be done as = follows:
1. Stop WCS
sudo systemctl st= art webcallserver=20
2. Remove symbolic link to WCS directory
cd /usr/local sudo rm -f FlashphonerWebCallServer=20
3. Install the desired version and activate it with your license number.
4. Launch the newly installed WCS version
sudo systemctl st= art webcallserver=20
Suppose there are two versions installed on the server: 5.0.3333 an= d 5.1.3356. To switch from 5.1.3356 to 5.0.3333 do the following steps= :
1. Stop WCS 5.1.3356
sudo systemctl st= op webcallserver=20
2. Remove symbolic link to WCS directory
cd /usr/local sudo rm -f FlashphonerWebCallServer=20
3. Make symbolic link to the desired version directory
cd /usr/local sudo ln -sf FlashphonerWebCallServer-5.0.3333 FlashphonerWebCallServer=20
4. Launch WCS 5.0.3333
sudo systemctl st= art webcallserver=20
Switching back is done same way.
1. update.sh script does not launch.
Symptoms: "Permission denied" message on update.sh launch.
Solution: set permissions to execute update.sh script
cd Flashphon= erWebCallServer-5.1.3375/server/tools chmod +x update.sh ./update.sh=20
2. Secure Websocket connections are failed after server update
Symptoms: Two Way Streaming example and other stream publishing and play= ing examples does not work
Solution: remove the string
wss.keystore.file= =3Dwss.jks=20
from flashphoner.properties file and restart WCS
3. When two WCS versions are installed on same server, those instan= ces should not be running simultaneously.
4. WCS cannot start due to permission lack after updating from 5.2 previ= ous build to 5.2.976 or = newer
Symptoms: WCS is not starting with the following message
FlashphonerWebCal= lServer cannot be started from user flashphoner, please fix the permissions= to the folders or run 'webcallserver set-permissions'!=20
Solution: use the following command
sudo /usr/local/F= lashphonerWebCallServer/bin/webcallserver set-permissions=20
then restart WCS
5. WCS cannot start due to service parameters changing after updati= ng 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/st= artup.log file
[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=20
Solution: use the following command
sudo /usr/local/F= lashphonerWebCallServer/bin/webcallserver fix-service=20
then restart WCS