plugin-Group folders issue:path needs to be relative to the system wide data folder and point to a user specific file

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 (eg, 20.0.5): 20.0.6
Operating system and version (eg, Ubuntu 20.04): centos7
Apache or nginx version (eg, Apache 2.4.25): Install nextcloud by Docker
PHP version (eg, 7.4): Install nextcloud by Docker

The issue you are facing: Uploading files to the Group folders

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

Steps to replicate it:

  1. After start the plugin Group folders,I create a Group folder。
  2. When I upload a picture to the group folder, this prompt pops up:path needs to be relative to the system wide data folder and point to a user specific file。The uploaded picture cannot be seen。
    image
  3. When I re-upload the picture agian,pops up conflict selection
  4. Select the New File or the existing file,even choose “Cancel”,The picture appears。

The output of your Nextcloud log in Admin > Logging:

Error	PHP	Error: Cannot modify header information - headers already sent by (output started at /var/www/html/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/html/apps/dav/lib/Connector/Sabre/File.php#691
<<closure>>

OC\Log\ErrorHandler::onError(2, "Cannot modi ... )", "/var/www/ht ... p", 691, { string: "X ... "})

/var/www/html/apps/dav/lib/Connector/Sabre/File.php - line 691:

header("X-Hash-MD5: ... 8")

/var/www/html/apps/dav/lib/Connector/Sabre/File.php - line 189:

OCA\DAV\Connector\Sabre\File->header("X-Hash-MD5: ... 8")

<<closure>>

OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre\{closure}("*** sensiti ... *")

/var/www/html/lib/private/Files/Stream/HashWrapper.php - line 71:

call_user_func(Closure {}, "*** sensiti ... *")

<<closure>>

OC\Files\Stream\HashWrapper->stream_close()

/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php - line 132:

fclose(null)

/var/www/html/lib/private/Files/Stream/HashWrapper.php - line 75:

Icewind\Streams\Wrapper->stream_close()

<<closure>>

OC\Files\Stream\HashWrapper->stream_close()

/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php - line 132:

fclose(null)

/var/www/html/lib/private/Files/Stream/HashWrapper.php - line 75:

Icewind\Streams\Wrapper->stream_close()

/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 319:

OC\Files\Stream\HashWrapper->stream_close()

/var/www/html/apps/dav/appinfo/v1/webdav.php - line 84:

Sabre\DAV\Server->exec()

/var/www/html/remote.php - line 167:

require_once("/var/www/ht ... p")

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

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'ocde2zfqy9m1',
  'passwordsalt' => '  ',
  'secret' => '  ',
  'trusted_domains' => 
  array (
    0 => 'x.x.x.x:8080',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '20.0.6.1',
  'overwrite.cli.url' => 'http://x.x.x.x:8080',
  'dbname' => 'nextcloud',
  'dbhost' => 'xx.xx.xx.xx:xxxx',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc_admin',
  'dbpassword' => ' ',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'admin@it.com',
  'mail_smtppassword' => '123456',
  'allow_local_remote_servers' => true,
  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
);

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

PASTE HERE