<?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[Cannot set environment variables]]></title><description><![CDATA[<p dir="auto">Hello everyone,<br />
I'd like to know what is the way to <a href="https://community.n8n.io/t/no-access-to-env/20665/6" target="_blank" rel="noopener noreferrer nofollow ugc">set custom env variables</a> in this app.<br />
I tried setting them in the /app/data/env and restarting the app, but that didn't seem to work. Specifically, I exported <a href="https://docs.n8n.io/hosting/environment-variables/environment-variables/#security" target="_blank" rel="noopener noreferrer nofollow ugc">N8N_BLOCK_ENV_ACCESS_IN_NODE</a> as false (that should be the default), but still no luck.<br />
How could this be achieved?</p>
]]></description><link>https://forum.cloudron.io/topic/8757/cannot-set-environment-variables</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 10:47:38 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/8757.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Mar 2023 07:21:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot set environment variables on Sun, 05 Mar 2023 06:14:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Thank you, I can corroborate it works even if it's showing an error in the node field.</p>
]]></description><link>https://forum.cloudron.io/post/62745</link><guid isPermaLink="true">https://forum.cloudron.io/post/62745</guid><dc:creator><![CDATA[garza]]></dc:creator><pubDate>Sun, 05 Mar 2023 06:14:58 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot set environment variables on Fri, 03 Mar 2023 11:04:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/garza" aria-label="Profile: garza">@<bdi>garza</bdi></a> Looks like this is a known issue. See <a href="https://community.n8n.io/t/no-access-to-env/20665/" target="_blank" rel="noopener noreferrer nofollow ugc">https://community.n8n.io/t/no-access-to-env/20665/</a> . Using the environment variable will work it seems, just the preview in the UI does not work.</p>
]]></description><link>https://forum.cloudron.io/post/62687</link><guid isPermaLink="true">https://forum.cloudron.io/post/62687</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 03 Mar 2023 11:04:29 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot set environment variables on Fri, 03 Mar 2023 00:57:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Yes, at least I tried with N8N_LOG_LEVEL to change it to the debug level and that worked without any problem.</p>
<p dir="auto">I'm testing the env updates the regular way, changing the /app/data/env (now /app/data/env.sh in today's app update) and restarting the app. Then, specifically for the N8N_BLOCK_ENV_ACCESS_IN_NODE flag, I'm testing in node fields that accept an expression, but still without access (please refer to the screenshot attached).</p>
<p dir="auto"><img src="/assets/uploads/files/1677804957906-9c76f151-b1f1-4c42-9406-ad92f86611fd-image.png" alt="9c76f151-b1f1-4c42-9406-ad92f86611fd-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/62667</link><guid isPermaLink="true">https://forum.cloudron.io/post/62667</guid><dc:creator><![CDATA[garza]]></dc:creator><pubDate>Fri, 03 Mar 2023 00:57:14 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot set environment variables on Thu, 02 Mar 2023 18:04:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/garza" aria-label="Profile: garza">@<bdi>garza</bdi></a> Do other variables work ? Maybe try to change something which is easy to check and check if that works. How are you reproducing the issue ? I can check in a test installation and we can see if it's a package issue or upstream bug.</p>
]]></description><link>https://forum.cloudron.io/post/62649</link><guid isPermaLink="true">https://forum.cloudron.io/post/62649</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 02 Mar 2023 18:04:35 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot set environment variables on Thu, 02 Mar 2023 17:47:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Yes, I put it that way, but that doesn't seem to work.</p>
]]></description><link>https://forum.cloudron.io/post/62647</link><guid isPermaLink="true">https://forum.cloudron.io/post/62647</guid><dc:creator><![CDATA[garza]]></dc:creator><pubDate>Thu, 02 Mar 2023 17:47:23 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot set environment variables on Thu, 02 Mar 2023 11:24:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/garza" aria-label="Profile: garza">@<bdi>garza</bdi></a> Did you put the export in the front? Like this:</p>
<pre><code>export N8N_BLOCK_ENV_ACCESS_IN_NODE=false
</code></pre>
]]></description><link>https://forum.cloudron.io/post/62634</link><guid isPermaLink="true">https://forum.cloudron.io/post/62634</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 02 Mar 2023 11:24:06 GMT</pubDate></item></channel></rss>