Giter Site home page Giter Site logo

Comments (9)

andrasbacsai avatar andrasbacsai commented on August 16, 2024 1

I reverted in v264, can you please check now?

from coolify.

Kocal avatar Kocal commented on August 16, 2024 1

The v264 fixes the issue, env vars from Coolify UI are nicely passed down to the container, and my Symfony app is working!

EDIT : by the way, the env vars interpolation in other env vars is a really nice feature, thanks :)

from coolify.

noximo avatar noximo commented on August 16, 2024

I've tried to reference all variables in the compose.yml explicitly in hopes that it'll make them present. It didn't work, even though that notice went away.

So the error probably isn't related to the notice but may be the same error as referenced here: #1882 (comment)

from coolify.

Kocal avatar Kocal commented on August 16, 2024

Oh, that's why my Symfony project is failing too!
Env vars defined in Coolify's UI are not passed down to the PHP container, either by using printenv or cat .env.local.php :/

from coolify.

Kocal avatar Kocal commented on August 16, 2024

Hum, can this be caused by 9c3b757? In Symfony app we commit the .env, but we expect it to be overridden by server's env vars

from coolify.

noximo avatar noximo commented on August 16, 2024

That looks like it. I've changed the name of the issue to reflect the real problem.

from coolify.

Kocal avatar Kocal commented on August 16, 2024

As I workaround, I've downgraded Coolify (I don't think that's a good thing, but I don't have critical things on Coolify) to the latest working version for us (https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.258) with this way:

cd /data/coolify/source
sh upgrade.sh 4.0.0-beta.258

Which outputs:

root@nasus:/data/coolify/source# sh upgrade.sh 4.0.0-beta.258
latest: Pulling from coollabsio/coolify-helper
Digest: sha256:4770886f7214920a14c97f408c0719b1f4a39c6839dbe0d152a33ca243ebea8b
Status: Image is up to date for ghcr.io/coollabsio/coolify-helper:latest
time="2024-04-17T21:49:53Z" level=warning msg="/data/coolify/source/docker-compose.yml: `version` is obsolete"
time="2024-04-17T21:49:53Z" level=warning msg="/data/coolify/source/docker-compose.prod.yml: `version` is obsolete"
 postgres Pulling 
 redis Pulling 
 soketi Pulling 
 coolify Pulling 
 coolify Pulled 
 redis Pulled 
 postgres Pulled 
 soketi Pulled 
 Container coolify-realtime  Recreate
 Container coolify-db  Recreate
 Container coolify-redis  Recreate
 Container coolify-db  Recreated
 Container coolify-redis  Recreated
 Container coolify  Recreate
 Container coolify-realtime  Recreated
 Container coolify  Recreated
 Container coolify-realtime  Starting
 Container coolify-db  Starting
 Container coolify-redis  Starting
 Container coolify-redis  Started
 Container coolify-db  Started
 Container coolify-redis  Waiting
 Container coolify-db  Waiting
 Container coolify-realtime  Started
 Container coolify-redis  Healthy
 Container coolify-db  Healthy
 Container coolify  Starting
 Container coolify  Started
root@nasus:/data/coolify/source#

image

And it nearly works, my Symfony app is accessible again, except that I can't access the project's env vars :D
image

from coolify.

andrasbacsai avatar andrasbacsai commented on August 16, 2024

Hm, I will revert those changes until further investigation.

from coolify.

Kocal avatar Kocal commented on August 16, 2024

Hi @andrasbacsai, I'm trying right now

from coolify.

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.