Error Reference

Upgrade history missing: cannot determine current version

Upgrade history missing: cannot determine current version

Where this appears

This error appears in the System Log during upgrade operations or when accessing System Diagnostics > Upgrades > Upgrade History. It typically occurs when ServiceNow cannot read the sys_upgrade_history table to verify the current instance version state before proceeding with an upgrade.

Sourdough
Chrome Extension

Debugging this in a real instance?

Sourdough lets you trace "Upgrade history missing: cannot determine current version" through system logs, script errors, and API health in the ServiceNow tab you are already using.

Add to Chrome

Free to install. Pro $5/month after a 14-day no-card trial.
Pro requires the ServiceNow admin role. Upgrade inside the extension.

Overview
Tasks
CMDB
API
Metrics
Monitor
Internals
Instance:sourdoughdev·Version:Yokohama
Instance StateONLINE
System StatusFully Operational
Session Timeout90 minutes
Logged-In Sessions2 (20 active)
Build Nameyokohama-12-18-2024_p1
IP Address10.159.128.43
Instance HealthHealth Score: 90%
🔥 5dSourdough (Chrome Plugin)Dark Mode

Cause

The sys_upgrade_history table contains corrupted or incomplete records from previous upgrades, preventing version verification. (high likelihood)

Database corruption or deletion has affected the sys_upgrade_history table, removing critical upgrade tracking records. (high likelihood)

A previous upgrade process was interrupted or failed, leaving the upgrade history in an inconsistent state. (medium likelihood)

Custom modifications or business rules on the sys_upgrade_history table are preventing proper read operations. (medium likelihood)

Instance cloning or migration issues have resulted in missing or mismatched upgrade history data. (low likelihood)

Fix

Step 1: Navigate to System Definition > Tables and verify that the sys_upgrade_history table exists and is accessible without errors.

Step 2: Check the sys_upgrade_history table directly by going to System Diagnostics > Upgrades > Upgrade History to see if any records are displayed.

Step 3: Review the System Log at System Diagnostics > Log > Application Log for additional error details related to database access or table corruption.

Step 4: Check for any custom business rules, ACLs, or UI policies on the sys_upgrade_history table that might be blocking read operations.

Step 5: Verify the current instance version by navigating to System Diagnostics > Stats and comparing against expected upgrade version numbers.

Step 6: If the table appears corrupted or empty, open a ServiceNow support case with High priority as this requires database-level investigation and potential data recovery.

Step 7: Do not attempt to manually insert upgrade history records without ServiceNow support guidance, as this can create additional upgrade complications.

Step 8: Once support resolves the upgrade history issue, restart any pending upgrade processes from the System Diagnostics > Upgrades interface.

Test Your Knowledge

Quick 3-question quiz. See how your ServiceNow skills stack up.

Question 1 of 3Performance

A list view on a table with millions of records is slow. Best fix?

Select an answer to continue