Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitecore ship throws MissingMethodException on SC9 #78

Open
matthiasduyck opened this issue Dec 22, 2017 · 9 comments
Open

Sitecore ship throws MissingMethodException on SC9 #78

matthiasduyck opened this issue Dec 22, 2017 · 9 comments

Comments

@matthiasduyck
Copy link

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

@whuu
Copy link

whuu commented May 30, 2018

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

@Amarapathi
Copy link

Amarapathi commented Jun 6, 2018

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?

@whuu
Copy link

whuu commented Jun 6, 2018

You should change target framework to 4.6.2 in Sitecore.Ship projects too

@Amarapathi
Copy link

Amarapathi commented Jun 8, 2018

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: <title>500 - The request timed out.</title>
500 - The request timed out.

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).

@prabhatsingh2011
Copy link

@Amarapathi - i was also getting the same error and could not resolve this. Finally i had to switch to TDS package deployer module.

@Amarapathi
Copy link

@prabhatsingh2011 Could you please provide me the reference link which you have refered for the TDS package deployer.

@prabhatsingh2011
Copy link

prabhatsingh2011 commented Jun 28, 2018

@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

@Amarapathi
Copy link

@prabhatsingh2011 Yes please share the steps which you used.

Thanks,
Amarapathi.

@kumar-vika
Copy link

@prabhatsingh2011 Can you please share the steps. I have to use same one with Octopus and Teamcity.

Thanks,
Vikas Kumar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants