Tuesday, October 20, 2026
  • About Us
  • Contact
DBAInsight
  • Guides
    • 23ai
    • RMAN
    • 26ai
    • Patch Update
    • RMAN
    • MySQL
    • Oracle GoldenGate
  • Cloud Technology
  • Case Studies
  • Troubleshooting
  • Training & Certification
NEWSLETTER
No Result
View All Result
DBAInsight
Home Troubleshooting

Oracle AutoUpgrade PRECHECK Failure: ARCHIVE_MODE_ON Error and How to Fix It

February 20, 2026
in Troubleshooting
0
ARCHIVE_MODE_ON
0
SHARES
238
VIEWS

Upgrading an Oracle database using AutoUpgrade is usually smooth and predictable—but sometimes a single precheck can block the entire process. One such common and confusing failure is the ARCHIVE_MODE_ON error during the PRECHECKS stage.

In this blog, we’ll break down:

Table of Contents

Toggle
    • Related posts
    • Oracle Enterprise Manager 24ai: Installing Solaris SPARC Agent Software Using Self Update in Offline Mode
    • Oracle 11g to 19c Upgrade: Block Change Tracking and Level 0 Backup
  • The AutoUpgrade Error: What Happened?
  • Understanding ARCHIVE_MODE_ON Precheck
  • The Hidden Reason: AutoUpgrade Restoration Logic
  • The Breakthrough: Second Run Succeeds
  • The Correct Fix: Disable AutoUpgrade Restoration
    • ✅ Solution
  • Why This Fix Works
  • Before and After: What Changed
    • ❌ Before
    • ✅ After
  • Is This Fix Safe?
  • Recommended Pre-Upgrade Checklist
  • Best Practices for AutoUpgrade PRECHECKS
  • Final Thoughts

Related posts

Oracle Enterprise Manager 24ai: Installing Solaris SPARC Agent Software Using Self Update in Offline Mode

Oracle Enterprise Manager 24ai: Installing Solaris SPARC Agent Software Using Self Update in Offline Mode

October 13, 2026
block chain tracking

Oracle 11g to 19c Upgrade: Block Change Tracking and Level 0 Backup

October 2, 2026
  • What the AutoUpgrade PRECHECK error means
  • Why ARCHIVE_MODE_ON fails even when Archive Log mode is enabled
  • How AutoUpgrade’s restoration logic affects the upgrade
  • The exact fix using upg1.restoration=no
  • Best practices to avoid this issue in future upgrades

This guide is based on a real upgrade scenario from Oracle Database 19.23 to 23.26 using AutoUpgrade.


The AutoUpgrade Error: What Happened?

During an AutoUpgrade run, the job fails at the PRECHECKS stage with the following summary:

[Stage Name]    PRECHECKS
[Status]        FAILURE
Check failed for CDB$ROOT
[ARCHIVE_MODE_ON]

The following checks have ERROR severity and no auto fixup is available:
CDB$ROOT ARCHIVE_MODE_ON

The upgrade does not start, and AutoUpgrade clearly states:

ARCHIVE_MODE_ON

Manual intervention needed

This happens before any actual database upgrade begins, which means your database is still untouched—a good thing.


Understanding ARCHIVE_MODE_ON Precheck

Oracle AutoUpgrade requires the database to be in ARCHIVELOG mode for safety and recoverability during the upgrade.

This check ensures:

  • Redo logs are archived
  • Point-in-time recovery is possible
  • Flashback or restoration actions can succeed

However, here’s the important part:

The failure is NOT always because ARCHIVELOG mode is OFF

In many real environments, the database is already in ARCHIVELOG mode, yet the check still fails.

So why does this happen?


The Hidden Reason: AutoUpgrade Restoration Logic

By default, AutoUpgrade assumes it may need to restore the database if something goes wrong. To do this safely, it validates additional restore-related conditions.

One of those conditions is tightly coupled with ARCHIVELOG and restoration capability.

If AutoUpgrade detects:

  • Limited recovery configuration
  • Non-standard backup setup
  • RAC or custom storage layouts
  • No intention to use AutoUpgrade restore

…it may still block the upgrade, even though ARCHIVELOG mode is technically enabled.

This is exactly what happened in this case.


The Breakthrough: Second Run Succeeds

On the second attempt, the PRECHECKS suddenly pass:

[Stage Name]    PRECHECKS
[Status]        SUCCESS
Check passed and no manual intervention needed

