9
votes
Error message "Make sure the GraphQL service is installed and available"
We also faced a similar issue so we added https:// in our instance name in user.json (\.sitecore\user.json) and then tried again and it worked for us. Make sure you have https:// in your instance, ...
8
votes
Accepted
Is Unicorn obsolete with Sitecore 10?
This question is very close to being opinion based, but I think we can answer the differences more factually here.
tl/dr: No, Unicorn is not obsolete with Sitecore 10. Unicorn is not compatible with ...
7
votes
Sitecore10 CLI Error "Unrecognized command or argument 'ser','push' in PowerShell window
You need to add the serialization plugins.
dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Serialization
7
votes
Accepted
How to do automated content publishing post deployment in XMCloud?
You can leverage the xmcloud.build.json file to achieve this scenario.
Please add this section in the xmcloud.build.json
"publish": {
"path": "/sitecore",
"...
6
votes
Accepted
Error message "Make sure the GraphQL service is installed and available"
Make sure you've installed the Sitecore Management Services module.
It's listed as a pre-req here: https://doc.sitecore.com/developers/100/developer-tools/en/install-sitecore-command-line-interface....
4
votes
jss create is not supported from JSS CLI version 20.0.0
I think with the latest version of JSS, you need to use this command.
npx create-sitecore-jss
This command scaffolds a JSS application based on the latest version of JSS templates
Follow this article ...
4
votes
Accepted
How do I use the Sitecore CLI with Sitecore Cloud to serialize content?
Add https://sitecore.myget.org/feed/xmcloud-preview/package/nuget/Sitecore.DevEx.Extensibility.XMCloud reference:
dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.XMCloud
Then you should be ...
4
votes
Accepted
Sitecore serialization dotnet sitecore ser validate error
Each time you run the serialization commands, the Sitecore Content Serialization (SCS) system automatically validates the content items in your file system against the content items in a Sitecore ...
4
votes
Accepted
CLI Error: "The Sitecore Management Service version of the environment this Sitecore CLI operates with is outdated"
This appears to be the same as an issue I bumped into when upgrading the CLI/Sitecore Management Service 5.1.25 in a solution using Sitecore Headless Rendering 20.0.0 on XP 10.2
There are a few ...
4
votes
Is it possible to renew certificates for local environment using SIF or CLI?
Here is something similar you will find in the below thread where they have created a script that displays all the sites in IIS and you pick the one to update.
The script changes out the cert in the ...
3
votes
Accepted
Sitecore CLI integrate with Visual Studio error
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....
3
votes
Accepted
Sitecore Serialization using Sitecore CLI Installation Error
For Sitecore 10.0, the only version of the CLI that you can use is 2.0.0 (https://dev.sitecore.net/Downloads/Sitecore_CLI/2x/Sitecore_CLI_200.aspx)
Source: https://support.sitecore.com/kb?id=...
3
votes
Accepted
Sitecore Login using CLI Command /.well-known/openid-configuration: Bad Gatway
When I hit the below URL, it was giving HTTP Error 502.5 - Process Failure error.
https://sc101identityserver.dev.local/.well-known/openid-configuration: Bad Gateway
Later I found that license file at ...
3
votes
Can not install Sitecore.CLI for Sitecore 10
I found the fix to this. In Visual Studio 2017 or 2019:
Navigate to Tools > NuGet Package Manager > Package Manager Settings > Package Sources and remove the reference to Sitecore NuGet. This ...
3
votes
Accepted
GraphQL.ExecutionError: Deserialization can only be performed by Sitecore Administrators
This turnout issue of config changes was not applied properly, I created a config named - Sitecore.Owin.Authentication.ClientCredentialsMapping.config following https://doc.sitecore.com/developers/100/...
3
votes
Accepted
"Not configured to allow writing data" error in Sitecore CLI (Sitecore 10.0)
This usually means that your .\sitecore\user.json file is not yet in your folder structure. I had this happen to me when I initially downloaded a project and tried to get things up and running from ...
3
votes
Accepted
Pull items by language
It is not. Serializing an item that has no versions should still be possible however, you should bring this to Sitecore Support.
All current options available to you can be found in the Sitecore ...
3
votes
Accepted
Sitecore CLI Scope & AllowedPushOperations property equalents in TDS
Here you can find the Sitecore CLI option equivalents for TDS.
TDS - ItemDeployment
CLI - allowedPushOperations
NeverDeploy
Ignored
DeployOnce
CreateOnly
No Equivalent Option Available
...
3
votes
Accepted
Error while Setting up sitecore serialization
The issue may be due to an expired or not trusted SSL certificate.
First thing , you could check if your identity server certificate is present under the trusted root certificate folder or not.
Also, ...
2
votes
openid-configuration: No such host > is known
Able to resolve the issue.
Missing host entry in host file (C:\Windows\System32\drivers\etc)
127.0.0.1 xc1id.localhost
After adding this, it is resolved.
2
votes
Accepted
Sitecore CLI Error executing dotnet sitecore ser pull
I don't know if this is recommended to update the settings on the config Sitecore.Services.GraphQL.Serialization.config but it does resolve my issue by updating the requireAuthentication node to false ...
2
votes
Accepted
Sitecore CLI 4.1.0-r00492 Login erroring "Endpoint belongs to different authority:"
One of the comments questioned the casing of the topology. In trying to figure this out, I decided to burn down the docker implementation and start over from scratch.
Instead of using -Topology "...
2
votes
Accepted
Error while getting client credentials token: invalid_client on interactive login with Sitecore CLI
The issue can be fixed by setting the --client-credentials argument to false in the interactive login command:
dotnet sitecore login --authority https://<Sitecore identity server> --cm http://&...
2
votes
Sitecore 10.2 CLI error the SSL connection could not be established
Make sure you have https:// in your instance. Add https:// in your instance name in user.json (\.sitecore\user.json) and then try again.
"host": "https://sc10sc.dev.local",
"...
2
votes
Accepted
Sitecore Not Showing New Item Fields in Items Resource File
Items as resources rely on the CompositeDataProvider class which was added in 10.1. As this is a "data provider" it is subject to the same caching mechanisms as other data providers- ...
2
votes
How to publish only serialized items
I think your issue is the way you are adding the --config parameter, you should add the path to the folder containing sitecore.json, rather than the file itself.
Please try this instead:
dotnet ...
2
votes
Accepted
Sitecore CLI Not Authorized to perform the task you are attempting: No Sitecore CLI User Created
Thanks for everyones assistance. After working here, in Sitecore Slack, and with Sitecore Support... it was discovered that the SqlMembershipProvider.GeneratePassword Method is not "guaranteed to ...
2
votes
Accepted
DevOps build pipeline failing on SCS serialize/package step
Sitecore CLI 4.2.1 does in fact depend on .NET Core 3.1.
.NET Core 3.1 reached end of life at the end of 2022:
https://devblogs.microsoft.com/dotnet/net-core-3-1-will-reach-end-of-support-on-december-...
2
votes
Accepted
Should .sitecore folder get comitted to source control
You will notice some new files in your solution folder after the CLI installation process – e.g. .scindex files, .sitecore/ folder. These can be added to .gitignore.
If you run into issues with your ...
2
votes
Why did SCS change branch template $name item paths to start with "_" instead of "#"?
This conversion from Dollar('$') to ('#') is occuring from the below code snippet inside Sitecore.DevEx.Serialization.Client.dll, which converts all the invalid file characters to '#' symbol.
I ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sitecore-cli × 75serialization × 22
scs × 8
jss × 5
graphql × 5
identity-server × 3
docker × 3
xm-cloud × 3
sitecore-commerce × 2
publishing × 2
tds × 2
azure-devops × 2
sxa × 1
xdb × 1
xconnect × 1
sitecore-api × 1
sitecore-install-framework × 1
unicorn × 1
powershell × 1
login × 1
sitecore-services-client × 1
visual-studio × 1
certificate × 1
content-hub × 1
setup × 1