Can't access wp dashboard on my local version

Issue Summary

When trying to access the wp dashboard in my local wp staged version, I get a 410 error on the screen.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    It happens just for this particular site.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Yes I am.

image

System Details

  • Which version of Local is being used?
    Local version: 7.0.1+6387

  • What Operating System (OS) and OS version is being used?
    Windows 10
    web server: nginx
    PHP version 8.1.9
    Database: MySQl 8.0.16
    Wordpress version 6.2.2

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

    • Retrieving Local’s Log
      {“localVersion”:“7.0.1+6387”,“osPlatform”:“win32”,“osRelease”:“10.0.19045”,“osArch”:“ia32”,“windowsEdition”:“Microsoft Windows 10 Business”,“linuxEdition”:null,“level”:“warn”,“message”:“Electron Event ready”,“timestamp”:“2023-06-14T11:59:50.059Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-14T12:48:07.340532Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 2920”,“timestamp”:“2023-06-14T12:48:11.222Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-14T12:48:07.344650Z 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-06-14T12:48:11.223Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-14T12:48:11.108438Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-14T12:48:11.225Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-14T12:48:11.222304Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10007 MySQL Community Server - GPL.”,“timestamp”:“2023-06-14T12:48:11.225Z”}
      {“localVersion”:“7.0.1+6387”,“osPlatform”:“win32”,“osRelease”:“10.0.19045”,“osArch”:“ia32”,“windowsEdition”:“Microsoft Windows 10 Business”,“linuxEdition”:null,“level”:“warn”,“message”:“Electron Event ready”,“timestamp”:“2023-06-15T09:31:28.178Z”}
      {“thread”:“main”,“class”:“DeleteSiteService”,“level”:“warn”,“message”:“Could not trash”,“timestamp”:“2023-06-15T09:31:46.946Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-15T12:50:04.266542Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 9204”,“timestamp”:“2023-06-15T12:50:07.808Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-15T12:50:04.269359Z 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-06-15T12:50:07.810Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-15T12:50:07.753699Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-15T12:50:07.810Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-15T12:50:07.809594Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10007 MySQL Community Server - GPL.”,“timestamp”:“2023-06-15T12:50:07.811Z”}
      {“localVersion”:“7.0.1+6387”,“osPlatform”:“win32”,“osRelease”:“10.0.19045”,“osArch”:“ia32”,“windowsEdition”:“Microsoft Windows 10 Business”,“linuxEdition”:null,“level”:“warn”,“message”:“Electron Event ready”,“timestamp”:“2023-06-16T07:19:10.131Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:19:32.783884Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 16092”,“timestamp”:“2023-06-16T07:19:46.346Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:19:32.848639Z 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-06-16T07:19:46.347Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:19:43.899400Z 0 [System] [MY-010229] [Server] Starting crash recovery…”,“timestamp”:“2023-06-16T07:19:46.348Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:19:43.908493Z 0 [System] [MY-010232] [Server] Crash recovery finished.”,“timestamp”:“2023-06-16T07:19:46.350Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:19:46.239591Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-16T07:19:46.351Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:19:46.346274Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10007 MySQL Community Server - GPL.”,“timestamp”:“2023-06-16T07:19:46.352Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:55:15.773940Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 7280”,“timestamp”:“2023-06-16T07:55:19.283Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:55:15.778316Z 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-06-16T07:55:19.283Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:55:19.217224Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-16T07:55:19.284Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T07:55:19.283702Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10013 MySQL Community Server - GPL.”,“timestamp”:“2023-06-16T07:55:19.285Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T12:12:21.251984Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 18632”,“timestamp”:“2023-06-16T12:12:25.196Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T12:12:21.313632Z 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-06-16T12:12:25.197Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T12:12:25.140470Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-16T12:12:25.197Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-16T12:12:25.196952Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10013 MySQL Community Server - GPL.”,“timestamp”:“2023-06-16T12:12:25.198Z”}
      {“localVersion”:“7.0.1+6387”,“osPlatform”:“win32”,“osRelease”:“10.0.19045”,“osArch”:“ia32”,“windowsEdition”:“Microsoft Windows 10 Business”,“linuxEdition”:null,“level”:“warn”,“message”:“Electron Event ready”,“timestamp”:“2023-06-19T07:46:01.231Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-19T07:46:13.554780Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 14284”,“timestamp”:“2023-06-19T07:46:20.227Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-19T07:46:13.602433Z 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-06-19T07:46:20.228Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-19T07:46:18.866346Z 0 [System] [MY-010229] [Server] Starting crash recovery…”,“timestamp”:“2023-06-19T07:46:20.229Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-19T07:46:18.876254Z 0 [System] [MY-010232] [Server] Crash recovery finished.”,“timestamp”:“2023-06-19T07:46:20.230Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-19T07:46:20.140885Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-19T07:46:20.230Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-19T07:46:20.226357Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10007 MySQL Community Server - GPL.”,“timestamp”:“2023-06-19T07:46:20.231Z”}
      {“localVersion”:“7.0.1+6387”,“osPlatform”:“win32”,“osRelease”:“10.0.19045”,“osArch”:“ia32”,“windowsEdition”:“Microsoft Windows 10 Business”,“linuxEdition”:null,“level”:“warn”,“message”:“Electron Event ready”,“timestamp”:“2023-06-28T12:54:51.884Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:55:02.052323Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 1876”,“timestamp”:“2023-06-28T12:55:07.966Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:55:02.097085Z 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-06-28T12:55:07.967Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:55:06.637019Z 0 [System] [MY-010229] [Server] Starting crash recovery…”,“timestamp”:“2023-06-28T12:55:07.968Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:55:06.647924Z 0 [System] [MY-010232] [Server] Crash recovery finished.”,“timestamp”:“2023-06-28T12:55:07.968Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:55:07.890686Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-28T12:55:07.969Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:55:07.968783Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10007 MySQL Community Server - GPL.”,“timestamp”:“2023-06-28T12:55:07.970Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:59:45.892394Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 5572”,“timestamp”:“2023-06-28T12:59:50.307Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:59:45.926054Z 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-06-28T12:59:50.307Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:59:49.010510Z 0 [System] [MY-010229] [Server] Starting crash recovery…”,“timestamp”:“2023-06-28T12:59:50.308Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:59:49.020753Z 0 [System] [MY-010232] [Server] Crash recovery finished.”,“timestamp”:“2023-06-28T12:59:50.308Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:59:50.236735Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-28T12:59:50.309Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-28T12:59:50.307768Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10013 MySQL Community Server - GPL.”,“timestamp”:“2023-06-28T12:59:50.309Z”}
      {“localVersion”:“7.0.1+6387”,“osPlatform”:“win32”,“osRelease”:“10.0.19045”,“osArch”:“ia32”,“windowsEdition”:“Microsoft Windows 10 Business”,“linuxEdition”:null,“level”:“warn”,“message”:“Electron Event ready”,“timestamp”:“2023-06-29T12:29:59.779Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-29T12:31:02.697464Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 5816”,“timestamp”:“2023-06-29T12:31:09.378Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-29T12:31:02.763397Z 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-06-29T12:31:09.379Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-29T12:31:08.027533Z 0 [System] [MY-010229] [Server] Starting crash recovery…”,“timestamp”:“2023-06-29T12:31:09.379Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-29T12:31:08.037541Z 0 [System] [MY-010232] [Server] Crash recovery finished.”,“timestamp”:“2023-06-29T12:31:09.380Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-29T12:31:09.294698Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-29T12:31:09.381Z”}
      {“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-29T12:31:09.378897Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10007 MySQL Community Server - GPL.”,“timestamp”:“2023-06-29T12:31:09.382Z”}

