[Owncloud] upgrade from 4.5 to 5.0 lost all files

Andrei Mikhailovsky andrei at arhont.com
Fri Mar 29 18:29:46 UTC 2013


Following the disaster that i've described I've got a few questions: 

1) What steps I should take to prevent this ever happening again? 
2) I had enabled file versions and I have a large amount of files and folders under the files_version folder. I can see there is a limited number of files, but it is better than zero files. However, the files have a .v<large number> at the end of each file. How would I know what is the latest version? Is there a way I can recreate the data from the file_versions folder without going file by file / folder by folder? 
3) I have a backup taken of the data folder. Can I simply replace the data folder and hope that it will not screw things up on the client side? 
4) Could someone please point me to the data recovery procedures describing steps required to restore data from backups? 

Many thanks 

Andrei 



From: "Klaas Freitag" <freitag at owncloud.com> 
To: owncloud at kde.org 
Sent: Wednesday, 27 March, 2013 11:25:20 AM 
Subject: Re: [Owncloud] upgrade from 4.5 to 5.0 lost all files 

On 27.03.2013 11:54, Andrei Mikhailovsky wrote: 

Hi Andrei, 

first, I'd like to say sorry for the trouble you're experiencing here. 

> Thanks for the advice, I've read the thread and followed the instructions to delete the filecache from db. Once the filecache has been removed I've logged back in to the web interface and it has populated the data. However, I was still missing the data from two folders worth about 2-3GB. These two folders were completely empty. 
> 
> Following that I have checked my client pc and found that I still had files on my local pc in the ownCloud/Shared folder. I've fired up the ownCloud client application with the hope that it would reupload everything back to the server. However, instead of doing that it has completely removed files from my pc. I have not only lost the files from the two folders, but pretty much from all the folders apart from one folder which had the old data which hasn't been touched for over a year. As of now all my data is lost!!!! I do not see them on the server and they are also now missing from my local pc. 
> 
> How could this happen? Why did the owncloud client remove everything from my local pc instead of syncing it back to the server? 

The problem is: Your change on serverside was more recent. And since 
syncing also means that deletion of files is propagated, the more recent 
deletions were propagated to your client and the files got removed. 
I know that this is probably not a good answer for you, but thats the 
reason why that happened. 
We are discussing solutions to prevent this but we do not have a final 
solution implemented yet. 

Sorry, 







Klaas 

> ----- Original Message ----- 
> 
> From: "Mathias Johansson" <mathias.johansson at dovado.com> 
> To: owncloud at kde.org 
> Sent: Tuesday, 26 March, 2013 6:34:44 AM 
> Subject: Re: [Owncloud] upgrade from 4.5 to 5.0 lost all files 
> 
> 
> 
> Hi, 
> 
> 
> Read this forum post http://forum.owncloud.org/viewtopic.php?f=23&t=9168 seems to be an issue with the cache when upgrading. 
> 
> 
> I did the same thing the post above helped me. 
> 
> 
> //Mathias 
> ----- Original Message ----- 
> 
> From: "Andrei Mikhailovsky" <andrei at arhont.com> 
> To: owncloud at kde.org 
> Sent: Tuesday, 26 March, 2013 1:06:05 AM 
> Subject: [Owncloud] upgrade from 4.5 to 5.0 lost all files 
> 
> 
> Hi, 
> 
> I've recently ran "apt-get upgrade" on my Ubuntu 12.04 server and amongst other things it updated the ownCloud packages to the latest 5.0.0 release. As a result all my data has disappeared from the clients as well as from the web interface. I can see that there is about 15gb out of 17gb of data on the file server's data folder, but nothing is visible from the web interface or clients. Could anyone suggest how to recover the data? 
> 
> Many thanks in advance 
> 
> Andrei 
> 
> _______________________________________________ 
> Owncloud mailing list 
> Owncloud at kde.org 
> https://mail.kde.org/mailman/listinfo/owncloud 
> 
> 
> _______________________________________________ 
> Owncloud mailing list 
> Owncloud at kde.org 
> https://mail.kde.org/mailman/listinfo/owncloud 
> 
> 
> 
> 
> _______________________________________________ 
> Owncloud mailing list 
> Owncloud at kde.org 
> https://mail.kde.org/mailman/listinfo/owncloud 
> 

_______________________________________________ 
Owncloud mailing list 
Owncloud at kde.org 
https://mail.kde.org/mailman/listinfo/owncloud 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130329/8136ff9d/attachment.html>


More information about the Owncloud mailing list