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
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

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

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

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

13-02-2019

yes you should check what you're about to delete..

It depends on what all applications are running on that m/c and using /tmp. 

Use

du -sh /tmp/*

or simply check with ls -la

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, I will give a feedback a couple of hours later. I will let you know if I've been able to build packages again. Is this one of many options to consider or is there any other workaround to consider? Can you elaborate to me why this /tmp go full when its jusr holding a temporary file? Thank you so much

Avatar

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

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

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

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

13-02-2019

/tmp is the shared space for all apps running on that m/c hence in your case even 7.8 GB wasn't enough/was occupied by other apps and not available to AEM.

You may allocate a dedicated temp space to AEM via '-Djava.io.tmpdir=</path/to/tmpdir>' in the start script or otherwise clean /tmp as and when required/periodically.

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

14-02-2019

Hi gauravb41175071​,


our IT said that /dev/xvda1 is a root folder, therefore cannot be deleted. Am I on the right path?

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

14-02-2019

I have deleted the packages that I have build before but still this error  shows up

Avatar

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

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

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

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

14-02-2019

you don't have to delete/unmount /dev/xvda1, you just need to clear the files under it so that you can create more space that AEM would be able to utilize for building package.

from where did you delete the packages; /crx/packmgr or within  /tmp (/dev/xvda1) ?

If you're not allowed to delete /tmp files, then its better to shutdown AEM and allocate a dedicated temp space and then reboot and create your package to AEM.

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

14-02-2019

Hi gauravb41175071​,

I deleted the packages from /crx/packmgr . and still I can't build any packages

Avatar

Avatar
Validate 25
MVP
PuzanovsP
MVP

Likes

140 likes

Total Posts

543 posts

Correct Reply

165 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 10
View profile

Avatar
Validate 25
MVP
PuzanovsP
MVP

Likes

140 likes

Total Posts

543 posts

Correct Reply

165 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 10
View profile
PuzanovsP
MVP

14-02-2019

Hey Alvin,

Potential problem here is that you are trying to build tooo big package. E.g. you selected too high parent node, that contains too much data underneath and tmp run's out of space. As tmp is used as temporary copy location in this implementation of crx/packmgr.

As @gauravb41175071 ​said what you are seeing here, is an error that happens when you do not have enough disk space on your device.

Imagine copying a large video file in a small disk with not enough space, you get error insufficient space.

Here, you are seeing similar.

Speak again to your IT guy's what is a good place to put temporary files, then when starting up your AEM instance during startup add paratemerts -Djava.io.tmpdir with the path needed[0][1]

[0] configuration - Environment variable to control java.io.tmpdir? - Stack Overflow

[1] Command Line Start and Stop

Regards,

Peter

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

14-02-2019

Hi PuzanovsP​,

I have deleted every package that I built every time, how come I have produced this error? Can you help me? still not clear on me. Thank you

Avatar

Avatar
Validate 25
MVP
PuzanovsP
MVP

Likes

140 likes

Total Posts

543 posts

Correct Reply

165 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 10
View profile

Avatar
Validate 25
MVP
PuzanovsP
MVP

Likes

140 likes

Total Posts

543 posts

Correct Reply

165 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Contributor 2
Ignite 10
View profile
PuzanovsP
MVP

14-02-2019

Dear Alvin,

There is a problem in your temporary folder location and not in packages stored in package manager.

You need to:

  1. change temporary folder location or
  2. remove files from temporary folder if it's too full or
  3. increase space of temporary folder

Deleting packages from package manager won't solve it. You are removing files from jcr by deleting not from temp place.

Regards,

Peter