Git Product home page Git Product logo

Comments (4)

vialcollet avatar vialcollet commented on May 18, 2024

On precision: the error happens during "preparing app" stage when clearing the cache.

from easy-deploy-bundle.

vialcollet avatar vialcollet commented on May 18, 2024

downgrading to 1.0.4 solves this issue. Any idea?

from easy-deploy-bundle.

vialcollet avatar vialcollet commented on May 18, 2024

Hi all
No feedback on this?

from easy-deploy-bundle.

AcerxX avatar AcerxX commented on May 18, 2024

Hello.

I have the same problem no and the problem is that Symfony thinks the deploy is on dev environment.

I found that the reason behind this is that the .env file has at the ending a default env config appended that overwrites my initial config:

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=386035792d0a05bb169befb9fe85b69e
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example.com$'
###< symfony/framework-bundle ###

###> symfony/swiftmailer-bundle ###
###> For Gmail as a transport, use: "gmail://username:password@localhost"
###> For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
###> Delivery is disabled by default via "null://localhost"
MAILER_URL=null://localhost
###< symfony/swiftmailer-bundle ###

###> doctrine/doctrine-bundle ###
###> Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
###> For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
###> Configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name
###< doctrine/doctrine-bundle ###

I'm now trying to find out where is this comming from and what appends this as I don't have that config in the commited files.

from easy-deploy-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.