<?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[Profile images doesnt load on S3]]></title><description><![CDATA[<h2>I raise this issue in GitHub:</h2>
<p dir="auto"><em>Hi guys</em></p>
<p dir="auto">I linked S3 as below.</p>
<p dir="auto">PF_ENABLE_CLOUD=true<br />
FILESYSTEM_DRIVER=s3<br />
FILESYSTEM_CLOUD=s3<br />
AWS_ACCESS_KEY_ID=******<br />
AWS_SECRET_ACCESS_KEY=*******<br />
AWS_DEFAULT_REGION=ap-southeast-2<br />
AWS_BUCKET=********</p>
<p dir="auto">everything is fine with post. all uploading on S3 with no issue.<br />
but when it comes to profile photo change. it doesn't work.<br />
seems the address have some issue.</p>
<p dir="auto">the address is like below:<br />
<a href="https://aust.socialhttps//austsocial.s3.ap-southeast-2.amazonaws.com/public/" target="_blank" rel="noopener noreferrer nofollow ugc">https://aust.socialhttps//austsocial.s3.ap-southeast-2.amazonaws.com/public/</a>*************</p>
<p dir="auto">but it should be line<br />
https//austsocial.s3.ap-southeast-2.amazonaws.com/public/*************</p>
<p dir="auto">can anyone help me with that?</p>
<hr />
<p dir="auto"><strong>The answer I think is here.</strong><br />
<a href="https://github.com/pixelfed/pixelfed/commit/672f7c8c" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pixelfed/pixelfed/commit/672f7c8c</a></p>
<p dir="auto">but<br />
how to access the profile.php file via cloudron or FileZilla?<br />
where are the files??</p>
]]></description><link>https://forum.cloudron.io/topic/8099/profile-images-doesnt-load-on-s3</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 13:03:56 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/8099.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Nov 2022 02:18:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Sun, 26 Feb 2023 14:00:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gh0stface" aria-label="Profile: gh0stface">@<bdi>gh0stface</bdi></a> so this is what I've setup;</p>
<pre><code>## S3 Storage
PF_ENABLE_CLOUD=true
FILESYSTEM_DRIVER=local
FILESYSTEM_CLOUD=s3
PF_LOCAL_AVATAR_TO_CLOUD=true
MEDIA_DELETE_LOCAL_AFTER_CLOUD=true
AWS_ACCESS_KEY_ID=xxx
AWS_SECRET_ACCESS_KEY=xxx
AWS_DEFAULT_REGION=xxx
AWS_BUCKET=mediapixelfedsg
AWS_URL=https://media.pixelfed.sg
AWS_ENDPOINT=https://xxx.backblazeb2.com
#AWS_USE_PATH_STYLE_ENDPOINT=false
</code></pre>
<p dir="auto">and it works.</p>
]]></description><link>https://forum.cloudron.io/post/62465</link><guid isPermaLink="true">https://forum.cloudron.io/post/62465</guid><dc:creator><![CDATA[alwynispat]]></dc:creator><pubDate>Sun, 26 Feb 2023 14:00:50 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Thu, 23 Feb 2023 15:01:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello, is there any update/guidance from the Cloudron team on this? As in the original topic posted- profile images not properly working if using S3 as storage?</p>
<p dir="auto">Anyone else able to figure anything else out with the profile avatar and using S3 compatible storage?</p>
<p dir="auto">If I'm understanding this correctly (and I could be wrong), this <a href="https://github.com/pixelfed/pixelfed/pull/3579" target="_blank" rel="noopener noreferrer nofollow ugc">issue</a> was addressed by this <a href="https://github.com/pixelfed/pixelfed/commit/672f7c8c" target="_blank" rel="noopener noreferrer nofollow ugc">commit</a> back in July 2022. And was bundled into the <a href="https://github.com/pixelfed/pixelfed/releases/tag/v0.11.4" target="_blank" rel="noopener noreferrer nofollow ugc">v0.11.4 release</a>, which was made available in Oct 2022.</p>
]]></description><link>https://forum.cloudron.io/post/62344</link><guid isPermaLink="true">https://forum.cloudron.io/post/62344</guid><dc:creator><![CDATA[gh0stface]]></dc:creator><pubDate>Thu, 23 Feb 2023 15:01:31 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Wed, 15 Feb 2023 10:49:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alwynispat" aria-label="Profile: alwynispat">@<bdi>alwynispat</bdi></a> said in <a href="/post/61981">Profile images doesnt load on S3</a>:</p>
<blockquote>
<p dir="auto">Wonder if it'll auto switch to s3 without touching.<br />
Since it's storing images on both locations, will it like auto delete from server?</p>
</blockquote>
<p dir="auto">I <em>think</em> it's supposed to do that after 12 hours or something , but I've not checked properly to see if that is indeed the case .</p>
]]></description><link>https://forum.cloudron.io/post/61993</link><guid isPermaLink="true">https://forum.cloudron.io/post/61993</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Wed, 15 Feb 2023 10:49:19 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Wed, 15 Feb 2023 01:16:59 GMT]]></title><description><![CDATA[<p dir="auto">Another weird thing about the app is that if you upload from web, it's serving the image from the Server even though both locations has it.<br />
if you upload from the app, it'll serve from s3.</p>
<p dir="auto">then when you run <code>php artisan cache:clear </code> it'll get fixed.</p>
<p dir="auto">Wonder if it'll auto switch to s3 without touching.</p>
<p dir="auto">Since it's storing images on both locations, will it like auto delete from server?</p>
]]></description><link>https://forum.cloudron.io/post/61981</link><guid isPermaLink="true">https://forum.cloudron.io/post/61981</guid><dc:creator><![CDATA[alwynispat]]></dc:creator><pubDate>Wed, 15 Feb 2023 01:16:59 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 23 Jan 2023 23:00:22 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> filesystem to local did it!</p>
]]></description><link>https://forum.cloudron.io/post/60734</link><guid isPermaLink="true">https://forum.cloudron.io/post/60734</guid><dc:creator><![CDATA[doodlemania2]]></dc:creator><pubDate>Mon, 23 Jan 2023 23:00:22 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 23 Jan 2023 22:45:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doodlemania2" aria-label="Profile: doodlemania2">@<bdi>doodlemania2</bdi></a> said in <a href="/post/60732">Profile images doesnt load on S3</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> I'm stuck on the URL still being munged with half local and half s3 with the profile pic...</p>
</blockquote>
<p dir="auto">Ah, I <em>think</em> removing/ commenting out <code>AWS_URL</code> might fix that.</p>
<p dir="auto">Can't remember exactly but I had it and then later after doing something, I didn't.</p>
<p dir="auto">I think perhaps it was that, or it that plus changing FILESYSTEM_DRIVER from s3 to local.</p>
]]></description><link>https://forum.cloudron.io/post/60733</link><guid isPermaLink="true">https://forum.cloudron.io/post/60733</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Mon, 23 Jan 2023 22:45:46 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 23 Jan 2023 22:38:02 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> I'm stuck on the URL still being munged with half local and half s3 with the profile pic...</p>
]]></description><link>https://forum.cloudron.io/post/60732</link><guid isPermaLink="true">https://forum.cloudron.io/post/60732</guid><dc:creator><![CDATA[doodlemania2]]></dc:creator><pubDate>Mon, 23 Jan 2023 22:38:02 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 23 Jan 2023 21:49:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doodlemania2" aria-label="Profile: doodlemania2">@<bdi>doodlemania2</bdi></a> said in <a href="/post/60722">Profile images dosnt load on S3</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> yep - it's a bit of an odd situation. and blocking me from going live <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=74f512c8ff7" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
</blockquote>
<p dir="auto">I'm not expecting to be swamped with users and so I've decided to go live with having everything store twice for now because I've a fair bit of unused disk space right now. If I end up getting a load of active users then I may need to manually start deleting stuff from local storage until this is fixed, but hopefully it'll be fixed before then!</p>
]]></description><link>https://forum.cloudron.io/post/60725</link><guid isPermaLink="true">https://forum.cloudron.io/post/60725</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Mon, 23 Jan 2023 21:49:02 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 23 Jan 2023 21:47:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doodlemania2" aria-label="Profile: doodlemania2">@<bdi>doodlemania2</bdi></a> said in <a href="/post/60707">Profile images dosnt load on S3</a>:</p>
<blockquote>
<p dir="auto">Hope they get that bug fixed</p>
</blockquote>
<p dir="auto">Like it to help them pay attention to is? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=74f512c8ff7" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/post/60723</link><guid isPermaLink="true">https://forum.cloudron.io/post/60723</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Mon, 23 Jan 2023 21:47:13 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 23 Jan 2023 21:44:11 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> yep - it's a bit of an odd situation. and blocking me from going live <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=74f512c8ff7" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://forum.cloudron.io/post/60722</link><guid isPermaLink="true">https://forum.cloudron.io/post/60722</guid><dc:creator><![CDATA[doodlemania2]]></dc:creator><pubDate>Mon, 23 Jan 2023 21:44:11 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 23 Jan 2023 21:43:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doodlemania2" aria-label="Profile: doodlemania2">@<bdi>doodlemania2</bdi></a> yeah, it seems at present if you want profile images/ avatars to work you HAVE to have <code>FILESYSTEM_DRIVER=local</code> but then all your media is store BOTH locally AND on S3. Odd.</p>
<p dir="auto">The obvious solution would seem to me to be to simply make avatars/ profile images work when <code>FILESYSTEM_DRIVER=s3</code> too, then all would be fine and dandy imho.</p>
]]></description><link>https://forum.cloudron.io/post/60721</link><guid isPermaLink="true">https://forum.cloudron.io/post/60721</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Mon, 23 Jan 2023 21:43:05 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 23 Jan 2023 20:18:17 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> similar impact on the latest build since we switched to dev branch! cc: <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> FYI only. Hope they get that bug fixed <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=74f512c8ff7" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://forum.cloudron.io/post/60707</link><guid isPermaLink="true">https://forum.cloudron.io/post/60707</guid><dc:creator><![CDATA[doodlemania2]]></dc:creator><pubDate>Mon, 23 Jan 2023 20:18:17 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Sun, 22 Jan 2023 16:54:04 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/60641">Profile images dosnt load on S3</a>:</p>
<blockquote>
<p dir="auto">presumably eventually that'll get deleted, ah but then again perhaps not as per <a href="https://github.com/pixelfed/pixelfed/issues/3845#issuecomment-1331691661" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pixelfed/pixelfed/issues/3845#issuecomment-1331691661</a> ).</p>
</blockquote>
<p dir="auto">I've filed an issue about this:</p>
<p dir="auto"><a href="https://github.com/pixelfed/pixelfed/issues/4114" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pixelfed/pixelfed/issues/4114</a></p>
<p dir="auto">I've also confirmed that manually deleting images from the local storage via the File Manager does not break posts.</p>
]]></description><link>https://forum.cloudron.io/post/60644</link><guid isPermaLink="true">https://forum.cloudron.io/post/60644</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 22 Jan 2023 16:54:04 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Sun, 22 Jan 2023 15:39:47 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/60640">Profile images dosnt load on S3</a>:</p>
<blockquote>
<p dir="auto">So I don't know if this is a bug or if I've got something wrong in my config?</p>
</blockquote>
<p dir="auto">Reading this <a href="https://github.com/pixelfed/pixelfed/issues/4041" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pixelfed/pixelfed/issues/4041</a></p>
<p dir="auto">It sounds like you have to have <code>FILESYSTEM_DRIVE=local</code> for the Avatars to work. So I tried that.</p>
<p dir="auto">But now it seems all files are getting stored twice, once locally and then again in the Object Storage.</p>
<p dir="auto">See e.g. <a href="https://bridport.pics/i/web/post/522792891553329155" target="_blank" rel="noopener noreferrer nofollow ugc">https://bridport.pics/i/web/post/522792891553329155</a></p>
<p dir="auto">Really I only want to store thing in the object storage, not locally at all. But I've got <code>MEDIA_DELETE_LOCAL_AFTER_CLOUD=true</code> so maybe eventually it will delete the local versions? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=74f512c8ff7" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title=":shrug:" alt="🤷" /></p>
<p dir="auto">Yep, it seems that perhaps files are just being cached locally, because if I open the Web Terminal and run <code>php artisan cache:clear</code> then right-click Open image in new tab it opens the S3 version (although as you can see in the post linked to above, for now the local version still seems to exist too... presumably eventually that'll get deleted, ah but then again perhaps not as per <a href="https://github.com/pixelfed/pixelfed/issues/3845#issuecomment-1331691661" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pixelfed/pixelfed/issues/3845#issuecomment-1331691661</a> ).</p>
]]></description><link>https://forum.cloudron.io/post/60641</link><guid isPermaLink="true">https://forum.cloudron.io/post/60641</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 22 Jan 2023 15:39:47 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Sun, 22 Jan 2023 14:00:30 GMT]]></title><description><![CDATA[<p dir="auto">Aha looking at the link for the avatar image, I see it's like this:</p>
<p dir="auto"><a href="https://bridport.picshttps//bridport-pics.s3.fr-par.scw.cloud/public/avatars/052/274/889/869/491/404/9/3KE8LIMTBRbT8dlgbysN_avatar.png?v=3" target="_blank" rel="noopener noreferrer nofollow ugc">https://bridport.picshttps//bridport-pics.s3.fr-par.scw.cloud/public/avatars/052/274/889/869/491/404/9/3KE8LIMTBRbT8dlgbysN_avatar.png?v=3</a></p>
<p dir="auto">If I take of off the superflous <a href="https://bridport.pics" target="_blank" rel="noopener noreferrer nofollow ugc">https://bridport.pics</a> at the beginning it works fine:</p>
<p dir="auto"><a href="https://bridport-pics.s3.fr-par.scw.cloud/public/avatars/052/274/889/869/491/404/9/3KE8LIMTBRbT8dlgbysN_avatar.png?v=3" target="_blank" rel="noopener noreferrer nofollow ugc">https://bridport-pics.s3.fr-par.scw.cloud/public/avatars/052/274/889/869/491/404/9/3KE8LIMTBRbT8dlgbysN_avatar.png?v=3</a></p>
<p dir="auto">So I wonder how/ why that extra bit is coming from...</p>
<p dir="auto">I can see this in the logs:</p>
<pre><code>Jan 22 13:59:19 [2023-01-22 13:59:18] production.ERROR: Image source not readable {"exception":"[object] (Intervention\\Image\\Exception\\NotReadableException(code: 0): Image source not readable at /app/code/vendor/intervention/image/src/Intervention/Image/AbstractDecoder.php:351)
</code></pre>
<p dir="auto">So I don't know if this is a bug or if I've got something wrong in my config?</p>
]]></description><link>https://forum.cloudron.io/post/60640</link><guid isPermaLink="true">https://forum.cloudron.io/post/60640</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 22 Jan 2023 14:00:30 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Sun, 22 Jan 2023 13:53:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/57213">Profile images dosnt load on S3</a>:</p>
<blockquote>
<p dir="auto">Once upstream makes a new release with the fix, we will update the package of course.</p>
</blockquote>
<p dir="auto">I'm confused though, because that fix was committed back in July 2022 and is tagged Pixelfed 0.11.4 which is also what we're running on Cloudron, so I'm unclear why Profile pics with S3 enabled aren't working?</p>
]]></description><link>https://forum.cloudron.io/post/60639</link><guid isPermaLink="true">https://forum.cloudron.io/post/60639</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 22 Jan 2023 13:53:33 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Sun, 22 Jan 2023 13:40:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ehsan0921" aria-label="Profile: ehsan0921">@<bdi>ehsan0921</bdi></a> said in <a href="/post/57198">Profile images dosnt load on S3</a>:</p>
<blockquote>
<p dir="auto">but when it comes to profile photo change. it doesn't work.</p>
</blockquote>
<p dir="auto">Ah, but I'm also hitting this issue.</p>
<p dir="auto">Did you manage to get it solved <a class="plugin-mentions-user plugin-mentions-a" href="/user/ehsan0921" aria-label="Profile: ehsan0921">@<bdi>ehsan0921</bdi></a> ?</p>
]]></description><link>https://forum.cloudron.io/post/60638</link><guid isPermaLink="true">https://forum.cloudron.io/post/60638</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 22 Jan 2023 13:40:17 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Sun, 22 Jan 2023 13:36:53 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/60635">Profile images dosnt load on S3</a>:</p>
<blockquote>
<p dir="auto">But it's not working.</p>
</blockquote>
<p dir="auto">It is now! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=74f512c8ff7" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
<p dir="auto">I looked my settings for Mastodon for some clues and noticed that in there the endpoint included <code>https://</code></p>
<p dir="auto">All I had to do was to add that and then it started working! I wish there were most established standards around this. Some apps seem to want/ need the https:// in the endpoint and others don't so it become a matter of trail and error.</p>
<p dir="auto">This is my working config in <code>env.production</code>:</p>
<pre><code># Store media on Scaleway S3 object storage
PF_ENABLE_CLOUD=true
FILESYSTEM_DRIVER=s3 
FILESYSTEM_CLOUD=s3
PF_LOCAL_AVATAR_TO_CLOUD=true
MEDIA_DELETE_LOCAL_AFTER_CLOUD=true
AWS_ACCESS_KEY_ID=xxx
AWS_SECRET_ACCESS_KEY=xxx
AWS_DEFAULT_REGION=fr-par
AWS_BUCKET=bucket-name
AWS_URL=https://bucket-name.s3.fr-par.scw.cloud
AWS_ENDPOINT=https://s3.fr-par.scw.cloud
AWS_USE_PATH_STYLE_ENDPOINT=false
</code></pre>
]]></description><link>https://forum.cloudron.io/post/60637</link><guid isPermaLink="true">https://forum.cloudron.io/post/60637</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 22 Jan 2023 13:36:53 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Sun, 22 Jan 2023 13:36:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ehsan0921" aria-label="Profile: ehsan0921">@<bdi>ehsan0921</bdi></a> said in <a href="/post/57198">Profile images dosnt load on S3</a>:</p>
<blockquote>
<h2>I raise this issue in GitHub:</h2>
<p dir="auto"><em>Hi guys</em></p>
<p dir="auto">I linked S3 as below.</p>
<p dir="auto">PF_ENABLE_CLOUD=true<br />
FILESYSTEM_DRIVER=s3<br />
FILESYSTEM_CLOUD=s3<br />
AWS_ACCESS_KEY_ID=******<br />
AWS_SECRET_ACCESS_KEY=*******<br />
AWS_DEFAULT_REGION=ap-southeast-2<br />
AWS_BUCKET=********</p>
<p dir="auto">everything is fine with post. all uploading on S3 with no issue.<br />
but when it comes to profile photo change. it doesn't work.<br />
seems the address have some issue.</p>
</blockquote>
<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ehsan0921" aria-label="Profile: ehsan0921">@<bdi>ehsan0921</bdi></a> (or anyone else who has this working) do you think you could share more about your Pixelfed S3 set-up?</p>
<p dir="auto">I'm trying to get it set-up with my Pixelfed install too but struggling to get it to work.</p>
<p dir="auto">You don't appear to have specified any <code>AWS_URL</code> nor <code>AWS_ENDPOINT</code> but I'm presuming you must have at least one of those in your config too, right?</p>
<p dir="auto">I've currently got this in my <code>env.production</code></p>
<pre><code># Trying to store media on Scaleway S3 object storage
PF_ENABLE_CLOUD=true
FILESYSTEM_DRIVER=s3 
FILESYSTEM_CLOUD=s3
PF_LOCAL_AVATAR_TO_CLOUD=true
MEDIA_DELETE_LOCAL_AFTER_CLOUD=true
AWS_ACCESS_KEY_ID=xxx
AWS_SECRET_ACCESS_KEY=xxx
AWS_DEFAULT_REGION=fr-par
AWS_BUCKET=bucket-name
AWS_URL=https://bucket-name.s3.fr-par.scw.cloud
AWS_ENDPOINT=s3.fr-par.scw.cloud
AWS_USE_PATH_STYLE_ENDPOINT=false
</code></pre>
<p dir="auto">But it's not working.</p>
<p dir="auto">I see in the logs:</p>
<pre><code>Jan 22 13:18:46 [previous exception] [object] (GuzzleHttp\\Exception\\ConnectException(code: 0): cURL error 6: Could not resolve host: bridport-pics. (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) at /app/code/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:200)
</code></pre>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scooke" aria-label="Profile: scooke">@<bdi>scooke</bdi></a> have you done this with Pixelfed too?</p>
]]></description><link>https://forum.cloudron.io/post/60635</link><guid isPermaLink="true">https://forum.cloudron.io/post/60635</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Sun, 22 Jan 2023 13:36:03 GMT</pubDate></item><item><title><![CDATA[Reply to Profile images doesnt load on S3 on Mon, 28 Nov 2022 10:19:52 GMT]]></title><description><![CDATA[<p dir="auto">On Cloudron you can only change those code files temporarily when recovery mode is enabled for the app. This also means you have to run the app manually through a terminal into the app container. <a href="https://docs.cloudron.io/troubleshooting/#unresponsive-app" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/troubleshooting/#unresponsive-app</a></p>
<p dir="auto">Once upstream makes a new release with the fix, we will update the package of course.</p>
]]></description><link>https://forum.cloudron.io/post/57213</link><guid isPermaLink="true">https://forum.cloudron.io/post/57213</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 28 Nov 2022 10:19:52 GMT</pubDate></item></channel></rss>