Doesn't sync files (only directories) "Not enough space for upload"

Bug #584852 reported by Sabrina Mouchian
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Expired
Undecided
Unassigned

Bug Description

I just created a new account on Ubuntu One after installing Ubuntu 10.04 and tried to sync my ~/Documents folder (which is 37MB).

Folders are slowly created on the cloud but are empty (even after waiting 12 hours on a 20Mbit/s/1Mbit/s connection).

The log files say things like :

ubuntuone.SyncDaemon.ActionQueue - INFO - Not enough space for upload 129024 bytes (available: None)

Altough I am using 0MB/2GB
---
Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
Package: ubuntuone-client 1.2.1-0ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANG=fr_CH.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Tags: lucid
UbuntuOneUserSyncdaemonConfig:
 [bandwidth_throttling]
 read_limit = 2097152
 write_limit = 2097152
 on = False
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Sabrina Mouchian (sabrina-mouchian) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Sabrina Mouchian (sabrina-mouchian) wrote : UbuntuOneClientPackages.txt

apport information

Revision history for this message
Sabrina Mouchian (sabrina-mouchian) wrote : UbuntuOneOAuthLoginLog.txt

apport information

Revision history for this message
Sabrina Mouchian (sabrina-mouchian) wrote : UbuntuOnePreferencesLog.txt

apport information

Revision history for this message
Sabrina Mouchian (sabrina-mouchian) wrote :
  • logs Edit (117.4 KiB, application/x-tar)
Revision history for this message
Duane Hinnen (duanedesign) wrote :

Sabrina,
Sorry to hear you are having an issue getting your files to sync. Usually the folders show up before the files as the metadata is synced first. What do you get when you run the following command in a Terminal (Applications > Accessories > Terminal)

 u1sdtool -s

thank you,
duanedesign

Revision history for this message
Sabrina Mouchian (sabrina-mouchian) wrote :

Thank you for looking into this.

Still no files uploaded from my computer to the cloud (I have manually uploaded a file from the web interface and this file is still not appearing in my local folder either).

smouchian@smouchian-laptop:~$ u1sdtool -s
State: QUEUE_MANAGER
    connection: With User With Network
    description: processing queues
    is_connected: True
    is_error: False
    is_online: True
    queues: WORKING_ON_BOTH

smouchian@smouchian-laptop:~$ u1sdtool --current-transfers
Current uploads: 0
Current downloads: 0

--waiting contents lists all my files

and interestingly enough --waiting-metadata returns an error :

u1sdtool --waiting-metadata

Oops, an error ocurred:
Traceback (most recent call last):
Failure: dbus.exceptions.DBusException: org.freedesktop.DBus.Python.UnicodeEncodeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 204, in waiting_metadata
    waiting_metadata.append(str(cmd))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/action_queue.py", line 1442, in __str__
    for attr in str_attrs]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 15: ordinal not in range(128)

Do you think there is a problem with one of my file's name ?

Revision history for this message
sebastien ballesteros (sebastien-ballesteros) wrote :

same issue for me on Lucid, fresh install
I attach the syncdaemon log

otherwise the syncdaemon-exceptions.log is
2010-05-24 22:20:51,115 - twisted - ERROR - Unhandled error in Deferred:
2010-05-24 22:20:51,116 - twisted - ERROR - Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.DNSLookupError: DNS lookup failed: address 'fs-1.one.ubuntu.com' not found: [Errno -5] No address associated with hostname.

Revision history for this message
Roman Yepishev (rye) wrote :

@sebastien, your problem is not related to this bug report. In your case it was not possible for your system to locate the server that synchronization daemon should connect to. Please check your DNS settings and open a new bug in case
$ host fs-1.one.ubuntu.com
Produces something like "fs-1.one.ubuntu.com has address 174.129.241.144" but syncdaemon still produces the exception you pasted.

@sabrina, could you please try running syncdaemon in debug mode:
1. Shut down ubuntuone-syncdaemon using
  $ u1sdtool --quit
2. Run ubuntuone-syncdaemon from the commandline directly -
  $ /usr/lib/ubuntuone-client/ubuntuone-syncdaemon --debug > debug.log
3. Signal syncdaemon to connect
  $ u1sdtool --connect
4. Once you get an error "Not enough space for upload" in debug.log please attach debug.log file to this bug report.

Revision history for this message
Roman Yepishev (rye) wrote :

Waiting for debug.log.

Changed in ubuntuone-client:
assignee: nobody → Roman Yepishev (rye)
status: New → Incomplete
Revision history for this message
sebastien ballesteros (sebastien-ballesteros) wrote :
Download full text (4.5 KiB)

@roman, Thanks, I changed my DNS to OpenDNS https://store.opendns.com/setup/device/ubuntu/ and it worked for a while, but now I am having a connection issue, I will try again later
2010-05-26 11:41:02,834 - ubuntuone.SyncDaemon.fsm - INFO - loading updated metadata
2010-05-26 11:41:02,843 - ubuntuone.SyncDaemon.fsm - INFO - initialized: idx_path: 47, idx_node_id: 47, shares: 3
2010-05-26 11:41:02,845 - ubuntuone.SyncDaemon.GeneralINotProc - INFO - Ignoring files: ['\\A#.*\\Z', '\\A.*~\\Z', '\\A.*\\.py[oc]\\Z', '\\A.*\\.sw[nop]\\Z', '\\A.*\\.swpx\\Z', '\\A\\..*\\.tmp\\Z']
2010-05-26 11:41:02,847 - ubuntuone.SyncDaemon.HQ - INFO - HashQueue: _hasher started
2010-05-26 11:41:03,335 - ubuntuone.SyncDaemon.DBus - INFO - DBusInterface initialized.
2010-05-26 11:41:03,335 - ubuntuone.SyncDaemon.Main - INFO - Using '/home/seb/Ubuntu One' as root dir
2010-05-26 11:41:03,335 - ubuntuone.SyncDaemon.Main - INFO - Using '/home/seb/.local/share/ubuntuone/syncdaemon' as data dir
2010-05-26 11:41:03,335 - ubuntuone.SyncDaemon.Main - INFO - Using '/home/seb/.local/share/ubuntuone/shares' as shares root dir
2010-05-26 11:41:03,335 - ubuntuone.SyncDaemon.Main - NOTE - ---- MARK (state: <State: 'INIT' (queues IDLE connection 'Not User Not Network')>; queues: metadata: 0; content: 0; hash: 0, fsm-cache: hit=1 miss=47) ----
2010-05-26 11:41:03,336 - ubuntuone.SyncDaemon.Main - NOTE - Local rescan starting...
2010-05-26 11:41:03,336 - ubuntuone.SyncDaemon.local_rescan - INFO - start scan all volumes
2010-05-26 11:41:03,342 - ubuntuone.SyncDaemon.sync - INFO - T:LOCAL:F 345c4bfa-b808-411e-9cb2-8b6c9e730d09 ['f23cdebe-3ca4-4c41-90db-427ef320c375'::'13476344-9851-4df2-9fc1-e320cd2dfd2d'] ''test/chouette.jpg'' | Called calculate_hash (In: T:LOCAL:F)
2010-05-26 11:41:03,343 - ubuntuone.SyncDaemon.local_rescan - INFO - processing trash
2010-05-26 11:41:03,343 - ubuntuone.SyncDaemon.Main - NOTE - Local rescan finished!
2010-05-26 11:41:03,343 - ubuntuone.SyncDaemon.Main - INFO - hash queue empty. We are ready!
2010-05-26 11:41:03,346 - ubuntuone.SyncDaemon.sync - INFO - T:LOCAL:F 345c4bfa-b808-411e-9cb2-8b6c9e730d09 ['f23cdebe-3ca4-4c41-90db-427ef320c375'::'13476344-9851-4df2-9fc1-e320cd2dfd2d'] ''test/chouette.jpg'' | Called reput_file (In: T:LOCAL:F)
2010-05-26 11:41:03,453 - ubuntuone.SyncDaemon.ActionQueue - INFO - Connection started to host fs-1.one.ubuntu.com, port 443.
2010-05-26 11:41:03,699 - ubuntuone.SyncDaemon.ActionQueue - INFO - Connection made.
2010-05-26 11:41:03,700 - ubuntuone.SyncDaemon.StorageClient - INFO - Connection made.
2010-05-26 11:41:04,173 - ubuntuone.SyncDaemon.ActionQueue - INFO - The request 'protocol_version' finished OK.
2010-05-26 11:41:04,338 - ubuntuone.SyncDaemon.ActionQueue - INFO - The request 'caps_raising_if_not_accepted' finished OK.
2010-05-26 11:41:04,503 - ubuntuone.SyncDaemon.ActionQueue - INFO - The request 'caps_raising_if_not_accepted' finished OK.
2010-05-26 11:41:37,142 - ubuntuone.SyncDaemon.StorageClient - INFO - Connection lost, reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
].
2010-05-26 11:41:37,145 - ubuntuone.SyncDaem...

Read more...

Revision history for this message
Roman Yepishev (rye) wrote :

Sebastien and Sabrina,
Could you please re-check whether you continue having problems?

Revision history for this message
sgrandi (stefano-grandi) wrote :

I have the identical Sabrina problem. I'm on Lucid 10.04, fresh installation

Stefano

Revision history for this message
sgrandi (stefano-grandi) wrote :

Now on my laptop everything is working. I don't know why

Thanks

dobey (dobey)
Changed in ubuntuone-client:
assignee: Roman Yepishev (rye) → 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.