Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF file not generated #193

Open
PratapSS opened this issue Sep 30, 2020 · 1 comment
Open

PDF file not generated #193

PratapSS opened this issue Sep 30, 2020 · 1 comment

Comments

@PratapSS
Copy link

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
Copy link
Member

blizzz commented Jan 18, 2021

What is being logged? Have you checked #118 (comment)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants