<?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[Cloudron + Mastodon + Akamai s3]]></title><description><![CDATA[<p dir="auto">I am trying to get our Mastodons on our Cloudron server to work with Akamai s3 storage, we found this.</p>
<p dir="auto"><a href="https://www.linode.com/docs/guides/linode-object-storage-with-mastodon/?utm_source=marketo" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.linode.com/docs/guides/linode-object-storage-with-mastodon/?utm_source=marketo</a></p>
<p dir="auto">But only helpful if using their marketplace app.</p>
<p dir="auto">When adding configuration to .env and try to upload the folders etc are created on the s3 bucket, but no image shows on the instance.</p>
<p dir="auto">I think it is Configuring an NGINX Proxy part as in the explorer in cloudron it doesn't show</p>
<p dir="auto">File: /etc/nginx/sites-available/example.com.conf</p>
<p dir="auto">Am I correct?</p>
]]></description><link>https://forum.cloudron.io/topic/9741/cloudron-mastodon-akamai-s3</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 08:40:08 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9741.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Jul 2023 09:51:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cloudron + Mastodon + Akamai s3 on Thu, 03 Aug 2023 08:55:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mhgcic" aria-label="Profile: mhgcic">@<bdi>mhgcic</bdi></a> said in <a href="/post/71119">Cloudron + Mastodon + Akamai s3</a>:</p>
<blockquote>
<p dir="auto">We added this solution already and did not work.</p>
<p dir="auto">S3_ENABLED=true<br />
S3_BUCKET=bucket-name<br />
AWS_ACCESS_KEY_ID=&lt;key_id&gt;<br />
AWS_SECRET_ACCESS_KEY=&lt;secret_key&gt;<br />
S3_REGION=&lt;region&gt;<br />
S3_PROTOCOL=https<br />
S3_HOSTNAME=&lt;hostname&gt;</p>
</blockquote>
<p dir="auto">You seem to be missing the <code>S3_ENDPOINT</code></p>
]]></description><link>https://forum.cloudron.io/post/71293</link><guid isPermaLink="true">https://forum.cloudron.io/post/71293</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Thu, 03 Aug 2023 08:55:03 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron + Mastodon + Akamai s3 on Thu, 03 Aug 2023 08:54:05 GMT]]></title><description><![CDATA[<p dir="auto">Just for the record in case it helps someone, this are my working S3 settings I have in my Mastodon (storing data in Scaleway S3 Buckets)</p>
<pre><code># Store data on Scaleway S3 object
S3_ENABLED=true
S3_BUCKET=media.uniteddiversity.coop
AWS_ACCESS_KEY_ID=xxx
AWS_SECRET_ACCESS_KEY=xxx
S3_REGION=fr-par
S3_PROTOCOL=https
S3_HOSTNAME=s3.fr-par.scw.cloud
S3_ENDPOINT=https://s3.fr-par.scw.cloud
</code></pre>
]]></description><link>https://forum.cloudron.io/post/71292</link><guid isPermaLink="true">https://forum.cloudron.io/post/71292</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Thu, 03 Aug 2023 08:54:05 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron + Mastodon + Akamai s3 on Wed, 02 Aug 2023 14:25:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> said in <a href="/post/71241">Cloudron + Mastodon + Akamai s3</a>:</p>
<blockquote>
<p dir="auto">I've always found getting s3 working a process of trial and error and in my limited experience it often finally works after a small tweak like including https:// or not. Or exactly how you name the bucket etc. All depending on the specific quirks of the providers and apps in question.</p>
</blockquote>
<p dir="auto">We found that the best way is to mount a s3 to a virtual machine, we found this if you are hosted with Akamai.</p>
<pre><code>Example Notes

This example will use mybucket as our bucket name, us-east-1 as our region and /mount/s3 as our mount point.

USEYOURREALACCESSKEY123 will be our access key, and
USEyourREALsecretKEYhereITisLONGER456 will be our secret key.

Wherever these values appear, feel free to substitute your own.

Create a mount point
mkdir -p /mount/s3
Edit your /etc/fstab file
Add the following on a single line:

mybucket /mount/s3 fuse.s3fs _netdev,allow_other,use_path_request_style,url=https://us-east-1.linodeobjects.com/ 0 0

Credentials

Put your credentials in /etc/passwd-s3fs separated by a colon:

USEYOURREALACCESSKEY123:USEyourREALsecretKEYhereITisLONGER456

Set the passwd-s3fs file's permissions:

