owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.37k stars 2.06k forks source link

owncloud 8.2 an error occurred while opening a folder Connection closed #20412

Closed FulgerX2007 closed 8 years ago

FulgerX2007 commented 8 years ago

Steps to reproduce

  1. Run the client owncloud
  2. Check the list of files normally takes place
  3. When to begin loading an error

Error

_Upload working._

Server configuration

Server configuration: Ubuntu 14.04 x64 Web server: Apache/2.4.7 (Ubuntu) Database: mariadb PHP: 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46) ownCloud version : 8.2.0.12 Updated from an older ownCloud or fresh install: updated from on older owncloud (8.1.3) List of activated apps: Enabled:

Disabled:

The content of config/config.php:

{
    "system": {
        "instanceid": "  DELETED ",
        "passwordsalt": " DELETED ",
        "secret": " DELETED ",
        "trusted_domains": [
            "192.168.100.231",
        ],
        "datadirectory": "\/data\/cloud",
        "overwrite.cli.url": "https:\/\/cloud.site.com",
        "dbtype": "mysql",
        "version": "8.2.0.12",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "owncloud",
        "dbpassword": " DELETED ",
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "log_type": "owncloud",
        "logtimezone": "Europe\/Chisinau",
        "loglevel": 2,
        "logfile": "\/var\/log\/owncloud.log",
        "enable_previews": true,
        "preview_max_x": 100,
        "preview_max_y": 100,
        "preview_max_scale_factor": 10,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "preview_office_cl_parameters": "",
        "theme": "",
        "maintenance": false,
        "appstore.experimental.enabled": true,
        "trashbin_retention_obligation": "auto"
    }
}

Are you using encryption: No Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav Insert your webserver log here:

{"reqId":"rq7ZXajH1a9aN1CJjlcG","remoteAddr":"192.168.100.75","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => memberOf\n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:44+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"rq7ZXajH1a9aN1CJjlcG","remoteAddr":"192.168.100.75","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => \n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:44+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"rq7ZXajH1a9aN1CJjlcG","remoteAddr":"192.168.100.75","app":"user_ldap","message":"readAttribute: cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md found","level":0,"time":"2015-11-09T22:00:44+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"rq7ZXajH1a9aN1CJjlcG","remoteAddr":"192.168.100.75","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => displayname\n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:44+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => \n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"readAttribute: cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md found","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => \n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"readAttribute: cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md found","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => primaryGroupID\n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => memberOf\n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => \n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"readAttribute: cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md found","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"4PnBp9kLt4jzFGc+txxK","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => displayname\n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:46+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => \n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:48+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"readAttribute: cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md found","level":0,"time":"2015-11-09T22:00:48+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => \n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:49+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"readAttribute: cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md found","level":0,"time":"2015-11-09T22:00:49+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => primaryGroupID\n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:49+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => memberOf\n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:49+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => \n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:49+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"readAttribute: cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md found","level":0,"time":"2015-11-09T22:00:49+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
{"reqId":"HQe\/kh14uYi\/cPZBuJWS","remoteAddr":"192.168.100.1","app":"user_ldap","message":"initializing paged search for  Filter objectClass=* base Array\n(\n    [0] => cn=andrei garaba,ou=officeusers,dc=mobilife,dc=md\n)\n attr Array\n(\n    [0] => displayname\n)\n limit 500 offset 0","level":0,"time":"2015-11-09T22:00:49+02:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
PVince81 commented 8 years ago

Happens randomly ?

Possibly related: https://github.com/owncloud/core/issues/12193

FulgerX2007 commented 8 years ago

12193 - It did not help

Field study of the problem, it was revealed that an error occurs when more than 60-70 files folder.

There are several issues:

  1. The number of folder levels (folder1 / folder2 / folder3 / etc ..)
  2. What Forbidden characters used in the file names
PVince81 commented 8 years ago

Are you using external storage ? Somehow you seem to have missed the question in the issue template but I see that you have the app enabled. If yes, does it happen only when listing the external storage's folder content ?

Connection closed is likely a timeout issue where the server did not respond quickly enough, which could happen with slow external storages or slow network connections.

FulgerX2007 commented 8 years ago

No I do not use external storage devices.

I have 1 server and 2 HDD driver. The first HDD is installed owncloud. The second HDD contains files for synchronization (user files). Internet connection 1GB. Connection is via LAN.

The list of applications:

Enabled:

  • activity: 2.1.3
  • files: 1.2.0
  • files_external: 0.3.0
  • files_sharing: 0.7.0
  • files_trashbin: 0.7.0
  • files_versions: 1.1.0
  • logreader: 1.1.2
  • provisioning_api: 0.3.0
  • updater: 0.6
  • user_ldap: 0.7.0

Disabled:

  • documents
  • encryption
  • external
  • files_antivirus
  • files_pdfviewer
  • files_texteditor
  • files_videoviewer
  • firstrunwizard
  • gallery
  • notifications
  • templateeditor
  • user_external
guruz commented 8 years ago

See also https://github.com/owncloud/client/issues/4299#issuecomment-166352514

FulgerX2007 commented 8 years ago

@guruz Hello.

None of the above did not help. The problem I had, and the weak server.

Old server:

Processor: 2x2.1GB Memory: 2048MB HDD: 1TB - low speed

The processor is always loaded to 100%.

The new server

Processor: 4x2.2GB Memory: 4096MB HDD: 2TB - the standard speed Now processor loaded on 10%.

Problem solved.

PVince81 commented 8 years ago

Is this still happening with 8.2.2 ? Some performance improvements have been put in.

PVince81 commented 8 years ago

Closing due to lack of activity. If this is still an issue with ownCloud v9.0.2RC1, feel free to reopen.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.