From e208c871f8a40232d580d8625cb0ca3330b6909f Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Fri, 23 Oct 2020 14:33:37 +0200 Subject: [PATCH] Fixed missing JVB secret --- JIB/preconf.sh | 3 +-- JVB/conf.sh | 2 +- JVB/preconf.sh | 3 +-- readme.md | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/JIB/preconf.sh b/JIB/preconf.sh index 6ef5d2d..2f6b080 100644 --- a/JIB/preconf.sh +++ b/JIB/preconf.sh @@ -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 \ No newline at end of file +debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain" > $OUTPUT 2>&1 \ No newline at end of file diff --git a/JVB/conf.sh b/JVB/conf.sh index dc997c2..6d1a330 100644 --- a/JVB/conf.sh +++ b/JVB/conf.sh @@ -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 \ No newline at end of file diff --git a/JVB/preconf.sh b/JVB/preconf.sh index faf3432..3340f9c 100644 --- a/JVB/preconf.sh +++ b/JVB/preconf.sh @@ -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" \ No newline at end of file +debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain" \ No newline at end of file diff --git a/readme.md b/readme.md index 99131cc..7383b05 100644 --- a/readme.md +++ b/readme.md @@ -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 ```