From 6f096b04fe4324ed1b38f32df262f93bdc8bf5c5 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 31 Jul 2025 20:14:18 +0200 Subject: [PATCH] Remove temp. Tandoor during Install & Update Issues (#6438) * Tandoor: Remove update & from website until breaking * remove json --- ct/tandoor.sh | 40 +++++++++---------- .../json/{tandoor.json => tandoor.json.bak} | 0 2 files changed, 20 insertions(+), 20 deletions(-) rename frontend/public/json/{tandoor.json => tandoor.json.bak} (100%) diff --git a/ct/tandoor.sh b/ct/tandoor.sh index 085b28f17..dab75cb37 100644 --- a/ct/tandoor.sh +++ b/ct/tandoor.sh @@ -27,27 +27,27 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - if ! [[ $(dpkg -s python3-xmlsec 2>/dev/null) ]]; then - $STD apt-get update - $STD apt-get install -y python3-xmlsec - fi - if cd /opt/tandoor && git pull | grep -q 'Already up to date'; then + #if ! [[ $(dpkg -s python3-xmlsec 2>/dev/null) ]]; then + #$STD apt-get update + #$STD apt-get install -y python3-xmlsec + #fi + #if cd /opt/tandoor && git pull | grep -q 'Already up to date'; then msg_ok "There is currently no update available." - else - msg_info "Updating ${APP} (Patience)" - export $(cat /opt/tandoor/.env | grep "^[^#]" | xargs) - cd /opt/tandoor/ - $STD pip3 install -r requirements.txt - $STD /usr/bin/python3 /opt/tandoor/manage.py migrate - $STD /usr/bin/python3 /opt/tandoor/manage.py collectstatic --no-input - $STD /usr/bin/python3 /opt/tandoor/manage.py collectstatic_js_reverse - cd /opt/tandoor/vue - $STD yarn install - $STD yarn build - cd /opt/tandoor - $STD python3 version.py - systemctl restart gunicorn_tandoor - msg_ok "Updated ${APP}" + #else + #msg_info "Updating ${APP} (Patience)" + #export $(cat /opt/tandoor/.env | grep "^[^#]" | xargs) + #cd /opt/tandoor/ + #$STD pip3 install -r requirements.txt + #$STD /usr/bin/python3 /opt/tandoor/manage.py migrate + #$STD /usr/bin/python3 /opt/tandoor/manage.py collectstatic --no-input + #$STD /usr/bin/python3 /opt/tandoor/manage.py collectstatic_js_reverse + #cd /opt/tandoor/vue + #$STD yarn install + #$STD yarn build + #cd /opt/tandoor + #$STD python3 version.py + #systemctl restart gunicorn_tandoor + #msg_ok "Updated ${APP}" fi exit } diff --git a/frontend/public/json/tandoor.json b/frontend/public/json/tandoor.json.bak similarity index 100% rename from frontend/public/json/tandoor.json rename to frontend/public/json/tandoor.json.bak