Question

Disk space on /tmp is full during upgrade.

Hello! I am upgrading an application to Pega 8.x via the upgrade.sh script. In the process of running the upgrade, I got this error - No Space Left on Device error.

[java] com.pega.pegarules.pub.clipboard.PegaArchiveException: No space left on device

Is there a way to not write to the /tmp folder during the upgrade? Is there a way that I can specify my own folder location to write the files to?

I am not able to have any additional space on the /tmp folder added.

Thanks!

***Edited by Moderator Marissa to update platform capability tags****

Correct Answer
October 25, 2019 - 10:17am

Thank you for all of the replies. I was able to complete the upgrade.

Seems like the first time I ran the ugprade the has enough space check failed:

[pega:hasenoughspace] Not Able to Check for Free space on '/p01/app/pega/831Upgrade/scripts/${user.temp.dir.root}'

Therefore, it used the /tmp folder.  On subsequent runs, it was able to check the free space and find the right temporary directory. 

Thanks!

Comments

Keep up to date on this post and subscribe to comments

October 22, 2019 - 8:35pm

Am also like to get comments from experts to know the solution for this. 

BTW, The below post will help you to resolve the issue temporarily by deleting the unwanted temp folders.

https://community1.pega.com/community/pega-support/question/which-cache-directories-can-be-cleaned

October 22, 2019 - 9:17pm

If you use command line to perform the upgrade, then you have an option in setupdatabase.properties:

# USER TEMP DIRECTORY
# Will use default if not set to valid directory
user.temp.dir=

You can set the above parameter to use a different temp directory.

 

October 25, 2019 - 9:43am
Response to Vikash Karn

Hello!  Yes, I did have that parameter set in the script. Thanks!

October 23, 2019 - 2:36am

October 25, 2019 - 10:17am

Thank you for all of the replies. I was able to complete the upgrade.

Seems like the first time I ran the ugprade the has enough space check failed:

[pega:hasenoughspace] Not Able to Check for Free space on '/p01/app/pega/831Upgrade/scripts/${user.temp.dir.root}'

Therefore, it used the /tmp folder.  On subsequent runs, it was able to check the free space and find the right temporary directory. 

Thanks!

October 25, 2019 - 1:27pm

We also faced same issue, increased size resolved the issue.