All Apps and Add-ons

Splunk Platform Upgrade Readiness App on OS X

force1024
Explorer

Platform: OS X 10.14
Splunk: 7.3.1

When trying to access the instance scan page from "Splunk Platform Upgrade Readiness App" on my local instance I always receive the following error.

URL: http://localhost:8000/en-US/app/upgrade_readiness_app/instance_scan

Error Received: "Error reading progress for user: admin on host: "

Details in the log file:
$ tail -f /Applications/Splunk/var/log/upgrade_readiness_app/upgrade_readiness.log
2019-12-01 16:02:32,540 ERROR 4609463744 - Error reading progress for user: admin on host:
2019-12-01 16:04:25,632 INFO 4609463744 - Handling a request
2019-12-01 16:04:25,632 INFO 4609463744 - Executing function, name=get_read_progress

Tags (1)
0 Karma
1 Solution

force1024
Explorer

Thanks for the responses folks.

As it turns out my KVStore was failing due to expired server certificate. I renewed that with:

cd /Applications/Splunk/etc/auth
/Applications/Splunk/bin/splunk createssl server-cert -d . -n server

Restarted Splunk and now I no longer receive errors about KVStore, the Upgrade app functions now too.

View solution in original post

0 Karma

force1024
Explorer

Thanks for the responses folks.

As it turns out my KVStore was failing due to expired server certificate. I renewed that with:

cd /Applications/Splunk/etc/auth
/Applications/Splunk/bin/splunk createssl server-cert -d . -n server

Restarted Splunk and now I no longer receive errors about KVStore, the Upgrade app functions now too.

0 Karma

thomas_vogt
Engager

from link texthttps://answers.splunk.com/answers/786678/splunk-platform-upgrade-readiness-app-read-error.html
The app may not have read access. Find the app(s) with no read permission and correct it

| rest /services/apps/local | table title eai:acl.perms.read

0 Karma

force1024
Explorer

Thanks - this doesn't appear to fix anything. I only had one app without global read, which was monitoring app. I configured it as global read and upgrade error continues.

0 Karma

ivanreis
Builder

Hi force1024,
I simulate the issue in my local macbook running under OS Catalina, and I got the same error message. This issue is a known issue for this app
Known Issues:
-Incorrect permissions may result in error modal showing "Read" upon choosing apps to scan.
https://splunkbase.splunk.com/app/4698/

I am not able to identify the root cause of this issues, per the error it seems to be some permission issues. I try to re-apply the permission to splunk folder, but I still getting the same error messages.

This is what I did to remediate the issue and get the app properly working:
- Backup the /etc folder
- Delete the Current Splunk Enterprise Installation
- Reboot the local install
- Install Splunk Enterprise Version 7.3.1.1
- Deploy the "Splunk Platform Upgrade Readiness App"
- Deploy other apps for analysis
- Run the scan against the installed apps, completed successfully

Here is the output log from upgrade_readiness.log for your reference

2019-12-03 11:40:44,558 INFO 4383755712 - Executing function, name=get_read_progress
2019-12-03 11:40:45,025 INFO 4602338752 - Scan initiated
2019-12-03 11:40:45,025 INFO 4602338752 - Retrieving key to write progress
2019-12-03 11:40:45,083 INFO 4602338752 - Found key for existing entry: 5de5af0ce242d409e025d501
2019-12-03 11:40:45,119 INFO 4602338752 - Total 4 apps found for user: admin
2019-12-03 11:40:45,161 INFO 4602338752 - 0 apps out of 4 scanned. Scanning App: SA-Eventgen
2019-12-03 11:40:59,556 INFO 4383755712 - Handling a request
2019-12-03 11:40:59,556 INFO 4383755712 - Executing function, name=get_read_progress
2019-12-03 11:41:14,557 INFO 4383755712 - Handling a request
2019-12-03 11:41:14,557 INFO 4383755712 - Executing function, name=get_read_progress
2019-12-03 11:41:29,557 INFO 4383755712 - Handling a request
2019-12-03 11:41:29,557 INFO 4383755712 - Executing function, name=get_read_progress
2019-12-03 11:41:35,030 INFO 4602338752 - 1 apps out of 4 scanned. Scanning App: Splunk Dashboard Examples
2019-12-03 11:41:36,343 INFO 4602338752 - 2 apps out of 4 scanned. Scanning App: Splunk Add-on for Microsoft Windows
2019-12-03 11:41:38,837 INFO 4602338752 - 3 apps out of 4 scanned. Scanning App: Status Indicator
2019-12-03 11:41:39,398 INFO 4602338752 - Deployment scanned successfully for user: admin
2019-12-03 11:41:44,559 INFO 4383755712 - Handling a request
2019-12-03 11:41:44,559 INFO 4383755712 - Executing function, name=get_read_progress
2019-12-03 11:43:36,135 INFO 4727086528 - Handling a request
2019-12-03 11:43:36,135 INFO 4727086528 - Executing function, name=get_read_progress
2019-12-03 11:44:10,389 INFO 4727086528 - Handling a request
2019-12-03 11:44:10,389 INFO 4727086528 - Executing function, name=get_app_list
2019-12-03 11:44:12,424 INFO 4727086528 - Handling a request
2019-12-03 11:44:12,424 INFO 4727086528 - Checking for existing scan
2019-12-03 11:44:12,433 INFO 4727086528 - No existing scan
2019-12-03 11:44:12,433 INFO 4727086528 - Removing existing entries before starting new scan
2019-12-03 11:44:12,433 INFO 4727086528 - Retrieving key to remove entry
2019-12-03 11:44:12,440 INFO 4727086528 - Found key for completed entry: 5de5af0ce242d409e025d501
2019-12-03 11:44:12,491 INFO 4727086528 - Entry with key: 5de5af0ce242d409e025d501 removed
2019-12-03 11:44:12,492 INFO 4727086528 - All Entries removed
2019-12-03 11:44:12,529 INFO 4727086528 - Starting scan process
2019-12-03 11:44:12,552 INFO 4727086528 - Handling a request
2019-12-03 11:44:12,553 INFO 4727086528 - Executing function, name=get_read_progress
2019-12-03 11:44:13,049 INFO 4570664384 - Scan initiated
2019-12-03 11:44:13,050 INFO 4570664384 - Retrieving key to write progress
2019-12-03 11:44:13,108 INFO 4570664384 - Found key for existing entry: 5de5afdce242d40ab35e56f1
2019-12-03 11:44:13,155 INFO 4570664384 - Total 4 apps found for user: admin
2019-12-03 11:44:13,189 INFO 4570664384 - 0 apps out of 4 scanned. Scanning App: SA-Eventgen

0 Karma
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...