Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing directories available at Acquia #62

Open
rubenvarela opened this issue Aug 4, 2023 · 0 comments
Open

Missing directories available at Acquia #62

rubenvarela opened this issue Aug 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rubenvarela
Copy link
Collaborator

To better accommodate the directory structure of acquia, we are missing some folders.

Here is the logic suggested from Acquia. In our case, because this recipe defines the AH_SITE_ENVIRONMENT env variable, the logic is executed too,

if (isset($_ENV['AH_SITE_ENVIRONMENT'])) {
  $settings['file_private_path'] = '/mnt/files/' . $_ENV['AH_SITE_GROUP'] . '.' . $_ENV['AH_SITE_ENVIRONMENT'] . '/' . $site_path . '/files-private';
} else {
  $settings['file_private_path'] = '{PATH}';
}

The structure available at acquia is defined here,

The directories from the links above are,

  • /mnt/files/[site].[env]/files
  • /mnt/files/[site].[env]/sites/[sitedir]/files
  • /mnt/files/[site].[env]/files-private
  • /mnt/files/[site].[env]/sites/[sitedir]/files-private
  • /mnt/tmp/[site].[env]
  • /mnt/tmp/[site][env]/php_storage/twig
  • /mnt/files/[site].[env]/backups
  • /mnt/files/[site].[env]/import
  • /var/log/sites/[site].[env]/logs/[infrastructure name]/[logname].log
  • /mnt/gfs/[site].[env]/www
  • /mnt/tmp/[sitename].[env]
@rubenvarela rubenvarela added the bug Something isn't working label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant