-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Weird sample data installation issue #1610
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
Comments
Have you ever been able to do it? If so did you change anything? Also, even though there's no need you might as well clean the var/generation and var/cache directories and try again. |
Yes I've been able to before, but this time I'm trying to install the I just tried switching my version to |
@CoreyCole Is your magento2 install actually 1.0.0-beta too? I think you might be trying to install 1.0.0-beta sample data on an older magento version. |
I did a fresh clone and in my |
sample-data:1.0.0-beta is compatible only with Magento 1.0.0-beta https://github.com/magento/magento2/tree/master. Version in develop branch is not stable and can produce some errors. |
Thanks! Running |
Same happened here with a fresh install of Magento 2 from this repo. I would say it is exatly the same scenario. @CoreyCole how did you fixed this? If I try to do a git checkout master i get |
+1 for this error, used a clean install and it happens. |
I can confirm the solution proposed here works. After doing git checkout master and git pull I'm able to install Magento 2 with sample data. |
Try
|
Thank you @CoreyCole, I was just trying the same thing. Master branch works w/sample data. |
We have created MAGETWO-41137 to investigate this issue |
Hello , I did git checkout master, still i am getting the issue. /var/www/magento2/bin/magento sampledata:install admin |
@santosh-brainvire did you try |
@CoreyCole Yes, i am now on branch master. Here is output of git status. git status On branch masterChanges not staged for commit:(use "git add ..." to update what will be committed)(use "git checkout -- ..." to discard changes in working directory)modified: composer.jsonmodified: composer.lockmodified: pub/static/.htaccessmodified: var/.htaccessUntracked files:(use "git add ..." to include in what will be committed)app/code/Magento/SampleData/composer.json.bakIt took 14.03 seconds to enumerate untracked files. 'status -uno'may speed it up, but you have to be careful not to forget to addnew files yourself (see 'git help status').no changes added to commit (use "git add" and/or "git commit -a") |
Maybe try making your |
Even switching to master branch: results in the same error:
Any workaround for fixing? |
I didn't see the But. didn't get the |
I have the same problem when I install the sample data on one of my server. |
Thanks. I'll add this to troubleshooting in the documentation. |
hmm did the |
Clear your var folder.
|
The fix for this issue is delivered. Could you please verify it? |
@kokoc i faced the same issue today. Only 'git checkout master' worked. |
Replacing getWriteConnection() with getConnection() works as well .... |
It should be fixed now. |
Fixed issue: MAGETWO-72798 [Backport] - Website doesn't work with Redis cache installed and PhpRedis extension enabled - for 2.1
I'm getting a weird issue trying to install sample data on a fresh webstore. I've wiped the database and pulled a fresh directory. I'm able to install without sample data, but when I run
composer require magento/sample-data:1.0.0-beta
bin/magento setup:upgrade
bin/magento sampledata:install admin
I get the following output:
The text was updated successfully, but these errors were encountered: