-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redis service doesn't start properly on Apple Silicon #135
Comments
@jasonevines any chance the solution to #136 helped with this? |
I tried that, but it didn't help. This is still a problem. |
I've reached out to Platform.sh, and their engineers are placing responsibility for Apple Silicon problems on Lando. Any chance progress has been made on this? |
@jasonevines I think I've replicated your issue after talking with another user on the Lando Slack. When I look at the logs for the appserver container on my install, I see these error messages which seem like the crux of the issue. If you open the logs for the appserver within Docker Desktop, do you see something similar on your failed start, particularly something like that
Also note that the user I spoke to on Slack was on an Intel Mac, so I don't think this is actually an M1-specific issue. Temporary Workaround Disabling the redis extension on Lando will resolve this issue; obviously that means you won't have redis locally, but unless you're doing some special redis-specific things, that likely won't be a blocker. Add an
Relevant section in docs, read through that and it'll make sense: https://docs.lando.dev/config/platformsh.html#xdebug |
I'm on macOS Intel, Wordpress
The overrides in my
It seems like this issue might be related to the above #138 However, if I replace the Currently my only solution to use Lando locally is to comment out the extensions in the platformfile and run @reynoldsalec Some new information after looking at #138 - When I change the And using |
Note to self: I should try this with the new P.sh images (see PRs for how to toggle those when running the plugin from source)...possible that they would solve the problem. |
Ok @sgelliott + @jasonevines, after trying it out, I think it's very possible that trying out the "stableTags" PR could solve these problems for users. To test that out:
Then go to one of your sites using the P.sh recipe and To make sure you're using the version of the P.sh Lando plugin from your
You should also see Lando downloading the stable images on rebuild:
Let me know if you have trouble trying things out; if you reach out on Slack I might be able to help you debug in realtime. |
...one thing to note if you try the |
Thank you, @reynoldsalec - I tried everything above. Here's what I got when using
After that, I changed to
Extensions enabled when doing this...
Also, not sure if this is important, but when following this instruction All that being said, the errors mentioned above no longer exist when doing I'll reach out directly on Slack as a follow-up to this. |
@sgelliott yeah that sounds like a different issue probably specific to the way you're getting config credentials. If the app services built and started up correctly, then we're at least addressing the problems specific to this issue. Guessing you have a working setup already, but these are the Lando docs on wp-config.php: https://docs.lando.dev/wordpress/config.html#wp-config-php |
@reynoldsalec Yeah, the configuration I have was working originally. The updates you shared above allowed the extensions to work, but the DB no longer connected. When I reverted the update above and rebuilt with the same configuration (extensions disabled) it works fine again (DB connects fine). So I don't think it's an issue with the wp-config.php. That configuration didn't change when using the new update above and also when reverting back to the original. But it worked with the original and not with the new plugin release above. |
I am trying to set up a local environment so I can work on my site using PHP 8.1 and I am also running into this: ERROR ==> Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown. |
The Redis service, corresponding to the Platform.sh Redis 6 image, doesn't start properly on my MacBook Pro M1 Max.
These errors keep repeating in the log:
The text was updated successfully, but these errors were encountered: