From 7246cf537224976a0a15f00dd5908fec3d57954b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Kn=C3=B6ppler?= <6317548+theCalcaholic@users.noreply.github.com> Date: Sun, 25 Feb 2024 14:16:21 +0100 Subject: [PATCH] Clear nextcloud logs after update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com> --- .github/workflows/build-lxd.yml | 2 ++ .gitignore | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/build-lxd.yml b/.github/workflows/build-lxd.yml index ebb9f5ae..81728da0 100644 --- a/.github/workflows/build-lxd.yml +++ b/.github/workflows/build-lxd.yml @@ -265,6 +265,8 @@ jobs: else lxc exec ncp -- bash -c "DBG=x ncp-update-nc ${latest_nc_version?}" fi + + lxc exec ncp -- rm -f /opt/ncdata/data/nextcloud.log lxc stop ncp - name: Relaunch container diff --git a/.gitignore b/.gitignore index 419998b2..a51c830a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /ncp-web/ncp-web.cfg /docker-armhf/qemu-arm-static .vagrant/ +/.idea/