Troubleshooting and Maintenance - NIAID-Data-Ecosystem/nde-strapi GitHub Wiki

🟢 Health Check Endpoints

Use the following routes to monitor system health:

ENV URL
Development: https://nde-dev.biothings.io/strapi/api/health
Staging: https://data-staging.niaid.nih.gov/strapi/api/health
Production: https://data.niaid.nih.gov/strapi/api/health

📝 Note: The backend team has set up Slack alerts that trigger based on these health check URLs.

Common issues:

Missing content:

Verify entry is in a viewable publication state and not filtered by permissions.

API Endpoint error:

Verify that the queried endpoint contains the correct publication state (e.g. status=draft or status=published).

Build error:

Run

yarn build --clean
rm -rf node_modules
# Re-install + build

Maintenance

The staging/prod database is backed up daily.