Reputation: 65
Looking for anyone that has Alfresco content store migration experience. I'm no stranger to the Alfresco-Ansible-Deployment migration steps needed to move Contentstore & database between Alfresco Community versions. However, 7.4 appears to be Special. The only thing different for this migration was the SecureComms setting between SOLR6 and Alfresco.
Migrated 5.2 to 7.1 (SecureComms=none), No Issues. I can read/write to my documents. Migrated 7.1 to 7.2 (SecureComms=none), No Issues. I can read/write to my documents. Migrated 7.2 to 7.4 (SecureComms=secret), Issues! I can read but can not write to, comment, or favorite ANY documents.
Examples:
alfresco, catalina, and solr logs show NO corresponding errors when this popup occurs. I posted Questions in Alfresco Forum over at hyland several days ago, but no replies.
Been trying to get my data writable for a week now and beginning to think this might just be a 7.4 bug?
I recall seeing a similar issue when migrating from 5.2 to 7.1 but back then the work around was setting SecureComms=none then it started working again however that doesn't appear to be an option ib 7.4 and SecureComms secret must be set between SOLR and ALFRESCO.
Any ideas would be welcome.
Upvotes: -3
Views: 54
Reputation: 65
SOLUTION: This was do to CORS. During the ansble install you can address it by defining known_url in group_vars/all.yml.
known_urls:
http://localhost:8080
http://host.domain.com
https://host.domain.com
https://host.domain.com/share
This will ultimately end up in alfresco-global.properties as:
#CSRF filter overrides
csrf.filter.enabled=true
csrf.filter.referer=^https?://host\\.domain\\.com(/.*)?
csrf.filter.referer.always=false
csrf.filter.origin=^https?://host\\.domain\\.com(/.*)?
csrf.filter.origin.always=false
Upvotes: 0