mirror of https://github.com/tteck/Proxmox.git
IP4 > config.php to the end
disabled Dashboard because nothing is on it, first start
This commit is contained in:
parent
2e937a4102
commit
c338313610
|
@ -227,8 +227,6 @@ $CONFIG = array (
|
||||||
'installed' => false,
|
'installed' => false,
|
||||||
);
|
);
|
||||||
EOF
|
EOF
|
||||||
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
|
|
||||||
msg_ok "Set up Nextcloud-Config"
|
msg_ok "Set up Nextcloud-Config"
|
||||||
|
|
||||||
msg_info "Starting Alpine-Nextcloud"
|
msg_info "Starting Alpine-Nextcloud"
|
||||||
|
@ -249,7 +247,10 @@ $STD su nextcloud -s /bin/sh -c "php82 occ maintenance:install \
|
||||||
--database-user '$DB_USER' --database-pass '$DB_PASS' \
|
--database-user '$DB_USER' --database-pass '$DB_PASS' \
|
||||||
--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 /usr/share/webapps/nextcloud/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 dashboard'
|
||||||
|
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
|
||||||
msg_ok "Run Setup-Wizard"
|
msg_ok "Run Setup-Wizard"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|
Loading…
Reference in New Issue