cancel
Showing results for 
Search instead for 
Did you mean: 

Libreoffice with Alfresco docker

brancott
Champ on-the-rise
Champ on-the-rise

Hello everyone! I'm trying to install alfresco using docker (acs-community-deployment) and since I never worked with docker before I have some troubles. First of all I didn't really get whether libreoffice is included or not. I can see libreoffice in the logs

alfresco_1 | 20-Sep-2018 06:40:44.218 INFO [OfficeProcessThread-0] org.artofsolving.jodconverter.office.OfficeProcess.start Using original OpenOffice command: [/opt/libreoffice5.4/program/soffice.bin, -accept=socket,host=127.0.0.1,port=8100;urp;, -env:UserInstallation=file:///usr/local/tomcat/temp/.jodconverter_socket_host-127.0.0.1_port-8100, -headless, -nocrashreport, -nodefault, -nofirststartwizard, -nolockcheck, -nologo, -norestore]


but when I try to open a document via web-interface I'm getting errors

Unable to open http://ce0f304915e8:8080/alfresco/aos/sites/swsdp/documentLibrary/test.doc (ce0f304915e8 is an alfresco-content-repository-community container id)

and there is no connection to server, unable to open the file

http://ce0f304915e8:8080/alfresco/aos/sites/swsdp/documentLibrary/test.doc

How can I make online editing work? Should it work from scratch with acs-community-deployment project or do I need to install alfresco/alfresco-libreoffice separetely? 

3 REPLIES 3

angelborroy
Community Manager Community Manager
Community Manager

Online editing has nothing to see with LibreOffice. You need to configure AOS module, which is not included in default Alfresco images.


Add something similar to these lines (the “Install AOS part”) to your Alfresco Docker customization:


https://github.com/keensoft/alfresco-docker-template/blob/master/templates/201804-EA/alfresco/Docker...


Hyland Developer Evangelist

Sorry for late reply.

Could you please give me a hint on how to customise Alfresco docker? A link maybe? I tried to read about docker, but so far I've only gotten confused. acs-community-deployment has a docker-compose.yml but not Dockerfile, so should I create one and declare it in docker-compose.yml? Or what?

You can use this project as starting point:

GitHub - keensoft/docker-alfresco: Docker Alfresco Compose ready to be used 

There is also a wiki page with different configurations to be applied:

Home · keensoft/docker-alfresco Wiki · GitHub 

Hyland Developer Evangelist