Skip to content

Commit 839d9e0

Browse files
authored
Merge branch 'master' into desec-apps
2 parents cc92db9 + 2025411 commit 839d9e0

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

apps/adminer.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ then
129129
The script will exit."
130130
exit 1
131131
else
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:
133138
https://$ADDRESS:9443
134139
@@ -146,5 +151,3 @@ $(grep dbname $NCPATH/config/config.php)
146151
In case you try to access Adminer and get 'Forbidden' you need to change the IP in:
147152
$ADMINER_CONF"
148153
fi
149-
150-
exit

apps/face-recognition.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,24 +100,24 @@ then
100100
fi
101101

102102
# Install requirements
103-
if [[ "$PHPVER" = "8.1" ]]
103+
if version 20.04 "$DISTRO" 20.04.10
104104
then
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
113113
then
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
121121
fi
122122

123123
# Install the app

nextcloud_update.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ fi
195195
rm -f /root/php-upgrade.sh
196196
rm -f /tmp/php-upgrade.sh
197197
rm -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
200204
CURRUSR="$(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"

0 commit comments

Comments
 (0)