-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintenance tool to deal with orphaned storages #23364
Comments
As discussed before, we can't go through all "home::" storages because some are md5-ied, so we can't resolve the user id. We need to start with all user ids to be able to find matching storages. |
@PVince81 If they are stored as md5, how can they ever be looked up successfully again? |
Originally, back in older OCs when this was introduced, it was only used when the user id was already known. If you log in as "user1" then it would concatenate with "home::user1" and do the md5 only if it's longer than 64 chars. Can happen with long user ids like LDAP ids. Same for shares, at that time the user ids are already known. So basically you could only resolve storages in a single direction. Yeah, I hate this too... |
What @danimo has in mind is that you can take the known user-ids and brute-force-hash them until it matches with a storage. |
|
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
leaving closed in favor of #18922 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Since 9.0 shares in orphaned storages throw Exceptions (cf. #22976 (comment)). ownCloud is still operable and no data is broken or lost or anything, but these Exceptions do occur and or logged.
Two reasons are known for orphaned storages:
Two possible solutions are suggested:
Opinions? Other approaches? @PVince81 @DeepDiver1975 @icewind1991 @nickvergessen @MorrisJobke
The text was updated successfully, but these errors were encountered: