Issue Summary
Hello, I cannot connect to database with the latest version of Local. I am using a M1 apple. For all DB credentials is says “unable to find”
Troubleshooting Questions
-
Other users on my team with older version of local (3.3.0) all get a IP and port in database tab, I do not get those values, not even an empty field
-
Are you able to create a new, plain WordPress site in Local and access it in a Browser? Yes
System Details
-
Which version of Local is being used? 5.10.4
-
What Operating System (OS) and OS version is being used?
- _For example: macOS BigSur , Apple M1
-
Attach the Local Log. See this Community Forum post for instructions on how to do so:
May 17, 2021, 11:12 AM EDT - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-3-2/out/environment.js
May 17, 2021, 11:12 AM EDT - info: [main/check-system] Check System: Docker Machine:
{ stdout: '', stderr: '' }
May 17, 2021, 11:12 AM EDT - info: [main/set-docker-env] Getting Docker Machine env.
May 17, 2021, 11:12 AM EDT - warn: [main/check-system] Required kexts are not loaded.
{ requiredKexts: [ 'VBoxDrv', 'VBoxNetAdp', 'VBoxNetFlt', 'VBoxUSB' ],
loadedKexts: [] }
May 17, 2021, 11:12 AM EDT - info: [main/set-docker-env] Received Docker Machine env.
May 17, 2021, 11:12 AM EDT - error: [main/index]
{ message: 'Cannot read property \'forEach\' of null',
stack:
'TypeError: Cannot read property \'forEach\' of null\n at Object.default_1 [as default] (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/shared/helpers/process-exports-vars.js:1:732)\n at child_process_1.(anonymous function).(anonymous function) (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-docker/set-docker-env.js:1:4722)\n at ChildProcess.exithandler (child_process.js:306:5)\n at ChildProcess.emit (events.js:182:13)\n at ChildProcess.EventEmitter.emit (domain.js:442:20)\n at maybeClose (internal/child_process.js:962:16)\n at Socket.stream.socket.on (internal/child_process.js:381:11)\n at Socket.emit (events.js:182:13)\n at Socket.EventEmitter.emit (domain.js:442:20)\n at Pipe._handle.close (net.js:606:12)' }
May 17, 2021, 11:12 AM EDT - error: [main/index] TypeError: Cannot read property 'forEach' of null
at Object.default_1 [as default] (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/shared/helpers/process-exports-vars.js:1:732)
at child_process_1.(anonymous function).(anonymous function) (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-docker/set-docker-env.js:1:4722)
at ChildProcess.exithandler (child_process.js:306:5)
at ChildProcess.emit (events.js:182:13)
at ChildProcess.EventEmitter.emit (domain.js:442:20)
at maybeClose (internal/child_process.js:962:16)
at Socket.stream.socket.on (internal/child_process.js:381:11)
at Socket.emit (events.js:182:13)
at Socket.EventEmitter.emit (domain.js:442:20)
at Pipe._handle.close (net.js:606:12)
May 17, 2021, 11:22 AM EDT - info: [main/index] Shutting Down VM