Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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?

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

Successfully merging a pull request may close this issue.

2 participants