Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit 97280d0

Browse files
author
Alex Paliarush
committed
Merge remote-tracking branch 'remotes/origin/2.0' into ElasticSearch
2 parents d156d0d + 9176daf commit 97280d0

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1515
### Fixed
1616

1717
- It is now possible to use spaces in path to vagrant project on Windows. On OSX and Linux hosts it works in non-NFS mode, in NFS mode it does not work because of [bug in vagrant](mitchellh/vagrant#7540)
18+
- Fixed issue with MySQL being down after VM power off
1819

1920
### Added
2021

Diff for: etc/config.yaml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
repository_url:
2-
# [To apply changes: init-project -c]
2+
# [To apply changes: init-project -fc]
33
ce: "git@github.com:magento/magento2.git"
44
ee: ""
55
guest:

Diff for: init_project.sh

+8-8
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ bash "${vagrant_dir}/scripts/host/composer.sh" install
8484
cd "${vagrant_dir}"
8585
vagrant up
8686

87+
echo "Configuring PhpStorm..."
88+
if [[ ${force_project_cleaning} -eq 1 ]] && [[ ${force_phpstorm_config_cleaning} -eq 1 ]]; then
89+
rm -rf "${vagrant_dir}/.idea"
90+
fi
91+
if [[ ! -f "${vagrant_dir}/.idea/deployment.xml" ]]; then
92+
bash "${vagrant_dir}/scripts/host/configure_php_storm.sh"
93+
fi
94+
8795
if [[ ${host_os} == "Windows" ]] || [[ ${use_nfs} == 0 ]]; then
8896
# Automatic switch to EE during project initialization cannot be supported on Windows
8997
bash "${vagrant_dir}/m-reinstall"
@@ -96,14 +104,6 @@ else
96104
fi
97105

98106
set +x
99-
echo "Configuring PhpStorm..."
100-
if [[ ${force_project_cleaning} -eq 1 ]] && [[ ${force_phpstorm_config_cleaning} -eq 1 ]]; then
101-
rm -rf "${vagrant_dir}/.idea"
102-
fi
103-
if [[ ! "$(ls -A "${vagrant_dir}/.idea")" ]]; then
104-
bash "${vagrant_dir}/scripts/host/configure_php_storm.sh"
105-
fi
106-
107107
bold=$(tput bold)
108108
regular=$(tput sgr0)
109109
echo "

Diff for: scripts/provision/upgrade_environment_recurring.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@ is_varnish_installed="$(isServiceAvailable varnish)"
4949
if [[ ${is_varnish_installed} -eq 0 ]]; then
5050
apt-get update
5151
apt-get install -y varnish
52-
fi
52+
fi
53+
54+
# Fix issue with MySQL being down after VM power off
55+
service mysql restart

0 commit comments

Comments
 (0)