File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 3535lowest_compatible_nc 26
3636
3737# Check if Imaginary is already installed
38- if ! does_this_docker_exist nextcloud/aio-imaginary
38+ if ! does_this_docker_exist nextcloud/aio-imaginary && ! does_this_docker_exist ghcr.io/nextcloud-releases/aio-imaginary
3939then
4040 # Ask for installing
4141 install_popup " $SCRIPT_NAME "
4747 then
4848 # Remove docker container
4949 docker_prune_this ' nextcloud/aio-imaginary' ' imaginary'
50+ docker_prune_this ' ghcr.io/nextcloud-releases/aio-imaginary' ' imaginary'
5051 # reset the preview formats
5152 nextcloud_occ config:system:delete " preview_imaginary_url"
5253 nextcloud_occ config:system:delete " enabledPreviewProviders"
110111install_docker
111112
112113# Pull and start
113- docker pull nextcloud/aio-imaginary:latest
114- docker run -t -d -p 127.0.0.1:9000:9000 --restart always --name imaginary nextcloud/aio-imaginary –cap-add=sys_nice -concurrency 50 -enable-url-source -return-size -log-level debug
114+ docker pull ghcr.io/ nextcloud-releases /aio-imaginary:latest
115+ docker run -t -d -p 127.0.0.1:9000:9000 --restart always --name imaginary ghcr.io/ nextcloud-releases /aio-imaginary –cap-add=sys_nice -concurrency 50 -enable-url-source -return-size -log-level debug
115116
116117# Test if imaginary is working
117118countdown " Testing if it works in 3 sedonds" " 3"
Original file line number Diff line number Diff line change 8484 done
8585 apt-get autoremove -y
8686 docker_prune_this nextcloud/aio-talk-recording
87+ docker_prune_this ghcr.io/nextcloud-releases/aio-talk-recording
8788 # Show successful uninstall if applicable
8889 removal_popup " $SCRIPT_NAME "
8990fi
@@ -530,7 +531,7 @@ ram_check 4 "Talk Recording"
530531print_text_in_color " $ICyan " " Setting up Talk recording..."
531532
532533# Pull and start
533- docker pull nextcloud/aio-talk-recording:latest
534+ docker pull ghcr.io/ nextcloud-releases /aio-talk-recording:latest
534535docker run -t -d -p " $TURN_RECORDING_HOST " :" $TURN_RECORDING_HOST_PORT " :" $TURN_RECORDING_HOST_PORT " \
535536--restart always \
536537--name talk-recording \
@@ -541,12 +542,12 @@ docker run -t -d -p "$TURN_RECORDING_HOST":"$TURN_RECORDING_HOST_PORT":"$TURN_RE
541542-e TZ=" $( cat /etc/timezone) " \
542543-e RECORDING_SECRET=" ${TURN_RECORDING_SECRET} " \
543544-e INTERNAL_SECRET=" ${TURN_INTERNAL_SECRET} " \
544- nextcloud/aio-talk-recording:latest
545+ ghcr.io/ nextcloud-releases /aio-talk-recording:latest
545546
546547# Talk recording
547548if [ -d " $NCPATH /apps/spreed" ]
548549then
549- if does_this_docker_exist nextcloud/aio-talk-recording
550+ if does_this_docker_exist ghcr.io/ nextcloud-releases /aio-talk-recording
550551 then
551552 install_if_not netcat-traditional
552553 while ! nc -z " $TURN_RECORDING_HOST " " $TURN_RECORDING_HOST_PORT "
Original file line number Diff line number Diff line change 482482fi
483483
484484# Set correct amount of CPUs for Imaginary
485- if does_this_docker_exist nextcloud/aio-imaginary
485+ if does_this_docker_exist ghcr.io/ nextcloud-releases /aio-imaginary
486486then
487487 if which nproc > /dev/null 2>&1
488488 then
You can’t perform that action at this time.
0 commit comments