Hi @nialusby

You might be running into a known bug that we patched in the latest Beta release below. Can you give that a try and see if the issue persists?

Now I get this new error:

Hi @nialusby

It looks like there might be a conflict. Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

Do you have any antivirus, security, or firewall applications that could be blocking Local?

More details about troubleshooting this here: Router Mode

1 Like

Hi, I don’t have any of those apps or firewall, antivirus or security blocking Local. I browsed through the Router mode document but to me it’s still very unclear what I should do. The error is still the same. Can I please get further help on how to go about this? I really need to run this local environment.

image

Hi @nialusby

In order to refresh here and start with a clean slate could you give the below troubleshooting steps a try?

  • Export any sites that you have on Local and save them to a folder somewhere on your computer.

  • Fully uninstall Local from your computer.

  • Install the latest version of Local on this link.

  • Once installed, please restart the computer.

  • When the computer is restarted and turned on, close any applications that automatically run in the background (AntiVirus, Firewall, and other Developer applications included).

  • Check and see if the issue still persists. If so, please provide us with an updated log. Retrieving Local’s Log File

Keep us posted and we’d be happy to help further!

1 Like

Thank you for your help!

I followed all the steps carefully and now I get a 403 forbidden error.

Here I am enclosing my local logs:
local-logs1.zip (2.3 KB)

