Adding a new site frozen?

What issue or error are you experiencing?

When trying to add a new site, it just freezes on ‘Adding a new site’?


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


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

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


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Sorry that you ran into this, @Lozx900.

  1. Does Local freeze on the “Adding WordPress…” step? Or at another point? Sharing a screenshot and Local’s logs can be helpful.
  2. What OS are you using?

14.4 (23E214) OS
gets stuck on ‘Adding Wordpress’ - have tried quitting and restarting multiple times and restarted my machine. I already have sites working and wanted to add a new one.

logs:
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T09:43:14.133264Z 0 [System] [MY-010931] [Server] %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld: ready for connections. Version: ‘8.0.16’ socket: ‘%%site.runData%%/mysql/mysqld.sock’ port: 10069 MySQL Community Server - GPL.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T09:43:14.136Z”}
{“level”:“error”,“message”:“Unexpected end of data”,“stack”:“Error: Unexpected end of data\n at Extract._final (%%appPath%%/node_modules/tar-fs/node_modules/tar-stream/extract.js:253:42)\n at callFinal (%%appPath%%/node_modules/tar-fs/node_modules/readable-stream/lib/_stream_writable.js:590:10)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)”,“thread”:“main”,“timestamp”:“2024-04-03T09:43:21.944Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T09:59:51.461763Z 0 [System] [MY-010116] [Server] %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 5436”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T09:59:51.668Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T09:59:51.462916Z 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.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T09:59:51.668Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T09:59:51.463646Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T09:59:51.669Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T09:59:51.655930Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T09:59:51.669Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T09:59:51.667912Z 0 [System] [MY-010931] [Server] %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld: ready for connections. Version: ‘8.0.16’ socket: ‘%%site.runData%%/mysql/mysqld.sock’ port: 10069 MySQL Community Server - GPL.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T09:59:51.670Z”}
{“level”:“error”,“message”:“Unexpected end of data”,“stack”:“Error: Unexpected end of data\n at Extract._final (%%appPath%%/node_modules/tar-fs/node_modules/tar-stream/extract.js:253:42)\n at callFinal (%%appPath%%/node_modules/tar-fs/node_modules/readable-stream/lib/_stream_writable.js:590:10)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)”,“thread”:“main”,“timestamp”:“2024-04-03T09:59:58.429Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T10:44:20.722738Z 0 [System] [MY-010116] [Server] %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 8495”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T10:44:20.970Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T10:44:20.724955Z 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.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T10:44:20.971Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T10:44:20.726357Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T10:44:20.972Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T10:44:20.953258Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T10:44:20.974Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2024-04-03T10:44:20.968495Z 0 [System] [MY-010931] [Server] %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld: ready for connections. Version: ‘8.0.16’ socket: ‘%%site.runData%%/mysql/mysqld.sock’ port: 10069 MySQL Community Server - GPL.”,“process”:“mysql”,“thread”:“main”,“timestamp”:“2024-04-03T10:44:20.974Z”}
{“level”:“error”,“message”:“Unexpected end of data”,“stack”:“Error: Unexpected end of data\n at Extract._final (%%appPath%%/node_modules/tar-fs/node_modules/tar-stream/extract.js:253:42)\n at callFinal (%%appPath%%/node_modules/tar-fs/node_modules/readable-stream/lib/_stream_writable.js:590:10)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)”,“thread”:“main”,“timestamp”:“2024-04-03T10:44:27.906Z”}

Thanks for the extra info, @Lozx900, and I’m sorry for the issue. This looks related to the WordPress 6.5 update yesterday.

Please can you try the steps in this thread to force Local to download a fresh copy of WordPress 6.5?


I dont have local in that folder?

@nickc I cant see that folder - see screenshots?

Make sure to include the leading tilde (~) when you paste the path into Go → Go To Folder:

~/Library/Application Support/Local/cached-wordpress

The tilde ensures you’ll open /Users/[your username]/Library/Application Support and not the root /Library/Application Support as in your screenshot.


Screenshot 2024-04-03 at 12.08.46
My local sites are saved as attached and I cant find anything under my username called application support. I’ve tried searching for cached-wordpress under my mac and nothing comes up?

@Lozx900 What happens when you enter this full path in Go → Go To Folder and press enter?

~/Library/Application Support/Local/cached-wordpress

(By default you won’t see a Library folder under your username because macOS hides it, so it’s important to use Go To Folder instead of trying to browse there manually.)

@nickc sorry found it now. Have tried deleting cached wordpress and re-added the site and it worked :smiley: Thank you so much!!!

2 Likes

Great to hear, @Lozx900, thanks for letting us know this helped!

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