Local Community

Missing Site container when cloning a site

Hi,

I am cloning a site but each time it hangs on “Duplicating Site Container” and then I get an error message that the site container is missing.

I’m using Local version 2.4.5

Can you help with this?

Thanks,

And me… any joy anywhere else?

@digiden What version of Local are you using? Windows/Mac? Do you have faster docker volumes turned on? Would you mind posting the log file?

@thinkpath Have you seen this same issue after upgrading and such since Nov?

I’m having this same issue. Local just seems to hang when I try to clone a site.

Details:
Local v3.0.4
Mac OS 10.14.2
Tried Faster docker volumes on and off, seems to make no difference

Log File:
local-by-flywheel.log (978.2 KB)

I have already sent all of that on the support ticket!

I’ve got this exact same issue and it is incredibly frustrating. I downgraded to v3.0.0 and it was still an issue.

This lead me to believe it was rather something to do with the virtualisation.

~/Library/Logs/local-by-flywheel.log showed me some interesting things.

Jan 26, 2019, 11:01 AM GMT+13 - warn: [main/SiteModel] wpInstalled not returning "installed" .
'Error: This does not seem to be a WordPress install.\nPass --path=`path/to/wordpress` or run `wp core download`.' }
Jan 26, 2019, 11:01 AM GMT+13 - warn: [main/waitForFile] /conf/php/7.2.0/etc/php-fpm.conf does not exist 

So I changed the environment for the site I was trying to clone. In my case I just changed it from custom to preferred. Then the clone worked. I did this for another two sites and I confirm that this is a working fix.

My preliminary thoughts are that it appears that each new version of Local introduces new revisions of available PHP versions. Sites that are configured to use a custom environment might be ‘stuck’ on a particular version that no longer exists in the new revised list. Just a guess. This may be the reason ‘wpInstalled’ is returning a falsey value and therefore hangs the cloning process.

You’re Welcome.

Hi Rob, try my workaround above

Sorry, newbie here. I can’t see how to do this in LBF. Can you tell me how exactly? Thanks.

Ah…think I figured it out…site needed to be running in order to be able to click ‘Change’ button. :slight_smile:

I upgraded to 3.0.4 but had the same problem. However, I went to Help > Restart Local Machine and that seems to have fixed the issue for one clone I just did.

Thanks.

I Still have the same problem 11/19

Can a supervisor help me?

Hey @ccanteiro, thanks for jumping in with Local!

This post is from quite a ways back and we’ve had quite a bit of versioning since then. What version of Local are you using? What Operating system?

Can you please provide your local-by-flywheel.log file?

See this Community Forum post for instructions on how to do so > How do I retrieve Local’s Log?

Tks Matt

I tried everything I saw in this session.

I sent the log file.

Cheers

local-by-flywheel.log (460.1 KB)

Matt, about my version. It is up to date.

version 3.3.0

Still not working. This funcionallitty is awesome to my freelancer job. =(

@ccanteiro, we’ll definitely attempt to help sort out what’s going on with you.

For a workaround, you can sidestep the Blueprints function by exporting the site to an archive that you can drag and drop into Local to spin up a copy. Not ideal, but we don’t want this to be a huge obstacle for you either.

To confirm, you tried @stevenmunro’s suggestion where you would change the environment for the site that you want to clone to the “Preferred Environment” before attempting to clone and then it failed?

After changing the original environment to “Preferred,” you may also need to restart the Local Machine (according to @thinkpath).

I tried everything. How can I do it mannualy? I didnt understand very well how to drag and drop, and where I do it.

tks
Cesar

The drag and drop method uses the “export” option when you right-click on a site:


This creates an archive of the site that you can save to your computer and then drop it into Local when you want to spin up a new site.

Was there ever a solution to this issue? I have this problem intermittently and I spend an exorbitant amount of time trying to figure out what is going on.