How can I determine what provider is missing on the target?

We migrated from a v7 site to v13 some months ago, self hosted. This week, we moved to Umbraco Cloud with two Environments (Dev and Live). It wasn’t without some hassle, but it eventually worked.

However, when I try to clone the Dev back down to my local, I get an error that I don’t find how to resolve. The Deploy step works out well. It’s the Restore that fails, once I access the site locally. It seems to be linked to a field in Form, but I’m not too sure how to determine the bad field. It’s all generic fields (short text, long text, consent), and a recaptcha3. They work on the Dev and the Live, and they worked locally before.

Any idea on how to troubleshoot that?

Umbraco.Deploy.Core.Exceptions.ProcessArtifactException: Process pass #10 failed for artifact umb://forms-form/c7d524ad17854157848053f73aa1d4e3. —> System.InvalidOperationException: Target site does not contain a FieldType Provider with the GUID:663aa19b-423d-4f38-a1d6-c840c926ef86 Ensure the DLL containing this provider has been deployed to the target. at Umbraco.Forms.Deploy.ServiceConnectors.FormConnector.Pass10(ArtifactDeployState2 state, IDeployContext context) at Umbraco.Forms.Deploy.ServiceConnectors.FormConnector.Process(ArtifactDeployState2 state, IDeployContext context, Int32 pass) at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable1 arts, String ownerEmail, IDeployContext context, CancellationToken token) --- End of inner exception stack trace --- at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessArtifacts(IEnumerable1 arts, String ownerEmail, IDeployContext context, CancellationToken token) at Umbraco.Deploy.Infrastructure.Environments.CurrentEnvironment.ProcessPackageAsync(Guid sessionId, Package package, CancellationToken token) at Umbraco.Deploy.Infrastructure.Work.WorkItems.DeployRestoreWorkItemBase.ProcessPackage(Package package, Nullable1 batchIndex, Nullable1 numberOfBatches) at Umbraco.Deploy.Infrastructure.Work.WorkItems.TargetRestoreWorkItem.Proceed() at Umbraco.Deploy.Infrastructure.Work.WorkItems.TargetRestoreWorkItem.ExecuteAsyncSub(IWorkContext context, List`1 resume, CancellationToken token)

First good news, I was able to find the culprit field, and it’s the reCaptcha3.

However, I don’t know what steps need to be be taken to make sure the correct dll provider is downloaded during a Deploy or Restore. Or does that dll need to be added manually to the clone so it can run correctly? And if so, what dll would that be?

My understanding is that it wouldn’t be a Deploy concern…
Should just be the Umbraco Forms package referenced in the csproj,

 <PackageReference Include="Umbraco.Forms" Version="13.7.0" />

that should register that FieldType (recaptchav3) via the local build process restoring the projects nuget packages.

I finally got it. I was missing the Google Recaptcha keys locally, since I removed them from the appSetting.json during the migration and added them on Cloud as Secrets. I didn’t think of adding them back locally. Adding them back let the Restore process complete.

The error message is a bit misleading, since the Provider IS there, but not accessible. Adding it to our local doc for the rest of the team.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.