Error when searching within CMS

We are hosting Umbraco CMS version 13.5.2 for a client, and lately they’ve noticed they can’t use the search functionality in the CMS. Whenever any search term is entered into the magnifying glass search box a red error box appears:

Server error: Contact administrator, see log for full details.
Failed to retrieve entity data for…

And this is the response in the browser console:

URL requested: /umbraco/backoffice/umbracoapi/entity/SearchAll?query=test


{
    "ExceptionMessage": "Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.",
    "ExceptionType": null,
    "StackTrace": null
}

Does anyone have a fix for this issue please?

Have you tried regenerating the index? Do you have any customizations for indexes?

Btw you might want to remove the domain from your URL :slight_smile:

Can you share the errors from umbraco log?

Hi @jpguillebaudsky

Is the site hosted on azure?
I would recommend rebuilding the index.
If its not possible through the backoffice, then go to the temp folder and delete indexes.

And update to the latest v13 where this is fixed

This is the recurring error in the Umbraco logs:


"Could not parse rich text editor value, see exception for details.","@l":"Error","@x":"Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: \\. Path 'markup', line 1, position 555.\r\n   at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments)\r\n   at Newtonsoft.Json.JsonTextReader.Read()\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)\r\n   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)\r\n   at Umbraco.Cms.Core.PropertyEditors.RichTextPropertyEditorHelper.TryParseRichTextEditorValue(Object value, IJsonSerializer jsonSerializer, ILogger logger, RichTextEditorValue& richTextEditorValue)","SourceContext":"Umbraco.Cms.Core.PropertyEditors.RichTextPropertyIndexValueFactory"

@jpguillebaudsky do you have any custom datatypes installed?
Can you search in the internal index from examine management in settings in the backoffice?

did you recently update it to V13, it looks like the RTE format is different and that happened in V13, maybe rebuilding the content cache, etc could help.

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