cancel
Showing results for 
Search instead for 
Did you mean: 

Thumbnail creation prevents document updates

cajova_houba
Champ on-the-rise
Champ on-the-rise

Hello,

we're running Alfresco Content Services Community 7.3 and we've stumbled upon an issue with thumbnail generator and subsequent document updates.

Whenever the document's thumbnail is accessed (e.g. when opening the document in the UI), an aspect rn:renditioned is added to the document. When later trying to update the document's content by REST API, CMIS API or directly in the UI, all of the update operations fail with error 504 Gateway Timeout. The reverse proxy running in front of the Alfresco has timeout set to 5 minutes. However, when opening the document in the UI again, we can see that the content was updated and version incremented.

Removing the mentioned aspect from the document resolves the issue and the update requests succeed.

I've put together a basic example to reproduce this issue: https://github.com/Cajova-Houba/alfresco-thumbnail-document-update

Now, my question is - is this a bug in the Alfresco, or is it just some kind of misconfiguration? Should the aspect rn:renditioned be removed automatically?

Thanks

1 REPLY 1

LeoMattioli
Employee
Employee

Hi, Alfresco 7.3 needs also ActiveMQ. Try adding the configuration for it and it works, here's an example:

  activemq:
    image: alfresco/alfresco-activemq:5.17.1-jre11-rockylinux8
    mem_limit: 1g
    ports:
      - "61616:61616"
      - "8161:8161" # Web Console

 If you want to dive deeper, have a look at this blog post where you can find the example for a Community without ActiveMQ.

Another suggestion: in your example disable indexing to avoid useless errors in the logs. In your alfresco service, remove everything regarding solr and set the index subsystem to none:

    -Dindex.subsystem.name=noindex

Best regards.

 


Leo Mattioli - Technical Account Manager @Hyland.