After install owncloud 9.1 and install libreoffice 5.2
config php file in this below
?php
$CONFIG = array (
'updatechecker' => false,
'instanceid' => 'oc0gymn78hji',
'preview_libreoffice_path' => '/opt/libreoffice5.2',
'preview_office_cl_parameters' =>
' --headless --nologo --nofirststartwizard --invisible --norestore '.
'-convert-to pdf -outdir ',
);
Please suggestion or any comment.