Troubleshooting Magento
Diagnose Magento 2 / Adobe Commerce on TurboStack - find logs, fix maintenance mode, cache, indexers, Elasticsearch, cron and Varnish 503 issues.
Most Magento problems have a few common causes: stale caches, invalid indexers, a stopped cron, a search-engine connection, or the site stuck in maintenance mode. This page shows where to look and how to fix the common cases. Many fixes use Magento's CLI (bin/magento) or the diagnostic tool n98-magerun2, both available from your app root.
Where to find the logs
Your Magento app lives at /var/www/<user>/public_html (the vhost serves its pub/ subdirectory). The most useful logs are:
All files under var/log/ are rotated weekly. You can also use the host's Health tab for resource graphs and check recent deploys under History.
Common issues
A troubleshooting workflow
- Check Health - rule out resource exhaustion (CPU, memory, disk) and confirm the host is up.
- Read the relevant log - start with
var/log/exception.logandvar/log/system.log, plus the nginx/PHP-FPM logs for HTTP-level errors. - Check the last deploy in History - if a recent change broke the site, revert or re-publish a known-good revision via Publishing.
- Verify services are running - on Services confirm MySQL, Elasticsearch/OpenSearch, Redis, and Varnish are all up; then re-run
cache:flushandindexer:reindexand re-test.
Getting help
If you are still stuck, reach out via Support, or work through the platform-wide Troubleshooting guide for issues that are not Magento-specific.