Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk 7a14b9c207 Crafty Controller: Restore ownership after updates 2026-08-08 22:15:31 +02:00
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -44,6 +44,7 @@ function update_script() {
CLEAN_INSTALL=1 fetch_and_deploy_gl_release "Crafty-Controller" "crafty-controller/crafty-4" "tarball" "latest" "/opt/crafty-controller/crafty/crafty-4"
chown -R crafty:crafty /opt/crafty-controller
restore_backup
msg_info "Updating TemurinJDK"
@@ -53,7 +54,6 @@ function update_script() {
msg_ok "Updated TemurinJDK"
msg_info "Updating Python dependencies"
chown -R crafty:crafty /opt/crafty-controller
cd /opt/crafty-controller/crafty/crafty-4
$STD sudo -u crafty bash -c '
source /opt/crafty-controller/crafty/.venv/bin/activate
-1
View File
@@ -30,7 +30,6 @@ function update_script() {
exit
fi
ensure_dependencies git
if check_for_gh_release "sparkyfitness" "CodeWithCJ/SparkyFitness"; then
msg_info "Stopping Services"
systemctl stop sparkyfitness-server nginx
+1 -1
View File
@@ -14,7 +14,7 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt install -y git nginx
$STD apt install -y nginx
msg_ok "Installed Dependencies"
PG_VERSION="18" setup_postgresql