Add config for User Synchronization

Avatar

Avatar
Give Back 3
Level 2
prashanth55
Level 2

Likes

7 likes

Total Posts

20 posts

Correct reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile

Avatar
Give Back 3
Level 2
prashanth55
Level 2

Likes

7 likes

Total Posts

20 posts

Correct reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile
prashanth55
Level 2

09-02-2019

Hi All,

I am trying to configure the user synchronization in my application by using the config files in apps.

This is the config PID org.apache.sling.distribution.agent.impl.SyncDistributionAgentFactory.84634fbb-92e9-47b3-8aa4-4ef21ce62504 from configMgr, but the id is diffrent in each environment.

When I am trying to add config, it's creating a new configuration, but I have to override this existing one.  How to add the config to override the existing config in all environments.

Following steps from this Article: User Synchronization

Using the AEM6.4 Version.

Please help me to resolve this issue.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
Gaurav-Behl
MVP

11-02-2019

Why would publish servers have "existing configs"?

If there are any pre-existing configs, then you could delete them (after thorough vetting that you don't break anything) either manually, or simply create a replica in author and then deactivate.

Answers (6)

Answers (6)

Avatar

Avatar
Give Back 3
Level 2
prashanth55
Level 2

Likes

7 likes

Total Posts

20 posts

Correct reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile

Avatar
Give Back 3
Level 2
prashanth55
Level 2

Likes

7 likes

Total Posts

20 posts

Correct reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile
prashanth55
Level 2

11-02-2019

Thanks @gauravb4115071,

It's working after deleting the existing config.

Avatar

Avatar
Give Back 3
Level 2
prashanth55
Level 2

Likes

7 likes

Total Posts

20 posts

Correct reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile

Avatar
Give Back 3
Level 2
prashanth55
Level 2

Likes

7 likes

Total Posts

20 posts

Correct reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile
prashanth55
Level 2

10-02-2019

Do we need to manually delete the existing config from all publish servers or there is any way to do it

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

277 likes

Total Posts

1,502 posts

Correct reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

277 likes

Total Posts

1,502 posts

Correct reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

10-02-2019

Can you delete the existing configs under /apps/system or /apps/<project>/config.author and config.publish?

and then package those configs from lower environment?

Avatar

Avatar
Give Back 3
Level 2
prashanth55
Level 2

Likes

7 likes

Total Posts

20 posts

Correct reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile

Avatar
Give Back 3
Level 2
prashanth55
Level 2

Likes

7 likes

Total Posts

20 posts

Correct reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 5
View profile
prashanth55
Level 2

10-02-2019

Thank you smacdonald2008 and @gauravb41175071 for the reply.

I have created the config folders under /apps/system like 1688855_pastedImage_2.png

It is created a new config for Adobe Granite Distribution - Diff Observer Factory ., But we have to override the existing one.

1688856_pastedImage_4.png

No errors in the user sync diagnostics.

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
Gaurav-Behl
MVP

10-02-2019

Could you share more details regarding "When I am trying to add config, it's creating a new configuration, but I have to override this existing one.  How to add the config to override the existing config in all environments."

Have you created the config under /apps/system or /apps/<project>/config.author and config.publish?

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

10-02-2019

In the above doc topic - there is a troubleshooting section. Did you use the User Sync Diagnostics tool to see if there any problems.