WHM/cPanel
Problems with FLV and cPanel – Solution: MIME Types
0As it turns out quite a few people seem to be looking for a solution as to why an FLV file won’t load correctly from a cPanel hosted account. For the most part webservers won’t serve a file it doesn’t know about. The problem is in the MIME type setup, and here is how to solve it.
1) Go to your cpanel and look for an icon labeled MIME Types.
2) For MIME Type enter “video/x-flv” (no quotes)
3) For Extension(s) enter flv
4) Click Add
You should be all set!
WHM Full Restore Failed / Failed To Restore Full Backup / AKA The Missing Tarball
0This post is really for people who don’t read everything that comes on their screen. Much like myself I make the very foolish mistake of not going over everything on my screen when an error occurs.
So yesterday when I was moving one of my larger sites (5GB worth of data) to a new server I learned that cPanel actually moves the tarball before it restores it. So if their is a failure you have to go into the directory where the file was moved to and move it back into /home; or whatever directory you have setup for the restore functions to read from.
I didn’t read the line that told me where the file was moved. Here is what I did to find the file for those of you who think they need to get another copy of the tarball.
Login via SSH and type find / -name ‘*username*’ where username is the name the user had on the old server. You can also use the word backup and it’ll find it too.
You’ll most likely find the find in “/root/cprestore” so go in and move the file from there to /home. You’ll be able to run the restore command again without having to transfer the tarball once more.
Top Commenters