What changed?

👉 The AutoUpgrade configuration.

ARCHIVE_MODE_ON

The Correct Fix: Disable AutoUpgrade Restoration

✅ Solution

Add the following line to your config.cfg file:

upg1.restoration=no

That’s it.


Why This Fix Works

By setting:

upg1.restoration=no

You are explicitly telling AutoUpgrade:

  • Do NOT attempt automated restore
  • Do NOT enforce restore-related prechecks
  • Assume rollback will be handled manually if needed

Once restoration logic is disabled:

  • ARCHIVE_MODE_ON precheck no longer blocks the upgrade
  • PRECHECKS complete successfully
  • Upgrade proceeds as expected

This is ideal when:

  • You already have RMAN backups
  • You manage recovery externally
  • You want full control during upgrades

Before and After: What Changed

❌ Before

  • AutoUpgrade enforces restoration safety checks
  • ARCHIVE_MODE_ON fails
  • Upgrade blocked at PRECHECKS

✅ After

  • Restoration logic skipped
  • PRECHECKS succeed
  • Upgrade proceeds from 19c → 23ai

Is This Fix Safe?

Yes—if used correctly.

You should only disable restoration if:

  • You have verified RMAN backups
  • You have tested recovery procedures
  • You are comfortable handling rollback manually

AutoUpgrade is conservative by design. Disabling restoration shifts responsibility to the DBA—but many production environments already operate this way.


Recommended Pre-Upgrade Checklist

Before running AutoUpgrade with restoration=no, ensure:

  • Database is in ARCHIVELOG mode
  • Valid RMAN backups exist
  • Flashback settings are understood
  • Upgrade tested in lower environment
  • status.log monitored after each stage

Best Practices for AutoUpgrade PRECHECKS

  • Always read status.log, not just terminal output
  • Review detailed logs under: $ORACLE_BASE/cfgtoollogs/autoupgrade/<db>/<job>/prechecks
  • Do not assume errors are literal—many are policy-based
  • Use restoration=no when you control backups externally

Final Thoughts

The ARCHIVE_MODE_ON AutoUpgrade error is one of the most misunderstood PRECHECK failures. In many cases, the database is perfectly healthy—but AutoUpgrade’s built-in safety rules are simply too strict for real-world environments.

By understanding how AutoUpgrade restoration works and applying:

upg1.restoration=no

you can:

  • Avoid unnecessary upgrade blocks
  • Keep full control over recovery
  • Perform clean, predictable upgrades to Oracle 23ai

For DBAs upgrading from Oracle 19c to 23ai, this fix can save hours of confusion and repeated failed attempts—especially in RAC and enterprise environments.

Tags: ARCHIVE_MODE_ON errorOracle 19c to 23ai upgradeOracle AutoUpgradeOracle AutoUpgrade precheck failedOracle database upgrade error
Previous Post

Oracle AI Database 26ai: A Deep Dive into the Most Powerful Database Release Yet

Next Post

ORA-15335 ASM Metadata Corruption: How We Recovered a Dismounted Diskgroup Safely

Next Post
ora-15335

ORA-15335 ASM Metadata Corruption: How We Recovered a Dismounted Diskgroup Safely

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

POPULAR NEWS

  • Oracle Patch 38632161: Step-by-Step Guide to Upgrade Oracle 19c to Release Update 19.30

    Oracle Patch 38632161: Step-by-Step Guide to Upgrade Oracle 19c to Release Update 19.30

    0 shares
    Share 0 Tweet 0
  • How To Download And Install The Latest OPatch

    0 shares
    Share 0 Tweet 0
  • Oracle Database 19.32 Release Update (RU) Patching Guide – Patch 39472050

    0 shares
    Share 0 Tweet 0
  • How to Install Oracle 19c Database on Red Hat Enterprise Linux 9

    0 shares
    Share 0 Tweet 0
  • Installing Oracle Database 26AI on Red Hat Enterprise Linux 9

    0 shares
    Share 0 Tweet 0
  • About Us
  • Contact

© 2026 DBAInsight - Smarter Databases. Sharper Insights. DBAInsight.

No Result
View All Result
  • Home
  • Cloud & Modern DBs
  • Guides
  • Cloud Technology
  • Case Studies
  • Troubleshooting
  • Training & Certification

© 2026 DBAInsight - Smarter Databases. Sharper Insights. DBAInsight.

Add as a preferred source on Google
Add as preferred source on Google