Update – FriendChat

FriendChat

You should have a “friendchat” folder in your home directory. If not, clone one from github:

> git clone https://github.com/FriendSoftwareLabs/friendchat.git

Update from git ( if you just cloned, skip this step )

> git checkout master
> git pull

Update to install-folders. This will not overwrite config.js and local.config.js. But it will overwrite the example.* files.

> sh updateAll.sh

If the update script cannot find the default friendup install folder, it will ask for it. This could potentiaonaly be a “build” folder inside your friendup folder.

The update script will restart the friendchat service.

When updateing friendchat from a version older than 3.4.19, 8th march 2021, ( can be found in “About” from menu in client ) make sure the client config has ring tone setup:

...
ringTones : {
         // underscore ( _ ) in the pattern is a 250ms wait
         'default' : {
             r       : 'webclient/apps/FriendChat/res/Ring.ogg',
             pattern : 'rrr__',
             loops   : 2,
         },
         'levans_pop' : {
             d       : 'webclient/apps/FriendChat/res/levans_pop.webm',
             pattern : 'd',
             loops   : 1,
         },
     },
...

The client is found in <friend install dir>/resources/webclient/apps/FriendChat

local.config.js must contain the above piece of config. If its missing, insert it. A more complete example of how things should look can be found in example.config.js.

Make sure the config structure is still valid 🙂

window.ClearCache() must be run in browser console while logged into workspace to complete the update.

Presence

You should have a “presence” folder in your home directory. If not clone one from github:

> git clone https://github.com/FriendSoftwareLabs/presence.git

Update from git ( if you just cloned, skip this step )

> git checkout master
> git pull

Update to install-folders. This will not overwrite config.js. But it will overwrite example.config.js

> sh update.sh

The update script will restart the service.

Was this page helpful?