Issue Summary
When I click “Open site Shell” it is opening the terminal but its running “exit;” and logs me right out of the shell it looks like.
Troubleshooting Questions
-
Does this happen for all sites in Local, or just one in particular?
This happens on all my local sites. -
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Yes the website itself runs fine.
Replication
Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
I found this post but I do run the latest version of ZSH so its not telling me to update in a clean server.
Click on “Open site Shell” and then I get the following issue:
Last login: Tue Nov 16 09:31:30 on ttys001
/Users/{xxxx}/Library/Application\ Support/Local/ssh-entry/ZJX2so0sJ.sh ; exit;
~/Projects
➜ /Users/{xxxx}/Library/Application\ Support/Local/ssh-entry/ZJX2so0sJ.sh ; exit;
-n -e
Setting Local environment variables...
----
WP-CLI: WP-CLI 2.5.0
Composer: 2.1.5 2021-07-23
PHP: 7.4.1
MySQL: mysql Ver 8.0.16 for macos10.14 on x86_64 (MySQL Community Server - GPL)
----
Launching shell: /bin/zsh ...
(The output above is concurred with {xxx} so this is not the original output)
System Details
-
Which version of Local is being used?
V6.1.5+5536 -
What Operating System (OS) and OS version is being used?
I am running macOS Monetrey on MacBook Pro (13-inch, M1, 2020) -
Attach the Local Log. See this Community Forum post for instructions on how to do so:
I was not able to find the local-by-flywheel.log
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/addons/@getflywheel-local-addon-backups/lib/main.js","timestamp":"2021-11-15T16:00:19.383Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/addons/@getflywheel-local-addon-backups/lib/main.js","timestamp":"2021-11-15T16:00:19.480Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/addons/@getflywheel-local-addon-broken-link-checker/lib/main.js","timestamp":"2021-11-15T16:00:19.485Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/addons/@getflywheel-local-addon-broken-link-checker/lib/main.js","timestamp":"2021-11-15T16:00:19.488Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on not enabled: local-addon-xdebug-vscode","level":"info","timestamp":"2021-11-15T16:00:19.493Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/addons/local-tableplus/lib/main.js","timestamp":"2021-11-15T16:00:19.496Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/addons/local-tableplus/lib/main.js","timestamp":"2021-11-15T16:00:19.496Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/lightning-services/php-7.4.1+16/lib/main.js","timestamp":"2021-11-15T16:00:19.498Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/lightning-services/php-7.4.1+16/lib/main.js","timestamp":"2021-11-15T16:00:19.518Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mailhog-1.0.0+3/lib/main.js","timestamp":"2021-11-15T16:00:19.519Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mailhog-1.0.0+3/lib/main.js","timestamp":"2021-11-15T16:00:19.521Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mariadb-10.4.10+4/lib/main.js","timestamp":"2021-11-15T16:00:19.522Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mariadb-10.4.10+4/lib/main.js","timestamp":"2021-11-15T16:00:19.547Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mysql-8.0.16+6/lib/main.js","timestamp":"2021-11-15T16:00:19.548Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mysql-8.0.16+6/lib/main.js","timestamp":"2021-11-15T16:00:19.565Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/nginx-1.16.0+5/lib/main.js","timestamp":"2021-11-15T16:00:19.566Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/nginx-1.16.0+5/lib/main.js","timestamp":"2021-11-15T16:00:19.580Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/php-7.3.5+11/lib/main.js","timestamp":"2021-11-15T16:00:19.581Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/php-7.3.5+11/lib/main.js","timestamp":"2021-11-15T16:00:19.597Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-11-15T16:00:47.403Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-15T16:00:48.080817Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 12351","timestamp":"2021-11-15T16:00:48.935Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-15T16:00:48.085769Z 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":"2021-11-15T16:00:48.935Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-15T16:00:48.095343Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2021-11-15T16:00:48.935Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-15T16:00:48.790225Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-11-15T16:00:48.935Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-15T16:00:48.812996Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/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: 10033 MySQL Community Server - GPL.","timestamp":"2021-11-15T16:00:48.936Z"}
{"thread":"main","class":"Process","process":"mailhog","pid":12348,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:21:24.637Z"}
{"thread":"main","class":"Process","process":"phpFpm","pid":12350,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:21:24.723Z"}
{"thread":"main","class":"Process","process":"mysql","pid":12351,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:21:24.803Z"}
{"thread":"main","class":"Process","process":"nginx","pid":12352,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:21:24.871Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-11-16T00:21:28.675Z"}
{"thread":"main","class":"Process","process":"nginx","pid":12368,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:21:29.489Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:21:29.262044Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 20265","timestamp":"2021-11-16T00:21:29.661Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:21:29.264601Z 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":"2021-11-16T00:21:29.661Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:21:29.267736Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2021-11-16T00:21:29.661Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:21:29.579559Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-11-16T00:21:29.662Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:21:29.595588Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/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: 10098 MySQL Community Server - GPL.","timestamp":"2021-11-16T00:21:29.662Z"}
{"thread":"main","class":"Process","process":"mailhog","pid":20263,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:38:06.229Z"}
{"thread":"main","class":"Process","process":"phpFpm","pid":20264,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:38:06.297Z"}
{"thread":"main","class":"Process","process":"mysql","pid":20265,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:38:06.363Z"}
{"thread":"main","class":"Process","process":"nginx","pid":20268,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:38:06.430Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-11-16T00:40:24.672Z"}
{"thread":"main","class":"Process","process":"nginx","pid":20277,"level":"info","message":"Killing process","timestamp":"2021-11-16T00:40:25.498Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:40:25.267263Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 23024","timestamp":"2021-11-16T00:40:25.764Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:40:25.271760Z 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":"2021-11-16T00:40:25.764Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:40:25.275829Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2021-11-16T00:40:25.764Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:40:25.720365Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-11-16T00:40:25.764Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T00:40:25.737297Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/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: 10088 MySQL Community Server - GPL.","timestamp":"2021-11-16T00:40:25.765Z"}
{"thread":"main","class":"Process","process":"mailhog","pid":23021,"level":"info","message":"Killing process","timestamp":"2021-11-16T01:09:15.070Z"}
{"thread":"main","class":"Process","process":"phpFpm","pid":23023,"level":"info","message":"Killing process","timestamp":"2021-11-16T01:09:15.144Z"}
{"thread":"main","class":"Process","process":"mysql","pid":23024,"level":"info","message":"Killing process","timestamp":"2021-11-16T01:09:15.213Z"}
{"thread":"main","class":"Process","process":"nginx","pid":23025,"level":"info","message":"Killing process","timestamp":"2021-11-16T01:09:15.282Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-11-16T01:09:53.053Z"}
{"thread":"main","class":"Process","process":"nginx","pid":23041,"level":"info","message":"Killing process","timestamp":"2021-11-16T01:09:53.967Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T01:09:53.513012Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 27820","timestamp":"2021-11-16T01:09:54.141Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T01:09:53.520170Z 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":"2021-11-16T01:09:54.141Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T01:09:53.521115Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2021-11-16T01:09:54.142Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T01:09:54.125349Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-11-16T01:09:54.142Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T01:09:54.141116Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/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: 10148 MySQL Community Server - GPL.","timestamp":"2021-11-16T01:09:54.142Z"}
{"thread":"main","class":"Process","process":"mailhog","pid":27818,"level":"info","message":"Killing process","timestamp":"2021-11-16T05:44:12.363Z"}
{"thread":"main","class":"Process","process":"phpFpm","pid":27819,"level":"info","message":"Killing process","timestamp":"2021-11-16T05:44:12.445Z"}
{"thread":"main","class":"Process","process":"mysql","pid":27820,"level":"info","message":"Killing process","timestamp":"2021-11-16T05:44:12.513Z"}
{"thread":"main","class":"Process","process":"nginx","pid":27823,"level":"info","message":"Killing process","timestamp":"2021-11-16T05:44:12.583Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-11-16T05:44:13.855Z"}
{"thread":"main","class":"Process","process":"nginx","pid":27832,"level":"info","message":"Killing process","timestamp":"2021-11-16T05:44:14.613Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T05:44:14.312071Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 36419","timestamp":"2021-11-16T05:44:14.701Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T05:44:14.314322Z 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":"2021-11-16T05:44:14.701Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T05:44:14.318479Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2021-11-16T05:44:14.701Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T05:44:14.636744Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-11-16T05:44:14.701Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T05:44:14.659670Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/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: 10103 MySQL Community Server - GPL.","timestamp":"2021-11-16T05:44:14.702Z"}
{"thread":"main","class":"Process","process":"mailhog","pid":36417,"level":"info","message":"Killing process","timestamp":"2021-11-16T15:38:20.708Z"}
{"thread":"main","class":"Process","process":"phpFpm","pid":36418,"level":"info","message":"Killing process","timestamp":"2021-11-16T15:38:20.783Z"}
{"thread":"main","class":"Process","process":"mysql","pid":36419,"level":"info","message":"Killing process","timestamp":"2021-11-16T15:38:20.851Z"}
{"thread":"main","class":"Process","process":"nginx","pid":36422,"level":"info","message":"Killing process","timestamp":"2021-11-16T15:38:20.919Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Compiling service configs...","level":"info","timestamp":"2021-11-16T15:38:31.718Z"}
{"thread":"main","class":"Process","process":"nginx","pid":36440,"level":"info","message":"Killing process","timestamp":"2021-11-16T15:38:32.452Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T15:38:32.121452Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 39055","timestamp":"2021-11-16T15:38:32.560Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T15:38:32.123519Z 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":"2021-11-16T15:38:32.560Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T15:38:32.124086Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2021-11-16T15:38:32.560Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T15:38:32.518664Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2021-11-16T15:38:32.560Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2021-11-16T15:38:32.532421Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/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: 10153 MySQL Community Server - GPL.","timestamp":"2021-11-16T15:38:32.561Z"}