nextcloud / nextcloud/workflow_pdf_converter

PDF file not generated

Open
#193 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
26
Forks
8
Avg merge
10h 30m
Merged PRs (30d)
31

Description

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', );

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the shown config.php conversion settings and the PDF Converter app version in /index.php/settings/apps. Check /var/log/nextcloud.log and gather the app list with sudo -u www-data php occ app:list; done means a PDF is generated both when a document is uploaded and when a tag is assigned.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, mariadb, php, ubuntu
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.