<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Buildmerce</title>
    <description>The latest articles on DEV Community by Buildmerce (@buildmerce).</description>
    <link>https://dev.to/buildmerce</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4211412%2Fa21c4778-9135-4254-bda2-1d2c2c5a114d.png</url>
      <title>DEV Community: Buildmerce</title>
      <link>https://dev.to/buildmerce</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/buildmerce"/>
    <language>en</language>
    <item>
      <title>Magento 2 Indexer Stuck? Diagnose Before You Reset</title>
      <dc:creator>Buildmerce</dc:creator>
      <pubDate>Thu, 05 Nov 2026 16:04:28 +0000</pubDate>
      <link>https://dev.to/buildmerce/magento-2-indexer-stuck-diagnose-before-you-reset-obg</link>
      <guid>https://dev.to/buildmerce/magento-2-indexer-stuck-diagnose-before-you-reset-obg</guid>
      <description>&lt;p&gt;You update a product price in Magento Admin, but the storefront still shows the old value. In Index Management, the Product Price indexer is marked as &lt;strong&gt;Processing&lt;/strong&gt;. Before you reset it, find out whether a job is still running or a previous run failed.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Check the indexer status and mode
&lt;/h2&gt;

&lt;p&gt;From the Magento root, run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;bin/magento indexer:status catalog_product_price
bin/magento indexer:show-mode catalog_product_price
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If a reindex is still active, check its progress before starting another run.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Check cron history for scheduled indexing
&lt;/h2&gt;

&lt;p&gt;If the indexer uses &lt;strong&gt;Update by Schedule&lt;/strong&gt;, look at recent indexing jobs in &lt;code&gt;cron_schedule&lt;/code&gt;. Check whether the relevant job completed, failed, or missed its scheduled run. Use the job timestamps to narrow down your log search.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Read the logs before retrying
&lt;/h2&gt;

&lt;p&gt;Look for the first error around the time of the run. A database lock timeout or a PHP memory error gives you a specific issue to investigate before retrying.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Reset only the affected indexer if needed
&lt;/h2&gt;

&lt;p&gt;If no reindex is active, you've addressed any error you found, and the state is still stuck, reset the affected indexer. The reset marks the index as out of date. After the next reindex, confirm that the indexer recovered and that the storefront shows the expected price.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.buildmerce.com/blog/magento-2-indexer-stuck" rel="noopener noreferrer"&gt;Read the original Buildmerce guide&lt;/a&gt;&lt;/p&gt;

</description>
      <category>magneto</category>
      <category>php</category>
      <category>ecommerce</category>
      <category>debugging</category>
    </item>
    <item>
      <title>Magento 2 Cron Not Running? Diagnose Where Background Work Stops</title>
      <dc:creator>Buildmerce</dc:creator>
      <pubDate>Thu, 29 Oct 2026 15:40:11 +0000</pubDate>
      <link>https://dev.to/buildmerce/magento-2-cron-not-running-diagnose-where-background-work-stops-13ca</link>
      <guid>https://dev.to/buildmerce/magento-2-cron-not-running-diagnose-where-background-work-stops-13ca</guid>
      <description>&lt;p&gt;“Magento cron is running.”&lt;/p&gt;

&lt;p&gt;That sounds reassuring—until order emails are delayed, product updates fall behind, or scheduled tasks stop progressing.&lt;/p&gt;

&lt;p&gt;The problem is that “running” can describe several different things.&lt;/p&gt;

&lt;p&gt;A server can launch Magento cron without the expected jobs completing. A job can complete without producing the business result you expected.&lt;/p&gt;

&lt;p&gt;Here is a practical way to separate those layers before changing anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Is the server launching Magento cron?
&lt;/h2&gt;

&lt;p&gt;Start with the mechanism responsible for invoking Magento.&lt;/p&gt;

&lt;p&gt;For a self-managed installation, inspect the scheduler configuration for the account that owns and runs the application.&lt;/p&gt;

&lt;p&gt;Check:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does the entry reference the current Magento installation?&lt;/li&gt;
&lt;li&gt;Does it use the intended PHP executable?&lt;/li&gt;
&lt;li&gt;Can that account access the application and write required files?&lt;/li&gt;
&lt;li&gt;Is there evidence of recent execution?&lt;/li&gt;
&lt;li&gt;Did a deployment change the release path or runtime?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A configured entry shows intent. Recent execution evidence shows whether it actually runs.&lt;/p&gt;

&lt;p&gt;For Adobe Commerce Cloud, use the platform’s cron configuration and logs rather than assuming a conventional user crontab controls the application.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Is Magento scheduling the expected work?
&lt;/h2&gt;

&lt;p&gt;Once invocation is established, inspect whether Magento is creating schedules for the jobs you expect.&lt;/p&gt;

&lt;p&gt;Focus on the affected job and a recent time window.&lt;/p&gt;

&lt;p&gt;An empty result does not automatically prove that all cron is broken. Possible explanations include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The job is disabled or no longer registered.&lt;/li&gt;
&lt;li&gt;You are checking the wrong database or environment.&lt;/li&gt;
&lt;li&gt;The job belongs to a different cron group.&lt;/li&gt;
&lt;li&gt;Your query window does not include its schedule.&lt;/li&gt;
&lt;li&gt;Schedule generation is not progressing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Confirm the job code and configuration before drawing a conclusion.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Are scheduled jobs executing?
&lt;/h2&gt;

&lt;p&gt;Interpret job statuses in context.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;th&gt;What it tells you&lt;/th&gt;
&lt;th&gt;What to investigate&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;pending&lt;/td&gt;
&lt;td&gt;Work is scheduled and has not started&lt;/td&gt;
&lt;td&gt;Whether it is due and whether execution progresses&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;running&lt;/td&gt;
&lt;td&gt;Execution has started&lt;/td&gt;
&lt;td&gt;Duration, process activity and possible blocking&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;success&lt;/td&gt;
&lt;td&gt;Magento recorded successful completion&lt;/td&gt;
&lt;td&gt;Whether the expected business outcome followed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;missed&lt;/td&gt;
&lt;td&gt;The job missed its execution window&lt;/td&gt;
&lt;td&gt;Scheduler delays, capacity and cron configuration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;error&lt;/td&gt;
&lt;td&gt;Execution reported a failure&lt;/td&gt;
&lt;td&gt;The recorded message and related application logs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;One pending job is not necessarily a backlog. One running job is not necessarily stuck.&lt;/p&gt;

&lt;p&gt;Compare observations over time and consider the job’s expected frequency and duration.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Did the business result happen?
&lt;/h2&gt;

&lt;p&gt;This is the step that status-only monitoring can miss.&lt;/p&gt;

&lt;p&gt;For an email problem, distinguish:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The relevant job executing.&lt;/li&gt;
&lt;li&gt;Magento handing the message to the configured mail transport.&lt;/li&gt;
&lt;li&gt;The receiving mail system accepting it.&lt;/li&gt;
&lt;li&gt;The message reaching the intended inbox.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A successful cron status does not prove all four.&lt;/p&gt;

&lt;p&gt;Similarly, successful background execution does not by itself prove that the storefront now displays the expected stock, price or search result.&lt;/p&gt;

&lt;p&gt;Verify the symptom that triggered the investigation.&lt;/p&gt;

&lt;h2&gt;
  
  
  An illustrative troubleshooting example
&lt;/h2&gt;

&lt;p&gt;Suppose order emails are delayed.&lt;/p&gt;

&lt;p&gt;You confirm that the server launches Magento cron and that recent schedules exist.&lt;/p&gt;

&lt;p&gt;The affected job repeatedly reports an error. Its message points to a mail transport connection failure.&lt;/p&gt;

&lt;p&gt;In this example, reinstalling cron would not address the underlying problem. The next investigation belongs in mail connectivity and transport configuration.&lt;/p&gt;

&lt;p&gt;After correcting that issue:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Confirm a new execution completes.&lt;/li&gt;
&lt;li&gt;Verify a controlled email reaches its destination.&lt;/li&gt;
&lt;li&gt;Check whether previously queued work progresses.&lt;/li&gt;
&lt;li&gt;Watch for the same error to recur.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is an illustrative scenario, not a documented customer incident.&lt;/p&gt;

&lt;h2&gt;
  
  
  Collect evidence before applying a fix
&lt;/h2&gt;

&lt;p&gt;Before resetting anything, record:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Environment and Magento version.&lt;/li&gt;
&lt;li&gt;Relevant job code and cron group.&lt;/li&gt;
&lt;li&gt;Timestamps and timezone.&lt;/li&gt;
&lt;li&gt;Recent status transitions.&lt;/li&gt;
&lt;li&gt;Error messages.&lt;/li&gt;
&lt;li&gt;Related process or service observations.&lt;/li&gt;
&lt;li&gt;The customer-facing symptom.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Avoid sharing credentials, customer details or unredacted logs in public discussions.&lt;/p&gt;

&lt;p&gt;This evidence makes a developer handoff more useful than “cron seems broken.”&lt;/p&gt;

&lt;h2&gt;
  
  
  Watch for a monitoring blind spot
&lt;/h2&gt;

&lt;p&gt;If a health monitor depends entirely on Magento cron, it may stop checking when cron stops.&lt;/p&gt;

&lt;p&gt;That creates a gap: the process responsible for detecting failure depends on the process that failed.&lt;/p&gt;

&lt;p&gt;An independent heartbeat can help detect missing execution. It should complement job-level and business-outcome checks, because a heartbeat alone does not prove every job succeeded.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verify recovery over time
&lt;/h2&gt;

&lt;p&gt;A single successful manual run is useful evidence, but scheduled recovery requires more.&lt;/p&gt;

&lt;p&gt;Confirm that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Normal scheduled invocation resumes.&lt;/li&gt;
&lt;li&gt;Expected jobs are scheduled and executed.&lt;/li&gt;
&lt;li&gt;Backlogs progress where applicable.&lt;/li&gt;
&lt;li&gt;The original business symptom is resolved.&lt;/li&gt;
&lt;li&gt;Failures do not immediately return.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Follow the complete diagnostic workflow
&lt;/h2&gt;

&lt;p&gt;The full Buildmerce guide includes diagnostic commands, bounded SQL queries, job-status interpretation, recovery checks and an interactive investigation selector.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.buildmerce.com/blog/magento-2-cron-not-running" rel="noopener noreferrer"&gt;Read Magento 2 Cron Not Running: Diagnose Where Background Work Stops&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For the wider operational checklist, see our &lt;a href="https://www.buildmerce.com/blog/magento-2-health-check" rel="noopener noreferrer"&gt;Magento 2 Health Check guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;When background work stops progressing, which layer do you investigate first: invocation, scheduling, execution or the business outcome?&lt;/p&gt;

</description>
      <category>magneto</category>
      <category>php</category>
      <category>webdev</category>
      <category>devops</category>
    </item>
    <item>
      <title>Magento 2 Health Check: Diagnose Silent Failures Before Customers Report Them</title>
      <dc:creator>Buildmerce</dc:creator>
      <pubDate>Tue, 27 Oct 2026 18:09:36 +0000</pubDate>
      <link>https://dev.to/buildmerce/magento-2-health-check-diagnose-silent-failures-before-customers-report-them-4ij3</link>
      <guid>https://dev.to/buildmerce/magento-2-health-check-diagnose-silent-failures-before-customers-report-them-4ij3</guid>
      <description>&lt;p&gt;A Magento storefront can load normally while important background processes quietly stop working.&lt;/p&gt;

&lt;p&gt;Customers may still browse products, but stock updates can lag, search results can become outdated, and order emails can remain unsent.&lt;/p&gt;

&lt;p&gt;That is why “the homepage loads” is only the beginning of a store health check.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with the business symptom
&lt;/h2&gt;

&lt;p&gt;Before clearing caches or resetting indexers, identify what is actually failing.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Symptom&lt;/th&gt;
&lt;th&gt;First areas to investigate&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Outdated prices or stock&lt;/td&gt;
&lt;td&gt;Indexers, cron and cache&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Delayed order emails&lt;/td&gt;
&lt;td&gt;Email configuration, cron and delivery logs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Missing products in search&lt;/td&gt;
&lt;td&gt;Search indexing, product visibility and search service&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Intermittent checkout errors&lt;/td&gt;
&lt;td&gt;Browser requests, application logs and payment responses&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Background tasks stop progressing&lt;/td&gt;
&lt;td&gt;Cron execution, scheduled jobs and consumers&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are investigation starting points, not confirmed diagnoses. Several different failures can produce the same symptom.&lt;/p&gt;

&lt;h2&gt;
  
  
  Separate configuration from execution
&lt;/h2&gt;

&lt;p&gt;One common troubleshooting mistake is treating configuration as proof that a process is working.&lt;/p&gt;

&lt;p&gt;Consider these differences:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A cron entry exists—but is the server launching it?&lt;/li&gt;
&lt;li&gt;A job is scheduled—but does it execute successfully?&lt;/li&gt;
&lt;li&gt;A consumer is listed—but is it processing messages?&lt;/li&gt;
&lt;li&gt;A cache is enabled—but are requests receiving cache hits?&lt;/li&gt;
&lt;li&gt;An order exists—but was its payment captured?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each question needs its own evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ten areas to include in a Magento health check
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Environment
&lt;/h3&gt;

