No read permissions on Shared folder

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

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 :heart:

Nextcloud version : 16.0.1.1
Operating system and version CentOS 7.6.1810:
Apache or nginx version Apache 2.4.6:
PHP version: 7.1

The issue you are facing:

Folder is not syncing

Is this the first time you’ve seen this error? (Y/N):

N, but it was a few years ago…

Steps to replicate it:

  1. Go web of self-hosted nextcloud or open the Nextcloud app
  2. Check for shared folder

Note: Nextcloud app was updated to version 3.0.3 recently

The output of your Nextcloud log in Admin > Logging:

{"reqId":"X6VnnvVgQFz9pfya0recKwAAAAk","level":4,"time":"2020-11-06T15:11:26+00:00","remoteAddr":"192.168.50.58","user":"64F66B73-5D3F-4496-A08F-DE8426ABB169","app":"webdav","method":"PROPFIND","url":"/remote.php/dav/files/64F66B73-5D3F-4496-A08F-DE8426ABB169/Fichadas","message":{"Exception":"OCA\\DAV\\Connector\\Sabre\\Exception\\Forbidden","Message":"No read permissions","Code":0,"Trace":[{"file":"/usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":195,"function":"getChildren","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":[]},{"file":"/usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":899,"function":"getChildren","class":"Sabre\\DAV\\Tree","type":"->","args":["files/64F66B73-5D3F-4496-A08F-DE8426ABB169/Fichadas"]},{"file":"/usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":978,"function":"generatePathNodes","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\DAV\\PropFind"},[{"__class__":"Sabre\\DAV\\PropFind"},{"__class__":"OCA\\DAV\\Connector\\Sabre\\Directory"}]]},{"file":"/usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1666,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->","args":["files/64F66B73-5D3F-4496-A08F-DE8426ABB169/Fichadas",["{DAV:}resourcetype","{DAV:}getlastmodified","{DAV:}getcontentlength","{DAV:}getetag","{http://owncloud.org/ns}id","{http://owncloud.org/ns}downloadURL","{http://owncloud.org/ns}dDC","{http://owncloud.org/ns}permissions","{http://owncloud.org/ns}checksums","{http://owncloud.org/ns}share-types"],1]},{"file":"/usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":355,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Generator"},false]},{"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://cloud.silicon-aid.com/remote.php/dav/files/64F66B73-5D3F-4496-A08F-DE8426ABB169/Fichadas","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/usr/share/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPropFind"],[{"absoluteUrl":"https://cloud.silicon-aid.com/remote.php/dav/files/64F66B73-5D3F-4496-A08F-DE8426ABB169/Fichadas","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PROPFIND",[{"absoluteUrl":"https://cloud.silicon-aid.com/remote.php/dav/files/64F66B73-5D3F-4496-A08F-DE8426ABB169/Fichadas","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/usr/share/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://cloud.silicon-aid.com/remote.php/dav/files/64F66B73-5D3F-4496-A08F-DE8426ABB169/Fichadas","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/usr/share/nextcloud/apps/dav/lib/Server.php","line":316,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/remote.php","line":163,"args":["/usr/share/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/usr/share/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","Line":263,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"16.0.1.1","id":"5fa56d8691949"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

<?php
$CONFIG = array (
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'muteriver.example.com',
    2 => '192.168.45.8',
    3 => 'infoestructura.local',
    4 => 'cloud.example.com',
    5 => 'cloud.example.com:44300',
    6 => 'office.example.com',
  ),
  'htaccess.RewriteBase' => '/',
  'datadirectory' => '/var/lib/nethserver/nextcloud/',
  'overwrite.cli.url' => 'https://cloud.example.com',
  'overwritehost' => 'cloud.example.com',
  'overwriteprotocol' => 'https',
  'dbtype' => 'mysql',
  'version' => '16.0.1.1',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '',
  'installed' => true,
  'instanceid' => 'ocmstnc1xrkf',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'maintenance' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'loglevel' => 2,
  'mail_from_address' => 'no-reply',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'example.com',
  'logfile' => '/var/lib/nethserver/nextcloud/nextcloud.log',
  'mail_smtpsecure' => '',
  'mail_smtphost' => 'localhost',
  'mail_smtpport' => '25',
  'theme' => '',
  'app_install_overwrite' => 
  array (
    0 => 'spreed',
    1 => 'unsplash',
    2 => 'announcementcenter',
    3 => 'groupfolders',
    4 => 'external',
    5 => 'files_accesscontrol',
  ),
  'mysql.utf8mb4' => true,
  'trusted_proxies' => 
  array (
    0 => '192.168.45.35',
  ),
  'forwarded_for_headers' => 
  array (
    0 => 'HTTP_X_FORWARDED',
    1 => 'HTTP_FORWARDED_FOR',
  ),
);

Any ideas? How can I fix it?

No read permissions, is this a file drop (only write but not read)?

Your version is a bit outdated, the last NC 16 branch version update was released this summer (https://nextcloud.com/changelog/#latest16), since then it is out of support. Please try with a newer version (or upgrade) and give a bit more details, you share by link, or directly to a user, which permissions did you set, …