Scheduled updates failing with "The file 'xxxx' could not be found or accessed" error.

Scheduled updates failing with "The file 'xxxx' could not be found or accessed" error.

book

Article ID: KB0077651

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

Scheduled updates might fail with the following error in the "Scheduling and Routing==>Activity" tab.
=====
xx failed attempts so far; Server could not load the analysis
=====

The following error will be seen in the Web Player logs.
=====
DEBUG;2019-07-12T13:27:32,384+07:00;2019-07-12 06:27:32,384;xxxxxxxxxxxxxxxxxxx;xxxx;WorkThread 70;monitoring@SPOTFIRESYSTEM;MonitoringUserSession;Spotfire.Dxp.LifeCycleEvents;"Send life cycle event synchronously 'ClosedAnalysisLifeCycleEvent: (AnalysisLifeCycleEvent: (UserLifeCycleEvent: UserName scheduledupdates@SPOTFIRESYSTEM, UserSessionId SchedulerUserSession) Action Closed, AnalysisLibraryId xxxxx-xxxxx-xxxx-xxxxxxx, Test Directory /Test/TestReport, JobDefinitionId xxxx-xxxxxxx-xxxxx-xxxxx, JobInstanceId xxxxxxx-xxxx-xxxx-xxxxxx-xxxxxxxx, AnalysisModified , WebAnalysisId ) Reason Exception, ErrorMessage Could not load the analysis /Test Directory /Test/TestReport, ErrorCode 50001, ErrorDetails LibraryException at Spotfire.Dxp.Web: The file 'xxxxxxxxx-xxxxxx-xxxx-xxxxxxx' could not be found or accessed.
=====

Issue/Introduction

Scheduled updates failing with "The file 'xxxx' could not be found or accessed" error.

Resolution

The above issue can be seen if the "scheduledupdates@SPOTFIRESYSTEM" user account does not have access to the file in the library, set for scheduled update. This is an internal Spotfire account and it is used by Spotfire to run the scheduled updates. Hence, this account needs to have access to the file as well as all its dependencies (like information links) in the library.

Note:
- In some cases, the file might get cached successfully but will be missing data in it. This is because the "scheduledupdates@SPOTFIRESYSTEM" might not have access to the dependencies of the file, like information link. This account needs to have access to the file as well as all its dependencies.

- Since this account is an internal Spotfire account, it can be added to the "Library Administrator" or "Administrator" group so that individual access to the files is not needed. Adding this account to either of these groups will give this internal account full access to all the items in the library and will not have any access issue within the library.