最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin1浏览0评论

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

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论