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
{{ message }}
Repository navigation
[1.50rc1] server did not provide ETag (only within shared folders) #1279
I'm having an issue with OC Client RC1 / OC6. For files larger than 10 MB the client cannot correctly upload into shared folders: It will throw "server did not provide ETag". On the server side files with the extension ".ocTransferIdXXXXXXXXXX" will appear and sync back to the client. This happens on all platforms. On my Mac, the client will then usually freeze and I have to kill the process.
Note, that this will only happen, if I sync files to a folder shared by another user. I can successfully sync large files to my own folders. OC6 runs on a hosting provider (allinkl), with enforced HTTPS and server-side encryption. Let me know if you need more details and where I can find them..
Web server error log:
(I don't have access to this, afaik)
ownCloud log (data/owncloud.log):
HUGE file (>120 MB)
The respective lines:
{"app":"files_sharing","message":"File source not found for: \/files\/Test\/01 Now Jazz Ramwong.m4a.ocTransferId2935583044","level":3,"time":"2013-12-13T11:27:27+00:00"}
{"app":"webdav","message":"\\OC\\Files\\Filesystem::rename() failed","level":3,"time":"2013-12-13T11:27:27+00:00"}
{"app":"PHP","message":"Call to undefined method OC\\Files\\Storage\\Wrapper\\Quota::deleteAll() at \/www\/htdocs\/wXXXXXeX\/oc\/lib\/private\/files\/view.php#400","level":3,"time":"2013-12-13T11:27:27+00:00"}
The server seems to be doing something wierd as it reassemple the chunks on Shared folders. It does not sent an E-Tag on the last chunk as it is supposed to do. And it saves the file with the wrong filename.
this really scares me - this means that the chunks go reassembled put could not be moved into the final location.
As a result no etag has been provided - there should be a failure in the client logs
There is no HTTP error in the client logs. Which seems to indicate that the answer to the last chunk was 200 OK but without E-Tag (which we use to detect if the server correctly received the file)
I'll see if the client logs on my Linux machine give more information. As I mentioned, the Mac client usually freezes, so maybe the logs are truncated ... right now I only have access to the Mac though
For the debugging part you'll have to to help me out ... Sorry, I have no idea how to do this. As for the CPU usage: Up to about 40% during syncing. Then it drops back to 0% and becomes unresponsive, CPU usage stays at 0%.
I'm not sure, whether the freezing is connected to the problem described above. The client seems to freeze regularly. Sometimes it gets back to being responsive after a while (I tend to be a bit impatient, but its in the order of several minutes).
I believe there are some serious issues here. I just got an email from my Hoster, saying that I exceeded my webspace. The folder /data/username/files_trashbin/versions/ of two users were in the range of 20GB. Users are limited to 5GB.
Possibly related (note the differences in filesize):
The freeze always occurs after Loading config: "/Users/username/Library/Application Support/ownCloud/owncloud.cfg"
Here is the respective server log:
{"app":"files_sharing","message":"File source not found for: \/test","level":3,"time":"2013-12-13T12:58:06+00:00"}
{"app":"files_sharing","message":"File source not found for: \/test","level":3,"time":"2013-12-13T12:58:06+00:00"}
{"app":"files_sharing","message":"File source not found for: \/test","level":3,"time":"2013-12-13T12:58:06+00:00"}
{"app":"files_sharing","message":"File source not found for: \/test","level":3,"time":"2013-12-13T12:58:06+00:00"}
{"app":"files_sharing","message":"File source not found for: \/files\/test\/01 Now Jazz Ramwong.m4a.ocTransferId2958949702","level":3,"time":"2013-12-13T13:02:41+00:00"}
{"app":"files_sharing","message":"File source not found for: \/files\/test\/01 Now Jazz Ramwong.m4a.ocTransferId2958949702","level":3,"time":"2013-12-13T13:02:41+00:00"}
{"app":"webdav","message":"\\OC\\Files\\Filesystem::rename() failed","level":3,"time":"2013-12-13T13:02:41+00:00"}
{"app":"PHP","message":"Call to undefined method OC\\Files\\Storage\\Wrapper\\Quota::deleteAll() at \/www\/htdocs\/wXXXXXeX\/oc\/lib\/private\/files\/view.php#400","level":3,"time":"2013-12-13T13:02:41+00:00"}
{"app":"files_sharing","message":"File source not found for: \/files\/test\/01 Now Jazz Ramwong.m4a.ocTransferId2958949702","level":3,"time":"2013-12-13T13:05:12+00:00"}
{"app":"files_sharing","message":"File source not found for: \/files\/test\/01 Now Jazz Ramwong.m4a.ocTransferId2958949702","level":3,"time":"2013-12-13T13:05:12+00:00"}
{"app":"files_sharing","message":"File source not found for: \/files\/test\/01 Now Jazz Ramwong.m4a.ocTransferId2958949702","level":3,"time":"2013-12-13T13:05:13+00:00"}
{"app":"webdav","message":"\\OC\\Files\\Filesystem::rename() failed","level":3,"time":"2013-12-13T13:05:14+00:00"}
I hope this helps. Sorry if I mix unrelated issues here. Switching to maintenance mode now :-(
owncloud 6.0.0a (on ubuntu 12.04.3 standard intall) and client 1.5.0 on mac
in the apache log i see
[Thu Dec 19 08:10:06 2013] [warn] [client 123.123.123.123] mod_fcgid: stderr: PHP Fatal error: Call to undefined method OC\Files\Storage\Wrapper\Quota::deleteAll() in /var/www/clients/client2/web1/web/test/cloud/lib/private/files/view.php on line 400
All files all partially uploaded and the files get ".oc.TransferID349489343" endings
I was having these errors show in my logs and originally I thought it was due to the renaming of files (which caused sync issues on sync clients which would upload and not rename the .ocTransferIdXXXXXX to the actual filename).
But i'm still seeing the "File source not found for:" on all other files in that same shared directory .... BUT the good thing, is no longer are there only .ocTransferIdXXXX files and they at least upload successfully :)
Activity
ogoffart commentedon Dec 13, 2013
Please use https://raw.github.com/owncloud/mirall/master/issue_template.md for bug reports. We can't help without more details.
pdesanex commentedon Dec 13, 2013
Sorry, I'm new to this ... here you go:
Expected behaviour
Files >10 MB should correctly sync to shared folders
Actual behaviour
Steps to reproduce
Server configuration
OC is running on a hosted service by allinkl.com
Operating system: Linux 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:35:10 UTC 2013 x86_64
Web server: Apache
Database: mySQL
PHP version: 5.5.5-nmm1
ownCloud version: 6 (stable)
Storage backend: common internal storage, no external mount
Client configuration
Client version: 1.5RC1
Operating system: Mac (also Windows and Linux, but without freeze)
OS language: English
Installation path of client: /Applications/owncloud.app
Logs
owncloud --logfile log.txthttps://gist.github.com/pdesanex/fdc8f0b35d5a672f32dd
(I don't have access to this, afaik)
HUGE file (>120 MB)
The respective lines:
ogoffart commentedon Dec 13, 2013
Thanks for the bug report.
The server seems to be doing something wierd as it reassemple the chunks on Shared folders. It does not sent an E-Tag on the last chunk as it is supposed to do. And it saves the file with the wrong filename.
@DeepDiver1975 do you know what could cause this?
DeepDiver1975 commentedon Dec 13, 2013
this really scares me - this means that the chunks go reassembled put could not be moved into the final location.
As a result no etag has been provided - there should be a failure in the client logs
ogoffart commentedon Dec 13, 2013
There is no HTTP error in the client logs. Which seems to indicate that the answer to the last chunk was
200 OKbut without E-Tag (which we use to detect if the server correctly received the file)pdesanex commentedon Dec 13, 2013
I'll see if the client logs on my Linux machine give more information. As I mentioned, the Mac client usually freezes, so maybe the logs are truncated ... right now I only have access to the Mac though
ogoffart commentedon Dec 13, 2013
Are you able to run in a debugger and see where it freeze? does it uses the CPU or not?
pdesanex commentedon Dec 13, 2013
For the debugging part you'll have to to help me out ... Sorry, I have no idea how to do this. As for the CPU usage: Up to about 40% during syncing. Then it drops back to 0% and becomes unresponsive, CPU usage stays at 0%.
I'm not sure, whether the freezing is connected to the problem described above. The client seems to freeze regularly. Sometimes it gets back to being responsive after a while (I tend to be a bit impatient, but its in the order of several minutes).
pdesanex commentedon Dec 13, 2013
I believe there are some serious issues here. I just got an email from my Hoster, saying that I exceeded my webspace. The folder /data/username/files_trashbin/versions/ of two users were in the range of 20GB. Users are limited to 5GB.
Possibly related (note the differences in filesize):

I waited for the Mac client to come out of its freeze to get a more complete client log:
https://gist.github.com/pdesanex/87b72b99f2bec6518992
The freeze always occurs after
Loading config: "/Users/username/Library/Application Support/ownCloud/owncloud.cfg"Here is the respective server log:
I hope this helps. Sorry if I mix unrelated issues here. Switching to maintenance mode now :-(
pdesanex commentedon Dec 18, 2013
I did an upgrade to owncloud 6.0.0a (deleted everything except for data and config) and client 1.5 (build 1811) stable. The problem persists ...
Can anyone reproduce this?
tustudium commentedon Dec 19, 2013
I have exactly the same problem
owncloud 6.0.0a (on ubuntu 12.04.3 standard intall) and client 1.5.0 on mac
in the apache log i see
[Thu Dec 19 08:10:06 2013] [warn] [client 123.123.123.123] mod_fcgid: stderr: PHP Fatal error: Call to undefined method OC\Files\Storage\Wrapper\Quota::deleteAll() in /var/www/clients/client2/web1/web/test/cloud/lib/private/files/view.php on line 400
All files all partially uploaded and the files get ".oc.TransferID349489343" endings
How can i fix this?
tustudium commentedon Dec 19, 2013
can confirm, problem only occurs if i copy files into a shared folder
tustudium commentedon Dec 19, 2013
from the data/owncloud.log
{"app":"OC\Files\Cache\Scanner","message":"!!! No reuse of etag for 'test/test' !!! \ncache: Array\n(\n [fileid] => 742\n [storage] => bbe1cc6a32681d3e38dbca951a982109\n [path] => files/test\n [parent] => 316\n [name] => test\n [mimetype] => httpd/unix-directory\n [mimepart] => httpd\n [size] => 253705124\n [mtime] => 1387437869\n [storage_mtime] => 1387437869\n [encrypted] => \n [unencrypted_size] => 0\n [etag] => 52b29f2dcee1a\n)\n \ndata: Array\n(\n [mimetype] => httpd/unix-directory\n [mtime] => 1387437875\n [size] => -1\n [etag] => 52b29f33a24b0\n [storage_mtime] => 1387437875\n)\n","level":0,"time":"2013-12-19T07:24:35+00:00"}
and
{"app":"files_sharing","message":"File source not found for: /files/test/2011.pdf.ocTransferId697954195","level":3,"time":"2013-12-19T07:24:35+00:00"}
dragotin commentedon Dec 19, 2013
@karlitschek who can help with this one? Thanks.
tripflex commentedon Jan 9, 2014
I was having these errors show in my logs and originally I thought it was due to the renaming of files (which caused sync issues on sync clients which would upload and not rename the .ocTransferIdXXXXXX to the actual filename).
That issue was fixed by
owncloud/core#6687
But i'm still seeing the "File source not found for:" on all other files in that same shared directory .... BUT the good thing, is no longer are there only .ocTransferIdXXXX files and they at least upload successfully :)
pdesanex commentedon Jan 24, 2014
Confirming ... fixed in 6.0.1. Thanks!!