You are not logged in.

#1 2013-12-30 22:04:17

kidou343
Member
Registered: 2011-03-04
Posts: 8

Can't Sync Files in Dropbox Subdirectories

I installed both dropbox and dropbox-cli from the AUR, and I noticed that files don't get uploaded or synced when I copy, move, or edit a file into my Dropbox folder. For instance, I run dropboxd, daemon starts up, syncs up with cloud, then it says it's up to date from the icon. But let's say I edit a file with vim. The changes do not sync, and if I restart dropboxd, a conflicted file is generated. If I copy or move a file into the Dropbox folder with cp or mv from the terminal, that file just don't get uploaded, even when I restart dropboxd. So far, I have been able to use the online uploader, but it's very inconvenient, and the online uploader is terrible for folders. My Dropbox folder is located on another drive, so could it be a permissions problem? Here's the relevant line in my fstab:

/dev/sda3       /media/universal        ntfs-3g         defaults                        0       0

it might not be, however. Any ideas? I could install nautilus and dropbox-nautilus (or some other equivalent), but I'm trying my best to stick to just the terminal for now, so I don't particularly like the idea.

Edit: The problem is actually that files don't sync with copying/moving/editing files in any subdirectories in the Dropbox main directory. Files sync just fine when copying/moving/editing files in the Dropbox main directory. Dropbox's preferences have selective sync on all files and folders (essentially complete sync. Is there a difference?).

Last edited by kidou343 (2013-12-31 03:07:08)

Offline

#2 2013-12-30 22:14:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can't Sync Files in Dropbox Subdirectories

I just tried it here.  Work just fine.  Is your clock on your computer set correctly?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2013-12-30 22:34:36

kidou343
Member
Registered: 2011-03-04
Posts: 8

Re: Can't Sync Files in Dropbox Subdirectories

I did change timezones and didn't adjust my clock... how does that affect dropbox?

Offline

#4 2013-12-31 00:20:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Can't Sync Files in Dropbox Subdirectories

I am not certain it applies to Dropbox, but a rational implementation would be to determine the 'freshness' of a file based upon a comparison of modification times.  If your computer is set to 1999, then any files on it would be determined to be older than those in the cloud; given that perception, it would not make sense to push the file out, but rather to mark it as a 'Conflicted file'


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2013-12-31 03:02:24

kidou343
Member
Registered: 2011-03-04
Posts: 8

Re: Can't Sync Files in Dropbox Subdirectories

Ok, I did update my clock, and I don't think it helped. At least I know how to update my clock now, though.

I experimented a little bit more and found out more specifics on the problem that I have. Let's say I have a test.txt file somewhere. If I copy/move/edit the test.txt file into the Dropbox main directory, the file syncs fine! I almost went on here and said the problem was fixed. However, let's say the Dropbox folder has a subdirectory Test_Dir. Now if I copy/move/edit test.txt into the Test_Dir directory, no file syncing happens at all. Wait around for a while, restart dropboxd, nothing. Doesn't show up on the dropbox website either (while in the previous case it showed up right away). This happens for any subdirectory. So, the problem is more specifically files don't sync when copying/moving files into Dropbox subdirectories. I checked Dropbox's preferences, and I have selective sync on all my folders, so that shouldn't be the problem. Any ideas? (I edited the topic subject to be more specific)

Last edited by kidou343 (2013-12-31 03:08:39)

Offline

Board footer

Powered by FluxBB