Thanks Julian. I figured this was the case. Have you considered rules for tuples? Like should the main entry be the the left or right of a descriptor or qualifier? [email protected] vs [email protected].
Yeah I think having a folder under public/uploads/profile for each user would make deleting easier. We can get rid of the glob and delete that folder on user deletion. But we would have to write an upgrade script to move all files and update the path in the user object since they are stored as "/assets/uploads/profile/1-profileavatar-1709738685611.jpeg"
It is suddenly working again, but I do not know why. I cannot get a consistent result. I will be grateful for now. Is there anything I should be looking for when it fails?