As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
From standard installation and configuration, files imported via GUI are correctly indexed but not imported files.
Any solution ?
Regards,
Hi! Could you please attach your logs? Looks like you have a problem with Solr, but we need to know if there are errors.
Cheers,
Cris.
Can you give me instructions to get log file(s) you desire ? (sorry, I'm newbie on this solution).
Sure. Which Alfresco version are you using?
Latest Alfresco ACS Community Edition release available : 7.1
Deployed with docker-compose
Go to your installation root path, e.g. /opt/alfresco, then launch this query:
sudo docker-compose logs -f --tail 500 docker-compose_solr6_1
Where "docker-compose_solr6_1" is the container name you want to check
In order to know the names, launch this query:
sudo docker-compose ps
This is what I recommend you:
- Stop you alfresco.
- Start it.
- Check the logs.
- Try to reproduce the problem.
- Check again the logs and let us know.
Cheers!
Logs after restarted and reimported files: https://pastebin.com/JjmMPM1s
Hi, @ludoADV !
solr6_1 | 2021-08-05 15:06:11.913 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@22ee2d0_Worker-8) [ ] o.a.s.t.AbstractTracker [alfresco / ACL@788992700 / IT #1628175970000] Tracking failure. See the stacktrace below for further details. solr6_1 | java.net.SocketException: Connection reset
Your installation is the one by default? In case yes, there is a bug recognized and fixed with Search Service 2.0.
Could you please attach too Alfresco log, please? I want to see if the problem is Solr itself or it's something becoming from Alfresco server side.
Cheers.
P.S.: Maybe @angelborroy can help you with this issue.
I confirm I used community-docker-compose.yml
See logs: https://pastebin.com/1jyzkAxZ
@ludoADV wrote:I confirm I used community-docker-compose.yml
This is not an Alfresco version. In your log I can see it:
alfresco_1 | 2021-08-06 07:43:20,185 INFO [service.descriptor.DescriptorService] [main] Alfresco Content Services started (Community). Current version: 7.0.0 (rdf924796-blocal) schema 14,002. Originally installed version: 7.0.0 (rdf924796-blocal) schema 14,002.
You are using Current version: 7.0.0 (rdf924796-blocal) schema 14,002.
In your log, I cannot see any error related to Solr (is it working today the indexation?) but, this morning you have a failure with your database:
alfresco_1 | 2021-08-06 07:41:10,226 ERROR [repo.transaction.RetryingTransactionHelper] [http-nio-8080-exec-8] Rollback failure. Normal retry behaviour will resume. alfresco_1 | org.springframework.transaction.TransactionSystemException: JDBC rollback failed; nested exception is org.postgresql.util.PSQLException: This connection has been closed.
Then I can see your alfresco restarted, I can see the following error:
alfresco_1 | 2021-08-06 09:05:51,333 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-8] Exception from executeScript: 07060004 Script url /bulkfsimport/initiate does not support the method GET alfresco_1 | org.springframework.extensions.webscripts.WebScriptException: 07060004 Script url /bulkfsimport/initiate does not support the method GET
But this issue is caused by bulk import tool, nothing to see with the original error.
The problem I can see is that you have provided me a solr log from yesterday with a concrete error and today you have provided me an Alfresco log in a diferent day with nothing related to the original error (logs are getting from different days and time!).
When you want to see a concrete error the best option is stop your alfresco, start it, reproduce the problem and paste Alfresco and Solr logs during this preiod of time. So if you are having troubles, it's provably the technical erro will appear on these lines. Could you please do this?
Also, where is stored status.xml ?
What is it related? Bulk import tool?
Cristina.
alfresco logs: https://pastebin.com/PMekdh39
solr logs: https://pastebin.com/R6jYfMHR
Nothing related to Solr but you have several errors related to Bulk Import:
[36malfresco_1 |[0m 2021-08-06 09:41:47,319 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-4] Exception from executeScript: 07060000 Script url /bulkfsimport/initiate does not support the method GET [36malfresco_1 |[0m org.springframework.extensions.webscripts.WebScriptException: 07060000 Script url /bulkfsimport/initiate does not support the method GET
Your issue is related with those documents you are trying to import and is getting this error.
Which steps are you performing in order to use Bulk Import?
@ludoADV wrote:Can you give me instructions to get log file(s) you desire ? (sorry, I'm newbie on this solution).
In additon try enabling these logs as debug and then share the logs as @cristinamr mentioned there is nothing specific to solr. The below logs would intercept all solr httpcalls and trackers
Log settings on alfresco layer:
#Solr query and httpclient logs log4j.logger.org.alfresco.solr.query.AbstractQParser=DEBUG log4j.logger.org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient=DEBUG
Logs settings on search service layer:
#Indexing tracker logs log4j.logger.org.alfresco.solr.tracker.AclTracker=DEBUG log4j.logger.org.alfresco.solr.tracker.ContentTracker=DEBUG log4j.logger.org.alfresco.solr.tracker.MetadataTracker=DEBUG log4j.logger.org.alfresco.solr.tracker.ModelTracker=DEBUG
The above logs may give some insights.
where I can edit configuration file ?
Note import works, but not files are not indexed