Continuo io l’indagine di @KarimSaad91, ora i problemi sembrano peggiorati, ora non si riesce proprio ad usare il portale (sempre “internal server error”).
Quali sono i passi per fare tentare questa reindicizzazione SOLR?
Intanto ho indagato e trovato alcune nuove log “interessanti”:
2022-09-20T14:51:20.426706322Z [ERROR] it.cnr.si.cool.jconon.util.RESTSecurityInterceptor:163 - ERROR for REST SERVICE
2022-09-20T14:51:20.426779095Z org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 08200001 Request failed 500 /solr/alfresco/cmis?wt=json&fl=DBID%2Cscore&rows=10&df=TEXT&start=0&locale=en_US&alternativeDic=DEFAULT_DICTIONARY&cmisVersion=CMIS_1_1&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON
2022-09-20T14:51:20.552465527Z [ERROR] it.cnr.cool.frontOfficeHandler.Log4jHandler:33 - log,{"mappa":{"user":"guest","url":"/rest/search?guest=true&ajax=true&maxItems=10&skipCount=0&fetchCmisObject=true&calculateTotalNumItems=false&cache=600&groups=&q=SELECT+*+FROM+jconon_call%3Afolder+root+WHERE+(root.jconon_call%3Adata_inizio_invio_domande_index+%3C%3D+TIMESTAMP+'2022-09-20T14%3A50%3A00.000Z'+AND+(root.jconon_call%3Adata_fine_invio_domande_index+%3E%3D+TIMESTAMP+'2022-09-20T14%3A50%3A00.000Z'+OR+root.jconon_call%3Adata_fine_invio_domande_index+is+null+)+AND+root.jconon_call%3Ahas_macro_call+%3D+'false'+AND+IN_TREE+(root%2C'a970030d-17a8-40e2-a5d9-e40f23b33de7'))++ORDER+BY+jconon_call%3Adata_fine_invio_domande_index+ASC+","application":"","stackTraceAjax":"{\"error\":\"08200001 Request failed 500 /solr/alfresco/cmis?wt=json&fl=DBID%2Cscore&rows=10&df=TEXT&start=0&locale=en_US&alternativeDic=DEFAULT_DICTIONARY&cmisVersion=CMIS_1_1&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON\"}"},"typeDocument":"log","codice":1,"testo":"error - Internal Server Error","ajax":{"type":"GET","contentType":"application/x-www-form-urlencoded; charset=UTF-8","processData":true},"Date":"20/09/2022 – 16:51:20","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0","IP":"XXXXX"}
Anche Alfresco restituisce molti errori:
2022-09-20 14:48:58.339 ERROR (Finalizer) [ ] o.a.s.u.SolrIndexWriter SolrIndexWriter was not closed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!
2022-09-20 14:48:58.340 ERROR (Finalizer) [ ] o.a.s.u.SolrIndexWriter Error closing IndexWriter
java.lang.NullPointerException
2022-09-20 14:51:20.241 WARN (qtp1205044462-18) [ x:alfresco] o.a.o.d.CMISStrictDictionaryService Unexpected - no class for {http://www.alfresco.org/model/cmis/1.0/cs01}relationship - cannot create assocDefs for: [{http://www.cnr.it/model/jconon_attachment/cmis}in_prodotto, {http://www.alfresco.org/model/system/1.0}archiveUserLink, {http://www.alfresco.org/model/system/1.0}archivedLink, {http://www.alfresco.org/model/system/1.0}lost_found, {http://www.alfresco.org/model/system/1.0}children, {http://www.alfresco.org/model/content/1.0}attachments, {http://www.alfresco.org/model/content/1.0}references, {http://www.alfresco.org/model/content/1.0}mlContainer, {http://www.alfresco.org/model/content/1.0}workingcopylink, {http://www.alfresco.org/model/content/1.0}mlChild, {http://www.alfresco.org/model/content/1.0}basis, {http://www.alfresco.org/model/content/1.0}failedThumbnail, {http://www.alfresco.org/model/content/1.0}formats, {http://www.alfresco.org/model/content/1.0}contains, {http://www.alfresco.org/model/content/1.0}subscribedBy, {http://www.alfresco.org/model/content/1.0}member, {http://www.alfresco.org/model/content/1.0}parts, {http://www.alfresco.org/model/content/1.0}replaces, {http://www.alfresco.org/model/content/1.0}inZone, {http://www.alfresco.org/model/content/1.0}avatar, {http://www.alfresco.org/model/content/1.0}subcategories, {http://www.alfresco.org/model/content/1.0}original, {http://www.alfresco.org/model/content/1.0}ratings, {http://www.alfresco.org/model/rendition/1.0}rendition, {http://www.alfresco.org/model/content/1.0}preferenceImage, {http://www.alfresco.org/model/content/1.0}translations, {http://www.alfresco.org/model/content/1.0}categories]
2022-09-20 14:51:20.323 ERROR (qtp1205044462-18) [ x:alfresco] o.a.s.h.RequestHandlerBase org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Type is unsupported in query: jconon_call:folder