Skip to content
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

Doesn't work with md5 storage ids #25

Open
PVince81 opened this issue Feb 7, 2022 · 1 comment
Open

Doesn't work with md5 storage ids #25

PVince81 opened this issue Feb 7, 2022 · 1 comment

Comments

@PVince81
Copy link

PVince81 commented Feb 7, 2022

When the storage id is too long to fit in the oc_storages table, it is replaced with a md5 of its value.

So the script needs to also md5() the value when longer than 64 chars: https://github.com/nextcloud-gmbh/mtime_fixer_tool_kit/blob/master/list_problematic_files_on_fs.sh#L24

See https://github.com/nextcloud/server/blob/master/lib/private/Files/Cache/Storage.php#L109

@artonge

@PhilippSchlesinger
Copy link

What happens to affected files without applying the related PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants