Owncloud 9 lost files

Hi everybody,

we are very worried because several users are reporting lost files lately, no matter if they access using desktop client or web.

After some time (days,weeks,moths) without accessing files, their don't find some or all of them. We have to recover them from backup but we have only backup of last 5 weeks, so if the files are older, we can not.
As you can guess that is very critical because this can cause our users panic to lose their files and not make them not to trust on owncloud.

Is this a known issue? Or there is a way to force owncloud to be more restrict on deleteing files?

As a detail, all our users come from ldap, an our ldap user is stopped every day at 2:00 am for backup. Can this cause the lost? I say this because there is some information on client log files of unknown activity at this hour.

Server configuration
Operating system: ubuntu 14.04
Web server: apache 2.4
Database: mariadb 10
PHP version: 5.5
ownCloud version (see ownCloud admin page):9.1.4
Updated from an older ownCloud or fresh install: fresh install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): ldap users

ownCloud configuration

{
    "basic": {
        "license key": "",
        "date": "Mon, 01 May 2017 15:19:03 +0000",
        "ownCloud version": "9.1.4.2",
        "ownCloud version string": "9.1.4",
        "ownCloud edition": "",
        "server OS": "Linux",
        "server OS version": "Linux nuvol 3.13.0-88-generic #135-Ubuntu SMP Wed Jun 8 21:10:42 UTC 2016 x86_64",
        "server SAPI": "apache2handler",
        "webserver version": "Apache\/2.4.7 (Ubuntu)",
        "hostname": "nuvol.terrassa.upc.edu",
        "user count": 1945,
        "user directories": 1945,
        "logged-in user": "admin"
    },
    "integritychecker": {
        "passing": true,
        "enabled": true,
        "result": [
        ]
},
    {
        "id": "user_ldap",
        "name": "LDAP user and group backend",
       
        "licence": "AGPL",
        "author": "Dominik Schmidt and Arthur Schiwon",
        "version": "0.9.0",
        "types": [
            "authentication"
        ],
        "documentation": {
            "admin": "https:\/\/doc.owncloud.org\/server\/9.1\/go.php?to=admin-ldap"
        },
        "dependencies": {
            "lib": "ldap",
            "owncloud": {
                "@attributes": {
                    "min-version": "9.1",
                    "max-version": "9.1"
                }
            }
        },
        "namespace": "User_LDAP",
        "background-jobs": [
            "OCA\\User_LDAP\\Jobs\\UpdateGroups",
            "OCA\\User_LDAP\\Jobs\\CleanUp"
        ],
       
        "appconfig": {
            "cleanUpJobOffset": "3200",
            "enabled": "yes",
            "enforce_home_folder_naming_rule": "",
            "has_memberof_filter_support": "",
            "home_folder_naming_rule": "",
            "installed_version": "0.9.0",
            "last_jpegPhoto_lookup": "0",
            "ldap_agent_password": "***REMOVED SENSITIVE VALUE***",
            "ldap_attributes_for_group_search": "cn",
            "ldap_attributes_for_user_search": "uid\ndisplayname",
            "ldap_backup_host": "ldaps:\/\/ldapsec-ct.upc.edu",
            "ldap_backup_port": "636",
            "ldap_base": "dc=ct,dc=upc,dc=es",
            "ldap_base_groups": "ou=Groups,dc=ct,dc=upc,dc=es",
            "ldap_base_users": "ou=Users,dc=ct,dc=upc,dc=es",
            "ldap_cache_ttl": "600",
            "ldap_configuration_active": "1",
            "ldap_display_name": "uid",
            "ldap_dn": "cn=smbldap-tools,ou=DSA,dc=ct,dc=upc,dc=es",
            "ldap_dynamic_group_member_url": "",
            "ldap_email_attr": "mail",
            "ldap_experienced_admin": "0",
            "ldap_expert_username_attr": "",
            "ldap_expert_uuid_group_attr": "",
            "ldap_expert_uuid_user_attr": "",
            "ldap_group_display_name": "cn",
            "ldap_group_filter": "(&(objectClass=ownCloudGroup)(ownCloudEnabled=1))",
            "ldap_group_filter_mode": "1",
            "ldap_group_member_assoc_attribute": "memberUid",
            "ldap_groupfilter_groups": "cd6\nplataforma\nsbasics\nsict\nsict220\nsict320\nsict370\nsictserveis\nsom\nsom170\ntelematica\ntelesom\nugct\nugt",
            "ldap_groupfilter_objectclass": "",
            "ldap_host": "ldaps:\/\/ldap-ct.upc.edu",
            "ldap_login_filter": "(&(objectclass=inetOrgPerson)(|(uid=%uid)(|(uid=%uid))))",
            "ldap_login_filter_mode": "1",
            "ldap_loginfilter_attributes": "uid",
            "ldap_loginfilter_email": "0",
            "ldap_loginfilter_username": "1",
            "ldap_nested_groups": "0",
            "ldap_override_main_server": "0",
            "ldap_paging_size": "500",
            "ldap_port": "636",
            "ldap_quota_attr": "ownCloudQuota",
            "ldap_quota_def": "2 G",
            "ldap_tls": "0",
            "ldap_turn_off_cert_check": "0",
            "ldap_user_display_name_2": "",
            "ldap_user_filter_mode": "1",
            "ldap_userfilter_groups": "",
            "ldap_userfilter_objectclass": "inetOrgPerson",
            "ldap_userlist_filter": "(&(objectclass=inetOrgPerson)(!(sambaAcctFlags=[DUX]))(!(gidNumber=1079)))",
            "s01has_memberof_filter_support": "",
            "s01home_folder_naming_rule": "",
            "s01last_jpegPhoto_lookup": "0",
            "s01ldap_agent_password": "***REMOVED SENSITIVE VALUE***",
            "s01ldap_attributes_for_group_search": "cn",
            "s01ldap_attributes_for_user_search": "uid\ndisplayname",
            "s01ldap_backup_host": "ldaps:\/\/ldapsec-ct.upc.edu",
            "s01ldap_backup_port": "636",
            "s01ldap_base": "dc=ct,dc=upc,dc=es",
            "s01ldap_base_groups": "ou=Groups,dc=ct,dc=upc,dc=es",
            "s01ldap_base_users": "ou=Users,dc=ct,dc=upc,dc=es",
            "s01ldap_cache_ttl": "600",
            "s01ldap_configuration_active": "1",
            "s01ldap_display_name": "uid",
            "s01ldap_dn": "cn=smbldap-tools,ou=DSA,dc=ct,dc=upc,dc=es",
            "s01ldap_dynamic_group_member_url": "",
            "s01ldap_email_attr": "mail",
            "s01ldap_experienced_admin": "0",
            "s01ldap_expert_username_attr": "",
            "s01ldap_expert_uuid_group_attr": "",
            "s01ldap_expert_uuid_user_attr": "",
            "s01ldap_group_display_name": "cn",
            "s01ldap_group_filter": "(&(objectClass=ownCloudGroup)(ownCloudEnabled=1))",
            "s01ldap_group_filter_mode": "1",
            "s01ldap_group_member_assoc_attribute": "memberUid",
            "s01ldap_groupfilter_groups": "cd6\nplataforma\nsbasics\nsict\nsict220\nsict320\nsict370\nsictserveis\nsom\nsom170\ntelematica\ntelesom\nugct\nugt",
            "s01ldap_groupfilter_objectclass": "",
            "s01ldap_host": "ldaps:\/\/ldap-ct.upc.edu",
            "s01ldap_login_filter": "(&(objectclass=inetOrgPerson)(|(uid=%uid)(|(uid=%uid))))",
            "s01ldap_login_filter_mode": "1",
            "s01ldap_loginfilter_attributes": "uid",
            "s01ldap_loginfilter_email": "0",
            "s01ldap_loginfilter_username": "1",
            "s01ldap_nested_groups": "0",
            "s01ldap_override_main_server": "0",
            "s01ldap_paging_size": "500",
            "s01ldap_port": "636",
            "s01ldap_quota_attr": "ownCloudQuota",
            "s01ldap_quota_def": "2 G",
            "s01ldap_tls": "0",
            "s01ldap_turn_off_cert_check": "0",
            "s01ldap_user_display_name_2": "",
            "s01ldap_user_filter_mode": "1",
            "s01ldap_userfilter_groups": "",
            "s01ldap_userfilter_objectclass": "inetOrgPerson",
            "s01ldap_userlist_filter": "(&(objectclass=inetOrgPerson)(!(sambaAcctFlags=[DUX]))(!(gidNumber=1079)))",
            "s01use_memberof_to_detect_membership": "1",
            "types": "authentication",
            "use_memberof_to_detect_membership": "1"
        }
    },
 
],
"config": {
    "instanceid": "ocde02dfcbf8",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "datadirectory": "\/var\/www\/owncloud\/data",
    "dbtype": "mysql",
    "version": "9.1.4.2",
    "dbname": "owncloud",
    "dbhost": "172.16.1.27",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "ldapUserCleanupInterval": 51,
    "theme": "sict",
    "maintenance": false,
    "trusted_domains": [
        "nuvol.terrassa.upc.edu"
    ],
    "mail_smtpmode": "smtp",
    "mail_smtphost": "relay-ct.upc.edu",
    "mail_smtpport": "25",
    "mail_smtptimeout": 10,
    "memcache.local": "\\OC\\Memcache\\Redis",
    "filelocking.enabled": "true",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "localhost",
        "port": 6379,
        "timeout": 0,
        "dbindex": 0
    },
    "share_folder": "\/Shared",
    "overwritewebroot": "\/owncloud",
    "loglevel": 3,
    "log_rotate_size": 104857600,
    "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
    "mail_from_address": "owncloud.terrassa",
    "mail_domain": "ct.upc.edu",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "\/owncloud",
    "trashbin_retention_obligation": "auto",
    "activity_expire_days": "180",
    "updatechecker": false
},
"phpinfo": {
    "apache2handler": {
        "Apache Version": "Apache\/2.4.7 (Ubuntu)",
        "Apache API Version": "20120211",
        "Server Administrator": "webmaster@localhost",
        "Hostname:Port": "nuvol.terrassa.upc.edu:443",
        "User\/Group": "www-data(33)\/33",
        "Max Requests": "Per Child: 4000 - Keep Alive: on - Max Per Connection: 50",
        "Timeouts": "Connection: 300 - Keep-Alive: 5",
        "Virtual Server": "Yes",
        "Server Root": "\/etc\/apache2",
        "Loaded Modules": "core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_headers mod_mime prefork mod_negotiation mod_php5 mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status mod_xsendfile",
        "engine": "1",
        "last_modified": "0",
        "xbithack": "0"
    },
    "Apache Environment": {
        "HTTP_AUTHORIZATION": "no value",
        "HOME": "\/var\/www\/owncloud",
        "HTTP_HOME": "\/var\/www\/owncloud",
        "MOD_X_SENDFILE_ENABLED": "1",
        "modHeadersAvailable": "true",
        "htaccessWorking": "true",
        "HTTPS": "on",
        "SSL_TLS_SNI": "nuvol.terrassa.upc.edu",
        "SSL_SERVER_S_DN_C": "ES",
        "SSL_SERVER_S_DN_ST": "Barcelona",
        "SSL_SERVER_S_DN_L": "Barcelona",
        "SSL_SERVER_S_DN_O": "Universitat Polit\u00e8cnica de Catalunya. BarcelonaTech.",
        "SSL_SERVER_S_DN_OU": "SICT",
        "SSL_SERVER_S_DN_CN": "nuvol.terrassa.upc.edu",
        "SSL_SERVER_I_DN_C": "NL",
        "SSL_SERVER_I_DN_ST": "Noord-Holland",
        "SSL_SERVER_I_DN_L": "Amsterdam",
        "SSL_SERVER_I_DN_O": "TERENA",
        "SSL_SERVER_I_DN_CN": "TERENA SSL CA 3",
        "SSL_VERSION_INTERFACE": "mod_ssl\/2.4.7",
        "SSL_VERSION_LIBRARY": "OpenSSL\/1.0.1f",
        "SSL_PROTOCOL": "TLSv1.2",
        "SSL_SECURE_RENEG": "true",
        "SSL_COMPRESS_METHOD": "NULL",
        "SSL_CIPHER": "ECDHE-RSA-AES128-GCM-SHA256",
        "SSL_CIPHER_EXPORT": "false",
        "SSL_CIPHER_USEKEYSIZE": "128",
        "SSL_CIPHER_ALGKEYSIZE": "128",
        "SSL_CLIENT_VERIFY": "NONE",
        "SSL_SERVER_M_VERSION": "3",
        "SSL_SERVER_M_SERIAL": "0B705EA66A00B42BACEB3167C6C9CF87",
        "SSL_SERVER_V_START": "Jan 25 00:00:00 2016 GMT",
        "SSL_SERVER_V_END": "Jan 29 12:00:00 2019 GMT",
        "SSL_SERVER_S_DN": "CN=nuvol.terrassa.upc.edu,OU=SICT,O=Universitat Polit\u00e8cnica de Catalunya. BarcelonaTech.,L=Barcelona,ST=Barcelona,C=ES",
        "SSL_SERVER_I_DN": "CN=TERENA SSL CA 3,O=TERENA,L=Amsterdam,ST=Noord-Holland,C=NL",
        "SSL_SERVER_A_KEY": "rsaEncryption",
        "SSL_SERVER_A_SIG": "sha256WithRSAEncryption",
        "SSL_SESSION_ID": "56bd936a5fce19cda6d92b7e92a98b5609d6ee6a340e8ab37dcb82b60605a44f",
        "SSL_SESSION_RESUMED": "Resumed",
        "HTTP_HOST": "nuvol.terrassa.upc.edu",
        "HTTP_CONNECTION": "keep-alive",
        "HTTP_UPGRADE_INSECURE_REQUESTS": "1",
        "HTTP_USER_AGENT": "Mozilla\/5.0 (Windows NT 10.0; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/57.0.2987.133 Safari\/537.36",
        "HTTP_ACCEPT": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,*\/*;q=0.8",
        "HTTP_ACCEPT_ENCODING": "gzip, deflate, sdch, br",
        "HTTP_ACCEPT_LANGUAGE": "ca,en-GB;q=0.8,en;q=0.6",
        "SERVER_SIGNATURE": "<address>Apache\/2.4.7 (Ubuntu) Server at nuvol.terrassa.upc.edu Port 443<\/address>",
        "SERVER_SOFTWARE": "Apache\/2.4.7 (Ubuntu)",
        "SERVER_NAME": "nuvol.terrassa.upc.edu",
        "SERVER_ADDR": "147.83.83.77",
        "SERVER_PORT": "443",
        "REMOTE_ADDR": "147.83.18.11",
        "DOCUMENT_ROOT": "\/var\/www\/html",
        "REQUEST_SCHEME": "https",
        "CONTEXT_PREFIX": "\/owncloud",
        "CONTEXT_DOCUMENT_ROOT": "\/var\/www\/owncloud\/",
        "SERVER_ADMIN": "webmaster@localhost",
        "SCRIPT_FILENAME": "\/var\/www\/owncloud\/index.php",
        "REMOTE_PORT": "56105",
        "GATEWAY_INTERFACE": "CGI\/1.1",
        "SERVER_PROTOCOL": "HTTP\/1.1",
        "REQUEST_METHOD": "GET",
        "QUERY_STRING": "no value",
        "REQUEST_URI": "\/owncloud\/index.php\/apps\/configreport\/report",
        "SCRIPT_NAME": "\/owncloud\/index.php",
        "PATH_INFO": "\/apps\/configreport\/report",
        "PATH_TRANSLATED": "\/var\/www\/html\/apps\/configreport\/report"
    },
    "HTTP Headers Information": {
        "HTTP Request": "GET \/owncloud\/index.php\/apps\/configreport\/report HTTP\/1.1",
        "Host": "nuvol.terrassa.upc.edu",
        "Connection": "keep-alive",
        "Upgrade-Insecure-Requests": "1",
        "User-Agent": "Mozilla\/5.0 (Windows NT 10.0; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/57.0.2987.133 Safari\/537.36",
        "Accept": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,*\/*;q=0.8",
        "Accept-Encoding": "gzip, deflate, sdch, br",
        "Accept-Language": "ca,en-GB;q=0.8,en;q=0.6",
        "X-Powered-By": "PHP\/5.5.9-1ubuntu4.17",
        "Expires": "Thu, 19 Nov 1981 08:52:00 GMT",
        "Cache-Control": "no-store, no-cache, must-revalidate, post-check=0, pre-check=0",
        "Pragma": "no-cache",
        "Content-Security-Policy": "default-src self ; script-src self unsafe-eval ; style-src self unsafe-inline ; frame-src *; img-src * data: blob:; font-src self data:; media-src *; connect-src *"
    },
    "apc": {
        "APC support": "Emulated"
    },
    "apcu": {
        "Version": "4.0.7",
        "APCu Debugging": "Disabled",
        "MMAP Support": "Enabled",
        "MMAP File Mask": "no value",
        "Serialization Support": "php",
        "Revision": "$Revision: 328290 $",
        "Build Date": "Nov 1 2015 19:50:40",
        "apc.coredump_unmap": "Off",
        "apc.enable_cli": "Off",
        "apc.enabled": "On",
        "apc.entries_hint": "4096",
        "apc.gc_ttl": "3600",
        "apc.mmap_file_mask": "no value",
        "apc.preload_path": "no value",
        "apc.rfc1867": "Off",
        "apc.rfc1867_freq": "0",
        "apc.rfc1867_name": "APC_UPLOAD_PROGRESS",
        "apc.rfc1867_prefix": "upload_",
        "apc.rfc1867_ttl": "3600",
        "apc.serializer": "php",
        "apc.shm_segments": "1",
        "apc.shm_size": "32M",
        "apc.slam_defense": "On",
        "apc.smart": "0",
        "apc.ttl": "0",
        "apc.use_request_time": "On",
        "apc.writable": "\/tmp"
    },
    "bcmath": {
        "BCMath support": "enabled",
        "bcmath.scale": "0"
    },
        "Core": {
            "PHP Version": "5.5.9-1ubuntu4.17",
            "allow_url_fopen": "On",
            "allow_url_include": "Off",
            "always_populate_raw_post_data": [
                "On",
                "Off"
            ],
            "arg_separator.input": "&",
            "arg_separator.output": "&",
            "asp_tags": "Off",
            "auto_append_file": "no value",
            "auto_globals_jit": "On",
            "auto_prepend_file": "no value",
            "browscap": "no value",
            "default_charset": "UTF-8",
            "default_mimetype": "text\/html",
            "disable_classes": "no value",
            "disable_functions": "pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,",
            "display_errors": "Off",
            "display_startup_errors": "Off",
            "doc_root": "no value",
            "docref_ext": "no value",
            "docref_root": "no value",
            "enable_dl": "Off",
            "enable_post_data_reading": "On",
            "error_append_string": "no value",
            "error_log": "no value",
            "error_prepend_string": "no value",
            "error_reporting": [
                "32767",
                "22527"
            ],
            "exit_on_timeout": "Off",
            "expose_php": "On",
            "extension_dir": "\/usr\/lib\/php5\/20121212",
            "file_uploads": "On",
            "highlight.comment": "#FF8000",
            "highlight.default": "#0000BB",
            "highlight.html": "#000000",
            "highlight.keyword": "#007700",
            "highlight.string": "#DD0000",
            "html_errors": "On",
            "ignore_repeated_errors": "Off",
            "ignore_repeated_source": "Off",
            "ignore_user_abort": "Off",
            "implicit_flush": "Off",
            "log_errors": "On",
            "log_errors_max_len": "1024",
            "mail.add_x_header": "On",
            "mail.force_extra_parameters": "no value",
            "mail.log": "no value",
            "max_execution_time": [
                "3600",
                "30"
            ],
            "max_file_uploads": "20",
            "max_input_nesting_level": "64",
            "max_input_time": "60",
            "max_input_vars": "1000",
            "memory_limit": [
                "512M",
                "1024M"
            ],
            "open_basedir": "no value",
            "output_buffering": [
                "0",
                "4096"
            ],
            "output_handler": "no value",
            "post_max_size": [
                "513M",
                "2G"
            ],
            "precision": "14",
            "realpath_cache_size": "16K",
            "realpath_cache_ttl": "120",
            "register_argc_argv": "Off",
            "report_memleaks": "On",
            "report_zend_debug": "On",
            "request_order": "GP",
            "sendmail_from": "no value",
            "sendmail_path": "\/usr\/sbin\/sendmail -t -i ",
            "serialize_precision": "17",
            "short_open_tag": "Off",
            "SMTP": "localhost",
            "smtp_port": "25",
            "sql.safe_mode": "Off",
            "sys_temp_dir": "\/var\/tmp",
            "track_errors": "Off",
            "unserialize_callback_func": "no value",
            "upload_max_filesize": [
                "513M",
                "2G"
            ],
            "upload_tmp_dir": "\/var\/tmp\/",
            "user_dir": "no value",
            "user_ini.cache_ttl": "300",
            "user_ini.filename": ".user.ini",
            "variables_order": "GPCS",
            "xmlrpc_error_number": "0",
            "xmlrpc_errors": "Off",
            "zend.detect_unicode": "On",
            "zend.enable_gc": "On",
            "zend.multibyte": "Off",
            "zend.script_encoding": "no value"
        },
        "ldap": {
            "LDAP Support": "enabled",
            "RCS Version": "$Id$",
            "Total Links": "2\/unlimited",
            "API Version": "3001",
            "Vendor Name": "OpenLDAP",
            "Vendor Version": "20431",
            "SASL Support": "Enabled",
            "ldap.max_links": "Unlimited"
        },
        "memcached": {
            "Version": "2.1.0",
            "libmemcached version": "1.0.8",
            "Session support": "yes",
            "igbinary support": "no",
            "json support": "no",
            "memcached.compression_factor": "1.3",
            "memcached.compression_threshold": "2000",
            "memcached.compression_type": "fastlz",
            "memcached.serializer": "php",
            "memcached.sess_binary": "0",
            "memcached.sess_lock_wait": "150000",
            "memcached.sess_locking": "1",
            "memcached.sess_prefix": "memc.sess.key."
        },
        "redis": {
            "Redis Version": "2.2.7"
        },
        "Reflection": {
            "Version": "$Id: 31d836a7ac92a37b5c580836d91ad4736fe2f376 $"
        },
        "session": {
            "Session Support": "enabled",
            "Registered save handlers": "files user memcached redis",
            "Registered serializer handlers": "php_serialize php php_binary wddx",
            "session.auto_start": "Off",
            "session.cache_expire": "180",
            "session.cache_limiter": "nocache",
            "session.cookie_domain": "no value",
            "session.cookie_httponly": [
                "On",
                "Off"
            ],
            "session.cookie_lifetime": "0",
            "session.cookie_path": [
                "\/owncloud",
                "\/"
            ],
            "session.cookie_secure": [
                "On",
                "Off"
            ],
            "session.entropy_file": "\/dev\/urandom",
            "session.entropy_length": "32",
            "session.gc_divisor": "1000",
            "session.gc_maxlifetime": "1440",
            "session.gc_probability": "0",
            "session.hash_bits_per_character": "5",
            "session.hash_function": "0",
            "session.name": [
                "ocde02dfcbf8",
                "PHPSESSID"
            ],
            "session.referer_check": "no value",
            "session.save_handler": "files",
            "session.save_path": "\/var\/lib\/php5",
            "session.serialize_handler": "php",
            "session.upload_progress.cleanup": "On",
            "session.upload_progress.enabled": "On",
            "session.upload_progress.freq": "1%",
            "session.upload_progress.min_freq": "1",
            "session.upload_progress.name": "PHP_SESSION_UPLOAD_PROGRESS",
            "session.upload_progress.prefix": "upload_progress_",
            "session.use_cookies": "On",
            "session.use_only_cookies": "On",
            "session.use_strict_mode": "Off",
            "session.use_trans_sid": "0"
        },
        "shmop": {
            "shmop support": "enabled"
        },
        "SimpleXML": {
            "Revision": "$Id: 363ea1fc44b0b7775e2ec3ce8456530fec6d1660 $",
            "Schema support": "enabled"
        },
        "soap": {
            "Soap Client": "enabled",
            "Soap Server": "enabled",
            "soap.wsdl_cache": "1",
            "soap.wsdl_cache_dir": "\/tmp",
            "soap.wsdl_cache_enabled": "1",
            "soap.wsdl_cache_limit": "5",
            "soap.wsdl_cache_ttl": "86400"
        },
        "sockets": {
            "Sockets Support": "enabled"
        },
        "SPL": {
            "Interfaces": "Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject",
            "Classes": "AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException"
        },
        "sqlite3": {
            "SQLite3 module version": "0.7-dev",
            "SQLite Library": "3.8.2",
            "sqlite3.extension_dir": "no value"
        },
        "standard": {
            "Dynamic Library Support": "enabled",
            "Path to sendmail": "\/usr\/sbin\/sendmail -t -i",
            "assert.active": "1",
            "assert.bail": "0",
            "assert.callback": "no value",
            "assert.quiet_eval": "0",
            "assert.warning": "1",
            "auto_detect_line_endings": "0",
            "default_socket_timeout": "60",
            "from": "no value",
            "url_rewriter.tags": "a=href,area=href,frame=src,input=src,form=fakeentry",
            "user_agent": "no value"
        },
        "sysvmsg": {
            "sysvmsg support": "enabled",
            "Revision": "$Id: adf1d2d6be849c46eed3c3ee6f1cbebd1448d6e5 $"
        },
        "tokenizer": {
            "Tokenizer Support": "enabled"
        },
        "wddx": {
            "WDDX Session Serializer": "enabled"
        },
        "xml": {
            "XML Support": "active",
            "XML Namespace Support": "active",
            "libxml2 Version": "2.9.1"
        },
        "xmlreader": {
            "XMLReader": "enabled"
        },
        "xmlwriter": {
            "XMLWriter": "enabled"
        },
        "Zend OPcache": {
            "Opcode Caching": "Up and Running",
            "Optimization": "Enabled",
            "Startup": "OK",
            "Shared memory model": "mmap",
            "Cache hits": "52347610",
            "Cache misses": "1251",
            "Used memory": "31777384",
            "Free memory": "35331480",
            "Wasted memory": "0",
            "Cached scripts": "1003",
            "Cached keys": "1252",
            "Max keys": "3907",
            "OOM restarts": "0",
            "Hash keys restarts": "0",
            "Manual restarts": "0",
            "opcache.blacklist_filename": "no value",
            "opcache.consistency_checks": "0",
            "opcache.dups_fix": "Off",
            "opcache.enable": "On",
            "opcache.enable_cli": "Off",
            "opcache.enable_file_override": "Off",
            "opcache.error_log": "no value",
            "opcache.fast_shutdown": "0",
            "opcache.file_update_protection": "2",
            "opcache.force_restart_timeout": "180",
            "opcache.inherited_hack": "On",
            "opcache.interned_strings_buffer": "4",
            "opcache.load_comments": "1",
            "opcache.log_verbosity_level": "1",
            "opcache.max_accelerated_files": "2000",
            "opcache.max_file_size": "0",
            "opcache.max_wasted_percentage": "5",
            "opcache.memory_consumption": "64",
            "opcache.optimization_level": "0xFFFFFFFF",
            "opcache.preferred_memory_model": "no value",
            "opcache.protect_memory": "0",
            "opcache.restrict_api": "no value",
            "opcache.revalidate_freq": "2",
            "opcache.revalidate_path": "Off",
            "opcache.save_comments": "1",
            "opcache.use_cwd": "On",
            "opcache.validate_timestamps": "On"
        },
        "zip": {
            "Zip": "enabled",
            "Extension Version": "$Id: 05dd1ecc211075107543b0ef8cee488dd229fccf $",
            "Zip version": "1.11.0",
            "Libzip version": "0.10.1"
        },
        "zlib": {
            "Stream Wrapper": "compress.zlib:\/\/",
            "Stream Filter": "zlib.inflate, zlib.deflate",
            "Compiled Version": "1.2.8",
            "Linked Version": "1.2.8",
            "zlib.output_compression": "Off",
            "zlib.output_compression_level": "-1",
            "zlib.output_handler": "no value"
        },
        "Additional Modules": {
            "sysvsem": null,
            "sysvshm": null
        },
        "Environment": {
            "APACHE_RUN_DIR": "\/var\/run\/apache2",
            "APACHE_PID_FILE": "\/var\/run\/apache2\/apache2.pid",
            "APACHE_LOCK_DIR": "\/var\/lock\/apache2",
            "LANG": "C",
            "APACHE_RUN_USER": "www-data",
            "APACHE_RUN_GROUP": "www-data",
            "APACHE_LOG_DIR": "\/var\/log\/apache2",
            "PWD": "\/"
        }
    }
}
1 Like

The changelog [1] of the current available 9.1.5 has some entries about LDAP fixes. So when facing issues like this it always worth to use the current stable which might fixes issues like this.

[1] https://owncloud.org/changelog/#latest9.1

Hi, we are going to update to 9.1.5, but none of the LDAP fixes mentioned seems to be with our issue.
Thanks for your answer anyway.

Adding to this:

Not quite sure how oC is handling this situation so i think it might worth to also put ownCloud into maintenance mode during this time:

https://doc.owncloud.org/server/latest/admin_manual/maintenance/enable_maintenance.html

1 Like

That seems a good idea. Thanks I going to give it a shot.
Thanks.

Anyway, that will solve a controlled ldap shutdown,but what about a network problem or other unexpected issue with ldap?

LDAP servers are expected to be there, thats why there is also a failover server which can take over. Agree that the maintenance mode makes a lot of sense if you can't assure reliable LDAP presence.
In 10.0 = ownCloud X we are making this more reliable with the user table and soon also a group table which will mean less LDAP calls and higher reliability when we can't reach it. But basically if LDAP is not present its a non-defined state. There are also some background jobs around groups which could start running at this time and those would make things worse. Are your shares with groups from LDAP in any case?

No, we don't use ldap groups right now. We had used in the beginning, but after some issues we prefer to use owncloud groups.
Regarding to ldap server, we have defined 2 ldap servers in case one of them have trouble, but owncloud does not seem to switch to secondary. Should it?

Yes. If that one is available it should get infos from their. If this is not working, please post your LDAP config. (without PW or other private information of course ...)

Not quite sure if this is related but there was a discussion recently about the LDAP replica function of oC here:

which lead to the following reported issue at the bugtracker:

and the following possible bugfix:

2 Likes

Owncloud upated to 9.1.5 an ldap secondary server issue fixed.
At the moment no lost files, just some reported as deleted in activity but not sure if user make it.

1 Like