Why is 23.0.1 so heavily delayed?

in some maybe not all situation there is a way to recover the mtime from versions file (or it’s DB record).

I didn’t find time to build reliable recovery procedure from this information as I’m not an expert in mysql but it should work as following:

  • find files with invalid mtime
  • find the most recent version (if many) of the file which has valid mtime
  • perform one of the possible recovery options:
    1. safe: touch the file with valid mtime (and remove version in 2nd step)
    2. storage efficient: move version file to the original location and overwrite bad file
  • perform occ files:scan all

additional sugar:

  • compare the version file you use for recovery with the file in the system (diff/checksum) - AFAIK the contents are unchanged, so file contents and versions should be same
  • remove newer versions having invalid mtime (there are github reports when upload with invalid mtime happened multiple times)

I didn’t investigate further - NC devs might know from the top of the head - i think oc_filecache table is not separated by user so if collect the information from DB you don’t need to iterate over each user to identify and recover the files, it should work in one go..