uvdesk/community-skeleton

Wizard is not compatible with .env.prod for DATABASE_URL

Open

#301 opened on Aug 27, 2020

View on GitHub
 (1 comment) (0 reactions) (2 assignees)CSS (562 forks)batch import
Help Wanted

Repository metrics

Stars
 (18,643 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide