Sitecore.Ship icon indicating copy to clipboard operation
Sitecore.Ship copied to clipboard

System.MissingMethodException when trying file upload

Open stevegray12 opened this issue 9 years ago • 6 comments

Sitecore version xp 8.1 sitecore ship version 0.3.5

when attempting a post to [servername]/services/package/install/fileupload

I get the following 500 error.

Nancy.RequestExecutionException: Oh noes! ---> System.MissingMethodException: Method not found: 'System.String Sitecore.Update.UpdateHelper.SaveInstallationMessages(System.Collections.Generic.List`1, System.String)'. at Sitecore.Ship.Infrastructure.Update.UpdatePackageRunner.Execute(String packagePath, Boolean disableIndexing) at Sitecore.Ship.Core.PackageRepository.AddPackage(InstallPackage package) in d:\Development\SCC\ship\src\Sitecore.Ship.Core\PackageRepository.cs:line 17 at Sitecore.Ship.Package.Install.InstallerModule.InstallUploadPackage(Object o) in d:\Development\SCC\ship\src\Sitecore.Ship\Package\Install\InstallerModule.cs:line 108 at Nancy.Routing.DefaultRouteInvoker.Invoke(Route route, DynamicDictionary parameters, NancyContext context) at Nancy.Routing.DefaultRequestDispatcher.Dispatch(NancyContext context) at Nancy.NancyEngine.InvokeRequestLifeCycle(NancyContext context, IPipelines pipelines) --- End of inner exception stack trace --- at Nancy.NancyEngine.InvokeOnErrorHook(NancyContext context, ErrorPipeline pipeline, Exception ex)

stevegray12 avatar May 16 '16 14:05 stevegray12

Take a look at issue #30. The solution is to use Sitecore.Ship version 0.4 that you can download off of the pre-release MyGet feed: https://www.myget.org/F/sitecore-ship-prerelease/api/v2/package

pveller avatar May 16 '16 15:05 pveller

Thanks, does anybody know when it will become an official release?

stevegray12 avatar May 18 '16 09:05 stevegray12

I can't tell. @kevinobee had big plans to rewrite with SSC and WebAPI and haven't pushed 0.4 to NuGet.

pveller avatar May 18 '16 14:05 pveller

The MyGet 0.4.0 pre-release packages are on the NuGet gallery now.

Interested to hear if these solve your issue @stevegray12

kevinobee avatar May 19 '16 17:05 kevinobee

@kevinobee. The version we pulled from mygit did solve the issue after we solved some reference issues with ANTLR3. I will pick up the officall release today and update you monday.

stevegray12 avatar May 20 '16 08:05 stevegray12

@kevinobee All working many thanks.

stevegray12 avatar May 23 '16 12:05 stevegray12