我没有看到与发布作者同步的新用户信息(或用户个人资料的更新)。
当我在Publish上创建一个新用户时,我可以看到Author上有一个“SimpleDistributionAgent”但我在Author中找不到用户(搜索整个crx)。
我做了所有的osgi配置,如下所示: https://docs.adobe.com/docs/en/aem/6-2/administer/security/security/sync.html
我在日志中看不到任何错误......
发布error.log
09.03.2017 14:27:41.711 *INFO* [127.0.0.1 [1489091261702] POST /libs/sling/distribution/services/exporters/socialpubsync-reverse HTTP/1.1] org.apache.sling.distribution.servlet.DistributionPackageExporterServlet Processed distribution export request in 8 ms: : fetched 1
09.03.2017 14:27:41.841 *INFO* [127.0.0.1 [1489091261793] POST /libs/sling/distribution/services/exporters/socialpubsync-reverse HTTP/1.1]
org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync-reverse] exported package distrpackage_1489091245609_7459cd18-91d9-404c-bb08-a296dd5d4aa4 with info DistributionPackageInfo{ request.type=ADD,
request.paths=[/home/users/C/C3Pz6GaEbUDD5-rdYr7Z/profile]} from queue default by exporter socialpubsync-reverse
作者error.log
09.03.2017 14:27:41.740 *INFO* [sling-default-19-scheduledEventTriggerorg.apache.sling.distribution.agent.impl.SimpleDistributionAgent$AgentBasedRequestHandler@7971f913]
org.apache.jackrabbit.vault.packaging.impl.JcrPackageDefinitionImpl unwrapping package sling/distribution:socialpubsync-vlt_1489091245573_674d4c01-853e-4c53-8828-31f63dda85d2:0.0.1
09.03.2017 14:27:41.801 *INFO* [sling-threadpool-70fe0a04-9496-4992-803d-ea75f39514ae-(apache-sling-job-thread-pool)-3-org_apache_sling_distribution_queue_socialpubsync_endpoint0(org/apache/sling/distribution/queue/socialpubsync/endpoint0)]
org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync] [endpoint0] PACKAGE-DELIVERED DSTRQ45:
ADD paths=[/home/users/C/C3Pz6GaEbUDD5-rdYr7Z/profile], importTime=6ms, execTime=879ms, size=5058B
“作者和发布同步诊断”中没有错误
我错过了什么?
答案 0 :(得分:0)
用户同步不会在作者上创建用户。同步仅在发布者之间进行。
自AEM 6.1起,启用用户同步后,用户数据将自动在服务器场中的发布实例之间同步,并且不会在作者上创建。
https://docs.adobe.com/docs/en/aem/6-2/administer/security/security/sync.html
通过上面的设置,我启动了2个发布实例(4503,4504),当我创建或更新任何用户(或配置文件)时,数据在两个发布实例之间同步。