-
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
Files Deleted From Server on Rename via Client or Web UI #16256
Comments
I should add that this is not specific to the InstantUpload directory. Attempting to rename the Example.odt file in /Documents also causes the file to be deleted. |
Just updated the server (via RPM) to OwnCloud 8.0.3-13 and the problem persists. |
Re-created a server and renaming causes problem |
Potential for data loss is scary. Just tested renaming a folder. Lost everything inside it. Going to have to send out warnings to all our users on several servers not to rename until further notice. |
I have no idea what criteria is used to determine bug priority, but given that this could wipe thousands of user files with a single, normally non-destructive action, I would think this is a critical Sev1 issue. Especially seeing that bugs like 16295 "Apps are not listed in alphabetical order" are flagged as Sev2-High, this warrants revisiting. |
Steps to reproduce
Was able to reproduce this using the 1.8.1 OSX desktop client, the 1.7.1 Android client and the server web interface using both the latest version of FireFox and Chrome.
Expected behaviour
The file should be renamed and present.
Actual behaviour
The file is renamed on the local client, syncs then is deleted immediately after the sync. The file is gone on the local device, the server and other remote devices.
When renaming from the OC web interface with both Firefox and Chrome, the sync symbols stayed on screen indefinitely and I had to manually refresh the page to get an update. Before the manual refresh, the file disappeared from both the Android and Mac desktop clients which have access to the OwnCloud folder. After the manual refresh, the files are gone in the web interface view as well.
Server configuration
Operating system: CentOS 7.1.1503 (Core)
Web server: Apache 2.4.6
Database: MariaDB 5.5.41
PHP version: 5.4.16
ownCloud version: 8.0.3-12
Updated from an older ownCloud or fresh install: Incrementally updated from 8.0 -> 8.0.1 -> 8.0.2 -> 8.0.3
List of activated apps:
Activity 1.2.0
Calendar 0.6.4
Contact 0.3.018
Deleted Fiels 0.6.2
External Storage Support 0.2.3
File Locking
First Run Wizard 1.1
LDAP user and group backend 0.5.0
Mail Template Editor 0.1
PDF Viewer 0.7
Share Files 0.6.1
Text Editor 0.4
Updater 0.4
Version 1.0.5
Video Viewer 0.1.3
The content of config/config.php:
Are you using external storage, if yes which one: Swift
Are you using encryption: No
Are you using an external user-backend, if yes which one: LDAP
Client configuration
Browser: FireFox 37.0.2 and Chrome 42.0.2311.135
Operating system: OS X 10.10.3 (Yosemite) with all updates applied
Logs
Web server error log
Nothing in error log, but access log shows the following.
ownCloud log (data/owncloud.log)
Owncloud.log shows only the following when renaming from either the Android or OSX client
When renaming from the web interface it shows the above error plus the following:
The text was updated successfully, but these errors were encountered: