Hi,
as per your request, here are further details on my configuration:
Nextcloud version: 23.0.4
Collabora Office: 5.0.4
Operating system and version : Ubuntu 20.04
Apache or nginx version : nginx 1.21.6
PHP version : 8.0.17
The issue is : Could not establish connection to the Collabora Online server.
Admin Logging:
{âreqIdâ:âsUymfjpewZFaGQez3XRVâ,âlevelâ:3,âtimeâ:â2022-05-09T14:06:25+02:00â,âremoteAddrâ:â93.23.87.152â,âuserâ:âadminâ,âappâ:âcoreâ,âmethodâ:âGETâ,âurlâ:"/index.php/apps/files/api/v1/thumbnail/256/256/Partage/Evaluation-cm2-maths.pdf",âmessageâ:âFile: /admin/files/Partage/Evaluation-cm2-maths.pdf Imagick says:â,âuserAgentâ:âMozilla/5.0 (Android) Nextcloud-android/3.20.1â,âversionâ:â23.0.4.1â,âexceptionâ:{âExceptionâ:âImagickExceptionâ,âMessageâ:âattempt to perform an operation not allowed by the security policy `PDFâ @ error/constitute.c/IsCoderAuthorized/408â,âCodeâ:499,âTraceâ:[{âfileâ:"/var/www/nextcloud/lib/private/Preview/Bitmap.php",âlineâ:86,âfunctionâ:âreadImageâ,âclassâ:âImagickâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/Preview/Bitmap.php",âlineâ:49,âfunctionâ:âgetResizedPreviewâ,âclassâ:âOC\Preview\Bitmapâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/Preview/GeneratorHelper.php",âlineâ:62,âfunctionâ:âgetThumbnailâ,âclassâ:âOC\Preview\Bitmapâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/Preview/Generator.php",âlineâ:245,âfunctionâ:âgetThumbnailâ,âclassâ:âOC\Preview\GeneratorHelperâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/Preview/Generator.php",âlineâ:140,âfunctionâ:âgetMaxPreviewâ,âclassâ:âOC\Preview\Generatorâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/Preview/Generator.php",âlineâ:109,âfunctionâ:âgeneratePreviewsâ,âclassâ:âOC\Preview\Generatorâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/PreviewManager.php",âlineâ:212,âfunctionâ:âgetPreviewâ,âclassâ:âOC\Preview\Generatorâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/apps/files/lib/Controller/ApiController.php",âlineâ:130,âfunctionâ:âgetPreviewâ,âclassâ:âOC\PreviewManagerâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",âlineâ:217,âfunctionâ:âgetThumbnailâ,âclassâ:âOCA\Files\Controller\ApiControllerâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",âlineâ:126,âfunctionâ:âexecuteControllerâ,âclassâ:âOC\AppFramework\Http\Dispatcherâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/AppFramework/App.php",âlineâ:157,âfunctionâ:âdispatchâ,âclassâ:âOC\AppFramework\Http\Dispatcherâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/lib/private/Route/Router.php",âlineâ:302,âfunctionâ:âmainâ,âclassâ:âOC\AppFramework\Appâ,âtypeâ:"::"},{âfileâ:"/var/www/nextcloud/lib/base.php",âlineâ:1008,âfunctionâ:âmatchâ,âclassâ:âOC\Route\Routerâ,âtypeâ:"->"},{âfileâ:"/var/www/nextcloud/index.php",âlineâ:36,âfunctionâ:âhandleRequestâ,âclassâ:âOCâ,âtypeâ:"::"}],âFileâ:"/var/www/nextcloud/lib/private/Preview/Bitmap.php",âLineâ:86,âCustomMessageâ:âFile: /mcadmin/files/Partage/Evaluation-cm2-maths.pdf Imagick says:â},âidâ:â627917dc52193â}
Config file :
<?php
$CONFIG = array (
'passwordsalt' => 'pass',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => 'cloud.my-domain.com',
),
'datadirectory' => '/srv/nc_data',
'dbtype' => 'mysql',
'version' => '23.0.4.1',
'overwrite.cli.url' => 'https://cloud.my-domain.com',
'overwriteprotocol' => 'https',
'trusted_proxies' =>
array (
0 => '192.168.100.254',
),
'dbname' => 'dbname',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'dbuser',
'dbpassword' => 'dbpassword',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'PLAIN',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => from',
'mail_domain' => 'my-domain.com',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp',
'mail_smtpport' => '465',
'mail_smtpname' => 'from@my-domain.com',
'mail_smtppassword' => 'xxx',
'htaccess.RewriteBase' => '/',
'loglevel' => 0,
'logtimezone' => 'Europe/Paris',
'default_phone_region' => 'FR',
'logfile' => '/srv/data/nextcloud.log',
'log_rotate_size' => 104857600,
'cron_log' => true,
'filesystem_check_changes' => 1,
'quota_include_external_storage' => false,
'knowledgebaseenabled' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => 'true',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'maintenance' => false,
'theme' => '',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
),
'preview_max_x' => 512,
'preview_max_y' => 512,
'preview_max_scale_factor' => 1,
'instanceid' => 'ocwdt816i35c',
'app_install_overwrite' =>
array (
0 => 'defaultgroup',
),
'mail_sendmailmode' => 'smtp',
'updater.release.channel' => 'stable',
);
NGINX error file:
2022/05/05 06:26:26 [warn] 6924#6924: *1606 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/5/00/0000000005 while reading upstream, client: 192.168.100.254, server: test, request: "GET /remote.php/dav/files/mcadmin/wasabi/vps-4292125d/cabsis/backups/site-www.cabsis-consulting.com-20220407-214316.jpa HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "cloud.my-domain.com"
2022/05/05 14:35:55 [warn] 6924#6924: *7109 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/6/00/0000000006 while reading upstream, client: 192.168.100.254, server: test, request: "GET /remote.php/webdav/Partage/IEF/Lionel/quizPontDuGard.livecode HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "cloud.my-domain.com"
2022/05/05 14:35:57 [warn] 6924#6924: *7178 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/7/00/0000000007 while reading upstream, client: 192.168.100.254, server: test, request: "GET /remote.php/dav/files/mcadmin/Partage/IEF/Lionel/quizPontDuGard.livecode HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "cloud.my-domain.com"
2022/05/05 16:59:31 [error] 15764#15764: *9 access forbidden by rule, client: 192.168.100.254, server: test, request: "GET /.well-known/webfinger HTTP/1.1", host: "cloud.my-domain.com"
2022/05/05 16:59:31 [error] 15764#15764: *11 access forbidden by rule, client: 192.168.100.254, server: test, request: "GET /.well-known/nodeinfo HTTP/1.1", host: "cloud.my-domain.com"
2022/05/05 16:59:31 [error] 15764#15764: *30 access forbidden by rule, client: 192.168.100.254, server: test, request: "PROPFIND /.well-known/caldav HTTP/1.1", host: "cloud.my-domain.com"
2022/05/05 17:24:27 [error] 15991#15991: *9 access forbidden by rule, client: 192.168.100.254, server: test, request: "GET /.well-known/webfinger HTTP/1.1", host: "cloud.my-domain.com"
2022/05/05 17:24:27 [error] 15991#15991: *12 access forbidden by rule, client: 192.168.100.254, server: test, request: "GET /.well-known/nodeinfo HTTP/1.1", host: "cloud.my-domain.com"
2022/05/05 17:24:27 [error] 15991#15991: *9 access forbidden by rule, client: 192.168.100.254, server: test, request: "PROPFIND /.well-known/caldav HTTP/1.1", host: "cloud.my-domain.com"
2022/05/05 18:05:20 [error] 16615#16615: *1 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.100.254, server: test, request: "GET /apps/logreader/poll?lastReqId=bmJywUHyjmMB3FKH7oLH HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "cloud.my-domain.com"