diff --git a/apps/talk.sh b/apps/talk.sh index 39d1ec2df2..0f7c2d52af 100644 --- a/apps/talk.sh +++ b/apps/talk.sh @@ -4,9 +4,12 @@ true SCRIPT_NAME="Nextcloud Talk" -SCRIPT_EXPLAINER="This script installs Nextcloud Talk which is a replacement for Teams/Skype and similar.\ -You will also be offered the possibility to install the so-called High-Performance-Backend, which makes it possible to host more video calls than it would be with the standard Talk app. \ -It's called 'Talk Signaling' and you will be offered to install it as part two of this script." +SCRIPT_EXPLAINER="This script installs Nextcloud Talk which is a replacement for Teams/Skype and similar. + +You will also be offered the possibility to install the so-called High-Performance-Backend, which makes it possible to host more video calls than it would be with the standard Talk app. +It's called 'Talk Signaling' and you will be offered to install it as part two of this script. + +And last but not least, Talk Recording is also offered to be installed. It enables recording of sessions in Talk and it's part three of this script." # shellcheck source=lib.sh source /var/scripts/fetch_lib.sh @@ -514,15 +517,16 @@ nextcloud/aio-talk-recording # Talk recording if [ -d "$NCPATH/apps/spreed" ] then - if does_this_docker_exist talk-recording + if does_this_docker_exist nextcloud/aio-talk-recording then + install_if_not netcat while ! nc -z "$TURN_RECORDING_HOST" 1234 do - echo "waiting for Talk Recording to become available..." + print_text_in_color "$ICyan" "Waiting for Talk Recording to become available..." sleep 5 done - - RECORDING_SERVERS_STRING="{\"servers\":[{\"server\":\"http://$TURN_RECORDING_HOST:$TURN_RECORDING_HOST_PORT/\",\"verify\":true}],\"secret\":\"$TURN_RECORDING_SECRET\"}" + # Set values in Nextcloud + RECORDING_SERVERS_STRING="{\"servers\":[{\"server\":\"http://$TURN_RECORDING_HOST:$TURN_RECORDING_HOST_PORT/\",\"verify\":false}],\"secret\":\"$TURN_RECORDING_SECRET\"}" nextcloud_occ_no_check config:app:set spreed recording_servers --value="$RECORDING_SERVERS_STRING" --output json fi fi diff --git a/lib.sh b/lib.sh index 3b9ab0226b..a75484bc3f 100644 --- a/lib.sh +++ b/lib.sh @@ -57,8 +57,8 @@ INTERNET_DNS="9.9.9.9" # Default Quad9 DNS servers, overwritten by the systemd global DNS defined servers, if set DNS1="9.9.9.9" DNS2="149.112.112.112" -NONO_PORTS=(22 25 53 80 443 1024 3012 3306 5178 5179 5432 7867 7983 8983 10000 8081 8443 9443 9000 9980 9090 9200 9600) -# 9000 9980 9090 9200 9600 are local docker ports, don't remember if they are needed here or not. +NONO_PORTS=(22 25 53 80 443 1024 3012 3306 5178 5179 5432 7867 7983 8983 10000 8081 8443 9443 9000 9980 9090 9200 9600 1234) +# 9000 9980 9090 9200 9600 1234 are local docker ports, don't remember if they are needed here or not. use_global_systemd_dns() { if [ -f "/etc/systemd/resolved.conf" ] then