Compare commits

...

5 Commits

Author SHA1 Message Date
c44b53c034 updated README 2025-01-19 19:07:55 -08:00
ec85797ac1 Updated Nextcloud Maintenance Script to Sovran_SystemsOS_Updater 2024-07-31 17:44:59 -07:00
21057f982b Add Nextcloud Maintenance Scritp to Sovran_SystemsOS_Updater 2024-07-31 16:06:49 -07:00
e699b8c37c format the Sovran_SystemsOS Updater 2024-07-31 15:40:45 -07:00
81fed562fc revert 3b2b166100
revert added Nextcloud Maintenance code to the Sovran_SystemsOS_Updater
2024-07-31 14:21:50 -07:00
2 changed files with 11 additions and 60 deletions

View File

@ -28,10 +28,10 @@
## All Is Love. Fear Is Illusion. All Beings Are Free. Truth Can Never Be Destroyed.
Created, Handcrafted, and Headquartered in Southern California 2022-2024 🏖️.
Created, Handcrafted, and Headquartered in Southern California 2022-2025 🏖️.
All Open Source Software Used Falls Under Its Specific Open Source License.
This Gitea is Proudly Powered by a Sovran Pro 💚.
GNU GPL 3.0+
GNU GPL 3.0+

View File

@ -10,6 +10,8 @@ ssh root@localhost flatpak update -y &> /home/free/Documents/Updater_App_Logs/{$
}
HUNGRY () {
pushd /home/free/Documents/Updater_App_Logs
@ -31,66 +33,19 @@ popd
}
PASTA () {
time_stamp=$(date +%Y-%m-%d-%T)
ssh root@localhost "sudo -u caddy php /var/lib/www/nextcloud/occ db:add-missing-indices &> /home/free/Documents/Updater_App_Logs/{$time_stamp}-Updater_Nextcloud_Maintenance_Log.txt"
ssh root@localhost "sudo -u caddy php /var/lib/www/nextcloud/occ maintenance:repair"
}
PASTA-SAUCE () {
PASTA_SECONDS () {
pushd /home/free/Documents/Updater_App_Logs
file=$(ls -Art | tail -n 1)
if grep -w "error" $file ; then
zenity --error \
--width=1300 \
--title="Sovran_SystemsOS_Updater" \
--text="Could not complete the Nextcloud Maintenance. Check the Updater_Nextcloud_Maintenance_Log.txt in your Documents under Updater_App_Logs folder for more details."
exit 1
fi
popd
}
PASTA_2 () {
time_stamp=$(date +%Y-%m-%d-%T)
ssh root@localhost "sudo -u caddy php /var/lib/www/nextcloud/occ db:add-missing-indices &> /home/free/Documents/Updater_App_Logs/{$time_stamp}-Updater_Nextcloud_Maintenance2_Log.txt"
ssh root@localhost "sudo -u caddy php /var/lib/www/nextcloud/occ db:add-missing-indices"
}
PASTA-SAUCE_2 () {
pushd /home/free/Documents/Updater_App_Logs
file=$(ls -Art | tail -n 1)
if grep -w "error" $file ; then
zenity --error \
--width=1300 \
--title="Sovran_SystemsOS_Updater" \
--text="Could not complete the Nextcloud Maintenance. Check the Updater_Nextcloud_Maintenance2_Log.txt in your Documents under Updater_App_Logs folder for more details."
exit 1
fi
popd
}
FLAKE () {
time_stamp=$(date +%Y-%m-%d-%T)
@ -198,15 +153,11 @@ else
LOGIN | zenity --progress --no-cancel --auto-close --width=500 --pulsate --text="Updating Flatpaks now..." --title="Sovran_SystemsOS_Updater"
HUNGRY
PASTA | zenity --progress --no-cancel --auto-close --width=500 --pulsate --text="Nextcloud Maintenance..." --title="Sovran_SystemsOS_Updater"
PASTA-SAUCE
PASTA_2 | zenity --progress --no-cancel --auto-close --width=500 --pulsate --text="Nextcloud Maintenance..." --title="Sovran_SystemsOS_Updater"
PASTA-SAUCE_2
PASTA_SECONDS
FLAKE | zenity --progress --no-cancel --auto-close --width=500 --pulsate --text="Updating Flake now..." --title="Sovran_SystemsOS_Updater"
PANCAKE-FLAKE