<?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[Env variables not working]]></title><description><![CDATA[<p dir="auto">Hi. it seems that the Environment variables are not being set.</p>
<p dir="auto">I've set various variables, none of which seem to be be applied. Example:<br />
<code>export FILE_STORAGE_UPLOAD_MAX_SIZE=125000000</code><br />
<code>export IFRAMELY_API_KEY="my-api-key"</code></p>
<p dir="auto">Ref:</p>
<ul>
<li><a href="https://docs.getoutline.com/s/hosting/doc/file-storage-N4M0T6Ypu7#h-environment-variables" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.getoutline.com/s/hosting/doc/file-storage-N4M0T6Ypu7#h-environment-variables</a></li>
<li><a href="https://docs.getoutline.com/s/hosting/doc/iframely-HwLF1EZ9mo#h-setup" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.getoutline.com/s/hosting/doc/iframely-HwLF1EZ9mo#h-setup</a></li>
</ul>
]]></description><link>https://forum.cloudron.io/topic/10613/env-variables-not-working</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 00:20:45 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10613.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Dec 2023 12:57:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 10:26:15 GMT]]></title><description><![CDATA[<p dir="auto">The default appears to be<code>https://iframe.ly</code> .  <a href="https://github.com/outline/outline/blob/9e9fedaff1e72f93f61ca752b80368dd1f0cdf1a/server/env.ts#L685" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/outline/outline/blob/9e9fedaff1e72f93f61ca752b80368dd1f0cdf1a/server/env.ts#L685</a> . But at the same time, the plugin manifest says both vars are required - <a href="https://github.com/outline/outline/blob/9e9fedaff1e72f93f61ca752b80368dd1f0cdf1a/plugins/iframely/plugin.json#L4" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/outline/outline/blob/9e9fedaff1e72f93f61ca752b80368dd1f0cdf1a/plugins/iframely/plugin.json#L4</a> . Best to check upstream. Let us know what you find!</p>
]]></description><link>https://forum.cloudron.io/post/79129</link><guid isPermaLink="true">https://forum.cloudron.io/post/79129</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 11 Dec 2023 10:26:15 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 10:23:15 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> As per their docs, it's supposed to be optional:<br />
<a href="https://docs.getoutline.com/s/hosting/doc/iframely-HwLF1EZ9mo#h-setup" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.getoutline.com/s/hosting/doc/iframely-HwLF1EZ9mo#h-setup</a></p>
<p dir="auto">But i did try adding a couple of URLs, as the exact URL is not explicitly mentioned anywhere (unless i couldn't find it yet).</p>
<p dir="auto">Will check upstream for more info.</p>
]]></description><link>https://forum.cloudron.io/post/79128</link><guid isPermaLink="true">https://forum.cloudron.io/post/79128</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Mon, 11 Dec 2023 10:23:15 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 09:44:59 GMT]]></title><description><![CDATA[<p dir="auto">Also, for iframely in the same sample file linked above, there are two variables:</p>
<pre><code># Iframely API config
# IFRAMELY_URL=
# IFRAMELY_API_KEY=
</code></pre>
<p dir="auto">Maybe both are needed.</p>
]]></description><link>https://forum.cloudron.io/post/79123</link><guid isPermaLink="true">https://forum.cloudron.io/post/79123</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 11 Dec 2023 09:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 09:34:56 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> this works...thanks!</p>
]]></description><link>https://forum.cloudron.io/post/79120</link><guid isPermaLink="true">https://forum.cloudron.io/post/79120</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Mon, 11 Dec 2023 09:34:56 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 09:32:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shrey" aria-label="Profile: shrey">@<bdi>shrey</bdi></a> Not 100% sure but I found <a href="https://github.com/outline/outline/blob/9e9fedaff1e72f93f61ca752b80368dd1f0cdf1a/.env.sample#L146" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/outline/outline/blob/9e9fedaff1e72f93f61ca752b80368dd1f0cdf1a/.env.sample#L146</a></p>
<pre><code># Override the maximum size of document imports, could be required if you have
# especially large Word documents with embedded imagery
MAXIMUM_IMPORT_SIZE=5120000
</code></pre>
<p dir="auto">Can you try setting <code>export MAXIMUM_IMPORT_SIZE=125000000</code> ?</p>
]]></description><link>https://forum.cloudron.io/post/79119</link><guid isPermaLink="true">https://forum.cloudron.io/post/79119</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 11 Dec 2023 09:32:19 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 09:28:34 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> said in <a href="/post/79114">Env variables not working</a>:</p>
<blockquote>
<p dir="auto">For iframely, you might have to take it up upstream as to why it doesn't work. Do you see any error in the logs?</p>
</blockquote>
<p dir="auto">There's no mention of "iframely" anywhere in the logs.</p>
]]></description><link>https://forum.cloudron.io/post/79117</link><guid isPermaLink="true">https://forum.cloudron.io/post/79117</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Mon, 11 Dec 2023 09:28:34 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 09:23:16 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></p>
<blockquote>
<p dir="auto">Just edit /app/data/env.sh and put in export FILE_STORAGE_UPLOAD_MAX_SIZE=26214400 and restart the app.</p>
</blockquote>
<p dir="auto">That's what my original 'bug' is -&gt;</p>
<blockquote>
<p dir="auto">I've set various variables, none of which seem to be be applied. Example:</p>
<p dir="auto">export FILE_STORAGE_UPLOAD_MAX_SIZE=125000000</p>
<p dir="auto">export IFRAMELY_API_KEY="my-api-key"</p>
</blockquote>
]]></description><link>https://forum.cloudron.io/post/79116</link><guid isPermaLink="true">https://forum.cloudron.io/post/79116</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Mon, 11 Dec 2023 09:23:16 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 09:12:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shrey" aria-label="Profile: shrey">@<bdi>shrey</bdi></a> Just edit <code>/app/data/env.sh</code> and put in <code>export FILE_STORAGE_UPLOAD_MAX_SIZE=26214400</code> and restart the app. Same for <code>IFRAMELY_API_KEY</code>. For iframely, you might have to take it up upstream as to why it doesn't work. Do you see any error in the logs?</p>
]]></description><link>https://forum.cloudron.io/post/79114</link><guid isPermaLink="true">https://forum.cloudron.io/post/79114</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 11 Dec 2023 09:12:25 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Mon, 11 Dec 2023 02:46:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> .</p>
<p dir="auto">What's meant by 'user template' here?<br />
Basically, how do I set the variable now?</p>
<p dir="auto">And <code>IFRAMELY_API_KEY</code> doesn't seem to work. Tried repeatedly.</p>
]]></description><link>https://forum.cloudron.io/post/79106</link><guid isPermaLink="true">https://forum.cloudron.io/post/79106</guid><dc:creator><![CDATA[shrey]]></dc:creator><pubDate>Mon, 11 Dec 2023 02:46:45 GMT</pubDate></item><item><title><![CDATA[Reply to Env variables not working on Sun, 10 Dec 2023 22:29:18 GMT]]></title><description><![CDATA[<p dir="auto">The latest package moved <code>FILE_STORAGE_UPLOAD_MAX_SIZE</code> to the user template so it does not get overwritten by <code>start.sh</code> anymore. <code>IFRAMELY_API_KEY</code> should have worked already.</p>
]]></description><link>https://forum.cloudron.io/post/79102</link><guid isPermaLink="true">https://forum.cloudron.io/post/79102</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sun, 10 Dec 2023 22:29:18 GMT</pubDate></item></channel></rss>