Open ScuttleSE opened 3 months ago
What are the server logs for this period of time? Or, when the delete job runs at night
These are the logs from this nigh:
[Nest] 7 - 07/29/2024, 10:26:06 PM DEBUG [Microservices:VersionService] Running version check
[Nest] 7 - 07/29/2024, 11:26:06 PM DEBUG [Microservices:VersionService] Running version check
[Nest] 7 - 07/30/2024, 12:00:00 AM DEBUG [Microservices:LibraryService] Refreshing all external libraries: force=false
[Nest] 7 - 07/30/2024, 12:00:00 AM DEBUG [Microservices:LibraryService] Refreshing all external libraries: force=false
[Nest] 7 - 07/30/2024, 12:00:00 AM DEBUG [Microservices:LibraryService] Cleaning up any pending library deletions
[Nest] 7 - 07/30/2024, 12:00:00 AM DEBUG [Microservices:LibraryService] Cleaning up any pending library deletions
[Nest] 7 - 07/30/2024, 12:00:00 AM DEBUG [Microservices:PersonService] Deleted 0 people
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: /
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: Mac OS/Safari
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: iOS/Mobile Safari
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: Windows/Chrome
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: Linux/Chrome
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: Android/Chrome
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: iOS/Chrome
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: Linux/Firefox
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: Linux/Firefox
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: Linux/Firefox
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:SessionService] Deleted expired session token: Linux/Firefox
[Nest] 7 - 07/30/2024, 12:00:00 AM LOG [Microservices:SessionService] Deleted 11 expired session tokens
[Nest] 7 - 07/30/2024, 12:00:00 AM VERBOSE [Microservices:JobRepository] Waiting for undefined queue to stop...
[Nest] 7 - 07/30/2024, 12:00:01 AM DEBUG [Microservices:PersonService] Face 71ff7891-219c-4ec7-bc0d-f4076bdd6eaf only matched the face itself, skipping
[Nest] 7 - 07/30/2024, 12:26:06 AM DEBUG [Microservices:VersionService] Running version check
[Nest] 7 - 07/30/2024, 1:26:06 AM DEBUG [Microservices:VersionService] Running version check
[Nest] 7 - 07/30/2024, 2:26:06 AM DEBUG [Microservices:VersionService] Running version check
[Nest] 7 - 07/30/2024, 3:26:06 AM DEBUG [Microservices:VersionService] Running version check
[Nest] 7 - 07/30/2024, 4:26:06 AM DEBUG [Microservices:VersionService] Running version check
And in my system I have five deleted non-deleted users.
@ScuttleSE I had the same issue
delete the user immediately
feature works incorrectly sometimes. I guess if your user has a large amount of assets, it will fail.
I read the code to find the issue, but it looks fine to me.
To resolve this issue I manually changed the user's status from deleted to active in DB and triggered delete user
again (but not immediately at this time)
And in the morning it was fine.
The bug
I create a user
I delete the user immediately following the instructions here: https://immich.app/docs/administration/user-management#immediately-remove-user
Users is still in the list of users, now in red and unable to delete, edit or do anything with.
The OS that Immich Server is running on
Ubuntu 20
Version of Immich Server
1.110.0
Version of Immich Mobile App
n/a
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
Additional information
No response