cPanel & WHM cannot update due to insufficient disk space in the staging directory, '/usr/local/cpanel'
First, let me start off that I have Googled and read almost every related article I can find. I am new and trying to learn.
I am trying to install cPanel DnsOnly on a VPS I bought from ShockHosting. The OS is Alma Linux 8. The VPS has 4GB of RAM and 60GB SSD. I have re-installed Alma Linux like 3 times. It doesn't make a difference. I change directories to /home and fetch the latest cPanel install files. Next, I run the sh latest-dnsonly command and it looks like it's going to work. Then, I get the following error:
E Blocker found: cPanel & WHM cannot update due to insufficient disk space in the staging directory, '/usr/local/cpanel'. The system requires 3 GB to update; this directory only has 2.86 GB available. The system failed to find a new staging directory with enough space to update. You can either clear enough disk space or select a new staging directory with enough disk space at Update Preferences interface.
Here is my df -h:
[root@dns1 /]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 17M 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/vda1 4.8G 2.0G 2.6G 43% /
tmpfs 374M 0 374M 0% /run/user/0
And here is my fdisk -l:
Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 124778111 124776064 59.5G 83 Linux
/dev/vda2 124778112 125826687 1048576 512M 82 Linux swap / Solaris
I can see that /dev/vda1 has 59.5G size, but why does my VPS not have enough space after a fresh install of Alma Linux?
-
Hey there! Something is not getting partitioned correctly when you are installing the server, as the / partition is only being made with 4.8G of space. You'd want to speak to your hosting provider about that, as it could be an issue with the VPS or the AlmaLinux image they are using. Once that / partition is actually using all the available space on the disk, I would expect things to work properly. Also, just to be sure, DNSOnly is strictly that - a nameserver-only tool, and wouldn't let you create or manage cPanel accounts. Is that what you wanted to configure? 0 -
Hi cPRex. Yes, that is exactly what I'm trying to do us configure DNSOnly. In fact, I got it figured out! My hosting provider left a ton of unallocated space on the VPS and I had to add to to the partition. I'm all set! It's working now. Issue resolved. Thank you! 0 -
I'm glad that's all it was! 0
Please sign in to leave a comment.
Comments
3 comments