# Can´t save profile picture

**URL:** https://meta.discourse.org/t/can-t-save-profile-picture/142785
**Category:** Support
**Created:** [February 27, 2020, 2:56pm UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785 "2020-02-27T14:56:21Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Wurzelseppi](https://avatars.discourse-cdn.com/v4/letter/w/eada6e/32.png) [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)
#### Post date: [February 27, 2020, 2:56pm UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/1 "2020-02-27T14:56:21Z")

</div>

Hey guys,

I can´t save my profile picture anymore. We´re storing our files @ AWS (S3) and the normal picture upload works (in posts).  
But when I try to upload a custom picture (users are allowed to do that) it first shows the uploaded picture in the little preview

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/9/296ea60ebb8c284b65d5844160f0508355aaf2f8.png)

But when I want to save it´s gone. In fact i had one there for one year now, and now it can´t be found anymore in s3

What could be wrong here ?

thanks and cheers,

Wurzelseppi

---

<div class="post-metadata">

### Author: ![Wurzelseppi](https://avatars.discourse-cdn.com/v4/letter/w/eada6e/32.png) [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)
#### Post date: [February 27, 2020, 3:02pm UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/2 "2020-02-27T15:02:38Z")

</div>

Just found that in error logs:

Could not find file in the store located at url: //-censored-.eu-west-1.amazonaws.com/original/1X/194225f4214f7c18618e885c2e54e5009f64a6c8.jpeg

---

<div class="post-metadata">

### Author: ![Wurzelseppi](https://avatars.discourse-cdn.com/v4/letter/w/eada6e/32.png) [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)
#### Post date: [March 1, 2020, 6:27pm UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/3 "2020-03-01T18:27:08Z")

</div>

Nobody ?

Isn´t it strange, that normal uploads work (like pictures in posts and the like), but profile pictures not ?

---

<div class="post-metadata">

### Author: ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)
#### Post date: [March 2, 2020, 1:43am UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/4 "2020-03-02T01:43:59Z")

</div>

Why would it be looking for the file in "-censored- "? 🤔  
What is the path where the custom profile photos that do work? Is it different?  
Are other users having the same problem or is it limited to just you?

Until you can get it sorted, you can try this work around and see if it holds.  
Upload your custom photo to a post and save the post.  
Right-click and save the photo to your computer.  
Upload the photo from your PC to your profile and save.

It may have something to do with where you’re uploading your custom photo from that’s causing it not to be saved in your profile. Just a thought.

---

<div class="post-metadata">

### Author: ![Wurzelseppi](https://avatars.discourse-cdn.com/v4/letter/w/eada6e/32.png) [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)
#### Post date: [March 2, 2020, 8:04am UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/5 "2020-03-02T08:04:19Z")

</div>

Hi,

that

> -censored-

was just a way to hide the exact name of my s3 bucket 🙂

---

<div class="post-metadata">

### Author: ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)
#### Post date: [March 3, 2020, 5:04am UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/6 "2020-03-03T05:04:16Z")

</div>

Sorry! 🤦‍♂️ I should have realized that. 🙄  
Still the question remains… can you upload your photo from a different source, save it and will it stick? And is this happening to other users as well?

---

<div class="post-metadata">

### Author: ![Wurzelseppi](https://avatars.discourse-cdn.com/v4/letter/w/eada6e/32.png) [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)
#### Post date: [March 6, 2020, 11:30am UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/7 "2020-03-06T11:30:13Z")

</div>

Hi there,

I have this error

Could not find file in the store located at url: \\proflex-community-prod.s3.dualstack.eu-west-1.amazonaws.com/original/1X/50f1646a833bb7fa4887676767c77f7a52f8a805.jpeg

But when I go here (in my company network):

[https://proflex-community-prod.s3.dualstack.eu-west-1.amazonaws.com/original/1X/50f1646a833bb7fa4887676767c77f7a52f8a805.jpeg](https://proflex-community-prod.s3.dualstack.eu-west-1.amazonaws.com/original/1X/50f1646a833bb7fa4887676767c77f7a52f8a805.jpeg)

it works

So is there maybe a problem with the url that is being created for the presentation layer ?

Found also similiar other posts about that:

[https://meta.discourse.org/t/missing-avatar-on-s3-for-some-avatars/93979/7](https://meta.discourse.org/t/missing-avatar-on-s3-for-some-avatars/93979/7)

> [@Avatars not Uploading to S3](https://meta.discourse.org/t/avatars-not-uploading-to-s3/128240):
>
> So I migrated to using S3 for uploads a few months back for one forum. Overall it seemed like a success. Uploads from new posts are going to S3 perfect Migration of old uploads from posts to S3 worked fine using rake uploads:migrate\_to\_s3 Existing avatars did not migrate New avatar uploads are not going to S3 New user background and card background images are uploading to S3 perfectly fine In attempt to fix the problem. I tried running rake avatars:refresh and avatars:clean after following th…

> [@Problems with avatar uploads due to S3 changes](https://meta.discourse.org/t/problems-with-avatar-uploads-due-to-s3-changes/99400):
>
> Hi everyone, Somehow I keep having issues with avatars. I’m on the last version ([v2.2.0.beta3 +3](https://github.com/discourse/discourse/compare/2178f7768fe7cfebd9ee1ad8aa024e11f1e11bc6...tests-passed)). This is something noticed a few weeks ago but I’m only having the time to debug now. At first, I thought it could be a problem with the customizations I did through my theme plugin, but I don’t think that’s the case. Some images show up but some others don’t. Has anyone seem something like that? Here’s an example of an image that should be showing up (both urls seem correct): https://app.thewa…

Cheers,

Wurzelseppi

---

<div class="post-metadata">

### Author: ![Wurzelseppi](https://avatars.discourse-cdn.com/v4/letter/w/eada6e/32.png) [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)
#### Post date: [March 12, 2020, 9:09pm UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/8 "2020-03-12T21:09:56Z")

</div>

Still having this issue and found this

[https://github.com/YunoHost-Apps/discourse\_ynh/issues/16](https://github.com/YunoHost-Apps/discourse_ynh/issues/16)

which mention also the thing, I found now in my logs:

> MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb\_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

The bad thing in this thread: No solution ☹

---

<div class="post-metadata">

### Author: ![varun21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/varun21/32/246440_2.png) [@varun21](https://meta.discourse.org/u/varun21)
#### Post date: [April 21, 2022, 6:58am UTC](https://meta.discourse.org/t/can-t-save-profile-picture/142785/9 "2022-04-21T06:58:44Z")

</div>

Has anyone found a solution yet?
