mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-03-01 00:06:48 +08:00
allow to make fulltextsearch:index issues easier to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
0588a3391c
commit
29b7515c65
1 changed files with 2 additions and 1 deletions
|
@ -592,10 +592,11 @@ if [ "$FULLTEXTSEARCH_ENABLED" = 'yes' ]; then
|
||||||
echo "Waiting 10s before activating FTS..."
|
echo "Waiting 10s before activating FTS..."
|
||||||
sleep 10
|
sleep 10
|
||||||
echo "Activating fulltextsearch..."
|
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"
|
touch "$NEXTCLOUD_DATA_DIR/fts-index.done"
|
||||||
else
|
else
|
||||||
echo "Fulltextsearch failed. Could not index."
|
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
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue