Nextcloud 8 version (eg, 29.0.4): replace me
Operating system and version (eg, Centos 9): replace me
Apache or nginx version (eg, Apache 2.4.57): replace me
PHP version (eg, 8.3): replace me
The issue you are facing:
I recive tooltip error when i try click on PDF file.
The "documentType" parameter for the config object is invalid.
Please correct it.
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
- Install + app OnlyOffice
- Send a PDF file
- Try open this file
The output of your Nextcloud log in Admin > Logging:
/var/www/html/config/config.php
$CONFIG = array (
'instanceid' => 'ocmxxxxxxxxxxxxxxx',
'passwordsalt' => 'tBAxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'secret' => '8thxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'trusted_domains' =>
array (
0 => '200.xxx.xxx.xxx',
1 => 'nextcloud.mysite.br',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'dbtype' => 'mysql',
'version' => '29.0.4.1',
'overwrite.cli.url' => 'http://200.xxx.xxx.xxx',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxxxxxx',
'installed' => true,
'maintenance_window_start' => 1,
'default_language' => 'pt_BR',
'force_language' => 'pt_BR',
'default_phone_region' => 'pt_BR',
'app_install_overwrite' =>
array (
0 => 'documentserver_community',
1 => 'pdfdraw',
),
'maintenance' => false,
'mail_smtpmode' => 'sendmail',
'mail_smtpport' => '25',
'mail_from_address' => 'noreply',
'mail_smtphost' => 'localhost',
'mail_domain' => 'maildomain.br',
'mail_sendmailmode' => 'smtp',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'loglevel' => 0,
'loglevel_frontend' => 0,
'mail_smtpsecure' => 'ssl',
'mail_smtpauth' => 1,
'theme' => '',
);
The output of your Apache/nginx/system log in /var/log/____
:
No error
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
{"reqId":"ZqKgbNgApREqCoZWEdozwQAAAAE","level":3,"time":"2024-07-25T18:58:55+00:00","remoteAddr":"190.52.73.130","user":"epen","app":"onlyoffice","method":"GET","url":"/index.php/core/preview?fileId=2202&x=32&y=32&mimeFallback=true&a=0","message":"Failed to download thumbnail","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"29.0.4.1","exception":{"Exception":"GuzzleHttp\Exception\ServerException","Message":"Server error: GET https://nextcloudmy.site.br/index.php/apps/documentserver_community/open/933976366//convert.jpeg resulted in a 500 Internal Server Error response:\n\n<html class="ng-csp" data-placeholder-focus="false" lang="pt-BR" data-locale="pt_BR" translate="no" >\n\t< (truncated...)\n","Code":500,
"message":"Failed to download thumbnail","CustomMessage":"Failed to download thumbnail"}}