Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-28 17:17:59 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-09-28 17:17:59 +0300
commitba7b845c73410ed3717a00acd42b3ea7621a1f01 (patch)
tree23fd49fdd01377b675a38b91f7318f0270f3b75b
parent1499cfbdc28bb2126825d16bc23b8ab01cfe3d85 (diff)
run-parts.sh: Add information about critical bug
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
-rwxr-xr-xbuild/docker/debian-ncp/run-parts.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/docker/debian-ncp/run-parts.sh b/build/docker/debian-ncp/run-parts.sh
index cae28904..2b779771 100755
--- a/build/docker/debian-ncp/run-parts.sh
+++ b/build/docker/debian-ncp/run-parts.sh
@@ -35,6 +35,10 @@ cleanup()
exit
}
+grep '/data-ro' /etc/mysql/mariadb.conf.d/90-ncp.cnf > /dev/null 2>&1 \
+ && echo "WARNING: Looks like you have been affected by a critical bug in NCP that can cause data loss. We're trying" \
+ "to fix this now, but if you encounter any issues, please check" \
+ "https://github.com/nextcloud/nextcloudpi/issues/1577#issuecomment-1260830341"
sed -i 's|/data-ro|/data|' "/etc/mysql/mariadb.conf.d/90-ncp.cnf" || true
trap cleanup SIGTERM