Comments (9)
I reverted in v264, can you please check now?
from coolify.
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.
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.
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.
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.
That looks like it. I've changed the name of the issue to reflect the real problem.
from coolify.
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#
And it nearly works, my Symfony app is accessible again, except that I can't access the project's env vars :D
from coolify.
Hm, I will revert those changes until further investigation.
from coolify.
Hi @andrasbacsai, I'm trying right now
from coolify.
Related Issues (20)
- [Bug]: Erroneous/Unnecessary PermitRootLogin warning during installation
- Move v3 docs to the new place HOT 1
- Databases: Improvements HOT 3
- [Bug]: Redeploy hangs on No logs yet.
- [Bug]: .env missing when using build servers HOT 6
- [Bug]: libstdc++.so.6 ImportError in Django Container Shell on self-hosted Coolify HOT 1
- Able to make on-demand build servers
- [Bug]: service [Logto] doesn't work HOT 9
- [Bug]: Preview deployments with a build server deploy the wrong version
- [Bug]: nixpacks build fails: invalid argument HOT 7
- [Bug]: Appwrite realtime not working
- Terminal HOT 6
- [Bug]: The database backup under docker compose cannot be downloaded. HOT 2
- [Bug]: Volume mounts on nixpacks container do not work. HOT 1
- [Feature]: Jitsi Meet Template HOT 2
- How to modify parameters of self-hosted version
- [Bug]: Clouflare Tunnel ERR_SSL_VERSION_OR_CIPHER_MISMATCH HOT 1
- Git based compose deployment should detect if a database is added
- [Bug]: MySQL backup cannot be created
- [Bug]: Using same Source across teams causes webhooks to run multiple times in one deploy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coolify.