Server: Previews for single shared files is not updated

Created on 2 Aug 2016  路  5Comments  路  Source: nextcloud/server

  • upload a file abc.png
  • share this file
  • overwrite the file abc.png with another image via WebDAV
  • check the shared link

    expected

  • preview is updated

    actual

  • preview is not updated

bug

Most helpful comment

As discussed in person last week. This boils down to the shared preview issue.

In the current state all previews are bound to the user. Which means that if N people have access to a file N previews will be generated (well N*M since you can have multiple preview sizes). We have no (scaleable) way to clean this up properly.

The solution is we should share previews. This saves time (generation) and space (deduplication) of previews. I'm working on a PR to make this happen.

All 5 comments

This is only stable9

The issue is non-shared previews:

  • Share a folder with a group
  • Upload a file a.png to that folder as owner
  • As recipient overwrite a.png
  • See that the owners preview is not updated

As discussed in person last week. This boils down to the shared preview issue.

In the current state all previews are bound to the user. Which means that if N people have access to a file N previews will be generated (well N*M since you can have multiple preview sizes). We have no (scaleable) way to clean this up properly.

The solution is we should share previews. This saves time (generation) and space (deduplication) of previews. I'm working on a PR to make this happen.

I just ran into this as well. There is also no way of fixing this. The owner either has to touch the images so they are resynced and his previews get regenerated or the admin has to delete the users thumbnails directory.

Was this page helpful?
0 / 5 - 0 ratings