rotdrop / nextcloud-app-pdf-downloader

Recusively convert entire directory trees to PDF and provide the resulting document as download.
Other
3 stars 4 forks source link

Error Converting Office Documents #42

Closed kevinkuan1969 closed 1 year ago

kevinkuan1969 commented 1 year ago

Just discovered this new app while installing Nextcloud 27.1.1. Managed to install as per instruct as well as upgrade LiberOffice to latest version: image image

LibreOffice 7.6.2.1 60(Build:1)

Discovered all the office document such as docx, odt, odp, ods cannot be converted. Please find the log as below:

Error | pdf_downloader | RuntimeException: Converter "Array ( [0] => [fallback] ) " has failed trying to convert MIME type "application/vnd.oasis.opendocument.text"/var/www/nextcloud/apps/pdf_downloader/lib/Service/FileSystemWalker.php - line 412:OCA\PdfDownloader\Service\AnyToPdf->convertData()/var/www/nextcloud/apps/pdf_downloader/lib/Service/FileSystemWalker.php - line 478:OCA\PdfDownloader\Service\FileSystemWalker->addFile()/var/www/nextcloud/apps/pdf_downloader/lib/Controller/MultiPdfDownloadController.php - line 244:OCA\PdfDownloader\Service\FileSystemWalker->generateDownloadData()/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 230:OCA\PdfDownloader\Controller\MultiPdfDownloadController->get()/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 137:OC\AppFramework\Http\Dispatcher->executeController() -- | -- | -- Error | pdf_downloader | Symfony\Component\Process\Exception\ProcessTimedOutException: The process "'/usr/bin/unoconv' '-f' 'pdf' '--stdin' '--stdout' '-e' 'ExportNotes=False'" exceeded the timeout of 60 seconds./var/www/nextcloud/apps/pdf_downloader/vendor/symfony/process/Process.php - line 430:Symfony\Component\Process\Process->checkTimeout()/var/www/nextcloud/apps/pdf_downloader/vendor/symfony/process/Process.php - line 251:Symfony\Component\Process\Process->wait()/var/www/nextcloud/apps/pdf_downloader/lib/Service/AnyToPdf.php - line 407:Symfony\Component\Process\Process->run() -- | -- | --