ryanstreet / magento2-vagrant

Vagrant Setup for Magento 2 install. All prerequisites setup and running.
GNU General Public License v2.0
84 stars 35 forks source link

Not found #5

Open cerebrumbr opened 9 years ago

cerebrumbr commented 9 years ago

View this errors.

How to fix?

01

02

03

04

ryanstreet commented 9 years ago

I'll look into it for you. Thank you for bringing this to my attention.

cerebrumbr commented 9 years ago

Hello Ryan,

Thanks for the feedback.

I await news ...

TapaniAla commented 9 years ago

Are you working on this bug as it is already 21 days old? I gottoday exactly same failure in my Mac as cerebrumbr,

cerebrumbr commented 9 years ago

@TapaniAla I'm not working with vagrant because it is too slow in windows.

ryanstreet commented 9 years ago

I am currently working on automating the installation process.

Also, it looks as though the issue is the apache rewrites is not working.

I haven't been able to reproduce this issue. @TapaniAla what is your vagrant version? Any sort of debug output? Any help is appreciated.

TapaniAla commented 9 years ago

My vagrant is the latest 1.7.2. I agree the issue could be the apache rewrites. I'm not so familiar with Linux so troubleshooting is slow in my case. It would be nice to include sample data into bootstrap.sh.

TapaniAla commented 9 years ago

I got this debug information from Chrome: http://192.168.33.10/magento2/pub/static/frontend/Magento/blank/en_US/requirejs/require.js Failed to load resource: the server responded with a status of 404 (Not Found) There are several similar error messages all related to static directory. I will check content of static. Magento2 Dev Hub has some fixes: http://devdocs.magento.com/guides/v1.0/install-gde/trouble/tshoot_no-styles.html

TapaniAla commented 9 years ago

Static has no frontend or admin directories. Only file in static is _requirejs. I checked the installation log but found no error indication during the installation. It seems to be failing silently.

TapaniAla commented 9 years ago

There is a tool to create pub/static/frontend content https://github.com/magento/magento2/blob/develop/dev/tools/Magento/Tools/View/deploy.php For some reason it doesn't create css directory so it doesn't solve the messy frontend problem :(

ryanstreet commented 9 years ago

did you experience any sort of failure when the bootstrap ran? Anything such as github rate limits, composer failures, etc?

TapaniAla commented 9 years ago

I finally managet to get the css files just after sending the last comment. I inspected apache2 error log and found that some time limit was exceeded while running https://github.com/magento/magento2/blob/develop/dev/tools/Magento/Tools/View/Deployer.php. I increased the time from the defualt 30 seconds to 300 seconds and then the Deployer script was run until the end. This time consuming loop is at line 127. Next I installed the sample data which went without any major problems. I have still two problems remaining:

ryanstreet commented 9 years ago

Thank you for this information. Looks like there needs to be an additional timeout option set up in the boostrap. I will try that and let you know if it hepls.

CraigJones-SpiralMedia commented 6 years ago

I'm also having the same issue. I am currently working through the suggestions by @TapaniAla however I'm not having much luck.

Also using Vagrant on Windows.

CraigJones-SpiralMedia commented 6 years ago

After more investigating this is what worked for me: https://magento.stackexchange.com/questions/96439/magento2-installation-admin-page-404-during-installation

Not ideal however at least I have pages for the time being.