Broken Images and Their S3 URLs

Talking about the same Discourse instance as @masterakay here.

We switched over to s3 over 2 years ago, none of the files in the local uploads directory are newer than 2018.

As I understand, images are uploaded in the “original” folder, and processed (cropped, reduced in size, etc.) and put in the “optimized” folder. The URLs used by discourse when uploading images are still from the “/original/1X/” folder. Somehow, with the upgrade, the “1X” folder is gone.

There’s a “default” folder which as a lot of uploads (images, etc.) as well as cropped versions. There are about 10k files here making it ~2.5 GB.

The problem is the image URL in the posts always have the “original” one.
Something we noticed is that the missing files are a subset of the files in the “default” folder.
New uploads work without issues and are stored in “/original/2X/”.

Does anyone have ideas where the “/original/1X/” folder may have gone and if it possible to bring it back?