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

Exception on loading sample data #79

Open
thinkingcap opened this issue Nov 8, 2016 · 3 comments
Open

Exception on loading sample data #79

thinkingcap opened this issue Nov 8, 2016 · 3 comments

Comments

@thinkingcap
Copy link

I get the following
[Composer\Downloader\TransportException] Your configuration does not allow connection to http://packagist.org. See https://getcomposer.org/doc/06-config.md# secure-http for details.

@richdynamix
Copy link
Owner

🤔 This is a new one. Do you have steps to reproduce? Are you running this from your host machine or from the guest?

@thinkingcap
Copy link
Author

thinkingcap commented Nov 8, 2016

If I select "Install sample data" on initial project creation it fails.
If I then ssh into the guest, update composer and run "magento sampledata:deploy" it fails with same error.
If I set "secure-http: false" I get some zlib error.

Trying CentOS next to see if that makes any difference.

Running php 7.0.12 on MacOS 10.12.1

@thinkingcap
Copy link
Author

Work around was to install manually

git clone https://github.com/magento/magento2-sample-data.git <sample-data folder>
php -f <sample-data folder>/dev/tools/build-sample-data.php -- --ce-source="<install folder>"
bin/magento setup:upgrade

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

2 participants