Closed keelanfh closed 1 year ago
I seem to remember a while back it being a bug trying to install via the UI (should be addressed though if we can).
Could you check if you can install via the command line? drush en localgov_demo
Yes, that looks right. When I run that command, I just get this - one warning but no errors.
The following module(s) will be enabled: localgov_demo, default_content, localgov_alert_banner, condition_field, localgov_directories, search_api, facets, localgov_directories_db, search_api_db, localgov_directories_location, localgov_geo_address, localgov_geo, geofield, geofield_map, leaflet, geocoder, leaflet_views, localgov_directories_page, localgov_directories_venue, localgov_events, date_recur, datetime_range, date_recur_modular, localgov_geo_area, geocoder_geofield, geocoder_field, localgov_guides, localgov_news, entity_reference_facet_link, search_api_autocomplete, schema_metatag, metatag, schema_article, localgov_search, localgov_search_db, localgov_services_status, localgov_step_by_step, localgov_subsites, entity_hierarchy, dbal, entity_hierarchy_breadcrumb, layout_paragraphs, layout_discovery, localgov_subsites_paragraphs, tablefield, viewsreference, localgov_homepage_paragraphs, field_formatter_class, fontawesome, localgov_workflows, diff, preview_link, responsive_preview, scheduled_transitions, dynamic_entity_reference, localgov_review_date
Do you want to continue? (yes/no) [yes]:
>
> [notice] Message: Successfully executed 1 pending task.
>
[notice] Added localgov_directories_page content type to localgov_directories_channel_search_block block.
> [notice] Message: Successfully executed 1 pending task.
>
[notice] Added localgov_directories_venue content type to localgov_directories_channel_search_block block.
[success] Successfully enabled: localgov_demo, default_content, localgov_alert_banner, condition_field, localgov_directories, search_api, facets, localgov_directories_db, search_api_db, localgov_directories_location, localgov_geo_address, localgov_geo, geofield, geofield_map, leaflet, geocoder, leaflet_views, localgov_directories_page, localgov_directories_venue, localgov_events, date_recur, datetime_range, date_recur_modular, localgov_geo_area, geocoder_geofield, geocoder_field, localgov_guides, localgov_news, entity_reference_facet_link, search_api_autocomplete, schema_metatag, metatag, schema_article, localgov_search, localgov_search_db, localgov_services_status, localgov_step_by_step, localgov_subsites, entity_hierarchy, dbal, entity_hierarchy_breadcrumb, layout_paragraphs, layout_discovery, localgov_subsites_paragraphs, tablefield, viewsreference, localgov_homepage_paragraphs, field_formatter_class, fontawesome, localgov_workflows, diff, preview_link, responsive_preview, scheduled_transitions, dynamic_entity_reference, localgov_review_date
[warning] An overlong word (more than 50 characters) was encountered while indexing: 5d77a474d548c38c30ed2891f8c59b3ea97bb74984819680d74bb4bbef390c89.<br />Since database search servers currently cannot index words of more than 50 characters, the word was truncated for indexing. If this should not be a single word, please make sure the "Tokenizer" processor is enabled and configured correctly for index Sitewide search.
@finnlewis was it @ekes or @stephen-cox who was looking at this? Its the issue where directories is installing, but search is not set up correctly or something to that effect if I recall.
The Demo module should not be installed through the UI on a fresh install because it will hit the PHP max execution time and max memory limits and crash. We need to make it as clear as possible that the Demo module should be enabled with Drush.
It should be possible to enable with through the UI by setting both memory_limit
and max_execution_time
to reasonably high numbers, but you don't want to be making these changes permanent and the exact numbers are going to depend on the environment. Installing through Drush is the most reliable method.
Steps to replicate
localgov_project
installlocalgov_demo
Observed behaviour I see the following error: Everything seems to work fine, and it doesn't seem to cause any actual issues, but it is a bit off-putting.
Error logs