Priority
2 - Important - inaccurate info needs to be corrected to prevent customer issues
Where should the changes be made?
I am building a Drupal 11 site following the official Upsun Drupal documentation. The documentation relies entirely on the upsun project:init command to generate a .environment file that maps PLATFORM_RELATIONSHIPS to standard shell variables (DB_SCHEME, DB_HOST, etc.) for Drupal's use.
The project:init command gives .environment file:
export DATABASE_URL="${DB_SCHEME}://${DB_USERNAME}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_PATH}"
but it completely fails to generate the definition/parsing logic for these variables.
As a result, DB_SCHEME and other variables remain empty, DATABASE_URL is malformed, and Drupal crashes with "Driver not specified".
Documentation Links:
What exactly should be updated?
The new docs https://docs.upsun.com/get-started/stacks/drupal.html should be updated to clarify platformsh/config-reader usage or fix the init command to generate correct .environment logic
Optional: Additional context
No response
Priority
2 - Important - inaccurate info needs to be corrected to prevent customer issues
Where should the changes be made?
I am building a Drupal 11 site following the official Upsun Drupal documentation. The documentation relies entirely on the
upsun project:initcommand to generate a.environmentfile that mapsPLATFORM_RELATIONSHIPSto standard shell variables (DB_SCHEME,DB_HOST, etc.) for Drupal's use.The
project:initcommand gives.environmentfile:but it completely fails to generate the definition/parsing logic for these variables.
As a result,
DB_SCHEMEand other variables remain empty,DATABASE_URLis malformed, and Drupal crashes with "Driver not specified".Documentation Links:
platformsh/config-reader.platformsh/config-reader.What exactly should be updated?
The new docs https://docs.upsun.com/get-started/stacks/drupal.html should be updated to clarify platformsh/config-reader usage or fix the init command to generate correct .environment logic
Optional: Additional context
No response