uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
7.32k stars 452 forks source link

Wizard is not compatible with .env.prod for DATABASE_URL #301

Open quazardous opened 3 years ago

quazardous commented 3 years ago

Bug report

Title

Wizard is not compatible with .env.prod for DATABASE_URL

Issue Description

bin/console uvdesk:configure-helpdesk is only able to handle DATABASE_URL in .env.

If you deploy more complex env files pattern like .env.prod, it fails.

Preconditions

uvdesk/api-bundle                         v1.0.2  Easily integrate with your community helpdesk system using the uvdesk api bundle.
uvdesk/automation-bundle                  v1.0.7  UVDesk Community Helpdesk Automations Bundle
uvdesk/composer-plugin                    v1.0.1  Generic purpose composer plugin to auto-configure your packages
uvdesk/core-framework                     v1.0.12 UVDesk Community Helpdesk Core Framework Bundle
uvdesk/extension-framework                v1.0.4  UVDesk Community Helpdesk Extension Framework Bundle
uvdesk/mailbox-component                  v1.0.9  The Mailbox component provides tools that allows your helpdesk to process tickets from mult...
uvdesk/support-center-bundle              v1.0.8  UVDesk Community Helpdesk Customer Support Center Bundle

Steps to reproduce

1. Put DATABASE_URL in `.env.prod`
2. launch `bin/console uvdesk:configure-helpdesk`

Expected result

Should work and proceed with wizard steps.

Actual result

  [x] Unable to establish a connection with database server
emtized commented 3 years ago

same problem