I’m a new user, and disregard / delete this post if need be, but I too cannot get to the dashboard on my 2nd site. I can on the first site. I just downloaded and installed your local software last night.
Also, when importing the 2nd site, using WP Migrate Lite, the site domain name and SSL had a www in front causing SSL trust issues in the web browsers. The first site I imported the same way did not do this, -no www added. So I wiped the 2nd site, started over, and removed the www as part of the config, and presto no SSL issue this time around. However, there is no dashboard in the menu at the top left. I go straight from signing in to the .local site

Does the site have any security plugins installed? Or is this a new, blank site?

If you change your Router Mode does that make a difference? (Preferences>Advanced>Router Mode)

What is the plugin configuration like on the site? Are there any security, redirection or user management plugins installed?

In order to get WP Migrate to work, there are no plugins or media moved across

Gotcha and so any new site you create runs into this same issue? No dashboard or back end gets created?

Can you share your OS, Local Version and a Local Log? Retrieving Local’s Log File

Win11, v7.1.0+6396
There is no way for me to access the dashboard or backend if it is there. So yes presume its not there.
I have only been trying this 2nd site several times and get the same thing. I can look at trying a third.
local-logs.zip (8.2 KB)

Does your machine have plenty of disc space available?

Are you running any other developer applications or have any security features you could check for Local blocks?

74Gb free.
None other dev running, though Mamp is installed (not running) which I want to get rid of if Local proves to work.
Don’t forget the first website runs fine no issues with nothing interfering.

Did you try creating another new, blank site yet and see if that works the same way or not?

Your router logs are showing a lot of connection issues, so it seems like something is interfering or not syncing up, but it’s curious that your original site is still working without issue.

You could try the steps I outlined here to export/save your site, and then do a big refresh by uninstalling and reinstalling the app.

hi, created a new site, no import, yes can get to the dashboard all looks normal. So something weird with the 2nd site import. However the first site was also a import.
Shame the WP Migrate lite (free) only works one way for export, otherwise could verify further by importing into the plugin in a dashboard that is up and running.

It’s not a new site. Changing router mode doesn’t really make any difference. I noticed, however, that security system’s settings can’t be modified by me, they are handled by the administrator. Could this be the reason for the 403 error? Is there any way around it?

@nialusby, did you have security that changes the login page?

@Nick-B, I cleaned out Local and installed back from that link. I imported the 2nd site from last time, first this time, no change. I also gutted the security plugin from the site and imported again, no change. This is usually a SSL issue, and despite it being trusted Local, makes no difference all but one time. The error of no dashboad in the admin bar can be a issue in a normal Wordpress site if there is a plugin blocking it, but I am importing no plugins. So I can only think its the ssl issue. If I try to force site.local/wp-admin I get an error of 'you are not allowed to access this page". So I am kinda giving up.
No such issue with my other site which I imported after, and again it all worked ok.

Are you referring to security settings just for the site, or on your whole machine? If it’s just on the site, as AndyT mentioned it’s likely a plugin causing the issue. On your machine is there a reason you wouldn’t have admin access? Is this a work computer or work network where you’d have to request that from IT?