-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error modifying file in External Storage (SMB) #6900
Comments
Hello, Nextcloud 13 is out now but external Storages are unusable. With kind regards Chonta |
I can not confirm this generally. When working direktly in external storage everythings works fine (NC13.0.1, local folder as external storage). |
Let's continue this in #8978 |
Steps to reproduce
Expected behaviour
The file should be overwritten since permissions allows it
Actual behaviour
Internal server error.
File isnt updated.
Neither from webgui nor webdav
Server configuration
Operating system: OpenSuse Leap 42.2
Web server: Apache 2.4.23
Database: MariaDB 10.0.31
PHP version: 7.1.10
Nextcloud version: 12.0.3.3
Updated from an older Nextcloud/ownCloud or fresh install: Updated from 12.0.2
Where did you install Nextcloud from: Installed from Official tarball, upgraded through webgui
Signing status:
Signing status
No errors have been found.
List of activated apps:
App list
Enabled:
Disabled:
Nextcloud configuration:
Config report
{ "system": { "instanceid": "", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "" ], "datadirectory": "\/srv\/www\/htdocs\/nextcloud\/data", "overwrite.cli.url": "https:\/\/.org", "memcache.local": "\\OC\\Memcache\\APCu", "dbtype": "mysql", "version": "12.0.3.3", "dbname": "ncdb", "dbhost": "localhost", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "updater.release.channel": "stable", "maintenance": false, "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_smtpsecure": "ssl", "mail_from_address": "nextcloud", "mail_domain": "", "mail_smtpauth": 1, "mail_smtphost": "smtp.gmail.com", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "theme": "", "loglevel": 2 } }Are you using external storage, if yes which one: smb
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
[Sun Oct 22 11:37:11.041277 2017] [authz_core:error] [pid 3755] [client 192.168.1.208:19109] AH01630: client denied by server configuration: /srv/www/htdocs/nextcloud/data/.ocdata
Nextcloud log (data/nextcloud.log)
Nextcloud log
{"reqId":"ztlqIyTLmMZuxj1gwIFY","level":3,"time":"2017-10-22T09:37:22+00:00","remoteAddr":"192.168.1.208","user":"j0e","app":"webdav","method":"PUT","url":"/remote.php/webdav/Dokument/apa.txt","message":"renaming part file to final file failed ($run: true, $renameOkay: false, $fileExists: true)","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0","version":"12.0.3.3"}
{"reqId":"ztlqIyTLmMZuxj1gwIFY","level":4,"time":"2017-10-22T09:37:22+00:00","remoteAddr":"192.168.1.208","user":"j0e","app":"webdav","method":"PUT","url":"/remote.php/webdav/Dokument/apa.txt","message":"Exception: {"Exception":"Sabre\\DAV\\Exception","Message":"Could not rename part file to final file","Code":0,"Trace":"#0 \/srv\/www\/htdocs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1130): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #17)\n#1 \/srv\/www\/htdocs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(513): Sabre\\DAV\\Server->updateFile('Dokument\/apa.tx...', Resource id #17, NULL)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/srv\/www\/htdocs\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \/srv\/www\/htdocs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#5 \/srv\/www\/htdocs\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \/srv\/www\/htdocs\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(76): Sabre\\DAV\\Server->exec()\n#7 \/srv\/www\/htdocs\/nextcloud\/remote.php(162): require_once('\/srv\/www\/htdocs...')\n#8 {main}","File":"\/srv\/www\/htdocs\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":188}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0","version":"12.0.3.3"}
Browser log
Browser log
The text was updated successfully, but these errors were encountered: