solr - Alfresco Community 7.1 to 7.4 content Migration resulting in "Failed to save" errors for everyone - Sta

Looking for anyone that has Alfresco content store migration experience. I'm no stranger to the Al

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:

  1. When Clicking "Favorite" to a file or image: I see "Failed to save favorite" pop-up
  2. When Clicking "Comment" : I see "Failed to save comment" pop-up
  3. When Clicking "Like" : I see "Failed to save like" pop-up
  4. I even tried logging in with an admin user thinking it might be access related but I see the same pop-up's. =(
  5. I also blew away the index and had SOLR6 do a full re-index.

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.

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:

  1. When Clicking "Favorite" to a file or image: I see "Failed to save favorite" pop-up
  2. When Clicking "Comment" : I see "Failed to save comment" pop-up
  3. When Clicking "Like" : I see "Failed to save like" pop-up
  4. I even tried logging in with an admin user thinking it might be access related but I see the same pop-up's. =(
  5. I also blew away the index and had SOLR6 do a full re-index.

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.

Share Improve this question edited Feb 4 at 22:43 Michael Zietlow asked Feb 4 at 19:38 Michael ZietlowMichael Zietlow 657 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 0

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
https://host.domain
https://host.domain/share

This will ultimately end up in alfresco-global.properties as:

#CSRF filter overrides
csrf.filter.enabled=true
csrf.filter.referer=^https?://host\\.domain\\(/.*)?
csrf.filter.referer.always=false
csrf.filter.origin=^https?://host\\.domain\\(/.*)?
csrf.filter.origin.always=false

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745236614a4617931.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信