mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-29 18:13:10 +01:00
Update alpine-nextcloud-install.sh
fix error in logs
This commit is contained in:
parent
60112cddd2
commit
7af2bda039
@ -227,7 +227,7 @@ $STD su nextcloud -s /bin/sh -c "php82 occ maintenance:install \
|
||||
--admin-user '$ADMIN_USER' --admin-pass '$ADMIN_PASS' \
|
||||
--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 app:disable serverinfo'
|
||||
rm -rf /usr/share/webapps/nextcloud/apps/serverinfo
|
||||
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
|
||||
su nextcloud -s /bin/sh -c 'php82 -f /usr/share/webapps/nextcloud/cron.php'
|
||||
|
Loading…
Reference in New Issue
Block a user