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
- Download Docker Desktop
- Run Docker Desktop
- Install 10updocker globally
- Run 10updocker create
- Received access error
- Run 10updocker create with sudo command
- Elastic search mount error "operation not permitted"
- Gave the terminal sudo acess to Full Disk
- Deleted newly created enviroment
- Run 10updocker create with sudo command
- Elastic search mount error "operation not permitted"
- Deleted newly created enviroment
- Run 10updocker create with sudo command with no elastic search
- Received the for wordpress install
- Deleted newly created enviroment
- Uninstalled 10updocker and restart my machine
- Installed 10updocker once again
- Run 10updocker create with sudo command
- 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.