How do I change mount point to fix 502 errors?

Issue Summary

The external drive where I store my Local sites had its mount point changed so now I get 502 errors when I try to open those sites. How can I change the Local data to use the new mount point?

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    • All of them on that external drive

System Details

  • Which version of Local is being used?

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

    • macOS Monterey
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

    • Here’s an example entry:
      2022/12/20 07:37:51 [error] 78969#0: *6 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: ::1, server: dev.bboss.local, request: “GET /favicon.ico HTTP/1.1”, upstream: “”, host: “dev.bboss.local”, referrer: “http://dev.bboss.local/wp-admin/

It looks like changing the path in ~/Library/Application Support/Local/sites.json let’s me access the sites again. Opening the site for the first time takes longer than usual but otherwise seems back to normal.

Is there a better way to do this?


I have a bit more to the story. The external drive in question was called ‘Media 2TB’. Its mount point initially was /Volumes/Media 2TB/. A jiggled cable caused it to be unmounted and then quickly remounted. In the process, macOS changed the mount point to /Volumes/Media 2TB 1/. Turns out there is a simple fix that get the mount point back to the original /Volumes/Media 2TB/ – just do a restart (or in my case, a shutdown). When the system reboots, the extra ’ 1’ is gone.

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