Skip to content

Commit 400ee64

Browse files
author
Tim Martin
committed
remove solr defaults deletions
1 parent d914d32 commit 400ee64

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed
12 KB
Binary file not shown.

rootfs/etc/cont-init.d/999-startup.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ for d in $DRUPAL_DIR/web/sites/default/files/tmp /tmp/private ; do
2121
$CHOWN -R nginx:nginx "$d"
2222
done
2323

24-
#drush -y state:set system.maintenance_mode 1 --input-format=integer
24+
drush -y state:set system.maintenance_mode 1 --input-format=integer
2525

2626
# This is a workaround for a bug.
27-
drush cdel core.extension module.search_api_solr_defaults || true
28-
drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='search_api_solr_defaults';" || true
27+
#drush cdel core.extension module.search_api_solr_defaults || true
28+
#drush sql-query "DELETE FROM key_value WHERE collection='system.schema' AND name='search_api_solr_defaults';" || true
29+
2930
drush php-eval "\Drupal::keyValue('system.schema')->delete('remote_stream_wrapper')" || true
3031
drush php-eval "\Drupal::keyValue('system.schema')->delete('matomo')" || true
3132

@@ -48,9 +49,7 @@ if [ ! -f web/sites/default/files/generic.png ] ; then
4849
cp "web/core/modules/media/images/icons/generic.png" "web/sites/default/files/generic.png"
4950
fi
5051

51-
#drush -y config:import
52-
#drush -y cache:rebuild
53-
#drush -y state:set system.maintenance_mode 0 --input-format=integer
52+
drush -y state:set system.maintenance_mode 0 --input-format=integer
5453

5554
echo ""
5655
echo ""

0 commit comments

Comments
 (0)