chmod 600 /etc/passwd-s3fs
Mount your bucket
mount -a
Limitations

From: https://github.com/s3fs-fuse/s3fs-fuse

Generally S3 cannot offer the same performance or semantics as a local file system. More specifically:

* random writes or appends to files require rewriting the entire file
* metadata operations such as listing directories have poor performance due to network latency
* no atomic renames of files or directories
* no coordination between multiple clients mounting the same bucket
* no hard links
* inotify detects only local modifications, not external ones by other clients or tools
</code></pre>
]]></description><link>https://forum.cloudron.io/post/71264</link><guid isPermaLink="true">https://forum.cloudron.io/post/71264</guid><dc:creator><![CDATA[mhgcic]]></dc:creator><pubDate>Wed, 02 Aug 2023 14:25:09 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron + Mastodon + Akamai s3 on Tue, 01 Aug 2023 23:24:20 GMT]]></title><description><![CDATA[<p dir="auto">I've always found getting s3 working a process of trial and error and in my limited experience it often finally works after a small tweak like including https:// or not. Or exactly how you name the bucket etc. All depending on the specific quirks of the providers and apps in question.</p>
]]></description><link>https://forum.cloudron.io/post/71241</link><guid isPermaLink="true">https://forum.cloudron.io/post/71241</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Tue, 01 Aug 2023 23:24:20 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron + Mastodon + Akamai s3 on Mon, 31 Jul 2023 18:56:29 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> thanks I will take a look.</p>
]]></description><link>https://forum.cloudron.io/post/71172</link><guid isPermaLink="true">https://forum.cloudron.io/post/71172</guid><dc:creator><![CDATA[mhgcic]]></dc:creator><pubDate>Mon, 31 Jul 2023 18:56:29 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron + Mastodon + Akamai s3 on Mon, 31 Jul 2023 15:09:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mhgcic" aria-label="Profile: mhgcic">@<bdi>mhgcic</bdi></a> mm, you will have to ask this upstream then for the correct app configuration at <a href="https://github.com/mastodon/mastodon/discussions" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mastodon/mastodon/discussions</a></p>
<p dir="auto">There's a number of s3 related discussion upstream at <a href="https://github.com/search?q=repo%3Amastodon%2Fmastodon+s3&amp;type=discussions" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/search?q=repo%3Amastodon%2Fmastodon+s3&amp;type=discussions</a> . Maybe you get some ideas from there.</p>
]]></description><link>https://forum.cloudron.io/post/71153</link><guid isPermaLink="true">https://forum.cloudron.io/post/71153</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 31 Jul 2023 15:09:03 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron + Mastodon + Akamai s3 on Mon, 31 Jul 2023 10:13:45 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>
<p dir="auto">We added this solution already and did not work.</p>
<pre><code>S3_ENABLED=true
S3_BUCKET=bucket-name
AWS_ACCESS_KEY_ID=&lt;key_id&gt;
AWS_SECRET_ACCESS_KEY=&lt;secret_key&gt;
S3_REGION=&lt;region&gt;
S3_PROTOCOL=https
S3_HOSTNAME=&lt;hostname&gt;
</code></pre>
<p dir="auto">When you upload anything you get a cloudron app error, hence we looked at using akamai s3 documentation and it works and creates lots of folders etc in the bucket, but you can't actually see the images displayed on mastodon just shows as a blank image.</p>
]]></description><link>https://forum.cloudron.io/post/71119</link><guid isPermaLink="true">https://forum.cloudron.io/post/71119</guid><dc:creator><![CDATA[mhgcic]]></dc:creator><pubDate>Mon, 31 Jul 2023 10:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to Cloudron + Mastodon + Akamai s3 on Mon, 31 Jul 2023 10:03:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mhgcic" aria-label="Profile: mhgcic">@<bdi>mhgcic</bdi></a> see <a href="https://docs.cloudron.io/apps/mastodon/#s3-for-media-storage" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/mastodon/#s3-for-media-storage</a> . there's also a discussion at <a href="https://forum.cloudron.io/topic/8330/backing-up-media-cache/">https://forum.cloudron.io/topic/8330/backing-up-media-cache/</a> and <a href="https://forum.cloudron.io/topic/8291/adding-s3-bucket/2">https://forum.cloudron.io/topic/8291/adding-s3-bucket/2</a></p>
]]></description><link>https://forum.cloudron.io/post/71115</link><guid isPermaLink="true">https://forum.cloudron.io/post/71115</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 31 Jul 2023 10:03:52 GMT</pubDate></item></channel></rss>