• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

/usr/local to small... how do I update?

T

thyphear

Guest
I thought I was smart... ;) Guess not, I changed the tmp download directory in the pref. for updater, but it doesn't help I still get an error when I try to download updates from the updater in plesk.


ERROR: There is not enough free disk space in the /usr/local directory. You need to free up 4294967097 megabytes.


Any suggestions... Thanks
 
looks like something is wrong with disk space counting either is system or in plesk.. the number in error is really funny..

what `du -sh /usr/local` and `df -h` say?

and try to delete the old temp folder you used for storing updates before, it collects all updates for all versions from the first time you install plesk, i think you do not need them all..
 
Hi

Have you ever used the migration? If yes,
there should be a lot of temporary files in /usr/local/psa/PMM directory, they can also be safely removed.
 
Even after clearing out that PMM dir. it still isn't working. :(

this is a df.

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 4956316 2494408 2206076 54% /
/dev/hda1 124427 14185 103818 13% /boot
tmpfs 517588 0 517588 0% /dev/shm
/dev/hda2 4956316 150716 4549768 4% /tmp
/dev/hda6 988088 838804 98280 90% /usr/local
/dev/hda7 43766692 8326940 33180616 21% /var

Filesystem Size Used Avail Use% Mounted on
/dev/hda3 4.8G 2.4G 2.2G 54% /
/dev/hda1 122M 14M 102M 13% /boot
tmpfs 506M 0 506M 0% /dev/shm
/dev/hda2 4.8G 157M 4.4G 4% /tmp
/dev/hda6 965M 820M 96M 90% /usr/local
/dev/hda7 42G 8.0G 32G 21% /var

du -sh /usr/local
1.1G /usr/local


Thanks for your help!
 
4294967097 MB = 4194303.8 GB = 4095.9998 TB

So unless plesk is asking for almost 4100 TB of free space, the counter is messed up.

its most likely in bytes, but it looks like you need to free up some space, or resize a volume to make more room.
 
I have tried changing the update location to /var which has like 32 gig avail. but it doesn't seem to help.

I have tried freeing up what I can, but nothing seems to be enough. How would I resize a volume. That is something I haven't done before.

Thanks for your help!
 
If you have space to use for the patition you can look into the LVM ( I think it stands for logical volume manager) and you can use that to resize an existing partition. If you dont know what you are doing then tread lightly as if you do the wrong thing you could accidentally delete everything on the partition.
 
Yes, creating a new partition and then mount it as /usr/local can fix the problem.
 
Back
Top