Skip to content

MEDIA URL net::ERR_ABORTED when sample data is installed #12618

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

Closed
gerrybarron opened this issue Dec 11, 2017 · 7 comments
Closed

MEDIA URL net::ERR_ABORTED when sample data is installed #12618

gerrybarron opened this issue Dec 11, 2017 · 7 comments
Labels
Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update

Comments

@gerrybarron
Copy link

I installed a fresh magento2.1.8 on our staging server without sample data and then when I searched for how to install sample data I just follow this instruction http://devdocs.magento.com/guides/v2.1/install-gde/install/cli/install-cli-sample-data-composer.html
But after finished installing the sample data there's an error for the media url then i tried to check the other issuer regarding this but non of them works for me. #2816

Preconditions

  1. Magento 2.1.8
  2. PHP 7.0.22-0ubuntu0.16.04.1
  3. MYSQL Ver 14.14 Distrib 5.7.20
  4. OS Ubuntu Server 16.04

Steps to reproduce

  1. I follow the guide for installing sample data : http://devdocs.magento.com/guides/v2.1/install-gde/install/cli/install-cli-sample-data-composer.html
  2. Run bin/magento sampledata:deploy
  3. After installing the sample data I ran the setup:upgrade and setup:di:compile
    4.Then I clean and flush the cache using this command cache:clean and cache:flush

Expected result

  1. Successful installation of Sample Data and without an error

Actual result

  1. I encountered an error
    image
@magento-engcom-team magento-engcom-team added Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed labels Dec 11, 2017
@magento-engcom-team
Copy link
Contributor

magento-engcom-team commented Dec 11, 2017

Hello @gerrybarron. Thanks for reporting. Currently we are not able to reproduce Your issue. Please answer some questions about it. 1. After installation of Magento had You changed the mode before installing sample data (from deafault)? 2. After installation of Magento had You made any changes Your instance at all (created new product, customer, changed configuration settings, whatever...)) before installing sample data?
Also below we describe the steps we made to reproduce Your issue. Please read them and tell us what we've missed or done unlike You have it done. So here we go:

  1. In CLI composer create-project --repository=https://repo.magento.com magento/project-community-edition=2.1.8 .
  2. In browser entered our Magento website's url and got to websetup page.
  3. Installed our Magento instance via websetup and entered admin page.
  4. In CLI indexer:reindex; cache:flush.
  5. sampledata:deploy; setup:upgrade; setup:di:compile.
  6. cache:clean and cache:flush.

@gerrybarron
Copy link
Author

Sorry for the late reply.

  1. I didn't change anything on the mode it's still on default mode
  2. Nope I didn't do that either its a fresh install of magento 2.1.8
    I tried to reinstall the Magento 2.1.8 and install sample data and I have the same result

In the number 1 I didn't do that I have a zip file of Magento 2.1.8.

This is what i did.

  1. I unzip the Magento-CE-2.1.8-2017-08-08-04-18-25.zip to staging folder
  2. Created a database name "staging"
  3. I open the browser and proceed to web setup and install the Magento
  4. After installing I run the command for the composer to install sample data
    bin/magento sampledata:deploy
  5. After finish installing the sample data I run this commands
    5.1 bin/magento setup:upgrade
    5.2 bin/magento setup:di:compile
    5.3 bin/magento indexer:reindex
    5.4 bin/magento cache:clean
    5.5 bin/magento cache:flush
    5.6 I change the permission chmod 777 staging -R
    5.7 I change the owner chown www-data:www-data staging -R

@magento-engcom-team
Copy link
Contributor

magento-engcom-team commented Dec 12, 2017

Thank You @gerrybarron. Please specify what browser You use.

@gerrybarron
Copy link
Author

I use google chrome.

@magento-engcom-team
Copy link
Contributor

Thank You @gerrybarron. Now also please specify us on what pages You get this error.

@gerrybarron
Copy link
Author

At home page

@magento-engcom-team
Copy link
Contributor

magento-engcom-team commented Dec 14, 2017

Unfortunately @gerrybarron, we are not able to reproduce Your issue. It seems to be caused by some environmental settings. Please try to find the answer on the sites like Community Forums or the Magento Stack Exchange. If you'd like to update the issue, please reopen it. Thank You.

@magento-engcom-team magento-engcom-team added the Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch label Dec 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update
Projects
None yet
Development

No branches or pull requests

2 participants