From 29b7515c65698b8fa43dec00520e9b43e7386d4f Mon Sep 17 00:00:00 2001 From: Simon L Date: Sat, 7 Jan 2023 16:14:25 +0100 Subject: [PATCH] allow to make fulltextsearch:index issues easier to debug Signed-off-by: Simon L --- Containers/nextcloud/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 02bef12a..0e1b1376 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -592,10 +592,11 @@ if [ "$FULLTEXTSEARCH_ENABLED" = 'yes' ]; then echo "Waiting 10s before activating FTS..." sleep 10 echo "Activating fulltextsearch..." - if php /var/www/html/occ fulltextsearch:test && php /var/www/html/occ fulltextsearch:index; then + if php /var/www/html/occ fulltextsearch:test && php /var/www/html/occ fulltextsearch:index "{\"errors\": \"reset\"}" --no-readline; then touch "$NEXTCLOUD_DATA_DIR/fts-index.done" else echo "Fulltextsearch failed. Could not index." + echo "Feel free to follow https://github.com/nextcloud/all-in-one/discussions/1709 if you want to skip the indexing in the future." fi fi else