Submitted by laurencefass on Mon, 10/19/2015 - 04:12
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
Submitted by laurencefass on Mon, 10/19/2015 - 06:55 Comment #1
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.
Submitted by andreychek on Mon, 10/19/2015 - 09:42 Comment #2
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 :-)
Submitted by laurencefass on Mon, 10/19/2015 - 09:45 Comment #3
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...
Submitted by JamieCameron on Mon, 10/19/2015 - 19:32 Comment #4
Which directory did you need to fix with the
chmod
command? That will give us some insight into where the cloning failed.Submitted by laurencefass on Tue, 10/20/2015 - 06:24 Comment #5
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.