Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make production with latest islandora-starter-site failing #392

Closed
joecorall opened this issue May 3, 2024 · 3 comments · Fixed by #394
Closed

make production with latest islandora-starter-site failing #392

joecorall opened this issue May 3, 2024 · 3 comments · Fixed by #394

Comments

@joecorall
Copy link
Contributor

NIghtly build failing on make production with The "search_api_index" entity type does not exist..

Not sure if an issue here or islandora-starter-site

@rosiel
Copy link
Contributor

rosiel commented May 3, 2024

Is this a module race condition? I know that there are a number of non-fatal errors due to the order of module and config enabling... perhaps they finally caught up with us

@joecorall
Copy link
Contributor Author

Yeah seems like a race. The nightly build sometimes succeeds and sometimes fails. Or possibly a missed dependency for the search_api somewhere? The failure looks like maybe that module isn't installed or needs a cache flush to have it registered in Drupal's internals.

@DonRichards
Copy link
Member

We could add this prior to hydrate and check if solr is ready

docker-compose exec -T drupal with-contenv bash -lc "drush cr"
# Then check is solr is up before hydrating
@echo "Checking if Solr's healthy"
docker-compose exec -T solr bash -c 'curl -s http://localhost:8983/solr/admin/info/system?wt=json' | jq -r .lucene || (echo "Solr is not healthy, waiting 10 seconds." && sleep 10)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants