Urgent : Site broken after Update environment and the clone starts but have 502 error

local-by-flywheel.log (373.0 KB)

hello, thank you to help me,
and I’m French, so I hope to be understood
nothing runs well or don’t run and I don’t know how to fix it

I decided to update, so I clicked
It doesn’t work well the first time, download froze, and after I have “fix it” and after the clone runs…
I thought…

but today, the original site can’t start
the clone site starts, but I have this message:

Request Error

The page you requested generated a server error and could not be processed.
If you continue to get this message after refreshing, try restarting the Local site.
If the error persists, check the Local Router Logs in Local by going to
Help » Reveal Local Router’s Logs

1 Like


Thanks for creating the new topic and providing the logs!
Seeing the logs, and just to be clear, I’m not associated with Flywheel, I just have some experience with Local, for the time I’ve been using it.

This part of your log caught my attention:

Error copying MySQL config Error: ENOENT: no such file or directory, lstat '/Users/nmr/Local Sites/onlyvisitimmo/conf/mysql/

That means that Local wasn’t able to find some files or directory from MySQL, so can you check your Local Sites folder and see if your site folder is there? The name of the folder seems to be “onlyvisitimmo” and inside it you should find some other folders.

Also, do you have backups for your site? Did you ever exported it?

@atempel thank you so much to help me :blush: I never export my original site - I tried when I saw your post but I can’t because the option it’s grey, so, not available
but when I go to the finder, then local sites, then onlyvisitimmo, then backups, theres is a file : 2018-10-31–20-22-SQL.zip
do you think it could work ? but… I’m sure you laugh, I don’t know what to do with it :sweat_smile:
hope you could save me
I’m new to wordpress, divi, local and etc…
thank you again

ps perhaps extra help with the router-log, file “error log” joined

error.log (13.7 KB)

@atempel You’re my hero !!! :heart_eyes:
after my previous late post yesterday, I went… to sleep. Today I read your answer better and have a look in the folders, and a lot of things are missing
I’m sure it is not the regular way to do it, but I copied one by one the folders missing in the clone and paste it in the original
and it works !!! unbelievable :crazy_face:
anyway, I’m really late so I continue my work with the original… without update

but after (when “it’s finished”) I need to migrate this local site on the real site online, do you know how ?
whatever if you don’t
lucky me to have you for enlighten me yesterday
enjoy your day ? night ? and thank you so much :star_struck:

and sorry for my “frenchy” English

1 Like

haha I’m glad you worked your way out of this issue! It’s good to dig a bit like you did, sometimes the solution is right there.
And don’t bother! Your “frenchy” english is good, with the little I know about french was completely possible to understand it haha

To migrate your Local site to the real site online, I recommend you read these topics:

Basically, there are Wordpress plugins for this, like Duplicator and All in One WP Migration. Or you can migrate manually, but I recommend you use one of those.
Also, remember always to backup your website when doing things like these, that could compromise your work, so you always keep it safe.

Bonne journée! :wink:

1 Like

@atempel Bonjour ! i confess, I really very annoyed when I’m stuck ! so I tried things… or go to sleep :joy::rofl:
but the day after I try again

thank you so much for all that stuff… I have a lot of work to do before this step, but everyday I come closer :smirk:

I learned Duplicator, but during my training, the teacher said sometimes, it could not work and “of course”, it falls on me : Travel broadens the mind … hihi

enjoy your day and see you soon :sunny:

1 Like