failed to clone virtual server

i've been using virtualmin for around 4 years and been merrily cloning servers without problems... until today...

Upon trying to clone a virtual server I received the message "failed to clone virtual server" with no additional information. I am looking through the logs but I dont know which log to look at, nor how to debug this issue.

This is a blocker for me as I have to make some risky changes to a website and need to clone it. Any help much appreciated. im happy to send any further info/config as required.

ps: i didnt raise this purely as support because of the lack of meaningful error messaging which I think may be an issue with virtualmin.

thanks

laurence

Status: 
Active

Comments

my own problem solved: i had some strange permission settings that prevented cloning. solution chmod -R on the entire vhost directory structure... ill leave it open while you decide if action needs to be taken to provide more info.

I'm glad you were able to figure out the problem, even with Virtualmin not providing a good error message there.

I don't imagine you happen to have the full output that you received during the clone process, do you?

Knowing all the output that shows up there would be helpful in trying to improve that error.

If not, that's okay, we can try to reproduce that. Or, Jamie may even know what the issue is off the top of his head :-)

thanks for your reply. the reason i left this open is because there was no useful output, nor do i know where to find it. i checked logs but no sign of the failure. summary of my problem: the admin user for the vhost was not consistent across all files/folders so the clone quietly failed...

Which directory did you need to fix with the chmod command? That will give us some insight into where the cloning failed.

i chmod -R'd the top level www directory (i.e. the one containing all of my website's files) as a child of my public_html.