nextcloud / workflow_pdf_converter

Let Nextcloud automatically convert documents to PDF
https://apps.nextcloud.com/apps/workflow_pdf_converter
GNU Affero General Public License v3.0
23 stars 8 forks source link

PDF file not generated #193

Open PratapSS opened 4 years ago

PratapSS commented 4 years ago

I've Installed nextcloud on digital ocean droplet and also the libre office as mentioned.

Updated the config file with following 'preview_libreoffice_path' => '/usr/bin/libreoffice',

'preview_office_cl_parameters' => ' --headless --nologo --nofirststartwizard --invisible --norestore '. '--convert-to pdf --outdir ',

'enabledPreviewProviders' => array( 'OC\Preview\PNG', 'OC\Preview\JPEG', 'OC\Preview\GIF', 'OC\Preview\BMP', 'OC\Preview\XBitmap', 'OC\Preview\MP3', 'OC\Preview\TXT', 'OC\Preview\MarkDown' ),

Expected behaviour

PDF to be generated on upload and on tag assigned

Actual behaviour

PDF Converter app

No PDF generated

PDF Converter app version: (see apps admin page: /index.php/settings/apps) Latest

Operating system: Ubuntu 20

Web server: Apache

**Database:Maria

**PHP version:7.4.3

**Nextcloud Version: 19

Where did you install Nextcloud from:

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

List of activated apps:

``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your server installation folder ```

Nextcloud configuration:

``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder or Insert your config.php content here 'bJgYNM0wgF8MSsWmjdI44BVO+D6M/9', 'secret' => 'qY1a02JAKG81M61lE2DgaEgMvoO7T5M07cLTDSLQEkbc8C+j', 'trusted_domains' => array ( 0 => 'localhost', 1 => 'nextcloud.bidsvijayapur.co.in', 2 => '143.110.179.87', ), 'datadirectory' => '/var/www/nextcloud/data', 'dbtype' => 'mysql', 'version' => '19.0.3.1', 'overwrite.cli.url' => 'https://nextcloud.bidsvijayapur.co.in', 'htaccess.RewriteBase' => '/', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'oc_ncadmin', 'dbpassword' => 'zdKFbHBpPFpPkMEIk+DP/rVYzlz4ob', 'installed' => true, 'instanceid' => 'ocv1iea0fnfg', 'preview_libreoffice_path' => '/usr/bin/libreoffice', 'preview_office_cl_parameters' => ' --headless --nologo --nofirststartwizard --invisible --norestore '. '--convert-to pdf --outdir ', 'enabledPreviewProviders' => array( 'OC\Preview\PNG', 'OC\Preview\JPEG', 'OC\Preview\GIF', 'OC\Preview\BMP', 'OC\Preview\XBitmap', 'OC\Preview\MP3', 'OC\Preview\TXT', 'OC\Preview\MarkDown' ), 'log_type' => 'file', 'logfile'=> '/var/log/nextcloud.log', 'logfilemode' => '0640', 'loglevel' => '0', 'logdateformat' => 'F d, Y H:i:s', );
blizzz commented 3 years ago

What is being logged? Have you checked https://github.com/nextcloud/workflow_pdf_converter/issues/118#issuecomment-695221354?