File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed
Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,11 @@ then
129129The script will exit."
130130 exit 1
131131else
132+ # Allow local access:
133+
134+ check_command sed -i " s|local all postgres peer|local all postgres md5|g" /etc/postgresql/* /main/pg_hba.conf
135+ restart_webserver
136+
132137 msg_box " Adminer was successfully installed and can be reached here:
133138https://$ADDRESS :9443
134139
@@ -146,5 +151,3 @@ $(grep dbname $NCPATH/config/config.php)
146151In case you try to access Adminer and get 'Forbidden' you need to change the IP in:
147152$ADMINER_CONF "
148153fi
149-
150- exit
Original file line number Diff line number Diff line change @@ -100,24 +100,24 @@ then
100100fi
101101
102102# Install requirements
103- if [[ " $PHPVER " = " 8.1 " ]]
103+ if version 20.04 " $DISTRO " 20.04.10
104104then
105105 # https://github.com/matiasdelellis/facerecognition/wiki/PDlib-Installation#ubuntu-focal
106106 add_trusted_key_and_repo " repo.gpg.key" \
107107 " https://repo.delellis.com.ar" \
108108 " https://repo.delellis.com.ar" \
109109 " focal focal" \
110110 " facerecognition-pdlib.list"
111- install_if_not php7.4 -pdlib
112- elif [[ " $PHPVER " = " 8.1 " ]]
111+ install_if_not php " $PHPVER " -pdlib
112+ elif version 22.04 " $DISTRO " 22.04.10
113113then
114114 # https://github.com/matiasdelellis/facerecognition/wiki/PDlib-Installation#ubuntu-jammy
115115 add_trusted_key_and_repo " repo.gpg.key" \
116116 " https://repo.delellis.com.ar" \
117117 " https://repo.delellis.com.ar" \
118118 " $CODENAME $CODENAME " \
119119 " facerecognition-pdlib.list"
120- install_if_not php8.1 -pdlib
120+ install_if_not php " $PHPVER " -pdlib
121121fi
122122
123123# Install the app
Original file line number Diff line number Diff line change 195195rm -f /root/php-upgrade.sh
196196rm -f /tmp/php-upgrade.sh
197197rm -f /root/db-migration.sh
198+ rm -f /root/migrate-between-psql-versions.sh
199+ rm -f " $SCRIPTS " /php-upgrade.sh
200+ rm -f " $SCRIPTS " /db-migration.sh
201+ rm -f " $SCRIPTS " /migrate-between-psql-versions.sh
198202
199203# Fix bug in nextcloud.sh
200204CURRUSR=" $( getent group sudo | cut -d: -f4 | cut -d, -f1) "
@@ -629,7 +633,12 @@ $DOCKER_RUN_OUTPUT"
629633 # Collabora CODE
630634 docker_update_specific ' code' ' Collabora'
631635 # OnlyOffice
632- docker_update_specific ' onlyoffice' ' OnlyOffice'
636+ # # Don't upgrade to community if EE is installed
637+ if ! does_this_docker_exist onlyoffice-ee
638+ then
639+ print_text_in_color " $IRed " " Skipping OnlyOffice due to issues with Websockets: https://forum.onlyoffice.com/t/onlyoffice-7-3-websocket-path-changed/3767/5"
640+ # docker_update_specific 'onlyoffice' 'OnlyOffice'
641+ fi
633642 # Full Text Search
634643 docker_update_specific ' fts_esror' ' Full Text Search'
635644 docker-compose_update ' fts_os-node' ' Full Text Search' " $OPNSDIR "
You can’t perform that action at this time.
0 commit comments