Sitecore.Ship
Sitecore.Ship copied to clipboard
Sitecore ship throws MissingMethodException on SC9
Hi
When trying to use Sitecore ship to install packages on a Sitecore 9 installation I'm getting the following error: Method not found: 'Void Sitecore.Update.Installer.XmlEntrySerializer.Serialize(System.Collections.Generic.List`1<Sitecore.Update.Installer.ContingencyEntry>, System.IO.Stream)'.
I'm guessing they changed something in 9 that breaks functionality. Any ideas?
Thanks
It works if you build the sources from this branch: https://github.com/dharnitski/Sitecore.Ship/tree/feature/sitecore82 with dlls from Sitecore 9.
You will have to comment out Sitecore.Configuration.Settings.Indexing.Enabled
as it's deprecated and the build fails with it. Also change target framework for ship projects to 4.6.2
I have downloaded the branch(sitecore82) and with sitecore 9 dlls(Sitecore.Client.dll
- Sitecore.Kernel.dll
- Sitecore.Logging.dll
- Sitecore.Update.dll
- Sitecore.Zip.dll
- System.Web.Helpers.dll). The solution is not compiling because of the sitecore 9 dlls built using the .net framework 4.6.2 and ship built .net framework 4.5.2 .
Any idea sitecore ship supporting the sitecore 9 version?
You should change target framework to 4.6.2 in Sitecore.Ship projects too
Thanks working now. I am uploading .update file from vsts tool(Sitecore ship Deploy Task) to Azure PaaS. I am getting the server timeout error after few mins. But ship updating the sitecore items in azure PaaS. Any idea how to resolve the timeout issue.(I tried to increase the timeout but no help) Error: ##[error]System.Net.Http.HttpRequestException: Status code InternalServerError. Reason . Server reported the following message:
Issue 2: After upgrade the framework 4.6.2, there is no logs written in the sitecore log file about sitecore ship.(failure or success).
@Amarapathi - i was also getting the same error and could not resolve this. Finally i had to switch to TDS package deployer module.
@prabhatsingh2011 Could you please provide me the reference link which you have refered for the TDS package deployer.
@Amarapathi - here it is. I have used Octopus and VSTS. if required i can share my step templates(powershell scripts) for you to use.
https://www.teamdevelopmentforsitecore.com/Blog/sitecore-package-deployer
@prabhatsingh2011 Yes please share the steps which you used.
Thanks, Amarapathi.
@prabhatsingh2011 Can you please share the steps. I have to use same one with Octopus and Teamcity.
Thanks, Vikas Kumar