var clientlibs deleted

Avatar

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
Level 3

08-09-2016

Hi Experts,

  In one of our environments we cleared the clientlibs cache by using "Invalidate Cache" in

http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html.

This deleted the var/clientlibs folder. Now clientlibs are not at all loading and the var/clientlibs folder didnt get created again.

Please help us in identifying the issue.

Thanks,

Jai.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
Brumoon_Ahamat
Level 1

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
Brumoon_Ahamat
Level 1

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
Brumoon_Ahamat
Level 1

02-10-2016

Sure, in crx/de click on var/clientlibs, and then "Access control" tab where it show the "properties", and then add Principal "Everyone", and privileges "jcr:all". That was what I did to solve the problem. However, I later found out that principal should be "clientlib-service" with read write privileges. Hope this helps. Please let me know if this works.

Answers (7)

Answers (7)

Avatar

Avatar
Boost 5
Employee
dwalling
Employee

Likes

15 likes

Total Posts

48 posts

Correct reply

28 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
dwalling
Employee

Likes

15 likes

Total Posts

48 posts

Correct reply

28 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
dwalling
Employee

27-11-2016

@brumoona87688495 if you have Communities FP5 or later installed, we've discovered an incompatibility. Please see this suggestion:

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

If you do not have a Communities feature pack installed then the problem may be different and that solution may not apply

Avatar

Avatar
Validate 1
Level 2
jackie_chan_
Level 2

Likes

8 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
jackie_chan_
Level 2

Likes

8 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
jackie_chan_
Level 2

01-10-2016

Can you explain what you mean by"adding permissions to everyone jcr:all"?

I'm having the same issue and would love to know how you fixed it.

Thanks!

Avatar

Avatar
Validate 1
Level 1
Brumoon_Ahamat
Level 1

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
Brumoon_Ahamat
Level 1

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
Brumoon_Ahamat
Level 1

23-09-2016

Stumbled upon this while troubleshooting similar issue of deleting the /var/clientlibs. Recreating the folder did not work. After adding permissions to everyone jcr:all, it worked. Hope this will help someone else.

Avatar

Avatar
Validate 1
Level 7
Jitendra_S_Toma
Level 7

Likes

76 likes

Total Posts

617 posts

Correct reply

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

Avatar
Validate 1
Level 7
Jitendra_S_Toma
Level 7

Likes

76 likes

Total Posts

617 posts

Correct reply

84 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Jitendra_S_Toma
Level 7

09-09-2016

Hi Jai,

Here are things you can could to fix this issue.

  1. Even if you have deleted clientlibs folder, if you deploy your code again, it should be created.
  2. How do you expect to be created? AEM does not create this folder automatically for you.
  3. You can create this folder manually and deploy the code again. 

Jai1122 wrote...

Hi Experts,

  In one of our environments we cleared the clientlibs cache by using "Invalidate Cache" in

http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html.

This deleted the var/clientlibs folder. Now clientlibs are not at all loading and the var/clientlibs folder didnt get created again.

Please help us in identifying the issue.

Thanks,

Jai.

 

Avatar

Avatar
Give Back 3
Employee
Manish_Singh_1
Employee

Likes

15 likes

Total Posts

18 posts

Correct reply

4 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 10
View profile

Avatar
Give Back 3
Employee
Manish_Singh_1
Employee

Likes

15 likes

Total Posts

18 posts

Correct reply

4 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 10
View profile
Manish_Singh_1
Employee

09-09-2016

Did you try to rebuild the clientlibs from the same url? Which version of AEM are you using? Try creating the va/clientlibs folder yourself from crx/de and try again

Avatar

Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Level 10
Sham_HC
Level 10

Likes

161 likes

Total Posts

2,114 posts

Correct reply

1,204 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
Sham_HC
Level 10

08-09-2016

Invalidating cache will remove everything below /var/clientlibs but not root clientlibs. So surely something else happened. For now create the folder manually & restart the server

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,410 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,410 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

08-09-2016

Did you follow all the steps in the AEM docs:  https://docs.adobe.com/docs/en/cq/5-6/deploying/dispatcher/page_invalidate.html

Also - are you getting another messages in the log file?