upgrading new release authored by Roland Alton's avatar Roland Alton
# Technical documentation for sysadmins
### [Installation Notes](installation)
Code is in `/usr/share/jitsi-meet/`
Settings are in `/etc/jitsi`
## Jitsi Meet installation
new installation on Hetzner Cloud Server 2021
~~new installation 02MAY2020 on internex server based in Austria~~
~~installation 16JUN2018 on an OVH VPS, goal was to test, if performance is better then on heu20 VPS, which always had a lot of video packet dropouts and yes, it was much better~~
following video guideline here https://jitsi.org/news/new-tutorial-installing-jitsi-meet-on-your-own-linux-server/
installing stable build https://jitsi.org/downloads/ with nginx
[apt install log auf vanilla Debian stretch](jitsiaptlog)
### ufw
```
22/tcp ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
10000:20000/udp ALLOW Anywhere
4443 ALLOW Anywhere fallback jitsi?
50600 ALLOW Anywhere SIP
178.63.167.177 50600 ALLOW FWD 127.0.0.1 5060 forward to Asterisk
Monitoring access from:
92.222.184.0/24
92.222.185.0/24
92.222.186.0/24
167.114.37.0/24
54.37.72.135/32
```
### restart
```
service jitsi-videobridge restart
service jicofo restart
service jigasi restart
```
### CSS handling
We have set from each brand a symbolic link to `/usr/share/jitsi-meet/css/all-fixed.css` in case we need to fix several classes in the generic `all.css` file. ~~ No more need to adapt `all.css` as described here https://git.fairkom.net/hosting/fairmeeting/-/issues/169 ~~
```
root@staging:/usr/share/jitsi-meet/css
cp all.css all-fixed.css
```
We have now in each brand an extra `custom.css` with custom classes only. It might be necessary to do some fixes there.
Check if `/usr/share/jitsi-meet/plugin.head.html` still has the line `<link rel="stylesheet" href="css/custom.css">`.
### Language files + patch
You may need to update [Language adoptions DE](main-de-changes) and [Interface config changes](interface-config), compare with DISTRO.
We need to **patch** (use `nano`) `app.bundle.min.js`: replace the headerTitle "Jitsi Meet" with "Start your conference now" (as any change in `main.json` has no effect) and remove the `#` after the dial-in PIN as described in https://git.fairkom.net/hosting/fairmeeting/-/issues/3#note_41814 .
~~At all brands we have a custom static folder, which usually does not change at updates. Some of the static pages do not fit well to our color and background scheme we have defined in the body of `all-fixed.css`, so we replace the CSS link e.g. for the page `dialInInfo.html` with the original `all.css`:
<link rel="stylesheet" href="https://run.fairmeeting.net/css/all.css">~~
Check new config variables with https://shawnchin.github.io/jitsi-config-differ/
Check `/etc/jitsi/jicofo/jicofo.conf` if jigasi has been activated by an update script.
### post installation
These were the manual steps which we had to do after updates before we had the brand structure and used custom.css (unless you have set `apt-mark hold jitsi-meet`)
**DEPRECATED** below
```
cp /usr/share/jitsi-meet/static/close2FAIRMEETING.html /usr/share/jitsi-meet/static/close2.html
// cp /usr/share/jitsi-meet/fairchat.ico /usr/share/jitsi-meet/favicon.ico
cp /usr/share/jitsi-meet/images/faviconFAIRKOM.ico /usr/share/jitsi-meet/images/favicon.ico
cp /usr/share/jitsi-meet/images/fairmeeting.png /usr/share/jitsi-meet/images/watermark.png
cp /usr/share/jitsi-meet/images/fairmeeting.png /usr/share/jitsi-meet/images/jitsilogo.png
cp /usr/share/jitsi-meet/images/fairmeeting.png /usr/share/jitsi-meet/images/logo-deep-linking.png
cp /usr/share/jitsi-meet/lang/main-de.json /usr/share/jitsi-meet/lang/main-deDISTRO.json
cp /usr/share/jitsi-meet/lang/main-deFAIRMEETING.json /usr/share/jitsi-meet/lang/main-de.json
cp /usr/share/jitsi-meet/lang/main.json /usr/share/jitsi-meet/lang/mainDISTRO.json
cp /usr/share/jitsi-meet/lang/mainFAIRMEETING.json /usr/share/jitsi-meet/lang/main.json
cp /usr/share/jitsi-meet/titleFAIRMEETING.html /usr/share/jitsi-meet/title.html
cp /usr/share/jitsi-meet/interface_config.js /usr/share/jitsi-meet/interface_configDISTRO.js
cp /usr/share/jitsi-meet/interface_configMEET.js /usr/share/jitsi-meet/interface_config.js
cp /usr/share/jitsi-meet/css/all.css /usr/share/jitsi-meet/css/allDISTRO.css
cp /usr/share/jitsi-meet/css/allFAIRMEETING.css /usr/share/jitsi-meet/css/all.css
cp /usr/share/jitsi-meet/static/recommendedBrowsersFAIRMEETING.html /usr/share/jitsi-meet/static/recommendedBrowsers.html
cp /usr/share/jitsi-meet/static/welcomePageAdditionalContentFAIRMEETING.html /usr/share/jitsi-meet/static/welcomePageAdditionalContent.html
```
check the following `/etc/jitsi` files, they should not be overwritten with an update (or do a `git branch multibridge-update` first):
```
/etc/jitsi/videobridge/sip-communicator.properties
/etc/jitsi/videobridge/config
/etc/jitsi/jicofo/sip-communicator.properties
/etc/jitsi/meet/fairmeeting.net-config.js
```
~~`all.css` am Ende ergänzen mit den fairkom custom classes, vorher deminify (nicht mit BBedit, sondern mit `https://htmlstrip.com/unminify-css`)~~
~~cp /usr/share/jitsi-meet/images/welcome_page# cp schlegeisgreySMALL.jpg curves.png~~
in interface_config.js you can define which functions are presented, e.g. removed for now "invite by phone"
We have automated this partially with an [update scripts](https://git.fairkom.net/operations/fairmeeting) or see the example [here](https://scheible.it/jitsi-meet-server-update-script/).
### add domains and LE certs
Let’s Encrypt certificate is being added for main domain automagically with: /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh and is also used by coturn server on same machine
Adding additional domain on same server see https://git.fairkom.net/hosting/fairmeeting/-/issues/84
\ No newline at end of file