Problem with the visibility of documents

cancel
Showing results for 
Search instead for 
Did you mean: 
braiank
Member II

Problem with the visibility of documents

Jump to solution

Hi, I have a problem with the visibility of documents. I started the components, added the file via the BPM platform and I can download it there. Unfortunately, I cannot see this document directly on alfresco. I have some tips, but I don't know how to improve them. I assume there is something wrong with solr because I can see the message Alfresco is running without Search Service...

Alfresco community 7.0 on windows server 2016

Below are some screenshots and info:

image.png

2021-10-25 17:58:51.313 INFO  (main) [   ] o.e.j.s.Server jetty-9.3.27.v20190418, build timestamp: 2019-04-18T18:11:38Z, git hash: d3e249f86955d04bc646bb620905b7c1bc596a8d
2021-10-25 17:58:53.945 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter  ___      _       Welcome to Apache Solr™ version 6.6.5-patched.2 660ad3d2332b99205fbc436047f8d547511cd767 - tpage - 2019-11-27 08:18:56
2021-10-25 17:58:53.961 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _   Starting in standalone mode on port 8983
2021-10-25 17:58:53.961 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_|  Install dir: C:\IBPM\alfresco-search-services\solr
2021-10-25 17:58:53.961 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter |___/\___/_|_|    Start time: 2021-10-25T17:58:53.961361Z
2021-10-25 17:58:55.080 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1944, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or 'C:\IBPM\alfresco-search-services\solrhome\archive'
2021-10-25 17:58:55.080 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1944, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or 'C:\IBPM\alfresco-search-services\solrhome\alfresco'
2021-10-25 17:58:55.174 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.c.Config You should not use LATEST as luceneMatchVersion property: if you use this setting, and then Solr upgrades to a newer release of Lucene, sizable changes may happen. If precise back compatibility is important then you should instead explicitly specify an actual Lucene version.
2021-10-25 17:58:55.877 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [org.apache.solr.analysis.WordDelimiterFilterFactory]. Please consult documentation how to replace it accordingly.
2021-10-25 17:58:55.877 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Please consult documentation how to replace it accordingly.
2021-10-25 17:58:55.892 INFO  (main) [   ] o.e.j.s.Server Started @6040ms
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field content@s____@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field content@s__lt@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field text@s__sort@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field text@s____@* is not multivalued and destination for multiple copyFields (16)
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field content@s__l_@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field text@s__l_@* is not multivalued and destination for multiple copyFields (16)
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field text@s__lt@* is not multivalued and destination for multiple copyFields (16)
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field text@s___t@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.071 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.s.IndexSchema Field content@s___t@* is not multivalued and destination for multiple copyFields (4)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field content@s____@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field content@s__lt@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field text@s__sort@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field text@s____@* is not multivalued and destination for multiple copyFields (16)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field content@s__l_@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field text@s__l_@* is not multivalued and destination for multiple copyFields (16)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field text@s__lt@* is not multivalued and destination for multiple copyFields (16)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field text@s___t@* is not multivalued and destination for multiple copyFields (8)
2021-10-25 17:58:56.118 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.s.IndexSchema Field content@s___t@* is not multivalued and destination for multiple copyFields (4)
2021-10-25 17:58:57.231 WARN  (coreLoadExecutor-6-thread-1) [   ] o.a.s.h.c.ClusteringComponent No default engine for document clustering.
2021-10-25 17:58:57.231 WARN  (coreLoadExecutor-6-thread-2) [   ] o.a.s.h.c.ClusteringComponent No default engine for document clustering.
2021-10-25 18:10:34.439 WARN  (qtp1423561005-23) [   ] o.a.s.u.DirectUpdateHandler2 Starting optimize... Reading and rewriting the entire index! Use with care.

image.png

image.pngimage.pngimage.png

http://127.0.0.1:8983/solr/admin/cores?action=summary&core=alfresco&wt=json

{"responseHeader":{"status":0,"QTime":7},"Summary":{"alfresco":{"Alfresco Acls in Index":69,"Alfresco Nodes in Index":719,"Alfresco Transactions in Index":34,"Alfresco Acl Transactions in Index":11,"Alfresco States in Index":2,"Alfresco Unindexed Nodes":0,"Alfresco Error Nodes in Index":0,"Searcher":{"searcherName":"Searcher@16826e71[alfresco] main","caching":true,"numDocs":835,"maxDoc":835,"deletedDocs":0,"reader":"ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_b(6.6.5):C835)))","readerDir":"org.apache.lucene.store.NRTCachingDirectory:NRTCachingDirectory(MMapDirectory@C:\\IBPM\\alfresco-search-services\\solrhome\\alfresco\\index lockFactory=org.apache.lucene.store.NativeFSLockFactory@5798c3d9; maxCacheMB=48.0 maxMergeSizeMB=4.0)","indexVersion":35,"openedAt":"2021-10-25T17:59:40.159Z","registeredAt":"2021-10-25T17:59:40.159Z","warmupTime":0},"/alfresco":{"handlerStart":1635184736962,"requests":0,"errors":0,"serverErrors":0,"clientErrors":0,"timeouts":0,"totalTime":0.0,"avgRequestsPerSecond":0.0,"5minRateRequestsPerSecond":0.0,"15minRateRequestsPerSecond":0.0,"avgTimePerRequest":0.0,"medianRequestTime":0.0,"75thPcRequestTime":0.0,"95thPcRequestTime":0.0,"99thPcRequestTime":0.0,"999thPcRequestTime":0.0},"/cmis":{"handlerStart":1635184736962,"requests":0,"errors":0,"serverErrors":0,"clientErrors":0,"timeouts":0,"totalTime":0.0,"avgRequestsPerSecond":0.0,"5minRateRequestsPerSecond":0.0,"15minRateRequestsPerSecond":0.0,"avgTimePerRequest":0.0,"medianRequestTime":0.0,"75thPcRequestTime":0.0,"95thPcRequestTime":0.0,"99thPcRequestTime":0.0,"999thPcRequestTime":0.0},"/alfrescoPathCache":{"lookups":0,"hits":0,"hitratio":0.0,"inserts":0,"evictions":0,"size":0,"warmupTime":0,"cumulative_lookups":0,"cumulative_hits":0,"cumulative_hitratio":0.0,"cumulative_inserts":0,"cumulative_evictions":0},"/queryResultCache":{"lookups":37,"hits":35,"hitratio":0.95,"inserts":6,"evictions":0,"size":6,"warmupTime":0,"cumulative_lookups":844,"cumulative_hits":55,"cumulative_hitratio":0.07,"cumulative_inserts":789,"cumulative_evictions":0},"/alfrescoAuthorityCache":{"lookups":0,"hits":0,"hitratio":0.0,"inserts":0,"evictions":0,"size":0,"warmupTime":0,"cumulative_lookups":0,"cumulative_hits":0,"cumulative_hitratio":0.0,"cumulative_inserts":0,"cumulative_evictions":0},"/filterCache":{"lookups":71,"hits":69,"hitratio":0.97,"inserts":3,"evictions":0,"size":3,"warmupTime":0,"cumulative_lookups":71,"cumulative_hits":69,"cumulative_hitratio":0.97,"cumulative_inserts":3,"cumulative_evictions":0},"/afts":{"handlerStart":1635184736962,"requests":0,"errors":0,"serverErrors":0,"clientErrors":0,"timeouts":0,"totalTime":0.0,"avgRequestsPerSecond":0.0,"5minRateRequestsPerSecond":0.0,"15minRateRequestsPerSecond":0.0,"avgTimePerRequest":0.0,"medianRequestTime":0.0,"75thPcRequestTime":0.0,"95thPcRequestTime":0.0,"99thPcRequestTime":0.0,"999thPcRequestTime":0.0},"Searcher-0":{"Searcher":{"searcherName":"Searcher@16826e71[alfresco] main","caching":true,"numDocs":835,"maxDoc":835,"deletedDocs":0,"reader":"ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_b(6.6.5):C835)))","readerDir":"org.apache.lucene.store.NRTCachingDirectory:NRTCachingDirectory(MMapDirectory@C:\\IBPM\\alfresco-search-services\\solrhome\\alfresco\\index lockFactory=org.apache.lucene.store.NativeFSLockFactory@5798c3d9; maxCacheMB=48.0 maxMergeSizeMB=4.0)","indexVersion":35,"openedAt":"2021-10-25T17:59:40.159Z","registeredAt":"2021-10-25T17:59:40.159Z","warmupTime":0}},"Number of Searchers":1,"Total Searcher Cache (GB)":0,"On disk (GB)":"0.003089","Per node B":4613,"FTS":{"Node count whose content is in sync":719,"Node count whose content needs to be updated":0},"Active":false,"ModelTracker Active":false,"ContentTracker Active":false,"MetadataTracker Active":false,"AclTracker Active":false,"ContentTracker Enabled":true,"MetadataTracker Enabled":true,"AclTracker Enabled":true,"CascadeTracker Enabled":true,"Last Index TX Commit Time":1635065259177,"Last Index TX Commit Date":"2021-10-24T08:47:39.177Z","TX Lag":"0 s","TX Duration":"P0Y","Timestamp for last TX on server":1635065259177,"Date for last TX on server":"2021-10-24T08:47:39.177Z","Id for last TX on server":54,"Id for last TX in index":54,"Approx transactions remaining":0,"Approx transaction indexing time remaining":"0 Seconds","Last Index Change Set Commit Time":1635064972038,"Last Index Change Set Commit Date":"2021-10-24T08:42:52.038Z","Change Set Lag":"0 s","Change Set Duration":"P0Y","Timestamp for last Change Set on server":1635064972038,"Date for last Change Set on server":"2021-10-24T08:42:52.038Z","Id for last Change Set on server":15,"Id for last Change Set in index":15,"Approx change sets remaining":0,"Approx change set indexing time remaining":"0 Seconds","Approx content indexing time remaining":"0 Seconds","Model sync times (ms)":{"Start":null,"N":0,"Min":0.0,"Max":0.0,"Mean":0.0,"Varience":"NaN","StdDev":"NaN"},"Acl index time (ms)":{"Start":"2021-10-25T17:59:02.449Z","N":4,"Min":0.454281,"Max":62.528337,"Mean":17.1769965,"Varience":917.0237531099975,"StdDev":30.282400055312618},"Node index time (ms)":{"Start":"2021-10-25T17:59:03.523Z","N":763,"Min":0.327993,"Max":483.309415,"Mean":14.276897162516377,"Varience":2279.8991918051797,"StdDev":47.74828993592524},"Docs/Tx":{"Start":"2021-10-25T17:59:06.681Z","N":35,"Min":1.0,"Max":563.0,"Mean":23.0,"Varience":9308.05882352941,"StdDev":96.4782816157575},"Doc Transformation time (ms)":{"Start":"2021-10-25T17:59:21.897Z","N":141,"Min":14.77261,"Max":2046.829762,"Mean":297.25044412765953,"Varience":101445.220622891,"StdDev":318.5046634240871}}}}

image.pngimage.png

I had such errors a few hours ago but I don't see them now

 

2021-10-25 11:47:00.005 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6ecd665_Worker-9) [   ] o.a.s.t.AbstractTracker [archive / ACL@1620420275 / IT #1635162420000] Tracking failure. See the stacktrace below for further details.
org.alfresco.error.AlfrescoRuntimeException: 0925113453 api/solr/aclchangesets return status:403
	at org.alfresco.solr.client.SOLRAPIClient.callRepository(SOLRAPIClient.java:1596)
	at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:185)
	at org.alfresco.solr.tracker.AclTracker.getSomeAclChangeSets(AclTracker.java:530)
	at org.alfresco.solr.tracker.AclTracker.trackAclChangeSets(AclTracker.java:728)
	at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:402)
	at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:161)
	at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:242)
	at org.alfresco.solr.tracker.ActivatableTracker.track(ActivatableTracker.java:97)
	at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:60)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
2021-10-25 11:47:00.005 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6ecd665_Worker-13) [   ] o.a.s.t.AbstractTracker [alfresco / ACL@1608868864 / IT #1635162420000] Tracking failure. See the stacktrace below for further details.
org.alfresco.error.AlfrescoRuntimeException: 0925113454 api/solr/aclchangesets return status:403
	at org.alfresco.solr.client.SOLRAPIClient.callRepository(SOLRAPIClient.java:1596)
	at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:185)
	at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:417)
	at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:398)
	at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:161)
	at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:242)
	at org.alfresco.solr.tracker.ActivatableTracker.track(ActivatableTracker.java:97)
	at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:60)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
2021-10-25 11:47:00.009 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6ecd665_Worker-8) [   ] o.a.s.t.AbstractTracker [archive / MODEL@960488966 / IT #1635162420001] Tracking failure. See the stacktrace below for further details.
org.alfresco.error.AlfrescoRuntimeException: 0925113455 api/solr/modelsdiff return status:403
	at org.alfresco.solr.client.SOLRAPIClient.callRepository(SOLRAPIClient.java:1596)
	at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1103)
	at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:313)
	at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:275)
	at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:235)
	at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:242)
	at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:60)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
2021-10-25 11:47:00.011 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@6ecd665_Worker-32) [   ] o.a.s.t.AbstractTracker [archive / NODE_STATE_PUBLISHER@1076740785 / IT #1635162420003] Tracking failure. See the stacktrace below for further details.
org.alfresco.error.AlfrescoRuntimeException: 0925113456 GetTransactions return status is 403
	at org.alfresco.solr.client.SOLRAPIClient.getTransactions(SOLRAPIClient.java:441)
	at org.alfresco.solr.tracker.ShardStatePublisher.doTrack(ShardStatePublisher.java:91)
	at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:242)
	at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:60)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

Any ideas?

 

1 Solution

Accepted Solutions
abhinavmishra14
Advanced

Re: Problem with the visibility of documents

Jump to solution

I think you should first resolve the warning that says : " Alfresco is running without Share Services. See your System Administrator for more details."

What this error means ?  -> alfresco-share-services.amp -> Alfresco share service module containing extensions for search, datalist, sample sites patch etc. This amp installation is mandatory otherwise several functionalities including share search may not work. And you will see following warning as you can see currently. 

I think you might have missed to install this alfresco-share-services.amp on the alfresco.war file. Try to install that and then troubleshoot your ongoing issue.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View solution in original post

3 Replies
fedorow
Senior Member II

Re: Problem with the visibility of documents

Jump to solution

"Alfresco is running without Share Services." not solr.

How did you add file?

braiank
Member II

Re: Problem with the visibility of documents

Jump to solution

Ahhh I know where is problem....

I can see documents in such a place http://localhost:8080/alfresco/webdav/BPM

So I have two problems, the first is that these documents are not shared and the second is that the share service does not work or does not detect it?

 

I adds these documents via bpm with this configuration

image.pngimage.pngsample add request:

cmis:name: aaaaaa
objectTypeId: cmis:document
documentId: 
snapshotId: 2064.472196ad-8ff2-49a1-b0f1-4889f4a95fc8
ecmServerConfigurationName: Alfresco
folderPath: /BPM
cmis:description: test
file: (binary)

response:

<serviceResponse returnLength="1">
  <output name="documentId">workspace://SpacesStore/712674e8-2c39-4567-af13-0bf0a9a48f67;1.0 </output>
</serviceResponse>
abhinavmishra14
Advanced

Re: Problem with the visibility of documents

Jump to solution

I think you should first resolve the warning that says : " Alfresco is running without Share Services. See your System Administrator for more details."

What this error means ?  -> alfresco-share-services.amp -> Alfresco share service module containing extensions for search, datalist, sample sites patch etc. This amp installation is mandatory otherwise several functionalities including share search may not work. And you will see following warning as you can see currently. 

I think you might have missed to install this alfresco-share-services.amp on the alfresco.war file. Try to install that and then troubleshoot your ongoing issue.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)