Comments (6)
@LCIJJ Do you have this file /c/Projects/vagrant-magento/magento2ce/magento2ee/app/etc/aliases_to_classes_map.json
? This is indirect check to make sure that EE codebase is available, feel free to change this condition to use any other file that exists in your EE repo.
from magento2-vagrant-for-developers.
I switched the condition to a file that exists and now I get the following message:
C:\Projects\vagrant-magento>bash m-switch-to-ee
+ [[ -f /c/Projects/vagrant-magento/lib/php/php.exe ]]
+ php_executable=php
+ echo php
+ [[ ! -f /c/Projects/vagrant-magento/magento2ce/magento2ee/app/etc/vendor_path.php ]]
+ force_switch=0
+ getopts f flag
+ [[ -f /c/Projects/vagrant-magento/magento2ce/app/etc/vendor_path.php ]]
+ [[ 0 -eq 0 ]]
+ set +x
Already switched to EE. Use 'm-switch-to-ee -f' to switch anyway.
However, I login into the server and run the following:
vagrant@magento2:~$ echo ${MAGENTO_ROOT} /var/www/magento2ce
I was expecting the root to be /var/www/magento2ce/magento2ee
. How do i switch to this folder?
from magento2-vagrant-for-developers.
Magento CE codebase should be in /var/www/magento2ce
Magento EE codebase should be in /var/www/magento2ce/magento2ee
Then try to run suggested command m-switch-to-ee -f
from magento2-vagrant-for-developers.
From "magento2ce" directory I downloaded and installed EE via composer:
composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition magento2ee
After installation completed, I ran m-switch-to-ee -f
command and the following error displays accessing Admin area via browser.
from magento2-vagrant-for-developers.
The problem is that if Magento EE codebase is checked out via composer, it does not contain tools necessary for linking/unlinking so it is impossible to switch to EE and back.
Current vagrant project is created for developers and it is assumed that developers will work with git repositories.
If you just need to get composer-based EE installation running, then go to <vagrant_project_root> and execute composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition magento2ce
(note, that directory name should be magento2ce, not magento2ee).
from magento2-vagrant-for-developers.
This worked.
from magento2-vagrant-for-developers.
Related Issues (20)
- Xdebug issue on latest versions
- SSH command responded with a non-zero exit status.
- There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: 365199510952
- Got some issue with clone private repos from bitbucket
- when i run init_project.sh getting error
- [Feature] Allow to enable/disable xdebug with configuration
- Magento frontend is not accessible after installation on windows host
- Issue when booting VM in ubuntu 18.10 HOT 1
- Terminal in vagrant got freezes while install/reinstall magento
- [Enhancements] Allow to disabled xdebug from config.yaml
- Increase xdebug_nesting_level for extended editions scenarios
- Cannot find NFS mount on MacOS Mojave 10.14.1
- Ubuntu Trusty is EOL; ondej/php has removed all PHP versions HOT 9
- PHP Module does not exist HOT 4
- Unable to install HOT 2
- git bash, windows 10, read-only file system error HOT 1
- y7777777777777777777777777777777777777777/8888888888888888/x
- Host PHP version php-5.6.9 -> newer and adding VC_redist.x64.exe as requirement HOT 1
- [Windows] Unzip not installed by default in gitbash
- Deleting Magento Test Module only if "checkout_source_from: git"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-vagrant-for-developers.