cancel
Showing results for 
Search instead for 
Did you mean: 

How to regenerate failed content previews

ramalama188
Champ in-the-making
Champ in-the-making
Hi,

some documents preview failed due to a problem on the server's file system where Alfresco runs on.
Now that's fixed, how can I regenerate those previews as when I try to preview any of them they are not available and the only option is to download the files.

thanks
1 REPLY 1

loftux
Star Contributor
Star Contributor
When a thumbnail/preview is requested it should automatically generate. If that fails fore some reason, the system will try a few times, then pause trying for a while. This is if you run 4.2 (maybe for 4.0, not sure there or when it was introduced in Enterprise)
# Retry periods limit the frequency with which the repository will attempt to create Share thumbnails
# for content nodes which have previously failed in their thumbnail attempts.
# These periods are in seconds.
#
# 604800s = 60s * 60m * 24h * 7d = 1 week
system.thumbnail.retryPeriod=60
system.thumbnail.retryCount=2
system.thumbnail.quietPeriod=604800
system.thumbnail.quietPeriodRetriesEnabled=true
If this is the case, they should start showing up in a week.

Also check that you documents have the correct mimetype, that is if your documents for some reason are set to binary mimetype, if so switch to correct mimetype.