10up/wp-local-docker-v2

Broken 10updocker on MacOS. 10updocker create with errors

mnagdycnn opened this issue · 1 comments

Troubleshooting

  • I have attempted to troubleshoot this already

Describe the bug

I installed wp local with sudo npm and then when I create a new enviroment it gives me an error for mounting elastic search and it was "not permitted error". So, I gave full access to the terminal. However, the error kept showing. Then, I tried creating the enviroment without elastic search. Then I got error 10updocker was installing wordpress, I think due to permissions I guess as well. So, I deleted the newly creasted corrupt enviroment and created a new one and it gave an error as if I broke MacOS.

I am not sure why this is happening or how to solve it.

Steps to Reproduce

  1. Download Docker Desktop
  2. Run Docker Desktop
  3. Install 10updocker globally
  4. Run 10updocker create
  5. Received access error
  6. Run 10updocker create with sudo command
  7. Elastic search mount error "operation not permitted"
  8. Gave the terminal sudo acess to Full Disk
  9. Deleted newly created enviroment
  10. Run 10updocker create with sudo command
  11. Elastic search mount error "operation not permitted"
  12. Deleted newly created enviroment
  13. Run 10updocker create with sudo command with no elastic search
  14. Received the for wordpress install
  15. Deleted newly created enviroment
  16. Uninstalled 10updocker and restart my machine
  17. Installed 10updocker once again
  18. Run 10updocker create with sudo command
  19. Got the ASL error of the MacOS

Screenshots, screen recording, code snippet

First Error of Elastic Search Mount

Error response from daemon: error while creating mount source path '/host_mnt/Users/user/wp-local-docker-sites/website-test/website-test//website-v1-test/config/elasticsearch/plugins': mkdir /host_mnt/Users/user/wp-local-docker-sites/website-test/website-test/website-v1-test/config/elasticsearch/plugins: operation not permitted

Second Error of Wordpress Install

Error: This does not seem to be a WordPress installation.
Pass --path=`path/to/wordpress` or run `wp core download

Third Error of MacOS

2022/12/12 18:13:14 must use ASL logging (which requires CGO) if running as root
2022/12/12 18:13:14 must use ASL logging (which requires CGO) if running as root
2022/12/12 18:13:14 must use ASL logging (which requires CGO) if running as root
2022/12/12 18:13:14 must use ASL logging (which requires CGO) if running as root
2022/12/12 18:13:14 must use ASL logging (which requires CGO) if running as root
error getting credentials - err: exit status 1, out: 

Environment information

- Mac Monterey 12.6.1
- Node 16.16.0
- NPM 8.11.0
- Docker version 20.10.21, build baeda1f
- 10updocker 3.0.2

Code of Conduct

  • I agree to follow this project's Code of Conduct

Found out where the problem was. I used Node installer. It is best to use nvm to install Node. I also installed 10 updocker using git clone.