You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Share the nested folder with a guest user (a user who is not member of the group folder)
Login as guest user
Upload a file into the shared folder
Expected behaviour
The file should be uploaded into the shared folder.
Actual behaviour
The user gets the notification "An unknown error occurred".
In the system protocol you get the following error:
[core] Error: unable to rename, source directory is not writable : /var/www/vhosts/domain.tld/data/external share
It seems that the path is wrong and therefore the file can not be uploaded. The real path is /var/www/vhosts/domain.tld/data/__groupfolders/1/external share.
Server configuration
Operating system: Debian 9 / Plesk 17.8
Web server: Apache2 with nginx proxy
Database: MariaDB 10.1.48
PHP version: 7.3.28
Nextcloud version: 20.0.10
Group folders version: 8.2.2
Updated from an older Nextcloud/ownCloud or fresh install: Updated from an older Nextcloud install
Where did you install Nextcloud from: nextcloud.com archive file
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Google Chrome 91
Operating system: Windows 10 Pro
Logs
Nextcloud protocol
[core] Error: unable to rename, source directory is not writable : /var/www/vhosts/domain.tld/data/external share
[webdav] Error: renaming part file to final file failed $renameOkay: false, $fileExists: false)
[webdav] Fatal: Sabre\DAV\Exception: Could not rename part file to final file at <>
/var/www/vhosts/domain.tld/apps/dav/lib/Connector/Sabre/Directory.php line 156
OCA\DAV\Connector\Sabre\File->put(null)
/var/www/vhosts/domain.tld/3rdparty/sabre/dav/lib/DAV/Server.php line 1104
OCA\DAV\Connector\Sabre\Directory->createFile("upload_test.png", null)
/var/www/vhosts/domain.tld/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 527
Sabre\DAV\Server->createFile("external share/upload_test.png", null, null)
/var/www/vhosts/domain.tld/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
/var/www/vhosts/domain.tld/3rdparty/sabre/dav/lib/DAV/Server.php line 474
Sabre\DAV\Server->emit("method:PUT", [Sabre\HTTP\Requ ... }])
/var/www/vhosts/domain.tld/3rdparty/sabre/dav/lib/DAV/Server.php line 251
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
/var/www/vhosts/domain.tld/3rdparty/sabre/dav/lib/DAV/Server.php line 319
Sabre\DAV\Server->start()
/var/www/vhosts/domain.tld/apps/dav/appinfo/v1/webdav.php line 84
Sabre\DAV\Server->exec()
/var/www/vhosts/domain.tld/remote.php line 167
require_once("/var/www/vhosts ... p")
[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domain.tld/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/vhosts/domain.tld/apps/dav/lib/Connector/Sabre/File.php#691 at <>
/var/www/vhosts/domain.tld/lib/private/Files/Stream/HashWrapper.php line 71
call_user_func(Closure {}, "*** sensitive parameter replaced ***")
/var/www/vhosts/domain.tld/3rdparty/sabre/dav/lib/DAV/Server.php line 319
OC\Files\Stream\HashWrapper->stream_close()
/var/www/vhosts/domain.tld/apps/dav/appinfo/v1/webdav.php line 84
Sabre\DAV\Server->exec()
/var/www/vhosts/domain.tld/remote.php line 167
require_once("/var/www/vhosts ... p")
[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domain.tld/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/vhosts/domain.tld/apps/dav/lib/Connector/Sabre/File.php#691 at <>
/var/www/vhosts/domain.tld/lib/private/Files/Stream/HashWrapper.php line 71
call_user_func(Closure {}, "*** sensitive parameter replaced ***")
<>
OC\Files\Stream\HashWrapper->stream_close()
/var/www/vhosts/domain.tld/3rdparty/icewind/streams/src/Wrapper.php line 132
fclose(null)
/var/www/vhosts/domain.tld/lib/private/Files/Stream/HashWrapper.php line 75
Icewind\Streams\Wrapper->stream_close()
/var/www/vhosts/domain.tld/3rdparty/sabre/dav/lib/DAV/Server.php line 319
OC\Files\Stream\HashWrapper->stream_close()
/var/www/vhosts/domain.tld/apps/dav/appinfo/v1/webdav.php line 84
Sabre\DAV\Server->exec()
/var/www/vhosts/domain.tld/remote.php line 167
require_once("/var/www/vhosts ... p")
[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domain.tld/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/vhosts/domain.tld/apps/dav/lib/Connector/Sabre/File.php#691 at <>
Steps to reproduce
Expected behaviour
The file should be uploaded into the shared folder.
Actual behaviour
The user gets the notification "An unknown error occurred".
In the system protocol you get the following error:
It seems that the path is wrong and therefore the file can not be uploaded. The real path is
/var/www/vhosts/domain.tld/data/__groupfolders/1/external share
.Server configuration
Operating system: Debian 9 / Plesk 17.8
Web server: Apache2 with nginx proxy
Database: MariaDB 10.1.48
PHP version: 7.3.28
Nextcloud version: 20.0.10
Group folders version: 8.2.2
Updated from an older Nextcloud/ownCloud or fresh install: Updated from an older Nextcloud install
Where did you install Nextcloud from: nextcloud.com archive file
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Google Chrome 91
Operating system: Windows 10 Pro
Logs
Nextcloud protocol
[core] Error: unable to rename, source directory is not writable : /var/www/vhosts/domain.tld/data/external share
[webdav] Error: renaming part file to final file failed $renameOkay: false, $fileExists: false)
[webdav] Fatal: Sabre\DAV\Exception: Could not rename part file to final file at <>
OCA\DAV\Connector\Sabre\File->put(null)
OCA\DAV\Connector\Sabre\Directory->createFile("upload_test.png", null)
Sabre\DAV\Server->createFile("external share/upload_test.png", null, null)
Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
Sabre\DAV\Server->emit("method:PUT", [Sabre\HTTP\Requ ... }])
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
Sabre\DAV\Server->start()
Sabre\DAV\Server->exec()
require_once("/var/www/vhosts ... p")
[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domain.tld/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/vhosts/domain.tld/apps/dav/lib/Connector/Sabre/File.php#691 at <>
OC\Log\ErrorHandler::onError(2, "Cannot modify h ... )", "/var/www/vhosts ... p", 691, {string: "X-Hash ... "})
header("X-Hash-SHA256: ... d")
OCA\DAV\Connector\Sabre\File->header("X-Hash-SHA256: ... d")
OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***")
call_user_func(Closure {}, "*** sensitive parameter replaced ***")
OC\Files\Stream\HashWrapper->stream_close()
Sabre\DAV\Server->exec()
require_once("/var/www/vhosts ... p")
[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domain.tld/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/vhosts/domain.tld/apps/dav/lib/Connector/Sabre/File.php#691 at <>
OC\Log\ErrorHandler::onError(2, "Cannot modify h ... )", "/var/www/vhosts ... p", 691, {string: "X-Hash ... "})
header("X-Hash-SHA1: 20 ... e")
OCA\DAV\Connector\Sabre\File->header("X-Hash-SHA1: 20 ... e")
OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***")
call_user_func(Closure {}, "*** sensitive parameter replaced ***")
OC\Files\Stream\HashWrapper->stream_close()
fclose(null)
Icewind\Streams\Wrapper->stream_close()
OC\Files\Stream\HashWrapper->stream_close()
Sabre\DAV\Server->exec()
require_once("/var/www/vhosts ... p")
[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/domain.tld/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/vhosts/domain.tld/apps/dav/lib/Connector/Sabre/File.php#691 at <>
OC\Log\ErrorHandler::onError(2, "Cannot modify h ... )", "/var/www/vhosts ... p", 691, {string: "X-Hash ... "})
header("X-Hash-MD5: 8b1 ... 8")
OCA\DAV\Connector\Sabre\File->header("X-Hash-MD5: 8b1 ... 8")
OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***")
call_user_func(Closure {}, "*** sensitive parameter replaced ***")
OC\Files\Stream\HashWrapper->stream_close()
fclose(null)
Icewind\Streams\Wrapper->stream_close()
OC\Files\Stream\HashWrapper->stream_close()
fclose(null)
Icewind\Streams\Wrapper->stream_close()
OC\Files\Stream\HashWrapper->stream_close()
Sabre\DAV\Server->exec()
require_once("/var/www/vhosts ... p")
The text was updated successfully, but these errors were encountered: