Skip to content

Files are not visible on browser but are accessible through clicking links #15856

Closed

Description

@kalletabur

Steps to reproduce

Don't know how to reproduce. This appeared already in 7.0.4 version. Now we upgraded to 8.0.2 but the problem is still there

Expected behaviour

Browsing ownCloud files over web interface should show all the files.

Actual behaviour

Lot of files are not visible when browsing one web folder. At the beginning of the folder there are lots of folders and files visible, then there is lot of empty space and in the end there is like one file visible again. When hovering over empty space links are shown in URL bar - if you click on link of this file the file can be downloaded.

image

Server configuration

Operating system:
Debian 7.8

Web server:
NGINX (1.2.1-2.2)

Database:
MySQL (5.5.43-0)

PHP version:
PHP (5.4.4-14)

ownCloud version:
ownCloud 8.0.2 (stable)

Updated from an older ownCloud or fresh install:
Updated

List of activated apps:
Activity, Deleted files, External storage support, First Run Wizard, LDAP user and group backend, Mail Template Editor, PDF Viewer, Pictures, Server-side Encryption, Share Files, Text Editor, Versions, Video Viewer

The content of config/config.php:

$CONFIG = array (
  'instanceid' => 'instanceid',
  'passwordsalt' => '',
  'trusted_domains' => 
  array (
    0 => '1.1.1.5',
    1 => 'oc',
  ),
  'datadirectory' => '/var/ownclouddata/',
  'dbtype' => 'mysql',
  'version' => '8.0.2.0',
  'dbname' => 'dbname',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'prefix',
  'dbuser' => 'dbuser',
  'dbpassword' => '',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'forcessl' => true,
  'loglevel' => '0',
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'smtphost',
  'mail_smtpport' => '25',
  'logtimezone' => 'Europe',
  'theme' => '',
  'share_folder' => '/Shared',
  'maintenance' => false,
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'secret' => '',
);

Are you using external storage, if yes which one: local/smb/sftp/...
owncloud

Are you using encryption: yes/no
yes

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
AD

LDAP configuration (delete this part if not used)

|appid|configkey|configvalue|
|user_ldap|cleanUpJobOffset|600|
|user_ldap|enabled|yes|
|user_ldap|has_memberof_filter_support|1|
|user_ldap|home_folder_naming_rule||
|user_ldap|installed_version|0.5.0|
|user_ldap|last_jpegPhoto_lookup|0|
|user_ldap|ldap_agent_password||
|user_ldap|ldap_attributes_for_group_search||
|user_ldap|ldap_attributes_for_user_search||
|user_ldap|ldap_backup_host||
|user_ldap|ldap_backup_port||
|user_ldap|ldap_base|DC=example,DC=local|
|user_ldap|ldap_base_groups|DC=example,DC=local|
|user_ldap|ldap_base_users|DC=example,DC=local|
|user_ldap|ldap_cache_ttl|600|
|user_ldap|ldap_configuration_active|1|
|user_ldap|ldap_display_name|displayname|
|user_ldap|ldap_dn|CN=Comp-Ownc,OU=COM,OU=Company,DC=example,DC=local|
|user_ldap|ldap_email_attr|mail|
|user_ldap|ldap_experienced_admin|0|
|user_ldap|ldap_expert_username_attr|sAMAccountName|
|user_ldap|ldap_expert_uuid_group_attr||
|user_ldap|ldap_expert_uuid_user_attr||
|user_ldap|ldap_group_display_name|cn|
|user_ldap|ldap_group_filter|(&(|(objectclass=group))(|(cn=Dev)(CN=Comp-Ownc)(cn=Comp-admis)))|
|user_ldap|ldap_group_filter_mode|0|
|user_ldap|ldap_group_member_assoc_attribute|member|
|user_ldap|ldap_groupfilter_groups|Comp-DevComp-Owncloud Comp-admis|
|user_ldap|ldap_groupfilter_objectclass|group|
|user_ldap|ldap_host|dc300|
|user_ldap|ldap_login_filter|(&(&(|(objectclass=person))(|(memberof=CN=Comp-Ownc,OU=DL,OU=Company,DC=example,DC=local)(memberof=CN=Comp-Dev,OU=DL,OU=Company,DC=example,DC=local)(memberof=CN=Comp-admis,OU=DL,OU=Company,DC=example,DC=local)))(samaccountname=%uid))|
|user_ldap|ldap_login_filter_mode|0|
|user_ldap|ldap_loginfilter_attributes||
|user_ldap|ldap_loginfilter_email|0|
|user_ldap|ldap_loginfilter_username|1|
|user_ldap|ldap_nested_groups|0|
|user_ldap|ldap_nocase|1|
|user_ldap|ldap_override_main_server|0|
|user_ldap|ldap_paging_size|500|
|user_ldap|ldap_port|389|
|user_ldap|ldap_quota_attr||
|user_ldap|ldap_quota_def||
|user_ldap|ldap_tls|0|
|user_ldap|ldap_turn_off_cert_check|1|
|user_ldap|ldap_user_filter_mode|1|
|user_ldap|ldap_userfilter_groups||
|user_ldap|ldap_userfilter_objectclass||
|user_ldap|ldap_userlist_filter|(&(|(objectclass=person))(|(memberof=CN=Comp-Ownc,OU=DL,OU=Company,DC=example,DC=local)(memberof=CN=Comp-Dev,OU=DL,OU=Company,DC=example,DC=local)(memberof=CN=Comp-SystemAdministrators,OU=DL,OU=Company,DC=example,DC=local)))|
|user_ldap|ocsid|166061|
|user_ldap|types|authentication|

Client configuration

Browser:
Any (chrome, ff, opera)

Operating system:
OpenSUSE 13.2 64-bit

Logs

Web server error log

Adding log entries a about this directory

access.log
1.1.1.2 - - [24/Apr/2015:12:12:49 +0300] "GET /index.php/apps/files/ajax/list.php?dir=%2FDocuments%2Fsecurity&sort=name&sortdirection=asc HTTP/1.1" 200 10471 "https://URL2ownCloud.com/index.php/apps/files/?dir=%2FDocuments%2Fsecurity" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
1.1.1.2 - - [24/Apr/2015:12:12:49 +0300] "GET /index.php/apps/files/ajax/getstoragestats.php?dir=%2FDocuments%2Fsecurity HTTP/1.1" 200 155 "https://URL2ownCloud.com/index.php/apps/files/?dir=%2FDocuments%2Fsecurity" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
1.1.1.2 - - [24/Apr/2015:12:12:59 +0300] "GET /index.php/apps/files/?dir=%2FDocuments%2Fsecurity HTTP/1.1" 200 4976 "https://URL2ownCloud.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
1.1.1.2 - - [24/Apr/2015:12:13:56 +0300] "GET /core/vendor/jquery/dist/jquery-migrate.min.map HTTP/1.1" 404 47 "https://URL2ownCloud.com/index.php/apps/files/?dir=%2FDocuments%2Fsecurity" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
1.1.1.2 - - [24/Apr/2015:12:15:42 +0300] "GET /index.php/apps/files/ajax/download.php?dir=%2FDocuments%2Fsecurity&files=raman.xls HTTP/1.1" 200 72704 "https://URL2ownCloud.com/index.php/apps/files/?dir=%2FDocuments%2Fsecurity" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
error.log
2015/04/24 12:13:56 [error] 7760#0: *34187 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 1.1.1.2, server: URL2ownCloud.com, request: "GET /core/vendor/jquery/dist/jquery-migrate.min.map HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "URL2ownCloud.com", referrer: "https://URL2ownCloud.com/index.php/apps/files/?dir=%2FDocuments%2Fsecurity"

ownCloud log (data/owncloud.log)

I'm adding log entries that have related to one file that is not visible but through link the file is accessible

{"reqId":"552b73a87fc56","app":"files_encryption","message":"delShareKey: delete share key: \/user_owner\/files_encryption\/share-keys\/Documents\/security\/pp_v02-1.docx.user_1.shareKey","level":0,"time":"2015-04-13T10:43:36+03:00","method":"POST","url":"\/index.php\/core\/ajax\/share.php"}
{"reqId":"552b73ab1a1a5","app":"files_encryption","message":"delShareKey: delete share key: \/user_owner\/files_encryption\/share-keys\/Documents\/security\/pp_v02-1.docx.user_2.shareKey","level":0,"time":"2015-04-13T10:43:39+03:00","method":"POST","url":"\/index.php\/core\/ajax\/share.php"}
{"reqId":"552b73b4d5eb5","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_encryption\/keyfiles\/Documents\/security\/pp_v02-1.docx.key' !!! \ncache: Array\n(\n    [fileid] => 48812\n    [storage] => home::user_owner\n    [path] => files_encryption\/keyfiles\/Documents\/security\/pp_v02-1.docx.key\n    [parent] => 48596\n    [name] => pp_v02-1.docx.key\n    [mimetype] => application\/x-iwork-keynote-sffkey\n    [mimepart] => application\n    [size] => 244\n    [mtime] => 1411549988\n    [storage_mtime] => 1411549988\n    [encrypted] => \n    [unencrypted_size] => 0\n    [etag] => 544ed3d1d30a3\n    [permissions] => 27\n)\n \ndata: Array\n(\n    [mimetype] => application\/x-iwork-keynote-sffkey\n    [mtime] => 1428911030\n    [size] => 244\n    [etag] => 552b73b65be27\n    [storage_mtime] => 1428911030\n    [permissions] => 27\n    [parent] => 48596\n)\n","level":0,"time":"2015-04-13T10:43:50+03:00","method":"POST","url":"\/index.php\/core\/ajax\/share.php"}
{"reqId":"552b73b4d5eb5","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_encryption\/share-keys\/Documents\/security\/pp_v02-1.docx.user_owner.shareKey' !!! \ncache: Array\n(\n    [fileid] => 49575\n    [storage] => home::user_owner\n    [path] => files_encryption\/share-keys\/Documents\/security\/pp_v02-1.docx.user_owner.shareKey\n    [parent] => 49204\n    [name] => pp_v02-1.docx.user_owner.shareKey\n    [mimetype] => application\/octet-stream\n    [mimepart] => application\n    [size] => 512\n    [mtime] => 1411549988\n    [storage_mtime] => 1411549988\n    [encrypted] => \n    [unencrypted_size] => 0\n    [etag] => 544ed3d63bb57\n    [permissions] => 27\n)\n \ndata: Array\n(\n    [mimetype] => application\/octet-stream\n    [mtime] => 1428911030\n    [size] => 512\n    [etag] => 552b73b6621b0\n    [storage_mtime] => 1428911030\n    [permissions] => 27\n    [parent] => 49204\n)\n","level":0,"time":"2015-04-13T10:43:50+03:00","method":"POST","url":"\/index.php\/core\/ajax\/share.php"}
{"reqId":"552b73bd4a570","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_encryption\/keyfiles\/Documents\/security\/pp_v02-1.docx.key' !!! \ncache: Array\n(\n    [fileid] => 48812\n    [storage] => home::user_owner\n    [path] => files_encryption\/keyfiles\/Documents\/security\/pp_v02-1.docx.key\n    [parent] => 48596\n    [name] => pp_v02-1.docx.key\n    [mimetype] => application\/x-iwork-keynote-sffkey\n    [mimepart] => application\n    [size] => 244\n    [mtime] => 1428911030\n    [storage_mtime] => 1428911030\n    [encrypted] => \n    [unencrypted_size] => 0\n    [etag] => 552b73b65be27\n    [permissions] => 27\n)\n \ndata: Array\n(\n    [mimetype] => application\/x-iwork-keynote-sffkey\n    [mtime] => 1428911038\n    [size] => 244\n    [etag] => 552b73bed5a58\n    [storage_mtime] => 1428911038\n    [permissions] => 27\n    [parent] => 48596\n)\n","level":0,"time":"2015-04-13T10:43:58+03:00","method":"POST","url":"\/index.php\/core\/ajax\/share.php"}
{"reqId":"552b73bd4a570","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_encryption\/share-keys\/Documents\/security\/pp_v02-1.docx.user_owner.shareKey' !!! \ncache: Array\n(\n    [fileid] => 49575\n    [storage] => home::user_owner\n    [path] => files_encryption\/share-keys\/Documents\/security\/pp_v02-1.docx.user_owner.shareKey\n    [parent] => 49204\n    [name] => pp_v02-1.docx.user_owner.shareKey\n    [mimetype] => application\/octet-stream\n    [mimepart] => application\n    [size] => 512\n    [mtime] => 1428911030\n    [storage_mtime] => 1428911030\n    [encrypted] => \n    [unencrypted_size] => 0\n    [etag] => 552b73b6621b0\n    [permissions] => 27\n)\n \ndata: Array\n(\n    [mimetype] => application\/octet-stream\n    [mtime] => 1428911038\n    [size] => 512\n    [etag] => 552b73bedd64e\n    [storage_mtime] => 1428911038\n    [permissions] => 27\n    [parent] => 49204\n)\n","level":0,"time":"2015-04-13T10:43:58+03:00","method":"POST","url":"\/index.php\/core\/ajax\/share.php"}
{"reqId":"552b73bd4a570","app":"OC\\Files\\Cache\\Scanner","message":"!!! No reuse of etag for 'files_encryption\/share-keys\/Documents\/security\/pp_v02-1.docx.user_2.shareKey' !!! \ncache: Array\n(\n    [fileid] => 151499\n    [storage] => home::user_owner\n    [path] => files_encryption\/share-keys\/Documents\/security\/pp_v02-1.docx.user_2.shareKey\n    [parent] => 49204\n    [name] => pp_v02-1.docx.user_2.shareKey\n    [mimetype] => application\/octet-stream\n    [mimepart] => application\n    [size] => 512\n    [mtime] => 1428911030\n    [storage_mtime] => 1428911030\n    [encrypted] => \n    [unencrypted_size] => 0\n    [etag] => 552b73b669c72\n    [permissions] => 27\n)\n \ndata: Array\n(\n    [mimetype] => application\/octet-stream\n    [mtime] => 1428911038\n    [size] => 512\n    [etag] => 552b73bee3420\n    [storage_mtime] => 1428911038\n    [permissions] => 27\n    [parent] => 49204\n)\n","level":0,"time":"2015-04-13T10:43:58+03:00","method":"POST","url":"\/index.php\/core\/ajax\/share.php"}

Activity

  1. eagles051387 commented on Apr 25, 2015

    @eagles051387

    I can confirm I have the same issue but my install is on ubuntu 14.04 with the package of OC8.0 at the time from the open suse build system. Mine was not an upgrade but a clean installation.

  2. PVince81 commented on Apr 27, 2015

    @PVince81
    Contributor

    Did you guys disable "Share API" in the admin page ? If you wanted to disable sharing, then please also deactivate the "Sharing" app.
    Do you see any Javascript errors when trying to scroll down in that folder ?

  3. kalletabur commented on Apr 27, 2015

    @kalletabur
    Author

    I haven't disabled it. Sharing API is enabled and we use sharing.
    No javascript errors while scrolling.

  4. PVince81 commented on Apr 27, 2015

    @PVince81
    Contributor

    @kalletabur can you use the browser's DOM inspector on the white space to see if the elements exist there ? It could be some kind of weird rendering problem

  5. atroxix commented on Apr 27, 2015

    @atroxix

    When looking at Elements under Chrome's developer tools it can be seen tha at some point all lines forward are created with some transparent class:

    <tr data-id="145572" data-type="file" data-size="25600" data-file="..." data-mime="application/msword" data-mtime="..." data-etag="..." data-permissions="27" data-share-permissions="19" class="appear transparent">

    I also see 2 errors:

    • Uncaught TypeError: Cannot read property 'toString' of undefined
    • jquery-migrate.min.map:1 GET https://.../core/vendor/jquery/dist/jquery-migrate.min.map 404 (Not Found)
  6. PVince81 commented on Apr 27, 2015

    @PVince81
    Contributor

    The transparent class is set on the rows to create an animation by removing it.
    But something is preventing the JS code to do its work.

    @atroxix you too confirm that you didn't disable "Share API" in the admin page ? (because that's a known issue: #15186)

    Are you able to get the stack trace of that "toString" error ? (maybe with the debugger)

  7. atroxix commented on Apr 30, 2015

    @atroxix

    BTW, Kalle was reporting my error, so I just took over debugging my system myself ;)

    So yes, haven't disabled "Share API".

    About "toString" error - you mean this?

    Uncaught TypeError: Cannot read property 'toString' of undefined
    escapeHTML @ js.js?v=66bd8398957a816353d73de6cde9dd14:47
    (anonymous function) @ share.js?v=66bd8398957a816353d73de6cde9dd14:164
    (anonymous function) @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    x.extend.each @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:4
    x.fn.x.each @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:4
    x.fn.extend.domManip @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    x.fn.extend.append @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5O
    CA.Sharing.Util.updateFileActionIcon @ share.js?v=66bd8398957a816353d73de6cde9dd14:163
    (anonymous function) @ share.js?v=66bd8398957a816353d73de6cde9dd14:70
    _.each._.forEach @ underscore.js?v=66bd8398957a816353d73de6cde9dd14:79
    updateIcons @ share.js?v=66bd8398957a816353d73de6cde9dd14:69
    (anonymous function) @ share.js?v=66bd8398957a816353d73de6cde9dd14:84
    x.event.dispatch @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    x.event.add.v.handle @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    x.event.trigger @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    e.event.trigger @ jquery-migrate.min.js?v=66bd8398957a816353d73de6cde9dd14:2
    (anonymous function) @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    x.extend.each @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:4
    x.fn.x.each @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:4
    x.fn.extend.trigger @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    FileList._nextPage @ filelist.js?v=66bd8398957a816353d73de6cde9dd14:600
    FileList._onScroll @ filelist.js?v=66bd8398957a816353d73de6cde9dd14:482
    x.event.dispatch @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    x.event.add.v.handle @ jquery.min.js?v=66bd8398957a816353d73de6cde9dd14:5
    
  8. PVince81 commented on Apr 30, 2015

    @PVince81
    Contributor

    @atroxix ok so the error happens here: https://github.com/owncloud/core/blob/v8.0.2/apps/files_sharing/js/share.js#L164

    I guess maybe the attribute "data-share-owner" is missing on some rows in the list.
    But it might not be the core issue, because if other JS are interrupted due to an error, they wouldn't get a chance to add that attribute.

    Does this stack appear when reloading the file list page (complete reload of the web page) ?

    Also, do you see any failing (red) calls in the network console ?

  9. atroxix commented on Apr 30, 2015

    @atroxix

    The error does not appear right away after reload, but when I start scrolling (not even hovering over any of this empty area).

    Under Network I see 1 red line:

    • https://.../core/vendor/jquery/dist/jquery-migrate.min.map: File not found.
  10. PVince81 commented on Apr 30, 2015

    @PVince81
    Contributor

    Would you guys mind posting the content of your "oc_appconfig" table ? Make sure to censor private data, if applicable. It might help to find out config variations which might help reproduce the issue.

  11. atroxix commented on Apr 30, 2015

    @atroxix

    Here's the info from SQL dump (I hope I managed to get rid of all sensitive values there):

    CREATE TABLE `oc_appconfig` (
      `appid` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '',
      `configkey` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
      `configvalue` longtext COLLATE utf8_bin,
      PRIMARY KEY (`appid`,`configkey`),
      KEY `appconfig_config_key_index` (`configkey`),
      KEY `appconfig_appid_key` (`appid`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
    /*!40101 SET character_set_client = @saved_cs_client */;
    
    --
    -- Dumping data for table `oc_appconfig`
    --
    
    LOCK TABLES `oc_appconfig` WRITE;
    /*!40000 ALTER TABLE `oc_appconfig` DISABLE KEYS */;
    INSERT INTO `oc_appconfig` VALUES
    ('activity','enabled','yes'),
    ('activity','installed_version','1.2.0'),
    ('activity','ocsid','166038'),
    ('activity','types','filesystem'),
    ('admin_dependencies_chk','enabled','no'),
    ('admin_dependencies_chk','installed_version','0.01'),
    ('admin_dependencies_chk','types',''),
    ('backgroundjob','lastjob','3'),
    ('calendar','enabled','no'),
    ('calendar','installed_version','0.6.3'),
    ('calendar','types',''),
    ('contacts','enabled','no'),
    ('contacts','installed_version','0.3'),
    ('contacts','types',''),
    ('core','global_cache_gc_lastrun','1430395414'),
    ('core','installedat','1404397732.3113'),
    ('core','lastcron','1430396161'),
    ('core','lastupdateResult','{\"version\":{},\"versionstring\":{},\"url\":{},\"web\":{}}'),
    ('core','lastupdatedat','1430294259'),
    ('core','public_caldav','calendar/share.php'),
    ('core','public_calendar','calendar/share.php'),
    ('core','public_documents','documents/public.php'),
    ('core','public_files','files_sharing/public.php'),
    ('core','public_gallery','gallery/public.php'),
    ('core','public_webdav','files_sharing/publicwebdav.php'),
    ('core','remote_caldav','calendar/appinfo/remote.php'),
    ('core','remote_calendar','calendar/appinfo/remote.php'),
    ('core','remote_carddav','contacts/appinfo/remote.php'),
    ('core','remote_contacts','contacts/appinfo/remote.php'),
    ('core','remote_core.css','/core/minimizer.php'),
    ('core','remote_core.js','/core/minimizer.php'),
    ('core','remote_files','files/appinfo/remote.php'),
    ('core','remote_filesync','files/appinfo/filesync.php'),
    ('core','remote_webdav','files/appinfo/remote.php'),
    ('core','repairlegacystoragesdone','yes'),
    ('core','shareapi_allow_links','yes'),
    ('core','shareapi_allow_mail_notification','yes'),
    ('core','shareapi_allow_public_notification','yes'),
    ('core','shareapi_allow_public_upload','yes'),
    ('core','shareapi_allow_resharing','no'),
    ('core','shareapi_default_expire_date','yes'),
    ('core','shareapi_enforce_links_password','yes'),
    ('core','shareapi_expire_after_n_days','90'),
    ('documents','enabled','no'),
    ('documents','installed_version','0.8.2'),
    ('documents','ocsid','166045'),
    ('documents','types',''),
    ('files','backgroundwatcher_previous_file','736'),
    ('files','backgroundwatcher_previous_folder','2533'),
    ('files','default_quota','1 GB'),
    ('files','enabled','yes'),
    ('files','installed_version','1.1.9'),
    ('files','types','filesystem'),
    ('files_encryption','enabled','yes'),
    ('files_encryption','installed_version','0.7.1'),
    ('files_encryption','ocsid','166047'),
    ('files_encryption','publicShareKeyId','pubShare_cddf305d'),
    ('files_encryption','recoveryAdminEnabled','1'),
    ('files_encryption','recoveryKeyId','recovery_83cfb34c'),
    ('files_encryption','types','filesystem'),
    ('files_pdfviewer','enabled','yes'),
    ('files_pdfviewer','installed_version','0.7'),
    ('files_pdfviewer','ocsid','166049'),
    ('files_pdfviewer','types',''),
    ('files_sharing','enabled','yes'),
    ('files_sharing','installed_version','0.6.1'),
    ('files_sharing','ocsid','166050'),
    ('files_sharing','types','filesystem'),
    ('files_texteditor','enabled','yes'),
    ('files_texteditor','installed_version','0.4'),
    ('files_texteditor','ocsid','166051'),
    ('files_texteditor','types',''),
    ('files_trashbin','enabled','yes'),
    ('files_trashbin','installed_version','0.6.2'),
    ('files_trashbin','ocsid','166052'),
    ('files_trashbin','types','filesystem'),
    ('files_versions','enabled','yes'),
    ('files_versions','installed_version','1.0.5'),
    ('files_versions','ocsid','166053'),
    ('files_versions','types','filesystem'),
    ('files_videoviewer','enabled','yes'),
    ('files_videoviewer','installed_version','0.1.3'),
    ('files_videoviewer','ocsid','166054'),
    ('files_videoviewer','types',''),
    ('firstrunwizard','enabled','yes'),
    ('firstrunwizard','installed_version','1.1'),
    ('firstrunwizard','ocsid','166055'),
    ('firstrunwizard','types',''),
    ('gallery','enabled','yes'),
    ('gallery','installed_version','0.6.0'),
    ('gallery','ocsid','166056'),
    ('gallery','types',''),
    ('search_lucene','enabled','no'),
    ('search_lucene','installed_version','0.5.3'),
    ('search_lucene','ocsid','166057'),
    ('search_lucene','types','filesystem'),
    ('updater','enabled','no'),
    ('updater','installed_version','0.4'),
    ('updater','ocsid','166059'),
    ('updater','types',''),
    ('user_ldap','cleanUpJobOffset','50'),
    ('user_ldap','enabled','yes'),
    ('user_ldap','installed_version','0.5.0'),
    ('user_ldap','ocsid','166061'),
    ('user_ldap','s01has_memberof_filter_support','1'),
    ('user_ldap','s01home_folder_naming_rule',''),
    ('user_ldap','s01last_jpegPhoto_lookup','0'),
    ('user_ldap','s01ldap_agent_password','...'),
    ('user_ldap','s01ldap_attributes_for_group_search',''),
    ('user_ldap','s01ldap_attributes_for_user_search',''),
    ('user_ldap','s01ldap_backup_host',''),
    ('user_ldap','s01ldap_backup_port',''),
    ('user_ldap','s01ldap_base','...'),
    ('user_ldap','s01ldap_base_groups','...'),
    ('user_ldap','s01ldap_base_users','...'),
    ('user_ldap','s01ldap_cache_ttl','600'),
    ('user_ldap','s01ldap_configuration_active','1'),
    ('user_ldap','s01ldap_display_name','displayname'),
    ('user_ldap','s01ldap_dn','...'),
    ('user_ldap','s01ldap_email_attr','mail'),
    ('user_ldap','s01ldap_experienced_admin','0'),
    ('user_ldap','s01ldap_expert_username_attr','sAMAccountName'),
    ('user_ldap','s01ldap_expert_uuid_group_attr',''),
    ('user_ldap','s01ldap_expert_uuid_user_attr',''),
    ('user_ldap','s01ldap_group_display_name','cn'),
    ('user_ldap','s01ldap_group_filter','...'),
    ('user_ldap','s01ldap_group_filter_mode','0'),
    ('user_ldap','s01ldap_group_member_assoc_attribute','member'),
    ('user_ldap','s01ldap_groupfilter_groups','...'),
    ('user_ldap','s01ldap_groupfilter_objectclass','group'),
    ('user_ldap','s01ldap_host','...'),
    ('user_ldap','s01ldap_login_filter','...'),
    ('user_ldap','s01ldap_login_filter_mode','1'),
    ('user_ldap','s01ldap_loginfilter_attributes',''),
    ('user_ldap','s01ldap_loginfilter_email','0'),
    ('user_ldap','s01ldap_loginfilter_username','1'),
    ('user_ldap','s01ldap_nested_groups','0'),
    ('user_ldap','s01ldap_nocase','1'),
    ('user_ldap','s01ldap_override_main_server','0'),
    ('user_ldap','s01ldap_paging_size','500'),
    ('user_ldap','s01ldap_port','389'),
    ('user_ldap','s01ldap_quota_attr',''),
    ('user_ldap','s01ldap_quota_def',''),
    ('user_ldap','s01ldap_tls','0'),
    ('user_ldap','s01ldap_turn_off_cert_check','1'),
    ('user_ldap','s01ldap_user_filter_mode','1'),
    ('user_ldap','s01ldap_userfilter_groups',''),
    ('user_ldap','s01ldap_userfilter_objectclass','person'),
    ('user_ldap','s01ldap_userlist_filter','...'),
    ('user_ldap','types','authentication');
    /*!40000 ALTER TABLE `oc_appconfig` ENABLE KEYS */;
    UNLOCK TABLES;
    
  12. PVince81 commented on Apr 30, 2015

    @PVince81
    Contributor

    Okay, the things you guys have in common so far:

    • LDAP enabled
    • encryption enabled

    @atroxix I see you enforced expire date and link password (which is a nice thing 😉) and disabled reshares. Let me try this locally.

  13. PVince81 commented on Apr 30, 2015

    @PVince81
    Contributor

    Just noticed that @kalletabur has nginx. @atroxix how about you ? (just to find more common stuff)

  14. atroxix commented on Apr 30, 2015

    @atroxix

    Kalle first created the issue on behalf of me, so we are speaking about the same issue ;)

  15. 30 remaining items

  16. PVince81 commented on Jul 2, 2015

    @PVince81
    Contributor

    AHA got it reproduced by creating a share at first, and the disallowing sharing for that group.
    Steps will follow.

  17. PVince81 commented on Jul 2, 2015

    @PVince81
    Contributor

    Steps to reproduce

    1. Login as admin
    2. Create two users "user1" and "user2"
    3. Add "user1" to group "group1"
    4. Login as "user1"
    5. Create a folder "test"
    6. Upload 20-30 files into "test"
    7. Scroll down and share any file on the second page (best is in the middle), share it with "user2"
    8. Login as admin
    9. Go to the admin page and set "Exclude groups from sharing" to "group1".
    10. Login again as "user1"
    11. Go into "test" and scroll down to the shared file

    Expected result

    List appears after scroll

    Actual result

    The list stops right before the file that was shared before the share interdiction.

    JS console says:

    Uncaught TypeError: Cannot read property 'toString' of undefined
    escapeHTML @ js.js?v=c0339554766dde1a3b9b19cdb9877b06:47
    (anonymous function) @ share.js?v=c0339554766dde1a3b9b19cdb9877b06:164
    (anonymous function) @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    x.extend.each @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:4x.fn.x.each @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:4
    x.fn.extend.domManip @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    x.fn.extend.append @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    OCA.Sharing.Util.updateFileActionIcon @ share.js?v=c0339554766dde1a3b9b19cdb9877b06:163
    (anonymous function) @ share.js?v=c0339554766dde1a3b9b19cdb9877b06:70
    _.each._.forEach @ underscore.js?v=c0339554766dde1a3b9b19cdb9877b06:79
    updateIcons @ share.js?v=c0339554766dde1a3b9b19cdb9877b06:69
    (anonymous function) @ share.js?v=c0339554766dde1a3b9b19cdb9877b06:84
    x.event.dispatch @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    x.event.add.v.handle @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    x.event.trigger @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    e.event.trigger @ jquery-migrate.min.js?v=c0339554766dde1a3b9b19cdb9877b06:2(anonymous function) @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    x.extend.each @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:4
    x.fn.x.each @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:4
    x.fn.extend.trigger @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    FileList._nextPage @ filelist.js?v=c0339554766dde1a3b9b19cdb9877b06:600
    FileList._onScroll @ filelist.js?v=c0339554766dde1a3b9b19cdb9877b06:482
    x.event.dispatch @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    x.event.add.v.handle @ jquery.min.js?v=c0339554766dde1a3b9b19cdb9877b06:5
    

    So basically there is a contradiction: the user still has an existing share but is now not allowed to share any more.

  18. PVince81 commented on Jul 2, 2015

    @PVince81
    Contributor

    Raised #17346 for the issue about stray "forbidden" shares.

    I'll provide a quickfix to make sure the JS code isn't confused by such situations.

  19. PVince81 commented on Jul 2, 2015

    @PVince81
    Contributor

    Quickfix here: #17349

  20. atroxix commented on Jul 2, 2015

    @atroxix

    That quickfix indeed fixes my issue at least on our test server with OwnCloud 8.0.2.

  21. added this to the milestone on Jul 3, 2015
  22. atroxix commented on Jul 7, 2015

    @atroxix

    It seems the same root cause also causes the sync client in other computers to fail synchronization. Is there any other issue about this?

  23. PVince81 commented on Jul 7, 2015

    @PVince81
    Contributor

    Not that I'm aware of. The JS fix wouldn't help with this.
    Mind opening a new ticket and post the owncloud.log matching the problem ?

  24. atroxix commented on Jul 7, 2015

    @atroxix

    OK: #17444

  25. PVince81 commented on Jul 7, 2015

    @PVince81
    Contributor

    @atroxix thanks a lot

  26. locked as resolved and limited conversation to collaborators on Aug 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions