Clearing photos for a single user
Hey all, is there currently any way to "reset" a single user on Immich? I have a few family members using the app, so a complete server reset is less than ideal. Also, my user is the built in 'admin' one, so I'm not sure if deleting and recreating that specific user is an option either.
18 Replies
I don't think there is a way to do that specifically, no. You could open a ticket on github with a feature request for that. Or, see if there's a related delete/reset issue and add a request for the admin account.
In the interim, you could change the admin's email, and re-create your account as a new, non-admin if you do indeed want a fresh start.
yeah, i suppose i'll open a feature request. seems like it may be useful! thanks, @jrasm91
Sorry to hear all your photos got duplicated!
hey, that's the cost of living on the Bleeding Edge™
worth it!
Deduping (at the moment) only works if the file is exactly identical. So, could something have altered some metadata of your files on your phone?
Do you have two images that are "duplicated" that you could share so we could investigate?
well, now that you mention it, i actually just looked at the metadata

vs

Are you on a new-ish android phone?
strange. the timestamps are off by the timezone offset
s21 ultra, but i've had it for a while now. the photo was taken after setting up immich originally.
(not both photos, its only a single photo)
There's some fancy new stuff (I think) where android will automatically include/exclude the gps metadata when an app asks for a picture, depending on location permissions.
hmmm, i wonder if that is a difference between the fdroid and playstore versions
i don't think i ever denied any permissions
I'm not 100% sure of the cause, but I know there have been some issues in the past where somebody opened a ticket on gps data not showing up in immich for some pictures
i will say this, the location info was included with the fdroid version's uploading
just checked permissions, location was set to deny (for whatever reason)
maybe that was the issue
if i'm looking at this right, it seems like this user deletion job could be tweaked to accomplish the clearing of photos

if you just leave out the
userRepository.remove(user)
bit and the apiKey removal as well
if anything, this could be a good candidate for a cli operation onlyYup.
I think we already wanted to make a force option for delete a user, that basically bypasses the 7 day waiting period.