-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
server did not acknowledge the last chunk. (No e-tag were present) #12725
Comments
Hi, seems finally someone has manged to report this in here. There is a longer thread at the forums about this issue: https://forum.owncloud.org/viewtopic.php?f=29&t=25164 |
Are you getting timeouts on the last chunk ? Does it take a long time for the request to finish ? |
Cheers PVince81, nope, the client on my desktop is pretty quick in telling me that the server rejected the sync attempt. |
Does this happen for any file or a specific file ? You could also try upgrading to 7.0.4 but I'm not aware of any related fix in that version though. |
I'm having the same problem with my setup. I have already updated to 7.0.4 but the errors persist. What can I do to help? |
It would be great to have client and server logs for exactly the point in time when this happens. I'm aware that we face timeout issues with large files being synced - for small files it has to be a different cause. |
So, I followed the issue_template but I'm having some problems with getting the server-side log to function properly due to permission issues. Maybe you could point out how I could fix it. Here's the data filled out form so far... Steps to reproduce
Expected behaviourTell us what should happen There should not be an error message when trying to sync files. The files that give error message seem to be files I added AFTER updating to 7.0.2 and are of .gif format. Updating to the latest version, 7.0.4, has not solved the issue Actual behaviourTell us what happens instead Server configurationOperating system: Ubuntu 14.04.1 LTS Web server: Default (newest version) Database: Default (sqlite3) PHP version: PHP 5.5.9-1ubuntu4.5 ownCloud version: (see ownCloud admin page) 7.0.4 Updated from an older ownCloud or fresh install: Updated from an older ownCloud (7.0.2) List of activated apps: Default, none The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/... Are you using encryption: yes/no Client configurationBrowser: Firefox Operating system: Ubuntu 14.04 LogsWeb server error log
ownCloud log (data/owncloud.log)
I've been trying to edit my permissions but haven't succeded yet. The user 'www-data' needs to own the file \var\log\owncloud.log right? Ubuntu client log
|
Yes. The web server must have permission to write into owncloud.log |
Are you using a reverse proxy or anything that might truncate the files ? |
Right, here are my 2cts - oh, and no proxies and the current size of my odt file is 92k. Steps to reproduce
Expected behaviourActual behaviourwell... Server configurationOperating System: |
Okay, so you're both using encryption. Could be a clue. Unfortunately the server log file doesn't contain any clue about what is happening with the last chunk 😦 |
I'm seeing the same issue with encryption as well. |
Steps to reproduceUpdate OC from 7.0.3 to 7.0.4 Expected behaviourSync should work properly. Actual behaviourUpload fails with No-E-Tag-message in client. Server configurationOperating system:Raspbian for bananaPi (wheezy-based) Web server:Apache/2.2.22 (Debian) Database:sqlite3 PHP version:PHP 5.4.35-0+deb7u2 (cli) (built: Nov 19 2014 13:13:59) ownCloud version: (see ownCloud admin page)ownCloud 7.0.4 (stable) Updated from an older ownCloud or fresh install:Updated via apt from 7.0.3 List of activated apps:Acitivty, Bookmarks, Calendar, Contacts, Deleted Files, Documents, Encryption, External Storage Support, First Run, Dependencies, PDF Viewer, Pictures, Share Files, Text Editor, Updater, Versions, Charts, Mozilla_Sync The content of config/config.php:'oc7c54c4be43', 'passwordsalt' => '[secret]', 'datadirectory' => '/var/www/owncloud/data', 'dbtype' => 'sqlite3', 'version' => '7.0.3.4', 'installed' => true, 'forcessl' => true, 'theme' => '', 'maintenance' => false, 'enable_previews' => false, 'trusted_domains' => array ( 0 => '[mydomain.de]', 1 => '192.168.[x.x]', 2 => 'mirror.[mydomain.de]', ), 'mail_smtpmode' => 'php', 'mail_from_address' => 'owncloud', 'mail_domain' => '[mydomain.de]', 'loglevel' => '1', 'overwritewebroot' => '/owncloud', ); #### Are you using external storage, if yes which one: local/smb/sftp/... sftp #### Are you using encryption: yes ### Client configuration #### Browser: Firefox 34.0 #### Operating system: Linux Mint 17 ## Logs ####owncloud.log ``` {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:11:39+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\" = ?, \"unencrypted_size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-12T21:14:50+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-12T21:14:50+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:15:38+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_delete): No preview providers","level":3,"time":"2014-12-12T21:15:38+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:15:38+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:15:38+00:00"} {"app":"PHP","message":"unlink(\/maste9\/files_encryption\/share-keys\/Projekte\/#MuensteranerErklaerung.txt#.recovery_f8dc8165.shareKey): No such file or directory at \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/trashbin.php#305","level":3,"time":"2014-12-12T21:16:00+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:16:00+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_delete_files): No preview providers","level":3,"time":"2014-12-12T21:16:00+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:16:13+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:16:13+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:19:02+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:19:02+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:22:24+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:22:24+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:23:48+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:23:48+00:00"} {"app":"PHP","message":"unlink(\/maste9\/files_encryption\/share-keys\/Projekte\/#MuensteranerErklaerung.txt#.recovery_f8dc8165.shareKey): No such file or directory at \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/trashbin.php#305","level":3,"time":"2014-12-12T21:25:24+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:25:24+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_delete_files): No preview providers","level":3,"time":"2014-12-12T21:25:24+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:25:32+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:25:32+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:27:19+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:27:19+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:28:27+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:28:27+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:29:29+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:29:29+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:32:19+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:32:19+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:34:07+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:34:07+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:34:41+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:34:41+00:00"} {"app":"PHP","message":"unlink(\/maste9\/files_encryption\/share-keys\/Projekte\/#MuensteranerErklaerung.txt#.recovery_f8dc8165.shareKey): No such file or directory at \/var\/www\/owncloud\/apps\/files_trashbin\/lib\/trashbin.php#305","level":3,"time":"2014-12-12T21:36:54+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:36:55+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_delete_files): No preview providers","level":3,"time":"2014-12-12T21:36:55+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:37:02+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:37:02+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:38:13+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:38:13+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-12T21:44:20+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-12T21:44:20+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-13T18:16:00+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-13T18:16:00+00:00"} {"app":"Encryption library","message":"No share key found for user \"maste9\" for file \"Namenloser Ordner\"","level":2,"time":"2014-12-13T18:16:18+00:00"} {"app":"Encryption library","message":"No share key found for user \"recovery_f8dc8165\" for file \"Namenloser Ordner\"","level":2,"time":"2014-12-13T18:16:18+00:00"} {"app":"Encryption library","message":"No share keys found for \"\/Projekte\/Namenloser Ordner\"","level":2,"time":"2014-12-13T18:16:18+00:00"} {"app":"core","message":"unable to rename, file is not writable : files_encryption\/share-keys\/Projekte\/Namenloser Ordner","level":3,"time":"2014-12-13T18:16:22+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-13T18:36:05+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-13T18:36:05+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:08:00+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-14T19:08:00+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:08:36+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-14T19:08:36+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:08:42+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:08:42+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:08:51+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-14T19:08:51+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:16:17+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-14T19:16:17+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:16:21+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:16:21+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:16:28+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:16:28+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"unencrypted_size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:16:28+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:16:28+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:16:55+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:16:55+00:00"} {"app":"hook","message":"error while running hook (OCA\\Files_Versions\\Hooks::write_hook): An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"unencrypted_size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":3,"time":"2014-12-14T19:16:55+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:16:57+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:16:57+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:16:57+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:16:57+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:16:59+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-14T19:16:59+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:17:06+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:17:06+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"unencrypted_size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:17:06+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:17:06+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-14T19:18:08+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-14T19:18:08+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:18:08+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-14T19:18:08+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:22:37+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-14T19:22:37+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:24:10+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-14T19:24:10+00:00"} {"app":"Encryption library","message":"No share key found for user \"maste9\" for file \"Test.txt\"","level":2,"time":"2014-12-14T19:24:43+00:00"} {"app":"Encryption library","message":"No share key found for user \"recovery_f8dc8165\" for file \"Test.txt\"","level":2,"time":"2014-12-14T19:24:43+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:24:43+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_delete_files): No preview providers","level":3,"time":"2014-12-14T19:24:43+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-14T19:28:35+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_delete_files): No preview providers","level":3,"time":"2014-12-14T19:28:35+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T06:09:42+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-15T06:09:42+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T06:10:38+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-15T06:10:38+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-15T06:17:24+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-15T06:17:24+00:00"} {"app":"remote","message":"An exception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':\n\nSQLSTATE[HY000]: General error: 5 database is locked","level":4,"time":"2014-12-15T06:17:24+00:00"} {"app":"PHP","message":"Session has been closed - no further changes to the session as allowed at \/var\/www\/owncloud\/lib\/private\/session\/memory.php#80","level":3,"time":"2014-12-15T06:17:24+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T06:18:32+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-15T06:18:32+00:00"} {"app":"Encryption library","message":"No share key found for user \"recovery_f8dc8165\" for file \"BasisregelSheet-1.jpg\"","level":2,"time":"2014-12-15T06:26:26+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T06:26:26+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_delete_files): No preview providers","level":3,"time":"2014-12-15T06:26:26+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T12:45:22+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-15T12:45:22+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T12:46:07+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-15T12:46:07+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T13:20:36+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-15T13:20:36+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T13:31:52+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_write): No preview providers","level":3,"time":"2014-12-15T13:31:52+00:00"} {"app":"Encryption library","message":"No share key found for user \"maste9\" for file \"Test.txt\"","level":2,"time":"2014-12-15T13:32:31+00:00"} {"app":"Encryption library","message":"No share key found for user \"recovery_f8dc8165\" for file \"Test.txt\"","level":2,"time":"2014-12-15T13:32:31+00:00"} {"app":"core","message":"No preview providers exist","level":3,"time":"2014-12-15T13:32:31+00:00"} {"app":"hook","message":"error while running hook (OC\\Preview::post_delete_files): No preview providers","level":3,"time":"2014-12-15T13:32:31+00:00"} ``` |
Also another question is whether this happens when overwriting an existing file (potentially reusing the encryption keys) or uploading a new file ? |
PVInce81 - with me it happened in both cases, new files and overwrites. Another question - what sort of server log entry should one be looking for? I grepped for "chunk" but got nothing... |
Here in my case it only happens with new files - strangely not with all! I made a new dir in an existing subdirectory, which worked. |
@toadhall any entry that contains the file name you are uploading, and all entries close to that one. You can also search for "shareKey" or "encrypt" in case it's an issue with encryption keys. |
@PVince81 Seems to be the case looking into my log ... |
Hi, I have the error as well. I this case, server.csr was added on a local drive which is synchronized with oc. FINISHED WITH STATUS 0 "" QVariant(int, 302) QVariant(QString, "Found") |
Bump. Our Debian Stable ownCloud server is showing this too for small files (916B example below). Seems to consistently happen by just moving a bunch of new files into client-only folders or shared folders. Workaround is to put the file in a different location. So we have a growing number of temporary folders we would like to get rid of soon before they get out of control. Client Side: Server Side: |
I noticed on the client side changes these two changes related to E-Tags. Can't be sure, but could be related.
We do use LDAPS as well for authentication currently. |
Experienced the same problem. Disabling encryption did the trick. Not really an optimal solution. |
I am on 7.0.4 an have the same problem on random files with encryption. Is there an easy and reliable way to downgrade to 7.0.2 until this is fixed? |
I have the same problem on Ubuntu and I was wondering maybe it's a client-only problem. BEsides the trick with rename, i have discovered this behaviour: if I copy the files one by one, it is working ok. If I try to copy more than 3 files at once, it start to give the error "server did not acknowledge the last chunk. (No e-tag were present)" and it is never recovering from this error unless you rename one file, wait for sync, rename it back. |
Same problem here, running ownCloud 7.0.4 on Debian stable, Server nginx with encryption enabled. The missing e-tag appears randomly, I managed to upload several thousand files (8 GB inn total) and it appeared only a couple of dozens of times. However, for those files it is persistent. |
CC @schiesbn Do you guys all see messages like "share key is missing" or "something.key" is missing related to the broken files ? |
Yes, I see messages like this in my owncloud log, and the files are exactly the problematic ones:
|
I meant everyone should post logs instead of complaining, because it is likely to be a different issue for everyone. For one it might be a missing etag in the database (did you actually check there?), for another one a failed final rename, for a third a wrong permission, etc, which could all cause the same error message to be displayed but be completely different bugs. This is why I'd like the message to be changed to "Server error, please check server logs" instead of this misleading message making everyone believe they have the same issue. If multiple people post their server logs and they do indeed look similar, then we have more data points to analyze the issue. Because so far this could not be reproduced locally (with OC 7.0.4+ and sync client 1.8.0). So the more information, the better. If the logs are different then they need to be raised as separate tickets to be looked into separately, focusing on one issue at a time. I hope you now understand why "I have the same issue" isn't useful, because it doesn't tell which of the X possible issues it could be. Thank you. |
I quickly scrolled through (currently on mobile) and it seems that some can already split into
These are already candidates to be moved to separate tickets later. |
Maybe could be also added to the list:
See owncloud-archive/documentation#344 (comment) for some infos
After doing some tests it also seems that mod_deflate is changing the e-tag: #4783 (comment). Could this also be related to some of the reports here? |
|
@PVince81 ok...got it! Makes sense. The issue I have is, the file does get sync'd but for some reason, I still get the same error like the one in this thread. The file gets sync'd over and over and over... I'm running SQLite and OwnCloud 7.0.4.2 under CentOS Linux 6.6 I did try your patches #13832, #13831. If you need more info, just ask, I'll provide. Thank you for your time! Also, I'm not using encryption, disabled it because of some other error it was causing..dont remember which. owncloud log shows: |
If you use SQLite it is likely that you will either get "database is locked" or "duplicate entry" when running parallel sync. I'd recommend to switch to MySQL, MariaDB or PostgreSQL if possible (there's a convert tool in OC 7: https://doc.owncloud.org/server/7.0/admin_manual/maintenance/convert_db.html) If you don't, there are some potential fixes on the way to 8.0.3 (hopefully) that should significantly reduce the occurence of such race conditions. |
well.. I went cold turkey and migrated to MySQL. Then I moved everything from my Owncloud folder out so it can delete all files on the "cloud", then I'll put it all back. I'll see if moving to MySQL fixed it. Also..dunno if its just me..but it seems faster accessing owncloud thru the web interface. EDIT: |
Ok..upgrading to MySQL so far has resolved it. I do not get the problem where a certain file keeps getting sent over and over even though its been sent already. Hopefully this fixed it. I'll report back after a week of file syncs. |
upgrading to MySQL is not a fix, that is just a workround, @themagicm . the guys at owncloud still have to solve this problem. |
For SQLite "Database is locked" issues, go to: #10566 |
I am facing same issue. I think this issue is related to e-tag calculation.
might be this clue will helpful for developer. |
Are you guys still seeing issues with 7.0.7 ? |
@patelparas the issue you described sounds like #11127. |
Anyone still having issues with 8.1.3 ? "Database is locked" issues should be gone |
I am not experiencing this anymore. Thank you for the direct email asking, I appreciate it! -Alex On Thu, 10/8/15, Vincent Petry [email protected] wrote: Subject: Re: [core] server did not acknowledge the last chunk. (No e-tag were present) (#12725) Anyone still having issues with "Database is locked" issues should be gone — |
@PVince81 Thats should be solved by the OC-ETag header introduced by oC 8.1.x |
I installed OC version 8.2.1 and i am unable to upload any file i put in my local folder. I allways get the error "The server did not acknowledge the last chunk. (No e-tag were present)". Via browser i have no problems to upload, and all uploaded files that way are automatically downloaded to the local folder in my desktop. If i create a folder in my ownCloud local folder, the folder is also created in the server. I am using OC Server v. 8.2.1 and OC client version 2.0.2 for windows Thanks |
I am a Linux server Administrator and I use WHM & cPanel. In one account I have OwnCloud and I have this problem (The server did not acknowledge the last chunk). I can solve it. It is a problem with ModSecurity. I have activate in ModSecurity Vendors, OWASP ModSecurity Core Rule Set (provider is cPanel). I desactivate it and problem is solved. I hope this can help to someone. |
@310TN server logs please + OC version. This message can mean anything. By the way, is anyone else still seeing such errors in v9.0.1 ? |
I'm getting this error. can create folders from both pc and android app this is the log when i try to upload something from the android app, nothing gets logged from the failed upload using the computer app
|
@giuppi this is a normal message. The Android app first checks whether the file exists by doing a PROPFIND. If the PROPFIND returns 404, then it knows that it can upload without conflict. This doesn't look related to "server did not acknowledge the last chunk" which is a message from the desktop client, not mobile. |
I'm closing this huge ticket for now. If anyone sees this issue again, please raise a new ticket and post all possible details using the issue template: https://raw.githubusercontent.com/owncloud/core/master/issue_template.md Please always open a new ticket, unless an existing one contains the same exception or log entries from your owncloud.log, in which case the cause is the same. Thank you! |
For anyone who might still be tackling with this issue, in our setup of |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Environment: root server
Server: Debian Wheezy
Database: SQLite
Client: Debian Testing
OC-Version: 7.0.3
PHP-Version: 5.4.35-0
Since updating to 7.0.3 I keep on getting this error:
The item is not synced because of previous errors: The server did not acknowledge the last chunk. (No e-tag were present)
Worked fine in version 7.0.2.1 and only started appearing on random files (all of the small, between 40 and 70kb) in version 7.0.3.
Please let me know if there is anything else you need from me (specific logs, etc.)
Many thanks in advance!
The text was updated successfully, but these errors were encountered: