It was reported that when trying to upgrade from v4.17.0 to v4.19.0 upgrade failed due to the error --> "your role does not allow you to start an upgrade"

1 - Confirmed the user doing the upgrade had itoa_admin/admin role
2 - The architecture was Search Head Cluster(SHC) hence confirmed splunk's recommended way of upgrading was adopted according to (https://docs.splunk.com/Documentation/ITSI/4.19.0/Install/UpgradeSHC)
Once the above 2 step is confirmed proceed to troubleshoot further by checking "itsi_migration" collection in the SA-ITOA app.
1) Run a KV store backup, only targetting "itsi_migration" collection in the SA-ITOA app:
splunk backup kvstore -archiveName itsi_migration -collectionName itsi_migration -appName SA-ITOA
2) The backup is in: /opt/splunk/var/lib/splunk/kvstorebackup
Extract the backup:cd /opt/splunk/var/lib/splunk/kvstorebackup
package name should be itsi_migration.tar.gz in the above path
(cd /opt/splunk/var/lib/splunk/kvstorebackup)
3) Examine the itsi_migration0.json

From this (Notice the bad entry!): "itsi_latest_version" : null
The Bad entry is the issue.
[{ "title" : "version_info_update_record_1691113018", "itsi_latest_version" : null, "itsi_old_version" : "4.17.0", "object_type" : "migration", "is_migration_done" : false, "_user" : "nobody", "_key" : "XXXXXXX" },
{ "title" : "version_info_update_record_1721809198", "itsi_latest_version" : "4.17.0", "itsi_old_version" : "4.17.0", "object_type" : "migration", "is_migration_done" : false, "_user" : "nobody", "_key" : "XXXXXXX" }]
1) Lets take a backup of the SA-ITOA app's KV store collection:
splunk backup kvstore -archiveName SA-ITOA-KVStore-collections.tar.gz -appName SA-ITOA
2) The backup is in: /opt/splunk/var/lib/splunk/kvstorebackup/
Copy the KV store backup to a safe place.
3) Modify the itsi_migration0.json
From:
[{ "title" : "version_info_update_record_1691113018", "itsi_latest_version" : null, "itsi_old_version" : "4.17.0", "object_type" : "migration", "is_migration_done" : false, "_user" : "nobody", "_key" : "XXXXXXXX" },
{ "title" : "version_info_update_record_1721809198", "itsi_latest_version" : "4.17.0", "itsi_old_version" : "4.17.0", "object_type" : "migration", "is_migration_done" : false, "_user" : "nobody", "_key" : "XXXXXXX" }]
To this:
[{ "title" : "version_info_update_record_1721809198", "itsi_latest_version" : "4.17.0", "itsi_old_version" : "4.17.0", "object_type" : "migration", "is_migration_done" : false, "_user" : "nobody", "_key" : "XXXXXXX" }]
4) Save the itsi_migration0.json
5) Re-archive the extracted directory:tar -czvf modified_itsi_migration.tar.gz SA-ITOA
6) Restore the modified backup:/opt/splunk/bin/splunk restore kvstore -archiveName modified_itsi_migration.tar.gz -collectionName itsi_migration -appName SA-ITOA
5) Wait for 1 minute. Then run this in UI:
| inputlookup itsi_migration_check
Confirm that it only shows 1 line and both the itsi_latest_version and itsi_old_version must be populated with the same version: 4.17.0
6) Do a rolling restart
Now ITSI should be on the current version in this case v4.17.0
7)Now perform the upgrade
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |