Closed
Description
Steps to reproduce
Having two servers 'serverA' and 'serverB' with experimental files locking enabled do:
- Enable external storage app in 'serverA'.
- Mount a SFTP folder.
- Inside 'SFTP' create a folder 'SUBDIR'.
- Use federated sharing to share 'SUBDIR' with 'admin' in 'serverB'.
- Upload a 50MiB file in 'SUBDIR'.
- Open 'serverB' and accept the federated folder.
- (Using webdav or web ui) Delete 'SUBDIR'.
- (Using webdav) Upload a small file from 'serverB'
Expected behaviour
'serverB' gets an error 423 about locked folder.
Actual behaviour
'serverB' gets 500 Internal server error when trying to upload.
Server configuration
Operating system:
Ubuntu 14.04
Web server:
Apache
Database:
MySQL
PHP version:
5.5.9
ownCloud version: (see ownCloud admin page)
{"installed":true,"maintenance":false,"version":"8.1.0.6","versionstring":"8.1 beta 2","edition":"Enterprise"}
Updated from an older ownCloud or fresh install:
Fresh
List of activated apps:
Experimental files locking.
External storage.
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
SFTP.
Are you using encryption:
No.
Logs
Client configuration
browser
Chrome 43
webdav
Cadaver
Activity
PVince81 commentedon Jun 12, 2015
@SergioBertolinSG whenever you see a 500 error, please also post the matching log.
Thanks.
PVince81 commentedon Jun 15, 2015
Any update on the missing logs ?
SergioBertolinSG commentedon Jun 16, 2015
serverB logs:
serverA logs:
No idea why those errors about external storage appears, because SFTP folder is correctly mounted and working.
PVince81 commentedon Jun 16, 2015
Thanks, I'll have a look.
PVince81 commentedon Jun 16, 2015
This is what I see during webdav delete (I shared s2s with the same server):
And the webdav upload:
This is on master (7d8b728)
Two issues:
Let's focus on 1)
PVince81 commentedon Jun 16, 2015
Note: the SFTP storage was mounted as personal mount, not system-wide mount.
@icewind1991 any comment on "Can't get app storage, app files_external, user not logged in" ?
PVince81 commentedon Jun 16, 2015
The locked issue from 1) is fixed in this PR: #16955
icewind1991 commentedon Jun 16, 2015
Sounds s2s related, @schiesbn ?
SergioBertolinSG commentedon Jul 2, 2015
Tested on 8.1.0RC2, still happening.
Webdav client keeps getting 500 internal server error and you have to disconnect it.
PVince81 commentedon Jul 2, 2015
PRs #17268 and #17282.
Will be backported later to 8.1 branch for 8.1.1.
So let's keep this ticket open still.
MorrisJobke commentedon Jul 17, 2015
Only the backport of #17282 is missing :)
PVince81 commentedon Jul 17, 2015
and here it is #17710
MorrisJobke commentedon Jul 17, 2015
Changing the milestone. The backport PR is in 8.1.1 -> I will add the brown labels later.