Fixed missing JVB secret

This commit is contained in:
2020-10-23 14:33:37 +02:00
parent de6ba5755e
commit e208c871f8
4 changed files with 5 additions and 7 deletions

View File

@@ -8,5 +8,4 @@ curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/Genera
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=adoptopenjdk osrel=$shortdist bash > $OUTPUT 2>&1
##preconf jitsi
debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain" > $OUTPUT 2>&1
debconf-set-selections <<< "jitsi-meet-prosody jitsi-videobridge/jvbsecret password $jvbsec" > $OUTPUT 2>&1
debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain" > $OUTPUT 2>&1

View File

@@ -18,6 +18,6 @@ echo "nameserver $intip" > /etc/resolv.conf
##config jitsi
systemctl stop jitsi-videobridge2 > $OUTPUT 2>&1
sed -i "/org.jitsi.videobridge.xmpp.user.shard.HOSTNAME=/c\org.jitsi.videobridge.xmpp.user.shard.HOSTNAME=$domain" /etc/jitsi/videobridge/sip-communicator.properties
sed -i -e "/org.jitsi.videobridge.xmpp.user.shard.HOSTNAME=/c\org.jitsi.videobridge.xmpp.user.shard.HOSTNAME=$domain" -e "/org.jitsi.videobridge.xmpp.user.shard.PASSWORD=/c\org.jitsi.videobridge.xmpp.user.shard.PASSWORD=$jvbsec" /etc/jitsi/videobridge/sip-communicator.properties
systemctl enable jitsi-videobridge2 > $OUTPUT 2>&1
systemctl start jitsi-videobridge2 > $OUTPUT 2>&1

View File

@@ -6,5 +6,4 @@ mbranch=main/JVB
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=jitsi osrel=$shortdist bash > $OUTPUT 2>&1
#preconf jitsi
debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain"
debconf-set-selections <<< "jitsi-meet-prosody jitsi-videobridge/jvbsecret password $jvbsec"
debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain"

View File

@@ -17,7 +17,7 @@ bash Install-JMS.sh
```
## JIB
Make sure the server is connected to the same internal network
Copy `/etc/ICTM/JitsiMeet.var` from main server to `~/jistiMeet.var` on the new server.
Copy `/etc/ICTM/JitsiMeet.var` from main server to `~/JitsiMeet.var` on the new server.
Then run the commands underneath and follow the onscreen instructions
```
@@ -27,7 +27,7 @@ bash Install-JIB.sh
## JVB
Make sure the server is connected to the same internal network
Copy `/etc/ICTM/JitsiMeet.var` from main server to `~/jistiMeet.var` on the new server.
Copy `/etc/ICTM/JitsiMeet.var` from main server to `~/JitsiMeet.var` on the new server.
Then run the commands underneath
```