Skip to content

Commit 7560694

Browse files
authored
Merge pull request #7119 from nextcloud/enh/noid/fix-variable-types
nextcloud-entrypoint: fix variable types of fulltextsearch:configure
2 parents 0b64967 + c3ab1cc commit 7560694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containers/nextcloud/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ if [ "$FULLTEXTSEARCH_ENABLED" = 'yes' ]; then
948948
fi
949949
php /var/www/html/occ fulltextsearch:configure '{"search_platform":"OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform"}'
950950
php /var/www/html/occ fulltextsearch_elasticsearch:configure "{\"elastic_host\":\"http://$FULLTEXTSEARCH_USER:$FULLTEXTSEARCH_PASSWORD@$FULLTEXTSEARCH_HOST:$FULLTEXTSEARCH_PORT\",\"elastic_index\":\"$FULLTEXTSEARCH_INDEX\"}"
951-
php /var/www/html/occ files_fulltextsearch:configure "{\"files_pdf\":\"1\",\"files_office\":\"1\"}"
951+
php /var/www/html/occ files_fulltextsearch:configure "{\"files_pdf\":true,\"files_office\":true}"
952952

953953
# Do the index
954954
if ! [ -f "$NEXTCLOUD_DATA_DIR/fts-index.done" ]; then

0 commit comments

Comments
 (0)