paliarush / magento2-vagrant-for-developers

Vagrant Box for Magento 2 Developers
MIT License
447 stars 165 forks source link

Magento frontend is not accessible after installation on windows host #219

Open emperorKez opened 5 years ago

emperorKez commented 5 years ago

Windows 10 pro,

Vagrant 2.2.2 All listed requirements installed.

Whilst running init_project, everything seemed to have worked though with some error. The project initialization was successfully completed but magento frontend and backend was not accessible. I have also correctly configured phpstorm for magento codebase.

$ bash init_project.sh [2018-12-25 23:03:09] Checking requirements [/c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/scripts/host/check_requirements.sh] [2018-12-25 23:03:12] Installing missing vagrant plugins [init_project.sh] [2018-12-25 23:03:17] Generating random IP address, and host name to prevent collisions (if no custom values specified) [init_project.sh] [2018-12-25 23:03:21] Installing Magento dependencies via Composer [init_project.sh] [2018-12-25 23:03:23] Executing composer command [/c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/scripts/host/composer.sh] [2018-12-25 23:03:25] > Checking requirements [/c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/scripts/host/check_requirements.sh] [2018-12-25 23:03:29] > Installing composer [/c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/scripts/host/composer.sh] [2018-12-25 23:03:36] > composer --ignore-platform-reqs --no-interaction install [/c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/scripts/host/composer.sh] [2018-12-25 23:03:38] Initializing vagrant box [init_project.sh] [2018-12-25 22:04:16] Upgrading environment (recurring) [/tmp/vagrant-shell] [2018-12-25 22:04:17] > Deleting obsolete repository [/tmp/vagrant-shell] [2018-12-25 22:04:17] > Upgrading vagrant box paliarush/magento2.ubuntu v1.1.0 [/tmp/vagrant-shell] [2018-12-25 22:04:17] > Installing Varnish [/tmp/vagrant-shell] [2018-12-25 22:05:44] > Installing Redis [/tmp/vagrant-shell] [2018-12-25 22:06:48] > **make: * No rule to make target `install'. Stop. [Unknown source file] [2018-12-25 22:06:48] > sudo: utils/install_server.sh: command not found [Unknown source file] [2018-12-25 22:06:48] > Fixing potential issue with MySQL being down after VM power off [/tmp/vagrant-shell] [2018-12-25 22:06:52] Configuring environment (recurring) [/tmp/vagrant-shell] [2018-12-25 22:06:52] > Removing configs from host in case of force stop of virtual machine before linking restored ones [/tmp/vagrant-shell] [2018-12-25 22:06:52] > Making sure configs are restored on system halt and during reboot [/tmp/vagrant-shell] [2018-12-25 22:06:52] > Reverting configs before shutdown or reboot to allow proper services initialization on booting [/vagrant/scripts/guest/unlink_configs] [2018-12-25 22:06:53] > Making guest configs visible and editable in the host IDE [/vagrant/scripts/guest/link_configs] [2018-12-25 22:07:01] > Upgrading existing environment [/tmp/vagrant-shell] [2018-12-25 22:07:01] > Copying varnish vcl file [/tmp/vagrant-shell] [2018-12-25 22:07:01] > Setting up PHP [/tmp/vagrant-shell] [2018-12-25 22:07:05] > Configuring PHP 7.1 [/tmp/vagrant-shell] [2018-12-25 22:07:05] > ERROR: Module php7.1 does not exist! [Unknown source file] [2018-12-25 22:07:05] > ERROR: Module php7.1 does not exist! [Unknown source file] [2018-12-25 22:07:10] > Enabling email logging [/tmp/vagrant-shell] [2018-12-25 22:07:10] > Installing js build tools [/tmp/vagrant-shell] [2018-12-25 22:07:52] Exporting environment variables [/tmp/vagrant-shell] [2018-12-25 22:07:52] Exporting environment variables [/tmp/vagrant-shell] [2018-12-25 22:08:14] Checking if all required directories were mounted successfully [/vagrant/scripts/guest/check_mounted_directories] [2018-12-25 23:08:05] Creating configuration for Magento Tests [/c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/scripts/host/configure_tests.sh] [2018-12-25 23:08:12] Installing Magento CE [init_project.sh] [2018-12-25 23:08:14] Deleting TestModule directories [/c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/scripts/host/m_reinstall.sh] [2018-12-25 22:10:06] Killing MQ processes [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:10:06] Installing/re-installing Magento [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:10:06] > Removing Magento configuration files (env.php and config.php) [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:10:06] > Restoring stored in git config.php (if applicable) [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:10:07] > Clearing Magento cache [/vagrant/scripts/guest/m-clear-cache] [2018-12-25 22:10:07] > Clearing directories containing temporary files [/vagrant/scripts/guest/m-clear-cache] [2018-12-25 22:10:07] > Dropping and creating 'magento' DB [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:10:07] > Dropping and creating 'magento_integration_tests' DB [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:10:07] > ./bin/magento setup:install --db-host=localhost --db-name=magento --db-user=root --backend-frontname=admin --base-url=http://magento2.vagrant248/ --language=en_US --timezone=America/Chicago --currency=USD --admin-lastname=Admin --admin-firstname=Admin --admin-email=admin@example.com --admin-user=admin --admin-password=123123q --cleanup-database --use-rewrites=1 [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:10:07] > Configuring Varnish FPC according to config.yaml [/vagrant/scripts/guest/configure_varnish] [2018-12-25 22:10:07] > Configuring apache files to run without varnish [/vagrant/scripts/guest/configure_varnish] [2018-12-25 22:10:07] > Updating Magento database to not use varnish FPC [/vagrant/scripts/guest/configure_varnish] [2018-12-25 22:10:07] > Restarting Apache and Varnish [/vagrant/scripts/guest/configure_varnish] [2018-12-25 22:10:11] > Enabling Magento cron jobs [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:10:11] > ERROR 1146 (42S02) at line 1: Table 'magento.core_config_data' doesn't exist [Unknown source file] [2018-12-25 22:10:11] > Changing ownership of /var/www/magento2ce to vagrant:vagrant [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:11:28] > Generating sample data [/vagrant/scripts/guest/generate_basic_data] [2018-12-25 22:14:59] > Configuring search engine according to config.yaml [/vagrant/scripts/guest/configure_search_engine] [2018-12-25 22:14:59] > Search engine configuration was not changed (custom search engine is not available in Magento CE). [/vagrant/scripts/guest/configure_search_engine] [2018-12-25 22:14:59] > Changing Magento configuration to allow execution of functional tests [/vagrant/scripts/guest/change_magento_config_for_functional_tests] [2018-12-25 22:14:59] > Updating Magento config: cms/wysiwyg/enabled = disabled [/vagrant/scripts/guest/update_magento_config] [2018-12-25 22:14:59] > Updating Magento config: admin/security/admin_account_sharing = 1 [/vagrant/scripts/guest/update_magento_config] [2018-12-25 22:14:59] > Updating Magento config: admin/security/use_form_key = 0 [/vagrant/scripts/guest/update_magento_config] [2018-12-25 22:14:59] > ERROR 1146 (42S02) at line 1: Table 'magento.core_config_data' doesn't exist ERROR 1146 (42S02) at line 1: Table 'magento.core_config_data' doesn't exist ERROR 1146 (42S02) at line 1: Table 'magento.core_config_data' doesn't exist [Unknown source file] [2018-12-25 22:15:00] > Updating Magento config: admin/security/session_lifetime = 86400 [/vagrant/scripts/guest/update_magento_config] [2018-12-25 22:15:00] > ERROR 1146 (42S02) at line 1: Table 'magento.core_config_data' doesn't exist [Unknown source file] [2018-12-25 22:15:00] > Clearing Magento cache [/vagrant/scripts/guest/m-clear-cache] [2018-12-25 22:15:00] > Clearing directories containing temporary files [/vagrant/scripts/guest/m-clear-cache] [2018-12-25 22:15:00] > Checking if Magento frontend is accessible at 'http://magento2.vagrant248/' [/vagrant/scripts/guest/m-reinstall] [2018-12-25 22:15:00] > Magento frontend is not accessible at 'http://magento2.vagrant248/' after installation. Please scan output above and logs for errors [/vagrant/scripts/guest/m-reinstall] [2018-12-25 23:14:44] > _Project initialization succesfully completed (make sure there are no errors in the log above) [initproject.sh] [2018-12-25 23:14:45] > /c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/scripts/host/m_reinstall.sh: line 9: cd: /c/Users/Kezmarc/Documents/Projects/Magento/MageDev/vagrant-magento/magento2ce/app/code/Magento: No such file or directory [Unknown source file]