cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Cloud Integration app/etc/env.php deleted

Magento Cloud Integration app/etc/env.php deleted

Hi Team,
We have Magento Cloud with 2 integration, 1 staging and 1 production.
primarily we use integration1, staging and production, integration2 is not in used.
so recent incident cause integration1's app/etc/env.php deleted.
on code merge to integration1, app/etc/env.php  but there is alot of missing fields.
only thing present is cache setting and MAGE_MODE.
other things missing are:

  • graphql id_salt
  • cache_types
  • db connection
  • slave_connection
  • crypt key
  • resource
  • x-frame-options
  • session redis
  • lock config
  • downloadable_domains
  • cron_consumers_runner
  • catalog search

there are more fields/setting, I'm just comparing staging env.php with integration with missing fields, is all fields required? not sure.

i have raised ticket to adobe support and its been more than 30 days, they are not providing proper solution.

not sure if adobe team is capable of solving this.

please help me fix this by myself, it would be very helpful in learning to fix this as well by myself without relying on adobe support.

Thank you
Mohammed Rahil Ovaiz

3 REPLIES 3

Re: Magento Cloud Integration app/etc/env.php deleted

Hello Team,

 

We came accross this issue but still our team didn't got the resolution yet for one of the project .It really help if we get some resolution for this issue.

Re: Magento Cloud Integration app/etc/env.php deleted

Why not just create a new integration environment and delete integration1?

Founder at https://agency418.com

Re: Magento Cloud Integration app/etc/env.php deleted

That’s definitely a stressful situation. Losing the env.php file can cause serious issues since it holds crucial environment configurations for database connections, encryption keys, session handling, and more. You’re right,  most of those fields are required for the application to function properly. If you have access to a staging environment, the best approach is to carefully compare and reconstruct the missing fields from that file, especially sensitive parts like crypt keys and db connections. This situation reminds me how crucial backups are, whether it’s for server configurations or even for personal apps. For instance, in the Android space, Insta tools like Instander latest APK offer ways to preserve media directly from Instagram, helping users avoid relying on unstable features. Hopefully, Magento’s documentation or community forums can guide you better until Adobe responds.