-
Notifications
You must be signed in to change notification settings - Fork 24
PHP Package Error #91
Comments
@ryanirelan I'm looking into this error and trying to reproduce it. I'm trying to narrow a few things down but I cannot reproduce the error. The PHP packages are installed in the process of virtual machine initialization so it seems like that part is failing. Can you run Here are some steps to get the files from the machine to your host:
I will dig through the logs and see if I can correct this issue. |
Thanks, Jason. I get this on two machines: one runs Catalina and the other Mojave. Attached are the logs from the default nitro-dev machine from Catalina. |
And the logs for the Mojave machine: |
@ryanirelan looking through the logs gave me a few ideas: I originally suspected that this was an error downloading packages and it was, this is what is in both of the output logs:
That leads me to suspect the following issue since you tried this at the same time 20.04 launched and they might have changed server configurations after you downloaded the multipass image. I don't see a way to manually remove a downloaded image, so I might have to file an issue with the multipass team. In the meantime, can we try the following:
|
This was an issue when running dnsmasq on the host machine and troubleshot with this guide: https://discourse.ubuntu.com/t/troubleshooting-networking-on-macos/12901 This is going to be a common problem (nice finding this @ryanirelan and thanks for working through it with me). In order to prevent other issues, we are telling the machine to always use the DNS from CloudFlares 1.1.1.1 nameserver. This is going to be resolved in the next release. |
@ryanirelan this has been addressed in https://github.com/craftcms/nitro/releases/tag/0.11.4. Can you run the installer again and let us know if you still have the same issue? |
Thanks for the help, @jasonmccallister! The update fixed the issue for me and I'm able to successfully initialize a machine now. 🎊 |
The
nitro init
process results in a series of PHP package errors.Installed Multipass via macOS app, running version 1.2.1+mac
Installed Nitro via terminal command in docs. Running version 0.11.2
macOS Mojave 10.14.6
2 CPUs selected
4G memory selected
40G disk space selected
PHP 7.3 (and, previously, 7.4; both results errors)
mysql 8
Confirmed this with @angrybrad via Tuple.
The text was updated successfully, but these errors were encountered: