Questions tagged [sitecore-cli]

Sitecore Command Line Interface (CLI) allows console communication with a Sitecore instance. All question that is related to this CLI can make use of this tag.

Filter by
Sorted by
Tagged with
3 votes
1 answer
160 views

Is it possible to renew certificates for local environment using SIF or CLI?

As my self-signed certificates for Sitecore 10.0 instance expired, I want to use SIF or CLI to renew them and best also to replace thumbprints to minimize manual work. Is this possible with SIF or CLI?...
2 votes
1 answer
108 views

CLI Error: "The Sitecore Management Service version of the environment this Sitecore CLI operates with is outdated"

There is Sitecore 10.2 solution running with CLI tool v4.2. In order to upgrade to CLI v5.1 the following steps were done: In sitecore.json all the plugin versions have been updated: "plugins&...
1 vote
1 answer
131 views

Is Unicorn obsolete with Sitecore 10?

As far as I understand, Unicorn still works with Sitecore 10.x and I understand that Sitecore 10 introduced a new Serialization format. So... does the new Serialization system of Sitecore 10 make ...
2 votes
3 answers
146 views

How to publish only serialized items

How to publish only the serialized items using the Sitecore CLI command. I have configured the Module files path in the sitecore.json file. When I run dotnet sitecore publish, i guess it is trying to ...
  • 2,723
2 votes
1 answer
162 views

Error when trying to sync items using Sitecore for Visual Studio 4.1.0.0

Getting this error come up every time I try to pull (and push) items from Sitecore, using Sitecore for Visual Studio. Matched module configurations: SC.Feature.Disclaimers Sync operation with Sitecore ...
  • 21
2 votes
1 answer
182 views

Sitecore Serialization using Sitecore CLI Installation Error

I am attempting to install Sitecore CLI 4.2.1 on Sitecore 10.0. The installation is fresh install of Sitecore 10.0. I keep getting this error below. This error will shut down Sitecore where I have to ...
1 vote
0 answers
54 views

Errors in validating multi-level taxonomy

I created a multi-level taxonomy SampleTaxonomy in Content Hub with hierarchy below: I was pulling the serialized entities using ch-cli with ch-cli serialization pull entity -d SampleTaxonomy. Then I ...
  • 21
1 vote
1 answer
178 views

Sitecore CLI Error: It was not possible to find any installed .NET Core SDKs

I am new to Sitecore and trying to sync Sitecore content using Sitecore CLI. I am using Sitecore 10.2 version and CLI 4.2.1 version. I have installed Microsoft .NET Core SDK, ASP.NET Core Runtime ...
  • 37
5 votes
1 answer
111 views

How do I use the Sitecore CLI with Sitecore Cloud to serialize content?

I've been watching all of videos about XM Cloud (https://developers.sitecore.com/learn/getting-started/xm-cloud-introduction) and I have a question about serialization? How is it working on XM Cloud? ...
4 votes
1 answer
245 views

Sitecore CLI can't locate plugin that actually exists

I'm following the documentation on how to set up Sitecore CLI: https://doc.sitecore.com/xp/en/developers/102/developer-tools/install-sitecore-command-line-interface.html After doing all the steps I've ...
2 votes
1 answer
48 views

not able to pull content using CLI and SVS [closed]

I have installed the Helix example and I am trying to pull items from the Sitecore content tree using CLI and SVS. In both cases, I am getting an error, No connection could be made because the target ...
  • 339
0 votes
1 answer
144 views

Sitecore serialization dotnet sitecore ser validate error [closed]

I am getting this error whenever i am running command dotnet sitecore ser validate.How to fix.
  • 17
0 votes
0 answers
174 views

Unable to reserialize items with Sitecore Serialization CLI

There is a 10.2 solution which uses new Sitecore Serialization CLI. I was moving items back and forth in Content Tree and ended up with situation when I cannot pull the chages. When I call dotnet ...
0 votes
1 answer
189 views

Sitecore CLI integrate with Visual Studio error [duplicate]

Poweshell error when trying to run dotnet sitecore ser push This is my folder structure
  • 17
0 votes
2 answers
411 views

Unable to run Sitecore CLI Serialization push command

I am trying to run the dotnet sitecore ser push command after non-interactive login (login works fine), but only ser push and ser pull command give the following error otherwise all the ser command ...
2 votes
1 answer
379 views

jss create is not supported from JSS CLI version 20.0.0

I am trying to create an application for sitecore 10 JSS with react. But I am getting the error jss create is not supported from JSS CLI version 20.0.0 can you please suggest.
0 votes
0 answers
435 views

Running Sitecore 10 CLI command Error "dotnet sitecore ser push -p" getting the attached error

When I am running Sitecore 10 CLI command dotnet sitecore ser push -p getting the following error. dotnet sitecore ser push -p Unhandled exception: System.Exception: Unhandled exception ---> ...
  • 1
0 votes
1 answer
153 views

Sitecore CLI 4.1.0-r00492 Login erroring "Endpoint belongs to different authority:"

I have installed a brand new, vanilla version of Sitecore 10.2, using Docker Desktop containers. My Identity URL (which works) is https://xp0id.localhost. My CM Url (which works) is https://xp0cm....
  • 14.5k
1 vote
1 answer
148 views

How to configure a friendly name for the generated user with CLI using non-interactive client login?

Sitecore 10.2: I followed the documentation as described here. Configuration applied to Identity Server and stored at C:\identity\config\sitecore.identityserver.devex.xml <?xml version="1.0&...
  • 17.3k
0 votes
2 answers
323 views

Error while getting client credentials token: invalid_client on interactive login with Sitecore CLI

I am using the Sitecore CLI to login (interactive) to my local instance and that works fine. We have a setup for a non-interactive login for the CLI to the cloud dev environment. I wanted to test that ...
  • 19.7k
1 vote
2 answers
420 views

Sitecore 10.2 CLI error the SSL connection could not be established [closed]

While I have setup the CLI in helix project root folder and trying to run below command I'm getting error dotnet sitecore ser pull The SSL connection could not be established, see inner exception. ...
  • 254
2 votes
0 answers
65 views

Extend the Command Line Interface with NuGet Sitecore CLI

In Sitecore 10.2, I want to extend the command-line interface with NuGet as mentioned in this link and I want to create a custom plugin I just want to create a simple plugin similar to dotnet sitecore ...
  • 2,328
2 votes
1 answer
239 views

Sitecore Login using CLI Command /.well-known/openid-configuration: Bad Gatway

I have Sitecore 10.1 instance in my machine. I would like to login into Sitecore using below Sitecore CLI command on the powershell window: dotnet sitecore login --authority https://...
  • 998
1 vote
1 answer
234 views

Sitecore Not Showing New Item Fields in Items Resource File

I am leveraging items as resource files. While my app is running, if I try to update the *.dat file (the resource file) and then view one of the items in Content Editor, I do not see the expected ...
  • 4,811
1 vote
2 answers
392 views

Sitecore CLI error on executing dotnet sitecore login

On running the below line in powershell script getting error PS C:\Devlopment\eKeystoneHelix\KAO> dotnet sitecore login --authority https://maj-testhelix.identityserver/ --cm http://maj-testhelix/ -...
  • 11
1 vote
2 answers
600 views

Unknown argument "excludedFieldIds" on field "serialize" of type "Query"

Where can I find the excludedFieldIds argument? How to resolve? Unknown argument "excludedFieldIds" on field "serialize" of type "Query".(GraphQLException) the error is ...
3 votes
1 answer
197 views

Docker getting started template: You are not authorized to perform the task you are attempting. You may need to be assigned additional permissions

Hi when i tried to run the docker getting started template from Sitecore i got following error Your login is complete. You can close the browser tab now. Login information has been saved. Populating ...
0 votes
0 answers
58 views

JSS CLI commands with --config switch

I'm trying to use the JSS CLI to deploy content and components to my local CM instance running in Docker, but with a different config file. Normally I run jss deploy files or jss deploy app and it ...
  • 161
0 votes
0 answers
335 views

You are not authorized to perform the task you are attempting. You may need to be assigned additional permissions in PROD

When we are trying to deploy the serialized items into our production cm through Sitecore CLI using devops pipeline but getting the below error: "You are not authorized to perform the task you ...
3 votes
2 answers
274 views

Commit noise from Sitecore Content Serialization

We are using Sitecore 10.1 with Docker, JSS, and the Content Serialization CLI on a new project and I feel like we must be doing something wrong as we get a lot of seemingly unimportant changes to the ...
  • 161
0 votes
1 answer
67 views

Sitecore 10 Helixbase Serialization Error - There is a dependency loop in your module dependencies

Using Helixbase as a starting point, I have created a helix solution and an faq feature module. The faq content items have serialized as well as the various templates and layouts. After adding a few ...
  • 131
1 vote
1 answer
94 views

Pull items by language

I'm using the command dotnet sitecore ser pull. The Source system has items with "Invariant Language" listed. It has no versions though. So, when pulling the items using CLI, it only creates ...
  • 2,723
1 vote
1 answer
503 views

openid-configuration: No such host > is known

I am seeing the following issue when I tried to run the login command. Error connecting to https://xc1id.localhost/.well-known/openid-configuration: No such host is known. I have tried to access the ...
  • 31
5 votes
1 answer
539 views

Sitecore10 CLI Error "Unrecognized command or argument 'ser','push' in PowerShell window

When I try to use the below command "dotnet sitecore ser push" i got the below error Unrecognized command or argument 'ser' Unrecognized command or argument 'push' The issue occurs because ...
3 votes
1 answer
762 views

Can not install Sitecore.CLI for Sitecore 10

I am following the guide specified here. I can successfully run the command dotnet new tool-manifest however I get an error when I run dotnet tool install Sitecore.CLI --add-source https://sitecore....
1 vote
0 answers
123 views

Make sure the GraphQL service is installed and available (Sitecore 10 CLI) [duplicate]

When I try to use one of these commands dotnet sitecore ser push dotnet sitecore ser pull dotnet sitecore ser publish I got this error Make sure the GraphQL service is installed and available I ...
3 votes
1 answer
706 views

GraphQL.ExecutionError: Deserialization can only be performed by Sitecore Administrators

I am trying to install the Sitecore items package using the Sitecore CLI command line, I created a package using the same name as SitecoreCliProject.itempackage and now trying to install following ...
0 votes
3 answers
2k views

Sitecore CLI Error executing dotnet sitecore ser pull

I am currently following the Sitecore CLI Documentation and testing it out on one of my local sitecore environment. I am executing the command dotnet sitecore ser pull and I am getting this error. ...
5 votes
0 answers
155 views

Does sitecore.cli require identity server?

When using the Sitecore CLI in SC10, the --authority parameter seems to require the identity server. Can it be used without the identity server? What would be the format of the URL? We have SSO ...
4 votes
6 answers
2k views

Error message "Make sure the GraphQL service is installed and available"

Installed fresh Sitecore 10 and trying to use Sitecore CLI combined with native Sitecore Content Serialization. When executing next command dotnet sitecore ser pull I get an error message Make sure ...
3 votes
1 answer
522 views

"Not configured to allow writing data" error in Sitecore CLI (Sitecore 10.0)

I am using Sitecore 10.0, running Sitecore CLI in a Windows PowerShell console. I have made sure I am in the root folder of my project. When I run the command dotnet sitecore ser push I get this error ...
  • 6,566