First of all, thank you very much for your help @Overgrow.
All of the avatars and emojis (and even site images, like headers, etc) were āthereā but invisible. For non-avatar stuff they appear like broken, for avatars, the gray placeholder. Some people have been able to just upload a new one and those ones you can see.
First tries running the command I got:
FATAL: the database system is in recovery mode
Soā¦ there is that (I do have a lot of ādisconnectsā, so Iām assuming it has something to do with the DB, maybe?)
But after persisting eventually:
User.find_by_username(āOvergrowā).user_avatar
=> #<UserAvatar:0x000055702722d200
id: 4,
user_id: 3,
custom_upload_id: 20504,
gravatar_upload_id: 12240,
last_gravatar_download_attempt: Thu, 21 May 2020 10:16:55 UTC +00:00,
created_at: Sat, 30 May 2019 16:33:16 UTC +00:00,
updated_at: Thu, 21 May 2020 10:16:55 UTC +00:00>
(Tried to upload a new one today but It doesnāt work).
User.find_by_username(āOvergrowā).uploaded_avatar
=> #<Upload:0x00005555cd911b58
id: 20504,
user_id: 3,
original_filename: "16_2.png.jpg",
filesize: 56220,
width: 360,
height: 360,
url: "/uploads/default/original/3X/6/3/63347a46c0ca945f53613722a73c233484d642c8.jpeg",
created_at: Thu, 15 Aug 2019 20:02:47 UTC +00:00,
updated_at: Thu, 15 Aug 2019 20:02:47 UTC +00:00,
sha1: "63347a46c0ca945f53613722a73c233484d642c8",
origin: nil,
retain_hours: nil,
extension: "jpeg",
thumbnail_width: 360,
thumbnail_height: 360,
etag: nil,
secure: false,
access_control_post_id: nil,
original_sha1: nil>
OptimizedImage.where(upload_id: 20504).where(version: 2)
=> [#<OptimizedImage:0x000056366a01c1a0
id: 95962,
sha1: "5a32b5cc3e6f5c58d88a3c92a23076980a8ce840",
extension: ".jpeg",
width: 200,
height: 200,
upload_id: 20504,
url: "/uploads/default/optimized/3X/6/3/63347a46c0ca945f53613722a73c233484d642c8_2_200x200.jpeg",
filesize: 28916,
etag: nil,
version: 2>,
#<OptimizedImage:0x000056366a0741e8
id: 95942,
sha1: "ee353c9e23511b471e1a59c1f71a2ded3e366b1e",
extension: ".jpeg",
width: 20,
height: 20,
upload_id: 20504,
url: "/uploads/default/optimized/3X/6/3/63347a46c0ca945f53613722a73c233484d642c8_2_20x20.jpeg",
filesize: 1270,
etag: nil,
version: 2>,
#<OptimizedImage:0x000056366a074120
id: 95943,
sha1: "944fa9fc542a79a5c50394c75022bf84ace297e5",
extension: ".jpeg",
width: 30,
height: 30,
upload_id: 20504,
url: "/uploads/default/optimized/3X/6/3/63347a46c0ca945f53613722a73c233484d642c8_2_30x30.jpeg",
filesize: 1952,
etag: nil,
version: 2>,
#<OptimizedImage:0x000056366a074058
id: 95944,
sha1: "983490e58bed58c971ffa44e440b02ce3ea72bba",
extension: ".jpeg",
width: 40,
height: 40,
upload_id: 20504,
url: "/uploads/default/optimized/3X/6/3/63347a46c0ca945f53613722a73c233484d642c8_2_40x40.jpeg",
filesize: 2695,
etag: nil,
version: 2>,
#<OptimizedImage:0x000056366a07bf60
So apparently the images are there, but they wonāt show. Just the gray default avatar placeholder.