Stuck in Adding WordPress

Issue Summary

Trying to add Local site but it stopped.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    Just for a new one.
    It was working well before.

System Details

  • Which version of Local is being used?
    Latest version.

  • What Operating System (OS) and OS version is being used?
    macOS Catalina

  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

{"thread":"main","class":"WordPressInstaller","latestOfflineWpVersion":"5.6.1","level":"info","message":"Latest offline version info","timestamp":"2021-02-15T02:31:31.732Z"}
{"thread":"main","class":"WordPressInstaller","version":"5.6.1","download":"","level":"info","message":"Latest version info","timestamp":"2021-02-15T02:31:32.518Z"}
{"thread":"main","errno":-5,"code":"Z_BUF_ERROR","level":"error","stack":"Error: unexpected end of file\n    at Zlib.zlibOnError [as onerror] (zlib.js:170:17)","message":"unexpected end of file","timestamp":"2021-02-15T02:31:34.115Z"}

Looking at these parts of the log:

Z_BUF_ERROR  ...  Error: unexpected end of file

That usually means that the download was corrupted, maybe during an interruption of the download. Can you try manually deleting the cached WordPress file and then re-try adding a new site?

Local stores it’s configuration here:

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

Can you try deleting the 5.6.1 version? Here’ what that folder looks like on my computer:

  /Users/benjamin/Library/Application Support/local/cached-wordpress:
  total used in directory 89120 available 35 GiB
  -rw-r--r--   1 benjamin  staff  12987499 Jan 14 10:18 wordpress-5.5.3.tar.gz
  -rw-r--r--   1 benjamin  staff  15606691 Feb  9 11:15 wordpress-5.6.1.tar.gz
  -rw-r--r--   1 benjamin  staff  15422346 Jan 14 10:07 wordpress-5.6.tar.gz

Thanks, i updated the version today. Then it fixed by itself installing wordpress 5.6.2. :slight_smile:

1 Like

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