Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 18.0.2): 19.02
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04 Server
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.1): 7.4
The issue you are facing:
I had a previous Nexcloud install that was working well until I had a disk issue on the remote VM.
Instead of spending days trying to resolve it I decided to cut my losses and do a clean install using the scripts linked below. While most of the install seem to be working, whenever I try to open any office document that should work with Collabora, I receive the error ‘mydomain.co.uk refused to connect’.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Install Nextcloud and Collabora using the scripts from https://github.com/nextcloud/vm
- Try to open an office document
- Grumble when it consistently fails
The output of your Nextcloud log in Admin > Logging:
Fresh install and the only two entries appear unrelated to the issue:
"Error PHP Module 'smbclient' already loaded at Unknown#0 2020-09-02T20:40:52+0100"
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'vogon',
'secret' => 'pangalacticgargleblaster',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '123.456.789.0',
2 => 'nextcloud.mydomain.co.uk',
3 => 'office.mydomain.co.uk',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '19.0.2.2',
'overwrite.cli.url' => 'https://nextcloud.mydomain.co.uk/',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'trillian',
'dbpassword' => 'arthur',
'installed' => true,
'instanceid' => 'slartibartfast',
'upgrade.disable-web' => 'true',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => '2',
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'mail_smtpmode' => 'smtp',
'remember_login_cookie_lifetime' => '1800',
'log_rotate_size' => '0',
'trashbin_retention_obligation' => 'auto, 180',
'versions_retention_obligation' => 'auto, 365',
'simpleSignUpLink.shown' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.5,
'dbindex' => 0,
'password' => '42',
),
'logtimezone' => 'Etc/UTC',
'htaccess.RewriteBase' => '/',
'share_folder' => '/Shared',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
11 => 'OC\\Preview\\PNG',
12 => 'OC\\Preview\\JPEG',
13 => 'OC\\Preview\\GIF',
14 => 'OC\\Preview\\BMP',
15 => 'OC\\Preview\\MarkDown',
16 => 'OC\\Preview\\MP3',
17 => 'OC\\Preview\\TXT',
18 => 'OC\\Preview\\Movie',
),
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'maintenance' => false,
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'fordprefect',
'mail_domain' => 'mydomain.co.uk',
'mail_smtpauth' => 1,
'mail_smtphost' => 'marvin.mydomain.co.uk',
'mail_smtpport' => '587',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpname' => 'fordprefect@mydomain.co.uk',
'mail_smtppassword' => 'zaphod',
The output of your Apache/nginx/system log in /var/log/____
:
https://pastebin.com/R1i6xp3T