Steps to reproduce
- Open desktop client.
- Attemp to connect to OC server with valid username and pw.
Expected behaviour
Typically the client connects.
Actual behaviour
Get a connection closed error
Server configuration
Operating system:
Centos 7
Web server:
Apache 2.4.37
Database:
MySQL/MariaDB 5.7
PHP version:
7.2
ownCloud version: (see ownCloud admin page)
10.0.10.4
Updated from an older ownCloud or fresh install:
No
Where did you install ownCloud from:
Softaculous
Signing status (ownCloud 9.0 and above):
None
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.
The content of config/config.php:
<?php $CONFIG = array ( 'instanceid' => 'ocfj3jxt4ebt', 'passwordsalt' => '***REMOVED SENSITIVE VALUE***', 'secret' => '***REMOVED SENSITIVE VALUE***', 'trusted_domains' => array ( 0 => 'docs.vardeman.com', ), 'datadirectory' => '/home/docs/ownclouddata', 'overwrite.cli.url' => 'https://docs.vardeman.com', 'dbtype' => 'mysql', 'version' => '10.0.10.4', 'dbname' => 'docs_ownc238', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'docs_ownc238', 'dbpassword' => 'm8.p5r3-SN', 'logtimezone' => 'UTC', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_smtpsecure' => 'ssl', 'mail_from_address' => 'admin', 'mail_domain' => 'vardeman.com', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtphost' => 'smtp.gmail.com', 'mail_smtpport' => '465', 'mail_smtpname' => 'bryan@vardeman.com', 'mail_smtppassword' => '***REMOVED SENSITIVE VALUE***', 'filelocking.enabled' => false, 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, 'timeout' => 0.0, 'password' => '', ), 'updater.secret' => '***REMOVED SENSITIVE VALUE***', 'theme' => '', 'loglevel' => 2, 'maintenance' => false, ); ``` Log in to the web-UI with an administrator account and click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' This report includes the config.php settings, the list of activated apps and other details in a well sanitized form. https://gist.github.com/web-dept/d7de0534abbbc225f18cecb1139d1667 or If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder *ATTENTION:* Do not post your config.php file in public as is. Please use one of the above methods whenever possible. Both, the generated reports from the web-ui and from occ config:list consistently remove sensitive data. You still may want to review the report before sending. If done manually then it is critical for your own privacy to dilligently remove *all* host names, passwords, usernames, salts and other credentials before posting. You should assume that attackers find such information and will use them against your systems. ``` **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 ownCloud installation folder. ``` **Are you using external storage, if yes which one:** local/smb/sftp/... No **Are you using encryption:** yes/no No **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... No ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your ownCloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ``` ### Client configuration **Browser:** Chrome **Operating system:** Windows 10 ### Logs #### Web server error log ``` Insert your webserver log here ``` #### ownCloud log (data/owncloud.log) ``` Insert your ownCloud log here ``` #### Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ``` This installation has been running fine. Something on the server must have changed. I can connect via browser but not via desktop client. I added a fresh install to the server and I cannot connect the desktop client to the fresh install either.