0

enter image description hereenter image description herepowershell error

Poweshell error when trying to run dotnet sitecore ser push

This is my folder structure

11
  • Can you try this command? dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Database --version 5.0.16 Aug 17, 2022 at 5:11
  • Unhandled exception: System.Exception: Unhandled exception ---> System.InvalidOperationException: Could not find plugin Sitecore.DevEx.Extensibility.Database in package cache. at Sitecore.Devex.Client.Cli.Extensibility.Services.PluginManager.AddPluginAsync(String configPath, String pluginName, String pluginVersion, Boolean overwrite) in C:\BA\ca7111d945a16af4\src\Sitecore.Devex.Client.Cli.Extensibility\Services\PluginManager.cs:l
    – Monit
    Aug 17, 2022 at 5:15
  • Can you check in your user.json that you are using https in host and authority? Aug 17, 2022 at 5:17
  • "host": "sitecoretestsc.dev.local", "authority": "sitecoretestidentityserver.dev.local", I have changed https now getting this erro Configured source item path /sitecore/content/SitecoreShades/StandBlog did not exist in Sitecore endpoint default (Host: sitecoretestsc.dev.local, DB: master) data store. An empty source indicates that you need to fill that source with data before attempting to push it into a destination. Usually that means you need to pull an initial data set from Sitecore to fill serialized files before being able to push serialized data into Si.
    – Monit
    Aug 17, 2022 at 5:24
  • Did you try this? dotnet sitecore login --auth https://sitecoretestidentityserver.dev.local --cm https://sitecoretestsc.dev.local --allow-write true Aug 17, 2022 at 5:27

1 Answer 1

2

As per the discussion, you need to update the user.json and verify that you are using HTTPS in host and authority. So they should look like this.

"host": "https://sitecoretestsc.dev.local", 
"authority": "https://sitecoretestidentityserver.dev.local",

Also, you need to verify that the path variable that you have provided in the module.json contains the correct Sitecore content tree path.

This will resolve the issue.

3
  • Ya now solved this way
    – Monit
    Aug 17, 2022 at 7:20
  • Please accept the answer using the right arrow key below the up and down button with my answer. Down to number 0 Aug 17, 2022 at 7:27
  • Thanks @Sumit,, I was facing the same issue and it got resolved!!
    – Gautam
    May 8 at 7:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.