<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Twenty: IS_CONFIG_VARIABLES_IN_DB_ENABLED is hardcoded and overrides /app/data/env]]></title><description><![CDATA[<p dir="auto"><strong>App:</strong> Twenty<br />
<strong>Version:</strong> instance reports 2.37.0</p>
<h3>Summary</h3>
<p dir="auto"><code>start.sh</code> appends a hardcoded <code>IS_CONFIG_VARIABLES_IN_DB_ENABLED=false</code> <em>after</em> copying <code>/app/data/env</code>, so any value a user sets for that variable in <code>/app/data/env</code> is silently overridden on every start.</p>
<h3>Details</h3>
<p dir="auto">In <code>/app/pkg/start.sh</code>:</p>
<pre><code class="language-bash">cat /app/data/env &gt; /run/twenty-server/.env
cat &gt;&gt; /run/twenty-server/.env &lt;&lt;EOT
IS_CONFIG_VARIABLES_IN_DB_ENABLED=false
...
EOT
</code></pre>
<p dir="auto">Since the generated <code>.env</code> is read top to bottom, the appended line wins. I had <code>IS_CONFIG_VARIABLES_IN_DB_ENABLED=true</code> in <code>/app/data/env</code>; the resulting <code>/run/twenty-server/.env</code> contains <code>false</code>.</p>
<h3>Impact</h3>
<p dir="auto">With database configuration disabled, Twenty's Admin Panel still renders the Configuration Variables and AI model settings, but no write succeeds. From the UI this looks like a broken feature rather than a deliberate deployment mode — in my case a generic "failed to update model recommendations" toast with no indication that the panel is read-only by design.</p>
<p dir="auto">It also means the only way to configure the instance is to edit <code>/app/data/env</code> and restart, which is not discoverable from the app itself.</p>
<h3>Suggested fix</h3>
<p dir="auto">Only append the default when the user has not set it:</p>
<pre><code class="language-bash">grep -q '^IS_CONFIG_VARIABLES_IN_DB_ENABLED=' /app/data/env \
  || echo 'IS_CONFIG_VARIABLES_IN_DB_ENABLED=false' &gt;&gt; /run/twenty-server/.env
</code></pre>
<p dir="auto">Same pattern would apply to any other variable in that heredoc that isn't strictly infrastructure-bound (the Postgres/Redis/APP_SECRET lines obviously need to stay authoritative).</p>
<p dir="auto">Happy to test a build if that helps.</p>
]]></description><link>https://forum.cloudron.io/topic/15883/twenty-is_config_variables_in_db_enabled-is-hardcoded-and-overrides-app-data-env</link><generator>RSS for Node</generator><lastBuildDate>Thu, 17 Sep 2026 21:13:25 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15883.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Aug 2026 11:57:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Twenty: IS_CONFIG_VARIABLES_IN_DB_ENABLED is hardcoded and overrides /app/data/env on Tue, 01 Sep 2026 14:07:59 GMT]]></title><description><![CDATA[<p dir="auto">Thank you</p>
]]></description><link>https://forum.cloudron.io/post/128812</link><guid isPermaLink="true">https://forum.cloudron.io/post/128812</guid><dc:creator><![CDATA[david.opalia]]></dc:creator><pubDate>Tue, 01 Sep 2026 14:07:59 GMT</pubDate></item><item><title><![CDATA[Reply to Twenty: IS_CONFIG_VARIABLES_IN_DB_ENABLED is hardcoded and overrides /app/data/env on Tue, 01 Sep 2026 14:02:54 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/david.opalia" aria-label="Profile: david.opalia">@<bdi>david.opalia</bdi></a><br />
Thanks for reporting.<br />
An app update is available that enables users to set <code>IS_CONFIG_VARIABLES_IN_DB_ENABLED</code> in the <code>/app/data/env</code> file without the <code>start.sh</code> overwriting it.</p>
]]></description><link>https://forum.cloudron.io/post/128811</link><guid isPermaLink="true">https://forum.cloudron.io/post/128811</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Tue, 01 Sep 2026 14:02:54 GMT</pubDate></item></channel></rss>