Local + Bedrock SSH "cannot find the path specified"

Issue Summary

I’ve setup a Bedrock site in Local. Loads fine in the browser, but SSH gives me “The system cannot find the path specified.” and dumps me into my home directory.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    • Only have one site setup currently.
  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    • This site loads fine in the browser.

Replication

Followed the tutorial here, though I dropped in an existing Bedrock site rather than creating a brand new one.

Adding a couple screenshots of paths and such, which seem to be properly configured, as well as the full shell output.


Full terminal output:

Setting Local environment variables...
----
WP-CLI: Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/Ethan/AppData/Roaming/Local/lightning-services/php-7.4.1+14/bin/win64/ext\php_imagick.dll (The specified module could not be found.), C:/Users/Ethan/AppData/Roaming/Local/lightning-services/php-7.4.1+14/bin/win64/ext\php_php_imagick.dll.dll (The specified module could not be found.)) in Unknown on line 0
WP-CLI: WP-CLI 2.5.0-alpha
Composer: Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/Ethan/AppData/Roaming/Local/lightning-services/php-7.4.1+14/bin/win64/ext\php_imagick.dll (The specified module could not be found.), C:/Users/Ethan/AppData/Roaming/Local/lightning-services/php-7.4.1+14/bin/win64/ext\php_php_imagick.dll.dll (The specified module could not be found.)) in Unknown on line 0
Composer: Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/Ethan/AppData/Roaming/Local/lightning-services/php-7.4.1+14/bin/win64/ext\php_imagick.dll (The specified module could not be found.), C:/Users/Ethan/AppData/Roaming/Local/lightning-services/php-7.4.1+14/bin/win64/ext\php_php_imagick.dll.dll (The specified module could not be found.)) in Unknown on line 0
Composer: Composer version 1.10.8 2020-06-24 21:23:30
PHP: Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/Ethan/AppData/Roaming/Local/lightning-services/php-7.4.1+14/bin/win64/ext\php_imagick.dll (The specified module could not be found.), C:/Users/Ethan/AppData/Roaming/Local/lightning-services/php-7.4.1+14/bin/win64/ext\php_php_imagick.dll.dll (The specified module could not be found.)) in Unknown on line 0
PHP: 7.4.1
MySQL: mysql  Ver 8.0.16 for Win64 on x86_64 (MySQL Community Server - GPL)
----
Loaded Shell for Local Site: principle-accounting
----
The system cannot find the path specified.

C:\Users\Ethan>

System Details

  • Which version of Local is being used?

    • 5.9.7+5156
  • What Operating System (OS) and OS version is being used?

    • Windows 10 Pro, v20H2, OS Build 19042.685
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

This is still busted in 5.9.8.

Notable update - if I add back the public directory, it’ll SSH me into there just fine, at which point I simply have to change directories to the actual site root, but it would be nice if this command read the Nginx conf to find the site root or something.

This error is directly related to the DB errors that @clay mentions here: Adding Bedrock to Local version 5

I wonder if Local could be updated to reference the Nginx settings when trying to find the WordPress root, setting the SSH path, etc.

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