Skip to content

Magento installation failed [/vagrant/scripts/guest/m-reinstall] #206

@efmitchell

Description

@efmitchell

Mac OS 10.13.1, all listed requirements installed.

Whilst running init_project, get the error:

 Magento installation failed. [/vagrant/scripts/guest/m-reinstall]
[2018-10-07 11:11:36] >  PHP Parse error:  syntax error, unexpected '?', expecting variable (T_VARIABLE) in /Users/elliotmitchell/Code/vagrant-magento/magento2ce/lib/internal/Magento/Framework/Filesystem/Directory/Write.php on line

When I run with error logging I also get the below in the m-reinstall log:

`2018-10-07 12:11:33] STATUS: Deleting TestModule directories �[/Users/elliotmitchell/Code/vagrant-magento/scripts/host/m_reinstall.sh]]
[2018-10-07 11:11:35] STATUS: Killing MQ processes �[/vagrant/scripts/guest/m-reinstall]]
[2018-10-07 11:11:35] STATUS: Installing/re-installing Magento �[/vagrant/scripts/guest/m-reinstall]]
[2018-10-07 11:11:35] STATUS: > Removing Magento configuration files (env.php and config.php) �[/vagrant/scripts/guest/m-reinstall]]
[2018-10-07 11:11:35] STATUS: > Clearing Magento cache �[/vagrant/scripts/guest/m-clear-cache]]
[2018-10-07 11:11:35] STATUS: > Clearing directories containing temporary files �[/vagrant/scripts/guest/m-clear-cache]]
[2018-10-07 11:11:35] STATUS: > Dropping and creating 'magento' DB �[/vagrant/scripts/guest/m-reinstall]]
[2018-10-07 11:11:35] STATUS: > Dropping and creating 'magento_integration_tests' DB �[/vagrant/scripts/guest/m-reinstall]]
[2018-10-07 11:11:35] STATUS: > ./bin/magento setup:install --db-host=localhost --db-name=magento --db-user=root --backend-frontname=admin --base-url=http://magento2.vagrant220/ --language=en_US --timezone=America/Chicago --currency=USD --admin-lastname=Admin --admin-firstname=Admin --admin-email=[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]]

Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /Users/elliotmitchell/Code/vagrant-magento/magento2ce/lib/internal/Magento/Framework/Filesystem/Directory/Write.php on line 35
[2018-10-07 11:11:36] ERROR: > Magento installation failed. �[/vagrant/scripts/guest/m-reinstall]]
[2018-10-07 12:11:36] INFO: > �[mSee details in �/Users/elliotmitchell/Code/vagrant-magento/log/m-reinstall.log�[m. For debug output set �debug:vagrant_project�[m to �1�[m in �etc/config.yaml�[m �[./m-reinstall]]
[2018-10-07 12:11:36] ERROR: > ++ which bash

  • /bin/bash /Users/elliotmitchell/Code/vagrant-magento/scripts/host/m_reinstall.sh
    ++ logError
    ++ [[ -n '' ]]
    +++ cat
    ++ input=
    ++ [[ -n '' ]] �[Unknown source file]]
    error: ++ which bash
  • /bin/bash /Users/elliotmitchell/Code/vagrant-magento/scripts/host/m_reinstall.sh
    ++ logError
    ++ [[ -n '' ]]
    +++ cat
    ++ input=
    ++ [[ -n '' ]]`

Phpstorm isn't running as yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions