Had this happen to me today and it was only because I was paying attention to the Cpanel information that I spotted the problem before it really drove me round the twist.Scenario:
Joomla installed on an CPanel server and you wish to move it to a new Cpanel server so you arrange (or DIY) the migration using the Migrate or Transfer account tools provided in WHM. WHM handles it all, hopefully and reports a success and you think great... Symptoms:
Visiting the website suddenly starts bringing out erratic behaviour and suddenly the site is non responsive.
I was able to get into the administration section, and then any changes I made to ANY files (configuration.php, virtuemart, etc...) all resulted in a wiped file.Cause:
In my case Cpanel has obviously re-assigned a bunch of NOBODY (apache) owned files back to my actual user and this took me over the disk space quota for the account. Net result, CPanel just refuses to write any more data to the account and thus wipes files.Solution:
You can either get your disk quota increased to cover the excess or start removing files you don't need... Once you've done this and got yourself back under quota you're sorted..
This nearly did for me but hopefully this post will save someone else from losing their mind.
Keywords (to assist someone else looking for the solution)
CPanel, WHM, Migrate, transfers, Copy an account from another server, configuration.php