| Summary: | drupal commands can not be executed in drupal app home dir after migration | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Yan Du <yadu> |
| Component: | Containers | Assignee: | Vojtech Vitek <vvitek> |
| Status: | CLOSED WORKSFORME | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.x | CC: | hripps, mfojtik, xtian, yadu |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-18 17:36:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
@Yan Du, does it happen only with the apps that were created against old Drupal Quickstart code, right? If that's correct, this is expected behavior. Users are advised to run the following command themselves: cat >$OPENSHIFT_HOMEDIR/.drush/drushrc.php <<EOF <?php \$options['uri'] = \$_ENV['OPENSHIFT_APP_DNS']; \$options['root'] = \$_ENV['OPENSHIFT_REPO_DIR'].'php'; EOF Can you test against the latest Drupal Quickstart code? 1. Create new Drupal Quickstart app 2. Migrate 3. drush works even in homedir Hi, Vojtech Vitek the drupal app was created on 22 Sep, should I do a round migration test to the latest devenv, or just upgrade to devenv_stage_488? (In reply to Yan Du from comment #2) > Hi, Vojtech Vitek > > the drupal app was created on 22 Sep, should I do a round migration test to > the latest devenv, or just upgrade to devenv_stage_488? Check your existing prepared drupal app on INT or upgrade to devenv-stage_488 if you are going to check if it's still reproducible. do migration test with new drupal app (devenv_stage_486 -> devenv_stage_488) issue can't be reproduced. drush command works normally in app home dir after migration. Sorry for not answering sooner, I just got back from my PTO. Comment 4 sounds to me like we can close this bz, right? @Vojtech Vitek Yes, Test on INT(devenv_4026), it works now. Seems it caused by old drupal quickstart code, issue can't be reproduced for the new one. Thanks. |
Description of problem: drupal commands can not be executed in drupal app home dir after migration [drupal-dy.int.rhcloud.com 523e9c606cec0e1fe9000021]\> drush core-status PHP executable : /usr/bin/php PHP configuration : /var/lib/openshift/523e9c606cec0e1fe9000021/php/configuration/etc/ php.ini PHP OS : Linux Drush version : 6.0 Drush configuration : Drush alias files : Version-Release number of selected component (if applicable): INT(devenv_3835) How reproducible: Always Steps to Reproduce: 1. Create a drupal-quickstart app #rhc app create cdrupal php-5.3 mysql-5.1 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git 2. Do upgrade and migrate 3. SSH into this app and come into the home dir #rhc ssh cdrupal #cd ~ 4. Run some drupal commands and check drush environment status #drush core-status Actual results: [drupal-dy.int.rhcloud.com 523e9c606cec0e1fe9000021]\> drush core-status PHP executable : /usr/bin/php PHP configuration : /var/lib/openshift/523e9c606cec0e1fe9000021/php/configuration/etc/ php.ini PHP OS : Linux Drush version : 6.0 Drush configuration : Drush alias files : Expected results: drush command should execute normally in home dir #drush core-status Drupal version : 7.23 Site URI : http://default Database driver : mysql Database username : adminetqKtmz Database name : drupal Database : Connected Drupal bootstrap : Successful Drupal user : Anonymous Default theme : bartik Administration theme : seven PHP executable : /usr/bin/php PHP configuration : /var/lib/openshift/523e9c606cec0e1fe9000021/php/configuration/etc /php.ini PHP OS : Linux Drush version : 6.0 Drush configuration : Drush alias files : Drupal root : /var/lib/openshift/523e9c606cec0e1fe9000021/app-root/data/downloa ds/drupal-7.23 Site path : sites/default File directory path : sites/default/files Private file : /var/lib/openshift/523e9c606cec0e1fe9000021/app-root/data/private directory path / Temporary file : /tmp/drupal/ directory path Additional info: create a new drupal on INT, and "drush core-status" can be executed normally in app home dir.