Ubuntu One deletes file with no reason

Bug #503751 reported by Nicolas_Raoul
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Expired
Undecided
Unassigned

Bug Description

My Ubuntu One account contains about 10 MB of files, mostly raw text files and a few pictures.
I modify a file called "annuaire.xml" quite often, always with vim.
I modify a file called "ev.gnumeric" once in a while, always with Gnumeric.

Last week I modified annuaire.xml a lot on my main PC.
Then I read it on another PC, also with vim.
Earlier this morning, I have read it on my main PC with no problem.
Then I rebooted.
And when I wanted to read the file again, it had disappeared.
ev.gnumeric is also nowhere to be found.

This is the second times it happens, last time was about 2 weeks ago.

Only using 2 PCs, both of them are fresh installs of Ubuntu Karmic.
The latest ".u1conflict" files date from a few days ago, possibly the dates of my latest modifications. They seem to contain the latest data, so no data loss... but I can I trust Ubuntu One if it randomly deletes my files?

Here are the lines of syncdaemon.log that either contain this file's name or are suspicious:

2010-01-06 14:12:31,966 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F 50fcb889-74ef-41f5-b61f-ba912c528f61 [root:50fcb889-74ef-41f5-b61f-ba912c528f61] ''Ubuntu One/annuaire.xml'' | Called new_local_file (In: F:NA:NA)
2010-01-06 14:12:31,967 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F 50fcb889-74ef-41f5-b61f-ba912c528f61 [root:50fcb889-74ef-41f5-b61f-ba912c528f61] ''Ubuntu One/annuaire.xml'' | Called calculate_hash (In: T:NONE:F)
2010-01-06 14:12:32,083 - ubuntuone.SyncDaemon.sync - INFO - T:LOCAL:F 50fcb889-74ef-41f5-b61f-ba912c528f61 [root:50fcb889-74ef-41f5-b61f-ba912c528f61] ''Ubuntu One/annuaire.xml'' | Called put_file (In: T:NONE:F)
2010-01-06 14:17:41,832 - ubuntuone.SyncDaemon.ActionQueue - WARNING - MakeFile share:'' node:'7b33edbf-de6a-4984-8e70-2eedaaff47c1' MakeFile(marker="'7b33edbf-de6a-4984-8e70-2eedaaff47c1'", parent_id="'8edf9bd5-9358-4aaa-a41f-fba474e0eaff'", share_id="''", name="u'ev.gnumeric'") failure ALREADY_EXISTS
2010-01-06 14:17:41,852 - ubuntuone.SyncDaemon.sync - INFO - -:-:- 7b33edbf-de6a-4984-8e70-2eedaaff47c1 [-:-] ''-'' | Called file_not_created_remove (In: T:LOCAL:F)
2010-01-06 14:17:41,852 - ubuntuone.SyncDaemon.ActionQueue - ERROR - Upload share:'' node:'7b33edbf-de6a-4984-8e70-2eedaaff47c1' Upload(share_id="''", hash="'sha1:a457e0421b9eb3517ca06b848331bfa5654e9700'", fileobj_factory='<bound method FSKey.open_file of <ubuntuone.syncdaemon.sync.FSKey object at 0x9f77e3c>>', node_id="'7b33edbf-de6a-4984-8e70-2eedaaff47c1'", crc32='1280144641L', previous_hash="''", size='2584') failed 7b33edbf-de6a-4984-8e70-2eedaaff47c1
2010-01-06 14:17:41,853 - ubuntuone.SyncDaemon.ActionQueue - WARNING - Upload share:'' node:'7b33edbf-de6a-4984-8e70-2eedaaff47c1' Upload(share_id="''", hash="'sha1:a457e0421b9eb3517ca06b848331bfa5654e9700'", fileobj_factory='<bound method FSKey.open_file of <ubuntuone.syncdaemon.sync.FSKey object at 0x9f77e3c>>', node_id="'7b33edbf-de6a-4984-8e70-2eedaaff47c1'", crc32='1280144641L', previous_hash="''", size='2584') failure ALREADY_EXISTS
2010-01-06 14:17:41,853 - ubuntuone.SyncDaemon.sync - INFO - -:-:- - [:7b33edbf-de6a-4984-8e70-2eedaaff47c1] ''-'' | Called nothing (In: F:NA:NA)
2010-01-06 14:17:42,475 - ubuntuone.SyncDaemon.ActionQueue - WARNING - MakeFile share:'' node:'50fcb889-74ef-41f5-b61f-ba912c528f61' MakeFile(marker="'50fcb889-74ef-41f5-b61f-ba912c528f61'", parent_id="'8edf9bd5-9358-4aaa-a41f-fba474e0eaff'", share_id="''", name="u'annuaire.xml'") failure ALREADY_EXISTS
2010-01-06 19:48:53,909 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F d45e40ef-8d95-4d62-8922-3f625e34f257 [root:d45e40ef-8d95-4d62-8922-3f625e34f257] ''Ubuntu One/annuaire.xml'' | Called new_local_file (In: F:NA:NA)
2010-01-06 19:48:53,918 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F d45e40ef-8d95-4d62-8922-3f625e34f257 [root:d45e40ef-8d95-4d62-8922-3f625e34f257] ''Ubuntu One/annuaire.xml'' | Called calculate_hash (In: T:NONE:F)
2010-01-06 19:48:53,924 - ubuntuone.SyncDaemon.sync - INFO - T:LOCAL:F d45e40ef-8d95-4d62-8922-3f625e34f257 [root:d45e40ef-8d95-4d62-8922-3f625e34f257] ''Ubuntu One/annuaire.xml'' | Called put_file (In: T:NONE:F)
2010-01-06 19:48:55,200 - ubuntuone.SyncDaemon.sync - INFO - T:LOCAL:F d45e40ef-8d95-4d62-8922-3f625e34f257 [root:18190979-e357-47e9-9e7a-dc87a79ed84f] ''Ubuntu One/annuaire.xml'' | Called new_local_file_created (In: T:LOCAL:F)
2010-01-06 19:48:58,741 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F d45e40ef-8d95-4d62-8922-3f625e34f257 [root:18190979-e357-47e9-9e7a-dc87a79ed84f] ''Ubuntu One/annuaire.xml'' | Called commit_upload (In: T:LOCAL:F)

