Timer jobs getting stucked and encounter error when upgrading from StoragePoint version 5.9.0.74 and older to 5.9.2 build.
Error:
MM/DD/YYYY HH:MM:SS.XX OWSTIMER.EXE (0x64E8) 0x5DE8 SharePoint Foundation Timer 6398 Critical The Execute method of job definition Microsoft.SharePoint.Administration.SPUpgradeJobDefinition (ID e180b092-c2f1-4f46-99e4-3a7f5d3070f1) threw an exception. More information is included below. Object reference not set to an instance of an object.. (Correlation=cc16a19f-339e-d09d-93e2-fe2e510d65e7) cc16a19f-339e-d09d-93e2-fe2e510d65e7
In StoragePoint web URL web browser, when click on Storage Profiles it gives this error:
In StoragePoint web URL web browser, when click on License Management it gives this error:
1) Grab screenshots of all Blob Health Analyzer (BHA) and Unused Blob Cleanup (UBC) timer jobs.
2) Verify if the Storage profiles are visible. In Sharepoint Central Administration web UI, click "Application Management", Click "Storage profiles".
This will be useful in case BHA and UBC job restoration script would fail.
Note: The errors “data or signature is corrupt” can also be seen even in SharePoint ULS logs – not just in StoragePoint’s or in User Interface (UI).
3) Verify if these 2 assemblies are present in GAC folder (This can be applicable only for SP 2013+ (For SP 2010 ENV there is a need to change assembly path accordingly)
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\BlueThread.SharePoint.Activation.Client\v4.0_5.9.2.0__141fe4b547d7494f\BlueThread.SharePoint.Activation.Client.dll
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Metalogix.Licensing.StoragePoint\v4.0_5.9.2.0__141fe4b547d7494f\Metalogix.Licensing.StoragePoint.dll
4) Navigate to "C:\Program Files\Metalogix\StoragePoint" folder, verify if setup.exe.config contains "5.9.2.310" value.
5) Check the status of BlueThread.storagepoint.feature.wsp in Solution Management in StoragePoint web UI.
6) Download this PowerShell Script here.
Note:
7) Run the PowerShell script "ExportBHAandUBCJobs.ps1" using "Run as Administrator" mode first.
Note:
8) Next, run the Powershell script "DeleteBHAandUBCJobs.ps1" using "Run as Administrator" mode.
Note: This Powershell script will delete all the scheduled Blob Health Analyzer and Unused Blob Cleanup jobs, ideally share with Support team the log file.
9) Run this Powershell command below to check if all Blob Health Analyzer (BHA) and Unused Blob Cleanup (UBC) jobs have been deleted (Very important).
$jobs = Get-SPTimerJob | Where-Object { $_.Name -like "StoragePoint_*" } | Select Name, Server, Schedule, Status$jobs | ft -AutoSize
10) Create a temporary folder on desktop, download and extract this StoragePoint 5.9.0.74 binaries to the temporary folder.
Note: For older StoragePoint versions, different binaries would be required.
Reference: StoragePoint 5.9.0.74 binaries
11) Run the Setup.exe
Note: This step is to install StoragePoint 5.9.0.74 binaries, not to install StoragePoint.
13) Wait for the Online license activation to complete.
14) The bluethread.storagepoint.feature.wsp should be successfully deployed towards the end of the Online license activation.
15) Click "Run Now" to restart the SharePoint Timer Services.
Note: This will require downtime and will cause disruption, especially in Production environments.
16) Once the SharePoint Timer Services have been restarted, click "OK".
17) Next, run this Powershell script "RestoreBHAandUBCJobs.ps1" to restore Blob Health Analyzer (BHA) and Unused Blob Cleanup (UBC) job settings.
Note: As an input there is a need to use resultant XML file created by "ExportBHAandUBCJobs.ps1" script.
18) Open a new Powershell window using "Run as Administrator" mode.
19) Next, run this PowerShell command below (This is the final Powershell verification, all scheduled BHA and UBC jobs with associated server should be seen now).
Get-SPTimerJob | Where-Object { ($job.Schedule.Description -ne 'OneTime') -and (($_.Name -like "StoragePoint_Orphan_Blob_Cleanup_*") -or ($_.Name -like "StoragePoint_Blob_Reference_Scan_*")) } | ft -AutoSize
20) Open a web browser, navigate to SharePoint Central Administration | Application Management | License Management
21) Perform final license re-activation again, license re-activation should be successful.
22) Open "Central Administration" Sharepoint web UI on a web browser, Click "Monitoring" | Check job status
Note: All BHA and UBC jobs should be visible.
23) Verify that all restored BHA and UBC jobs and job settings have been restored correctly (As the same configuration as before).
Note: Verification of restored BHA and UBC jobs can be done via either SharePoint User Interface (UI) or via PowerShell (PS).
Export-Delete-Restore-UBC-and-BHA-jobs
© ALL RIGHTS RESERVED. Feedback Conditions d’utilisation Confidentialité Cookie Preference Center