Commit 758b64d9 authored by Daniel's avatar Daniel

Update overlay/root/scripts/nc_config.sh, overlay/root/scripts/_CONFIG_VARS_.sh files

parent d2a583a3
......@@ -62,7 +62,7 @@ fi
# create occ helper script
cat > ${file_occ_script} <<EOF
# shortcut for the occ command for quick editing
su -m ${WWW_USER} -c "php ${dir_nextcloud}/occ \$@"
su -m ${WWW_USER} -c "php ${dir_nextcloud}/occ \$*"
EOF
chmod +x ${file_occ_script}
#
......
......@@ -41,10 +41,9 @@ fi
echo; echo "nextcloud: setup via occ"
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#command-line-installation
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html
# Use occ to complete Nextcloud installation
occ maintenance:install --database '${DB_TYPE}' --database-name '${DB_NAME}' --database-user '${DB_ROOT}' --database-pass='${DB_ROOT_PW}' --database-host 'localhost:${file_mysql_sock}' --admin-user '${NC_ROOT}' --admin-pass '${NC_ROOT_PW}' --data-dir '${dir_nextcloud_data}'
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#command-line-installation
occ maintenance:install --database "${DB_TYPE}" --database-name "${DB_NAME}" --database-user "${DB_ROOT}" --database-pass="${DB_ROOT_PW}" --database-host "localhost:${file_mysql_sock}" --admin-user "${NC_ROOT}" --admin-pass "${NC_ROOT_PW}" --data-dir "${dir_nextcloud_data}"
occ config:system:set trusted_domains 0 --value '${servername}'
occ config:system:set trusted_domains 1 --value '${serverip}'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment