Skip to content
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

Unable to install #228

Open
thoughtassassin opened this issue Jun 10, 2019 · 2 comments
Open

Unable to install #228

thoughtassassin opened this issue Jun 10, 2019 · 2 comments

Comments

@thoughtassassin
Copy link

thoughtassassin commented Jun 10, 2019

Running bash init_project.sh fails. I see this message in the log:

[2019-06-10 20:05:18] STATUS: > ./bin/magento setup:install --db-host=localhost --db-name=magento --db-user=root --backend-frontname=admin --base-url=http://magento2.vagrant148/ --language=en_US --timezone=America/Chicago --currency=USD --admin-lastname=Admin --admin-firstname=Admin [email protected] --admin-user=admin --admin-password=123123q --cleanup-database --use-rewrites=1 --amqp-host=localhost --amqp-port=5672 --amqp-user=guest --amqp-virtualhost=/ --amqp-password=guest �[/vagrant/scripts/guest/m-reinstall]]

Magento supports PHP 7.1.3 or later. Please read https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html

[2019-06-10 20:05:18] ERROR: > Magento installation failed. �[/vagrant/scripts/guest/m-reinstall]]

When I vagrant ssh and then php --version, I see this version:

PHP 7.0.7-4+deb.sury.org~trusty+1

When I tried to update my config.yaml to php_version: "7.2" and vagrant reload I see two messages regarding PHP:

update-alternatives: error: alternative /usr/bin/php7.2 for php not registered; not setting ERROR: Module php7.1 does not exist! [Unknown source file] ERROR: Module php7.2 does not exist! [Unknown source file]

And when I ssh into the box and look at the contents of /usr/bin/:

Screen Shot 2019-06-10 at 3 29 53 PM

@JackWormUK
Copy link

Yes UBUNTU 14 is EOL and the PHP packages are no longer available to install. Until @paliarush updates the Ubuntu version this project no longer works. There is nothing you can do to fix the error.

@mavinbe
Copy link

mavinbe commented Nov 26, 2019

@thoughtassassin
I've made a fork wich runs wich uses a debian/buster64 vagrant box.
I made many changes to make it run.
It's not well tested but you can have a try:
https://github.com/mavinbeh/magento2-vagrant-for-developers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants