You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only impacts the STAGE environment. I can work around this, but wanted to let the project know and maybe this will help someone else.
Describe the bug
I am using AcquiaDrupalEnvironmentDetector::getAhFilesRoot() to load a secrets file on ACN. It is working via the GUI, but drush commands report a different path.
GUI - /mnt/files/[SITE].stage
Drush - /mnt/files/[SITE].test
To Reproduce
Run AcquiaDrupalEnvironmentDetector::getAhFilesRoot() via drush and GUI (echo statement) to see path.
Expected behavior
/mnt/files/[SITE].test to be returned since that is the file path I have on Acquia Cloud Next.
Screenshots
n/a
Environment
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
getAhFilesRoot() differences with drush and GUI on STAGE environments
CLI-1375: getAhFilesRoot() differences with drush and GUI on STAGE environments
Aug 16, 2024
print getenv('AH_SITE_ENVIRONMENT') . "\n";
print $_ENV['AH_SITE_ENVIRONMENT'] . "\n";
Provided differences because of the custom code I'm using updating putenv('AH_SITE_ENVIRONMENT=', but not $_ENV.
I'm going to update my code to not mess with AH_SITE_ENVIRONMENT since that is a bad idea.
This only impacts the STAGE environment. I can work around this, but wanted to let the project know and maybe this will help someone else.
Describe the bug
I am using AcquiaDrupalEnvironmentDetector::getAhFilesRoot() to load a secrets file on ACN. It is working via the GUI, but drush commands report a different path.
To Reproduce
Run AcquiaDrupalEnvironmentDetector::getAhFilesRoot() via drush and GUI (echo statement) to see path.
Expected behavior
/mnt/files/[SITE].test to be returned since that is the file path I have on Acquia Cloud Next.
Screenshots
n/a
Environment
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: