-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Here's one for you. Until about a week ago, the PackageDeployer was executing fine (and a great tool it is when it works). Then it started reacting to errors badly. Instead of renaming the update to .error_, it was renaming it to .json (as if it was successful) but with a status of "Fail" not "Success".
The (obfuscated) details are in the related files...
The resulting json file looks like....
The json file, XXXXXXX.Feature.Accounts.Master_20170626_1544.files.json, contains:
{"Status":"Fail","ServerName":"STAGESITECORECM","DeployHistoryPath":"C:\inetpub\sites\SitecoreB\Website\temp\__Upgrade\Upgrade_20170626T202219293"}
The related Install.log ends with:
Post step execution failed
System.Exception: Error while opening file 'C:\inetpub\sites\SitecoreB\Data\SitecorePackageDeployer\XXXXXXX.Feature.Accounts.Master_20170626_1544.files.update' ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\sites\SitecoreB\Data\SitecorePackageDeployer\XXXXXXX.Feature.Accounts.Master_20170626_1544.files.update'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Sitecore.Zip.ZipReader..ctor(String filename, Encoding encoding)
--- End of inner exception stack trace ---
at Sitecore.Zip.ZipReader..ctor(String filename, Encoding encoding)
at Sitecore.Install.Zip.PackageReader.Populate(ISink`1 sink)
at Sitecore.Update.UpdateHelper.LoadMetadata(String packagePath)
at Hhogdev.SitecorePackageDeployer.Tasks.InstallPackage.ExecutePostSteps(InstallLogger installLogger, PostStepDetails postStepDetails) in C:\Git\SitecorePackageDeployer\SitecorePackageDeployer\Tasks\InstallPackage.cs:line 373
The related InstallationHistory.txt file is:
INFO:Installing package: C:\inetpub\sites\SitecoreB\Data\SitecorePackageDeployer\XXXXXXX.Feature.Accounts.Master_20170626_1544.files.update
INFO:Installation Mode: Install
INFO:Installation of package 'C:\inetpub\sites\SitecoreB\Data\SitecorePackageDeployer\XXXXXXX.Feature.Accounts.Master_20170626_1544.files.update' has been finished.
There's nothing in the messages.xml file and the rollbackPackage.rlb file is 0 length.
The changes we've made since this started failing are based on preparing for the site launch -- tightening up security and performance based on Sitecore's published recommendations, cleaning up code and the few remaining bugs, etc.
Any ideas?