Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Could not build Package "no space left in device" when building packages via crxde or curl command AEM 6.1

Avatar

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

13-02-2019

Hi Community and Staffs,

I'm new to AEM6.1 and just want to seek help from here. I am building packages recently using crxde package manager and curl commands, however, I have encountered an error that does not allow me to build packages anymore. I deleted the package that I've built everytime and now I am confused that I've encountered this error. Am I doing it right? How can I free up space and on what directory should I free up?

Can someone help me regarding with this matter? Any answer is really appreciated. Thank you!

Best Regards,
Alvin

Replies

Avatar

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

13-02-2019

Tagging people who help me a lot:

Jörg Hoh​ , User Testing​ , smacdonald2008

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

13-02-2019

Cleanup/Increase the temp directory space however you've configured it, either /tmp on linux/Mac or if you pass it via cmd line to AEM using -Djava.io.tmpdir=/path/to/tmpdir

Avatar

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

13-02-2019

Hi ,

Thank you for your answer., can you elaborate on how can I cleanup the temp directory space?  where can I find the /tmp? thank you

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

13-02-2019

Check the AEM start script (bat/sh/command line/terminal) 

Do you see any parameter like this one    -Djava.io.tmpdir=</path/to/tmpdir>

If yes, then /path/to/tmpdir  is the configured temp directory for your AEM instance.

Otherwise, on mac/linux - check the size of /tmp or delete everything under /tmp to create some space.

If you're using Win, then open '%temp%' in Run command and cleanup/delete files and create more space in temp directory.

Avatar

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

13-02-2019

Hi ,

Thank you for your quick response, is /tmp accessible via localhost:4502/crx/de? I am using linux

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

13-02-2019

that is via filesystem

open terminal and check the size of /tmp

df -h /tmp

Avatar

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

13-02-2019

Hi ,

it returned this result:

             

dev/xdva1

Total size : 7.8gb

Used size : 7.7gb

Available size: 5.5mb

Mounted on : /

Am I doing it right? How can I clean up this? thank you so much

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

13-02-2019

yes, you're fine. there is hardly any memory free in /tmp

cd /tmp

rm -rf *

run 'rm' within /tmp only

Avatar

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

Avatar
Validate 1
Level 3
Alvin_Parreno
Level 3

Likes

12 likes

Total Posts

35 posts

Correct Reply

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

13-02-2019

Hi,

I'm currently not in my machine anymore. Is it safe to rm rf tmp ? Can I have a chance to take a look inside the tmp folder before I do the procedure?