Troubleshoot Missing Drupal App Data

If new or updated Drupal content is missing from your SearchStax App, start with the checklist below. If previously indexed content has disappeared, review the environment connections and recovery steps later in this article.

Only New or Updated Content Is Missing

Use these checks when published or updated Drupal content does not appear in SearchStax after scheduled indexing:

  1. Record the missing content. Collect the Drupal node IDs (content item IDs), page URLs, and the date and time each item was last saved. Include the time zone.
  2. Check Search API tracking. Check whether each item is untracked, pending, or marked indexed. Check whether saving a content change marks the item for reindexing.
  3. Check scheduled indexing. Confirm that Drupal's scheduled tasks (cron) run and process the affected items.
  4. Review Drupal logs. Look for cron, Search API, and Search API Solr warnings or errors around the times the content was saved and indexing ran.

An HTTP 200 response from an indexing request does not confirm that the request included the missing content.

Contact Support

If the content is still missing, contact Support. Include:

  • The node IDs, page URLs, and saved times you collected.
  • Your Drupal version and the installed versions of the Search API, Search API Solr, and SearchStax modules.
  • The cron schedule and indexing batch size.
  • The date, time, and time zone of a recent indexing attempt that did not include the affected content.
  • Relevant warnings or errors from the Drupal logs.

Do not include passwords or API tokens.

If possible, contact Support before running another full reindex so the team can investigate an item while it is still missing. Support can coordinate an indexing test for that item and compare the attempt with SearchStax logs.

For connector setup guidance, see Configure the Drupal Connector.

Common Causes

This issue can happen when a Drupal environment runs an action that clears or deletes indexed data. Common causes include:

  • Uninstalling Drupal search-related modules.
  • Running deletion scripts that clear the Drupal search index.
  • Running custom cron jobs that delete indexed content.
  • Connecting a non-production Drupal environment to a production SearchStax App.

Why Another Drupal Environment Can Affect Production

SearchStax doesn't automatically clear App data. A connected source, such as Drupal or the SearchStax Web Crawler, must trigger a delete or reset operation.

If multiple Drupal environments share the same SearchStax App connection details, actions in one environment can affect the App used by another environment. For example, if a Development Drupal site is connected to your Production App, deleting the Development search index can also clear Production search data.

Check Your Drupal Connections

Review each Drupal environment that can connect to SearchStax:

  • Development
  • QA
  • Staging
  • Production

Make sure each environment uses the correct SearchStax App endpoint and token. Avoid connecting multiple Drupal environments to the same SearchStax App unless that is an intentional part of your workflow.

Prevent Environment Configuration Mix-Ups

Use an environment-specific configuration approach so each Drupal environment connects only to the intended SearchStax App.

  • Recommended: Use the Drupal Key Module with SearchStax to store SearchStax credentials outside the Drupal database.
  • Alternative: If the Drupal Key module isn't an option, override the SearchStax connection settings through settings.php.

Do not use both methods together for the same SearchStax connection. Using both can create configuration conflicts and make it harder to determine which credentials Drupal is using.

What to Do If App Data Is Missing

To identify the source of the deletion and restore data from the correct environment, follow these steps:

  1. Confirm whether the App item count dropped or cleared in SearchStax.
  2. Check recent Drupal module changes, uninstallations, cron jobs, and search index operations.
  3. Confirm that non-production Drupal environments are not connected to the production SearchStax App.
  4. Correct the Drupal connection settings if an environment is using the wrong App endpoint or token.
  5. Rebuild or reindex content from the correct Drupal environment.
Articles in this section