SOLVED Cannot Update cPanel Insufficient space issue

itmonitor

Well-Known Member
Apr 10, 2014
83
15
83
cPanel Access Level
Root Administrator
Hi,

I setup WHM CPanel on Amazon AWS. When trying to update WHM it will not do it, error "cPanel & WHM cannot update due to insufficient disk space in the staging directory, '/usr/local/cpanel'. "

It needs 3Gb space. On checking the AWS instance, it has 17Gb free as below listed. Cannot see what is blocking the WHM update. Any advice is welcome. :)

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 8377344 6601412 1775932 79% /
devtmpfs 485916 0 485916 0% /dev
tmpfs 507368 4 507364 1% /dev/shm
tmpfs 507368 25964 481404 6% /run
tmpfs 507368 0 507368 0% /sys/fs/cgroup
/dev/loop0 487652 2470 459582 1% /tmp
tmpfs 101476 0 101476 0% /run/user/1000
 

itmonitor

Well-Known Member
Apr 10, 2014
83
15
83
cPanel Access Level
Root Administrator
Many thanks Infopro. Is there a way to increase the directory size of '/usr/local/cpanel'? Alternatively, to which directory should I point the Staging Directory setting?
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Is there a way to increase the directory size of '/usr/local/cpanel'?
No, but you might try cleaning it up some if possible. Open google, search for:
/usr/ full cpanel site:forums.cpanel.net

You'll find more results than you have time to read. :)


Alternatively, to which directory should I point the Staging Directory setting?
That's up to you. Have a look at some of those threads first though; you might get by with some maintenance.
 
  • Like
Reactions: itmonitor