diff --git a/ct/alpine-nextcloud.sh b/ct/alpine-nextcloud.sh index 9c8574f7..ac6baee2 100644 --- a/ct/alpine-nextcloud.sh +++ b/ct/alpine-nextcloud.sh @@ -69,8 +69,8 @@ function update_script() { case $CHOICE in 1) apk update && apk upgrade - su nextcloud -s /bin/sh -c 'php81 /usr/share/webapps/nextcloud/occ upgrade' - su nextcloud -s /bin/sh -c 'php81 /usr/share/webapps/nextcloud/occ db:add-missing-indices' + su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ upgrade' + su nextcloud -s /bin/sh -c 'php82 /usr/share/webapps/nextcloud/occ db:add-missing-indices' exit ;; esac @@ -83,8 +83,5 @@ description msg_ok "Completed Successfully!\n" echo -e "${APP} should be reachable by going to the following URL. - ${BL}https://${IP}${CL} \n\n - Database Name: ${DB_NAME} - Database User: ${DB_USER} - Database Password: ${DB_PASS} - MySQL Root Password: ${ROOT_PASS}" + ${BL}https://${IP}${CL} \n" +pct exec 101 cat ~/nextcloud.creds diff --git a/install/alpine-nextcloud-install.sh b/install/alpine-nextcloud-install.sh index 9e425b9b..093208d5 100644 --- a/install/alpine-nextcloud-install.sh +++ b/install/alpine-nextcloud-install.sh @@ -166,8 +166,8 @@ sed -i -e 's|;opcache.max_accelerated_files=10000|opcache.max_accelerated_files= sed -i -e 's|;opcache.memory_consumption=128|opcache.memory_consumption=128|' /etc/php82/php.ini sed -i -e 's|;opcache.save_comments=1|opcache.save_comments=1|' /etc/php82/php.ini sed -i -e 's|;opcache.revalidate_freq=1|opcache.revalidate_freq=1|' /etc/php82/php.ini -rc-update add redis -rc-service redis start > /dev/null 2>&1 +$STD rc-update add redis +$STD rc-service redis start msg_ok "Set up PHP-opcache + Redis" msg_info "Setting up Nextcloud-Cron" @@ -231,8 +231,6 @@ $STD rc-update add nginx default $STD rc-update add nextcloud default msg_ok "Set up Nextcloud-Config" -cat ~/nextcloud.creds - msg_info "Starting Alpine-Nextcloud" $STD reboot msg_ok "Started Alpine-Nextcloud"