Bug 112210 - LibreOffice does not work in headless mode under Windows Server Core 2016 (Docker)
Summary: LibreOffice does not work in headless mode under Windows Server Core 2016 (Do...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.1.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-04 12:10 UTC by Gabriel Muñoz
Modified: 2017-09-07 08:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The Dockerfile used to install and un LibreOffice Headless under Windows Server Core (Docker image) (1.27 KB, text/plain)
2017-09-04 12:11 UTC, Gabriel Muñoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Muñoz 2017-09-04 12:10:24 UTC
Description:
When you run the command to have LibreOffice in headless mode, under a Docker-based Windows Server Core 2016, the process does not start (you don't see it with the ps command), but no error appears.
The command used for headless mode is: C:\LibreOffice\program\soffice.exe -headless -accept='socket,host=127.0.0.1,port=8101;urp;' -nofirststartwizard
With LibreOffice installed under the path c:\LibreOffice.

The command used to install LibreOffice in unnatended mode under Windows Server Core 2016 is:
c:\LibreOffice.msi -ArgumentList '/qr /msoreg=0 ADDLOCAL=ALL CREATEDESKTOPLINKE=0 REGISTER_ALL_SMO_TYPES=1 REGISTER_DOC=1 INSTALLLOCATION=c:\LibreOffice REMOVE=gm_o_Onlineupdate,gm_p_Base,gm_p_Base_Bin,gm_o_Xsltfiltersamples RebootYesNo=No' -Wait 

Steps to Reproduce:
1. Install LibreOffice in Windows Server Core 2016 (a Docker image in my case, using a Dockerfile)
2. Run LibreOffice in headless mode
3. List the running procesess and discover that there is no soffice.exe process running

Actual Results:  
The LibreOffice process does not start in headless mode

Expected Results:
The LibreOffice process should start in headless mode or, at least, show an error message to know what's wrong


Reproducible: Always

User Profile Reset: Yes

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063
Comment 1 Gabriel Muñoz 2017-09-04 12:11:45 UTC
Created attachment 136008 [details]
The Dockerfile used to install and un LibreOffice Headless under Windows Server Core (Docker image)
Comment 2 Xisco Faulí 2017-09-05 15:19:05 UTC
Why did you set it to RESOLVED FIXED?
Comment 3 Gabriel Muñoz 2017-09-06 06:01:17 UTC
Because using the last Microsoft/windowsservercore image and LibreOffice 5.4.1, it Works.
Comment 4 Xisco Faulí 2017-09-07 08:07:58 UTC
Ok, thanks. Moving to RESOLVED WORKSFORME then...