Revision history for this message
Nicolas_Raoul (nicolas-raoul) wrote :

It just happened again:
- I checked that annuaire.xml was present, and made a backup of it.
- I quit Ubuntu One because it was showing as not connected (even though Internet is connected) and I started Ubuntu One again a few minutes later.
- Ubuntu One showed that it was updating the files.
- I realized that the file annuaire.xml was gone.
- I compared the backup with the latest conflict file annuaire.xml.u1conflict.3 and they are the same.

Last time I edited the file was on the same computer. In fact I have been using only this computer for weeks, and modify the file quite often.

Revision history for this message
Nicolas_Raoul (nicolas-raoul) wrote :

Someone else reported this bug here:
http://ubuntuforums.org/showthread.php?p=8656215

Revision history for this message
Joshua Hoover (joshuahoover) wrote :

Hi Nicolas,

As I promised earlier today in the forums, I'm following up here. In order to track down what is going on, can you do the following and try to reproduce?

1. Open (or create if it doesn't exist): ~/.config/ubuntuone/syncdaemon.conf

2. Add the following 2 lines to this file and save:
[__main__]
log_level = DEBUG

3. Restart the Ubuntu One client

4. Try to reproduce the behavior you've been seeing and then attach the following log file: ~/.cache/ubuntuone/log/syncdaemon.log

This will provide us with a lot more detail and help the developers get to the root cause of the problem.

Thank you,

Joshua

Changed in ubuntuone-client:
status: New → Incomplete
assignee: nobody → Joshua Hoover (joshuahoover)
Revision history for this message
atreju (atreju-tauschinsky) wrote :

I have the same problem with a small python project, under bzr revision control.
Today, one of the files vanished, but in addition the last revision in bzr for that file also vanished.
The deleted file did appear in my Trash, but unthinkingly I deleted it from there before realizing that the original was gone due to Ubuntu One. While only moving deleted files to Trash is good in principle, it is still horrible that they can accidentally be deleted by Ubuntu One at all.

The only related error message in my syncdaemon.log (I was unfortunately not running with a high loglevel) was this:

2011-05-22 16:49:48,431 - ubuntuone.SyncDaemon.local_rescan - INFO - removing from move limbo: share_id='be20ccb8-cb97-44b7-9d93-fce1548fbeef' node_id=marker:06b53486-2273-43f3-bc14-f004d422d0c3 old_parent_id=marker:897a0736-8f09-4ebe-882d-47a32ac97b9d new_parent_id='ce66e674-9896-4fac-b20e-8e31a7f50271' new_name='plotter.py' path_from='/home/atreju/Documents/Uni/labalyzer/.bzr/checkout/limbo/new-1' path_to='/home/atreju/Documents/Uni/labalyzer/labalyzer/plotter.py'

dobey (dobey)
Changed in ubuntuone-client:
assignee: Joshua Hoover (joshuahoover) → nobody
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.