Support intro
Sorry to hear you’re facing problems
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
Nextcloud version: 18.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 18.04LTS
Apache or nginx version (eg, Apache 2.4.25): nginx 1.14.0
PHP version (eg, 7.1): 7.4
The issue you are facing:
I recently migrated data from an old server to a new one. During my testing, a user reported that they get the “This operation is forbidden” when trying to access certain files that they can access on the old system.
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Login as non admin user
- try to access specific folder
- the system throws the error above
The output of your Nextcloud log in Admin > Logging:
OCA\DAV\Connector\Sabre\Exception\Forbidden: No read permissions
/usr/share/nginx/nextcloud/apps/dav/lib/Connector/Sabre/TagsPlugin.php - line 227:
OCA\DAV\Connector\Sabre\Directory->getChildren()
<<closure>>
OCA\DAV\Connector\Sabre\TagsPlugin->handleGetProperties()
/usr/share/nginx/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:
call_user_func_array()
/usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1059:
Sabre\Event\EventEmitter->emit()
/usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 981:
Sabre\DAV\Server->getPropertiesByNode()
/usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1666:
Sabre\DAV\Server->getPropertiesIteratorForPath()
/usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 355:
Sabre\DAV\Server->generateMultiStatus()
<<closure>>
Sabre\DAV\CorePlugin->httpPropFind()
/usr/share/nginx/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:
call_user_func_array()
/usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:
Sabre\Event\EventEmitter->emit()
/usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:
Sabre\DAV\Server->invokeMethod()
/usr/share/nginx/nextcloud/apps/dav/lib/Server.php - line 319:
Sabre\DAV\Server->exec()
/usr/share/nginx/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:
OCA\DAV\Server->exec()
/usr/share/nginx/nextcloud/remote.php - line 165:
require_once("/usr/share/ ... p")
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc718pd0qmpn',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'test.nextcloud@domainname',
),
'datadirectory' => '/dev/sdb1/nextcloudfiles',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'https://test.nextcloud.domainname',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => '
'dbpassword' => '
'mysql.utf8mb4' => true,
'installed' => true,
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'updater.secret' => '$2y$10$upUlwozfbHBpooiyh1.JB.Wr2x0tSicCVEeWBpUN9Io54DWx.eche',
);