cancel
Showing results for 
Search instead for 
Did you mean: 

Issues seen post 7.1 to 7.4 data/content migration.

michaelzietlow
Confirmed Champ
Confirmed Champ

Hi,

I've installed Alfresco 7.4 with ansible (installer v2.0) and migrated my database and content store to it.  All services are running, I can a...

index.subsystem.name=solr6
solr.host=solr6 solr.port=8983 solr.secureComms=secret solr.sharedSecret=secret

&

Recommended settings for solrcore.properties (both cores: alfresco and archive)

alfresco.host=alfresco
alfresco.port=8080
alfresco.secureComms=secret
alfresco.secureComms.secret=secret

As you can see here communications between Alfresco and Solr were configured to use "secret" but nothing can be changed, only viewed:

EXAMPLE:
I Select "Like"

michaelzietlow_0-1738356741529.jpeg

I see Failed to save to favorite pop-up:

michaelzietlow_1-1738356783544.jpeg

Tailing /var/log/alfresco/catalina.out durring startup shows a doclist error when I 1st login. But says nothing else when the Failed message appears...

 

 

The only log I see populating during the failure is the nginx log which is just coincidental:

 

10.1.1.2 - - [30/Jan/2025:16:29:49 -0800] "GET /share/proxy/alfresco/api/people/admin_user/preferences?pf=org.alfresco.share.documents.favourites HTTP/1.1" 200 130 "https://alfresco1.dmz.moesol.com/share/page/site/it/document-details?nodeRef=workspace://SpacesStore/f23605fc-a675-4d3d-8a35-eedf49489d0c" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
10.1.1.2 - - [30/Jan/2025:16:29:49 -0800] "POST /share/proxy/alfresco/api/people/admin_user/preferences HTTP/1.1" 403 0 "https://alfresco1.dmz.moesol.com/share/page/site/it/document-details?nodeRef=workspace://SpacesStore/f23605fc-a675-4d3d-8a35-eedf49489d0c" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
10.1.1.20 - - [30/Jan/2025:16:29:50 -0800] "GET /alfresco/service/api/solr/aclchangesets?fromId=0&toId=2000&maxResults=1 HTTP/1.1" 400 73 "-" "Jakarta Commons-HttpClient/3.1"
10.1.1.20 - - [30/Jan/2025:16:29:50 -0800] "GET /alfresco/service/api/solr/transactions?fromCommitTime=0&toCommitTime=0&baseUrl=%2Fsolr%2Falfresco&hostName=localhost&template=rerank&state.property.coreName=alfresco&instance=0&numberOfShards=1&port=8983&stores=workspace%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=DB_ID&lastUpdated=1738283390001&lastIndexedChangeSetCommitTime=1738274028727&lastIndexedChangeSetId=3028&lastIndexedTxCommitTime=1738274028746&lastIndexedTxId=239104 HTTP/1.1" 400 73 "-" "Jakarta Commons-HttpClient/3.1"
10.1.1.20 - - [30/Jan/2025:16:29:50 -0800] "GET /alfresco/service/api/solr/aclchangesets?fromId=0&toId=2000&maxResults=1 HTTP/1.1" 400 73 "-" "Jakarta Commons-HttpClient/3.1"
10.1.1.20 - - [30/Jan/2025:16:29:50 -0800] "GET /alfresco/service/api/solr/transactions?fromCommitTime=0&toCommitTime=0&baseUrl=%2Fsolr%2Farchive&hostName=localhost&template=rerank&state.property.coreName=archive&instance=0&numberOfShards=1&port=8983&stores=archive%3A%2F%2FSpacesStore&isMaster=true&hasContent=true&shardMethod=DB_ID&lastUpdated=1738283390001&lastIndexedChangeSetCommitTime=1738274028727&lastIndexedChangeSetId=3028&lastIndexedTxCommitTime=1738274028746&lastIndexedTxId=239104 HTTP/1.1" 400 73 "-" "Jakarta Commons-HttpClient/3.1"
10.1.1.20 - - [30/Jan/2025:16:29:50 -0800] "POST /alfresco/service/api/solr/modelsdiff HTTP/1.1" 400 98 "-" "Jakarta Commons-HttpClient/3.1"
 

 


SOLUTION:   (Fixed this last week but the moderators aren't posting my updates yet. so will post here.)
I updated 
csrf.filter.referer
cors.allowed.origins

This can be addressed in the ansible installation via the known_url:  variable 

 

 

 

 

 

 

 

 

3 REPLIES 3

michaelzietlow
Confirmed Champ
Confirmed Champ

Seeing errors like this in solr.log:

2025-02-01 00:30:42.034 ERROR (searcherExecutor-7-thread-1-processing-x:archive) [   x:archive] o.a.s.t.ModelTracker Model tracking failed for core: archive
org.alfresco.error.AlfrescoRuntimeException: 01010000 api/solr/modelsdiff return status:400
at org.alfresco.solr.client.SOLRAPIClient.callRepository(SOLRAPIClient.java:1598)
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1105)
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.ensureFirstModelSync(ModelTracker.java:297)
at org.alfresco.solr.lifecycle.SolrCoreLoadListener.createModelTracker(SolrCoreLoadListener.java:345)
at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:139)
at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
2025-02-01 00:30:42.055 WARN  (searcherExecutor-8-thread-1-processing-x:alfresco) [   x:alfresco] o.a.s.t.MetadataTracker nextTxCommitTimeService is not available. Upgrade your ACS Repository version in order to use this feature: alfresco - GetNextTxCommitTime return status is 400 when invoking api/solr/nextTransaction?fromCommitTime=0 
2025-02-01 00:30:42.055 WARN  (searcherExecutor-7-thread-1-processing-x:archive) [   x:archive] o.a.s.t.MetadataTracker nextTxCommitTimeService is not available. Upgrade your ACS Repository version in order to use this feature: archive - GetNextTxCommitTime return status is 400 when invoking api/solr/nextTransaction?fromCommitTime=0 
2025-02-01 00:30:42.063 ERROR (searcherExecutor-7-thread-1-processing-x:archive) [   x:archive] o.a.s.c.SolrCore null:java.lang.NoClassDefFoundError: org/springframework/transaction/support/TransactionSynchronization
at org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache.onRefreshableCacheEvent(AbstractAsynchronouslyRefreshedCache.java:253)
at org.alfresco.util.cache.DefaultAsynchronouslyRefreshedCacheRegistry.broadcastEvent(DefaultAsynchronouslyRefreshedCacheRegistry.java:58)
at org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache.refresh(AbstractAsynchronouslyRefreshedCache.java:235)
at org.alfresco.solr.component.AsyncBuildSuggestComponent$SuggesterListener.newSearcher(AsyncBuildSuggestComponent.java:589)
at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.ClassNotFoundException: org.springframework.transaction.support.TransactionSynchronization
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:538)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 10 more
 

michaelzietlow
Confirmed Champ
Confirmed Champ

Bump...

Is this the wrong forum for Alfresco/Solr6 help?

michaelzietlow
Confirmed Champ
Confirmed Champ

 I'm several days into this troubleshooting, trying different techniques and cant get 7.4 to accept any kind of a change or addition of data.  Beginning to think the issue is with Alfresco7.4 itself and I should just stay at 7.1.   Has anyone run Alfresco Community 7.4 successfully?