Update alpine-nextcloud-install.sh

test
pull/1871/head
tteckster 1 year ago committed by GitHub
parent c2b3388dba
commit 60112cddd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -227,7 +227,7 @@ $STD su nextcloud -s /bin/sh -c "php82 occ maintenance:install \
--admin-user '$ADMIN_USER' --admin-pass '$ADMIN_PASS' \ --admin-user '$ADMIN_USER' --admin-pass '$ADMIN_PASS' \
--data-dir '/var/lib/nextcloud/data'" --data-dir '/var/lib/nextcloud/data'"
$STD su nextcloud -s /bin/sh -c 'php82 occ background:cron' $STD su nextcloud -s /bin/sh -c 'php82 occ background:cron'
$STD su nextcloud -s /bin/sh -c 'php82 occ app:disable serverinfo' #$STD su nextcloud -s /bin/sh -c 'php82 occ app:disable serverinfo'
IP4=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) IP4=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)
sed -i "/0 => \'localhost\',/a \ \1 => '$IP4'," /usr/share/webapps/nextcloud/config/config.php sed -i "/0 => \'localhost\',/a \ \1 => '$IP4'," /usr/share/webapps/nextcloud/config/config.php
su nextcloud -s /bin/sh -c 'php82 -f /usr/share/webapps/nextcloud/cron.php' su nextcloud -s /bin/sh -c 'php82 -f /usr/share/webapps/nextcloud/cron.php'

Loading…
Cancel
Save

Powered by BW's shoe-string budget.