&lt;p&gt;Record the Magento version, hosting model and PHP versions used by the command line and web server.&lt;/p&gt;

&lt;p&gt;Different runtimes can explain why a command works manually while a scheduled task fails.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Cron
&lt;/h3&gt;

&lt;p&gt;Check the server scheduler, recent Magento job execution and recurring missed or failed jobs.&lt;/p&gt;

&lt;p&gt;Look for progress over time rather than relying on one successful entry.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Indexers
&lt;/h3&gt;

&lt;p&gt;Inspect status, indexing mode and backlog.&lt;/p&gt;

&lt;p&gt;Investigate whether work is progressing before assuming that a reset or full reindex is the right fix.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Queues and consumers
&lt;/h3&gt;

&lt;p&gt;Identify which consumers your installation needs, how they are managed and whether expected messages are being processed.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Cache and storefront freshness
&lt;/h3&gt;

&lt;p&gt;Check both cache configuration and actual storefront behavior.&lt;/p&gt;

&lt;p&gt;Compare a known product change with what visitors see.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Search
&lt;/h3&gt;

&lt;p&gt;Test a real storefront search using a product that should be discoverable.&lt;/p&gt;

&lt;p&gt;Service availability alone does not prove that the correct products are indexed.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Logs
&lt;/h3&gt;

&lt;p&gt;Correlate recurring errors with timestamps and affected actions.&lt;/p&gt;

&lt;p&gt;An old exception is different from an error occurring on every checkout attempt.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Infrastructure
&lt;/h3&gt;

&lt;p&gt;Review disk space, inodes, memory pressure and service failures.&lt;/p&gt;

&lt;p&gt;Application symptoms can originate outside Magento.&lt;/p&gt;

&lt;h3&gt;
  
  
  9. Business transactions
&lt;/h3&gt;

&lt;p&gt;Verify checkout, payment status, order creation and email delivery as separate outcomes.&lt;/p&gt;

&lt;p&gt;Use a controlled test appropriate to the environment.&lt;/p&gt;

&lt;h3&gt;
  
  
  10. Recovery readiness
&lt;/h3&gt;

&lt;p&gt;Check backup availability and restore evidence.&lt;/p&gt;

&lt;p&gt;A backup job reporting success does not establish that a store can be restored.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verify recovery against the original symptom
&lt;/h2&gt;

&lt;p&gt;The following is an illustrative example, not a documented customer incident.&lt;/p&gt;

&lt;p&gt;An administrator notices that stock changes are not appearing on the storefront. Investigation finds that scheduled indexing is no longer progressing.&lt;/p&gt;

&lt;p&gt;After correcting the underlying execution problem, verification should include:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Confirming new background work completes.&lt;/li&gt;
&lt;li&gt;Checking that the indexing backlog progresses.&lt;/li&gt;
&lt;li&gt;Making a controlled stock change.&lt;/li&gt;
&lt;li&gt;Confirming the expected storefront result.&lt;/li&gt;
&lt;li&gt;Watching for the same failure to return.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;“The command completed” is useful evidence. Confirming that the original business problem is resolved is stronger evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep an evidence-based handoff
&lt;/h2&gt;

&lt;p&gt;For every check, record:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Status:&lt;/strong&gt; Passed, needs investigation or not checked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evidence:&lt;/strong&gt; Timestamp, relevant output and observed behavior.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Impact:&lt;/strong&gt; What customers or administrators experience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Next action:&lt;/strong&gt; The specific investigation or recovery check.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Avoid combining everything into a reassuring score that hides an unresolved checkout or payment problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use the full interactive checklist
&lt;/h2&gt;

&lt;p&gt;We published the complete guide on Buildmerce, including diagnostic commands, output interpretation, recovery checks and an interactive checklist with evidence notes and a copy/download handoff.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.buildmerce.com/blog/magento-2-health-check" rel="noopener noreferrer"&gt;Read the Magento 2 Health Check guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For a deeper investigation of scheduling failures, see our &lt;a href="https://www.buildmerce.com/blog/magento-2-cron-not-running" rel="noopener noreferrer"&gt;Magento 2 Cron Not Running guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Which background failure has been hardest to detect in your Magento stores?&lt;/p&gt;

</description>
      <category>magneto</category>
      <category>php</category>
      <category>webdev</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
