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

@@ -9,4 +9,3 @@ curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/Genera
##preconf jitsi ##preconf jitsi
debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain" > $OUTPUT 2>&1 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

View File

@@ -18,6 +18,6 @@ echo "nameserver $intip" > /etc/resolv.conf
##config jitsi ##config jitsi
systemctl stop jitsi-videobridge2 > $OUTPUT 2>&1 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 enable jitsi-videobridge2 > $OUTPUT 2>&1
systemctl start jitsi-videobridge2 > $OUTPUT 2>&1 systemctl start jitsi-videobridge2 > $OUTPUT 2>&1

View File

@@ -7,4 +7,3 @@ curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/Genera
#preconf jitsi #preconf jitsi
debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain" debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain"
debconf-set-selections <<< "jitsi-meet-prosody jitsi-videobridge/jvbsecret password $jvbsec"

View File

@@ -17,7 +17,7 @@ bash Install-JMS.sh
``` ```
## JIB ## JIB
Make sure the server is connected to the same internal network 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 Then run the commands underneath and follow the onscreen instructions
``` ```
@@ -27,7 +27,7 @@ bash Install-JIB.sh
## JVB ## JVB
Make sure the server is connected to the same internal network 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 Then run the commands underneath
``` ```