Network Management
Missing PDF files from a scheduled report after failed migration of Solarwinds
This article details an issue in which there are missing PDF files in scheduled reports that send emails after a failed migration in Solarwinds. The missing PDF attachments shows errors in the Core.BusinessLayer.log
First published date
Last published date
Overview
This article details an issue in which there are missing PDF files in scheduled reports that send emails after a failed migration in Orion. The missing PDF attachments show errors in the Core.BusinessLayer.log (C:\ProgramData\SolarWinds\Logs\Orion):
ERROR SolarWinds.Orion.Core.BusinessLayer.ReportJobInitializer - (null) Errors in ReportJob-2(SCHEDULE_NAME) @ Engine 0 & Website 2 |
Product section
Cause
Resolution
- Stop all Orion services using Orion Service Manager.
- Verify the existing WebsiteIDs in the database:
- Open Database Manager, check the Websites table.
- Note the WebsiteIDs and make sure these numbers match the WebsiteIDs from the ReportJobs table.
- Update the ReportJobs table with the WebsiteIDs existing in the Websites table.
- Run the following query to your database using Database Manager to replace incorrect WebsiteIDs:
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. UPDATE ReportJobs SET WebsiteID = CorrectID WHERE WebsiteID = WrongID
- Change CorrectID with the existing WebsiteID and WrongID with the missing WebsiteID.
- Restart all Orion services using Orion Service Manager.