[BlueOnyx:08332] Re: Wordpress HowTo

Michael Stauber mstauber at blueonyx.it
Wed Aug 31 07:23:11 -05 2011


Hi Ernie,

> Had this string of errors when running cmuImport on the 5107R server with
> the Wordpress site that came from the 5016R server.

That happens when the site or user in question was overquota on the source box 
(where the cmuImport came from).

Before you do a cmuExport, it is a good practice to run this two commands 
first:

/usr/sausalito/sbin/disk_restorequotas.pl
swatch

Then check under "Active Monitor" / "Disk" to see if there are any sites or 
user which are using more disk quota than allowed to. If so, give them more 
disk space untill all have a "green light" or at least a "yellow light".

Then do the cmuExport.

Otherwise this will happen:

When the site or user account is created, CMU reads the XML file to see how 
much diskspace the user was allowed to use. It then creates the site with that 
much allowance. Once that's done, it tries to restore the tarball of that site 
or user.

However, if the tarball is for example contains 122MB of data and the site or 
user only has a quota of 100MB, then the extraction of the tarball will fail 
once 100MB of data have been extracted. That then results in the weird display 
on the screen that you've noticed. Perl doesn't take it to gracefully when the 
unpacking fails. 

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list