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

Magestead install fails every time #49

Closed
magedevjosh opened this issue Jun 1, 2016 · 4 comments
Closed

Magestead install fails every time #49

magedevjosh opened this issue Jun 1, 2016 · 4 comments

Comments

@magedevjosh
Copy link

Recently Magestead has started failing when trying to create a new instance of Magento (1 or 2). I've included the output below. This occurs right after Behat gets installed (in the case of Magento 2)

/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such file or directory
chmod: cannot access ‘bin/behat’: No such file or directory
bash: bin/behat: No such file or directory
Setting Permissions
/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such file or directory
Folder Permissions Set
/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such file or directory
File Permissions Set
/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such file or directory
chmod: cannot access ‘bin/magento’: No such file or directory
chmod: cannot access ‘bin/phpspec’: No such file or directory
chmod: cannot access ‘bin/behat’: No such file or directory
bin/magento Permissions Set
Installing Magento 2 Software
/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such     file or directory
bash: bin/magento: No such file or directory
Reindexing Tables
/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such file or directory
bash: bin/magento: No such file or directory
Flushing All Cache
/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such file or directory
bash: bin/magento: No such file or directory
Configuring Redis Cache
PHP Warning:  include(/Users/joshuablake/Sites/mage2var/magento2/public/app/etc/env.php): failed to   open stream: No such file or directory in    /Users/joshuablake/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/Magento2Project.php on line 137

Warning: include(/Users/joshuablake/Sites/mage2var/magento2/public/app/etc/env.php): failed to open stream: No such file or directory in /Users/joshuablake/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/Magento2Project.php on line 137
PHP Warning:  include(): Failed opening '/Users/joshuablake/Sites/mage2var/magento2/public/app/etc/env.php' for inclusion (include_path='.:') in /Users/joshuablake/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/Magento2Project.php on line 137

Warning: include(): Failed opening '/Users/joshuablake/Sites/mage2var/magento2/public/app/etc/env.php' for inclusion (include_path='.:') in /Users/joshuablake/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/Magento2Project.php on line 137
@richdynamix
Copy link
Owner

richdynamix commented Jun 2, 2016

Can you paste in the contents of your magestead.yaml file?

When you say it fails every time, are you trying to install in a fresh, empty folder?

@magedevjosh
Copy link
Author

I figured out the issue. Had nothing to do with Magestead. Turns out a good
‘ol restart cleared up the issue. I was doing a lot of work with Magestead
and Vagrant trying to learn their in’s and out’s. Thanks for the reply
Steven.

On June 2, 2016 at 2:36:23 AM, Steven Richardson (notifications@github.com)
wrote:

Can you paste in the contents of your magestead.yaml file?

When you say it fails everytime, are you trying to install in a fresh,
empty folder?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#49 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/APctVrXIM-_jWeBv0K17wAs_tAYdg-1Bks5qHnnngaJpZM4Ir7bT
.

@richdynamix
Copy link
Owner

Excellent. Glad you got it sorted. Hope you find it useful 😁

@MPietrukowski
Copy link

Hi,
I have this problem but restart is not helping in my case
every was working fine but then I have decided to install vagrant-hostsupdater
and public directory is not present is /var/www/

/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such file or directory

vagrantfile:
puphpet: false
advanced: 'false'
vm:
box: richdynamix/magestead-centos65-nginx-php56
box_url: richdynamix/magestead-centos65-nginx-php56
hostname: magestead-project4.dev
memory: '4096'
cpus: '1'
chosen_provider: virtualbox
network:
private_network: 192.168.44.44
synced_folder:
vflsf_uocnhnxzm524:
sync_type: nfs
magestead:
apps:
mba_12345:
type: magento
dir: /var/www
locale: en_GB
default_currency: GBP
db_name: magestead
base_url: project4.dev
os: centos65
server: nginx

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