phenaproxima / starshot-prototype

Prototype of a new kind of Drupal, based on recipes and loaded up with contrib's best modules and themes. Not a fork or a distribution.
https://drupal.org/starshot
115 stars 46 forks source link

Add Docker file sharing implementation to known issues #66

Closed MuhammadMurtaza closed 4 months ago

phenaproxima commented 4 months ago

Looks like there are merge conflicts...?

abhisekmazumdar commented 4 months ago

Oh, I noticed that @MuhammadMurtaza has already submitted the PR. That's cool.

I'm sharing the readme changes I was making to include in this PR. Feel free to use it or tweak it.

### Error: SQLSTATE[HY000]: General error: 11 database disk image is malformed

If you're using **ddev with Docker Desktop on a Mac**, you might see the following error:

`SQLSTATE[HY000]: General error: 11 database disk image is malformed`

This error usually happens because of the way files are shared between your Mac and Docker, which is set to `VirtioFS`.

To fix this error, you need to change the file sharing method to either `gRPC FUSE` or `osxfs (Legacy)`.

Here's how you can change the file sharing method:

- Open the Docker Desktop settings: [Docker Desktop settings for Mac](https://docs.docker.com/desktop/settings/mac/)
- Look for the "General" tab, and find the option for file sharing implementation.
- Choose either `gRPC FUSE` or `osxfs (Legacy)` from the options available.
- After making the change, click on **Apply & Restart** docker.
phenaproxima commented 4 months ago

I really like @abhisekmazumdar's text - it's very detailed and clear. Can we use that? 🙏

abhisekmazumdar commented 4 months ago

@MuhammadMurtaza Feel free to update your pull request with the suggested text from the referenced comment: https://github.com/phenaproxima/starshot-prototype/pull/66#issuecomment-2107631696

And thank you so much for finding out the root cause. It was really frustrating me that I was not able to try out starshot at my end.

phenaproxima commented 4 months ago

Thanks for the fantastic detective work and documentation, folks. This kind of collaboration is what's going to make Starshot awesome!!

MuhammadMurtaza commented 4 months ago

Updated with @abhisekmazumdar detailed and concise text. Sorry didn't realize @abhisekmazumdar had made PR before me.