diff options
author | Daniel Hansson <mailto@danielhansson.nu> | 2022-08-18 21:41:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 21:41:55 +0300 |
commit | 76c14f61a887b22d78fb1073b471c62ba886005e (patch) | |
tree | 7b054a76f11a200465307acc79da39a889fb8cdd | |
parent | 1a2a0cb00672b204b0116fc7c0f8925284bed655 (diff) |
raise time to bootstrap, and test before indexing
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
-rw-r--r-- | apps/fulltextsearch.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/apps/fulltextsearch.sh b/apps/fulltextsearch.sh index e943f1c1..b154a08d 100644 --- a/apps/fulltextsearch.sh +++ b/apps/fulltextsearch.sh @@ -233,9 +233,9 @@ docker-compose up -d # Wait for bootstrapping if [ "$(nproc)" -gt 2 ] then - countdown "Waiting for Docker bootstrapping..." "30" -else countdown "Waiting for Docker bootstrapping..." "60" +else + countdown "Waiting for Docker bootstrapping..." 120" fi # Make sure password setup is enforced. @@ -265,9 +265,14 @@ nextcloud_occ fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http:/ nextcloud_occ files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}" # Wait further for cache for index to work countdown "Waiting for a few seconds before indexing starts..." "10" -if nextcloud_occ fulltextsearch:index < /dev/null +if nextcloud_occ fulltextsearch:test then - msg_box "Full Text Search was successfully installed!" + if nextcloud_occ fulltextsearch:index < /dev/null + then + msg_box "Full Text Search was successfully installed!" + fi +else + msg_box "There seems to be an issue with the FTS test. Please report this to $ISSUES" fi # Make sure the script exists |