Uh-oh! Unable to start site. Local Version 7.2.1+6433

What issue or error are you experiencing?


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

I’m just trying to start a website I was working on the past weeks. The error happens only when I try to start this old website. If I create a new one now, it starts just fine.


System Details

  • Local Version:
    Version 7.2.1+6433

  • Operating System (OS) and OS version:
    Windows 11 Home


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:20.847723Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 8008","timestamp":"2023-09-20T00:02:22.862Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:20.850661Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2023-09-20T00:02:22.863Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:22.861844Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-09-20T00:02:22.863Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:22.862668Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Only one usage of each socket address (protocol/network address/port) is normally permitted.","timestamp":"2023-09-20T00:02:22.865Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:22.865Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:22.865Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:22.862672Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10006 ?","timestamp":"2023-09-20T00:02:22.866Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:22.862827Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-09-20T00:02:24.338Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:24.336219Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-09-20T00:02:24.338Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:24.950276Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 14012","timestamp":"2023-09-20T00:02:26.914Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:24.952362Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2023-09-20T00:02:26.915Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:26.912754Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-09-20T00:02:26.915Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:26.913565Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Only one usage of each socket address (protocol/network address/port) is normally permitted.","timestamp":"2023-09-20T00:02:26.915Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:26.916Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:26.916Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:26.913570Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10006 ?","timestamp":"2023-09-20T00:02:26.917Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:26.913912Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-09-20T00:02:28.484Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:28.481957Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-09-20T00:02:28.485Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:29.089348Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 10564","timestamp":"2023-09-20T00:02:31.081Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:29.090357Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2023-09-20T00:02:31.082Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:31.076845Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-09-20T00:02:31.082Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:31.079643Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Only one usage of each socket address (protocol/network address/port) is normally permitted.","timestamp":"2023-09-20T00:02:31.084Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:31.084Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:31.085Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:31.079675Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10006 ?","timestamp":"2023-09-20T00:02:31.086Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:31.080801Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-09-20T00:02:32.537Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:32.536766Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-09-20T00:02:32.538Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:33.152671Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 8256","timestamp":"2023-09-20T00:02:35.092Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:33.153665Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2023-09-20T00:02:35.092Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:35.090736Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-09-20T00:02:35.093Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:35.092297Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Only one usage of each socket address (protocol/network address/port) is normally permitted.","timestamp":"2023-09-20T00:02:35.093Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:35.093Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:35.094Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:35.092301Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10006 ?","timestamp":"2023-09-20T00:02:35.095Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:35.092439Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-09-20T00:02:36.553Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:36.552074Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-09-20T00:02:36.553Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:37.167522Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 2796","timestamp":"2023-09-20T00:02:39.146Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:37.168790Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2023-09-20T00:02:39.146Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:39.145241Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-09-20T00:02:39.146Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:39.145990Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Only one usage of each socket address (protocol/network address/port) is normally permitted.","timestamp":"2023-09-20T00:02:39.146Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:39.147Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:39.147Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:39.145993Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10006 ?","timestamp":"2023-09-20T00:02:39.147Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:39.146111Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-09-20T00:02:40.616Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:40.609790Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-09-20T00:02:40.617Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:41.231155Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 16520","timestamp":"2023-09-20T00:02:43.213Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:41.232547Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2023-09-20T00:02:43.213Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:43.212080Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-09-20T00:02:43.213Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:43.213046Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Only one usage of each socket address (protocol/network address/port) is normally permitted.","timestamp":"2023-09-20T00:02:43.213Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:43.214Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:43.214Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:43.213051Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10006 ?","timestamp":"2023-09-20T00:02:43.214Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:43.213188Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-09-20T00:02:44.632Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:44.631045Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-09-20T00:02:44.633Z"}
> {"thread":"main","service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqladmin.exe ping\n\u0007mysqladmin: connect to server at '::1' failed\r\nerror: 'Can't connect to MySQL server on '::1' (10061)'\r\nCheck that mysqld is running on ::1 and that the port is 10006.\r\nYou can check this by doing 'telnet ::1 10006'\r\n\n    at ChildProcess.exithandler (node:child_process:407:12)\n    at ChildProcess.emit (node:events:527:28)\n    at ChildProcess.emit (node:domain:475:12)\n    at maybeClose (node:internal/child_process:1092:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:302:5)","level":"error","message":"Database did NOT respond to ping after 15 tries.","timestamp":"2023-09-20T00:02:45.586Z"}
> {"thread":"main","class":"SiteProcessManagerService","stack":"Error: Command failed: %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqladmin.exe ping\n\u0007mysqladmin: connect to server at '::1' failed\r\nerror: 'Can't connect to MySQL server on '::1' (10061)'\r\nCheck that mysqld is running on ::1 and that the port is 10006.\r\nYou can check this by doing 'telnet ::1 10006'\r\n\n    at ChildProcess.exithandler (node:child_process:407:12)\n    at ChildProcess.emit (node:events:527:28)\n    at ChildProcess.emit (node:domain:475:12)\n    at maybeClose (node:internal/child_process:1092:16)\n    at ChildProcess._handle.onexit (node:internal/child_process:302:5)","level":"error","message":"Unable to start site.","timestamp":"2023-09-20T00:02:45.587Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:45.247353Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.16) starting as process 4976","timestamp":"2023-09-20T00:02:47.184Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:45.248362Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2023-09-20T00:02:47.185Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:47.162805Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-09-20T00:02:47.185Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:47.163539Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Only one usage of each socket address (protocol/network address/port) is normally permitted.","timestamp":"2023-09-20T00:02:47.186Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:47.186Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"","timestamp":"2023-09-20T00:02:47.187Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:47.163543Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10006 ?","timestamp":"2023-09-20T00:02:47.187Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:47.163669Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-09-20T00:02:48.624Z"}
> {"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-09-20T00:02:48.623566Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.16+6\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-09-20T00:02:48.624Z"}

I do not have any firewalls or antivirus installed.
It start happening after Local display a message to install a new version.

Hi @ryanfrezza

Based on the logs it looks like there might be a port conflict occurring. One thing you could try is changing your Router Mode to Localhost to see if that works. Preferences>Advanced>Router Mode

Here are some further steps to troubleshoot this if you want to keep your site in Site Domains mode and free up the port:

  • Stop all sites that are running in Local

  • Force quit Local

  • (If using Mac) Run the command lsof -nP -iTCP -sTCP:LISTEN

  • (If using Windows) Run the command netstat -ano

What you’ll be looking for here is to see when sites are stopped and Local is properly shut down if there are still programs running on ports 80 and 443. These may be conflicting with Local or the system may be reporting Local is still running.

Once you run that command you should see a list of listening ports. If you see a particular program making use of those ports, you can then kill that process by running sudo kill -9 XXX where XXX is the PID number of that process. (On Windows you will use taskkill /F /pid XXX where XXX is the PID number of that process)

There are also some more details around this and other troubleshooting steps at this link if needed: Stopping Whatever Is Listening On Port 80.

Yeah I’ve done all that beforehand - I research lots here to see if someone else had the same problem.
Nothing seems to work. Is there a way to manually replace the mysql port? The new " teste" site I created to test is using port 10007 and is starting fine!

If you have a specific site that seems to be stuck, what you might do is try re-importing it. The steps would look like this:

  • Right click the site and select Export and save the zip file on your desktop
  • Delete the site from Local
  • Restart the Local app/your machine
  • Open Local back up and drag and drop the zip file back into the app to reimport it and see if it works now

I’m having the same issue as well. Attempted the Export/Delete option but since the site won’t start I’m unable to even select the export feature.

Also having this issue across most of my sites since the latest version of Local was installed.

I cannot export (to try to reimport) as that option is not available unless a site is started. Is an export simply zipping up the site and therefore can be done manually or is there more to it than that?

@PDARyan @commify @ryanfrezza

Sorry, I was troubleshooting several things at once and got my wires crossed. You’re correct that in order to use the native export feature you have to be able to Start the site. Apologies for suggesting something you wouldn’t be able to do because of the root issue!

Generally speaking, when we see errors like the one above it’s because of something interfering with Local. It could be other Dev programs running simultaneously like MAMP, XAMPP, or Docker for example. It could also be due to permissions issues or security flags. Things like firewall, antivirus or other security applications, extensions, etc. Sometimes Local is running normally but when you update it one of the above items might either slip into it’s “place” or attempt to re-block the newer version.

If you wanted to try the export/reimport, you could locate your site files manually or click on the Go to site folder option in your app under the site name. This article will give you some more detail about how to go about this:

1 Like

I was wrestling with this exact issue all day and managed to finally get it working. At first all sites were having the issue, then only one remained an issue. I can’t recall at what point in troubleshooting that the other sites started working. Additionally, there was a windows process listening on port 80 that I could not close, so I tried other things.

Steps that got it working:

1. Uninstalled Local version 7.2.1+6433
2. Manually removed Local’s configuration folder.
3. Installed version 7.2.0
4. Imported the local site from a zip file.

Notes:

I believe step 2 is what ultimately fixed the issue for me. See Uninstall Local for OS specific instructions.

WARNING! After deleting the “Local” configuration folder, sites in your “Local Sites” folder no longer show up in the Local application’s dashboard. You will need to zip up all your local sites and import them again after deleting the configuration file.

Next, I plan to update to the newest version of Local to see if the issue returns.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.