Introduction
A user may observe the indexing status or retention period displaying as "NaN%" (Not a Number) within the Xray Administration dashboard. This is a UI-level indicator that the Xray service integration is currently inactive or disabled at the global configuration level.
Problem Description
When navigating to Administration > Xray Settings > Indexed Resources, the status column for all repositories—which typically shows a numerical percentage—displays "NaN%". Additionally, the retention period fields may also show "NaN".
This often occurs after a system update, a configuration migration, or a manual change to the global service settings. While the repositories remain intact within Artifactory, the lack of an active connection to Xray prevents the UI from calculating and displaying progress metrics.
Root Cause
The "NaN%" value is triggered when the Enable Xray toggle is set to False in the General Settings. Without this global "On" switch, the UI cannot fetch the metadata required to populate indexing progress or retention calculations, resulting in an undefined mathematical state.
Solution
To restore the indexing status and ensure your resources are being scanned, follow these steps to re-enable the Xray integration:
Navigate to Administration > Xray Settings > General > Basic Settings > [Tick Xray Enabled] and save the configuration.
Verification
Once saved, return to Xray Settings > Indexed Resources. The status should refresh from "NaN%" to either a numerical percentage or "In Progress/Scanned," depending on the current state of your repositories.
Note: It may take up to 60 seconds for the UI to poll the latest status after the service is re-enabled.