I feel like I'm in a very boring episode of Doctor Who
-
I'm having a weird problem with Dropbox, and googling is failing me because lots of people can't find their Dropbox files. But I can't find them in a very special and exciting way, involving differences between Finder and the command line. What am I dealing with here? I use a Dropbox account across a couple of computers. The oldest member of the group is a Macbook Pro running 10.6.7. Lately, it syncs correctly to all appearances, *so long as I only attempt to interact with my files through Finder.* New folders and files sync to the Dropbox account, deleted files delete correctly, all is well. However, when accessed through a terminal, and I think any program using the unix file interface (Matlab definitely, maybe others), my file directory is stuck in the past/an alternate timestream. Both file directories appear to be fully 'real', but they don't talk to each other. To illustrate: In Finder, I can: Make a new folder, drop a new textfile into it. Both sync happily to dropbox, persists system restart, etc. However, in the terminal this folder doesn't appear to ls -a, and it cannot be cd'd into. In the terminal: mkdir fakefile cd fakefile echo "sometext" >> myfile.txt creates a folder and text file which can be printed to the terminal, persists past system restart, etc. etc. But it is not visible in Finder, and it doesn't sync to the Dropbox account. The result of this is that my terminal directory is largely from the past, modulo a variety of test updates and files created by other users. I'm inclined to think that this is the more broken of the directory versions, because of a secondhand report/experience of dataloss in that folder (someone was writing files to a folder which exists only in Terminal land, and those datafiles are not present anymore. Possibly this is unrelated user error though.) All of this behavior is 1) unique to the Dropbox folder, but 2) persists when the computer is not connected to the internet and/or syncing is paused. Folders and files created e.g. in the Desktop folder appear normally in both Finder & terminal, delete appropriately, etc. I can create a file in either the terminal timestream or Finder timestream of the Dropbox folder, and if I then copy that file to the Desktop, both versions of the directory know about it. Sadly, I don't know exactly when this happened or what might have started the problem- this computer is used mostly not by me, but by a small group of people who navigate the filesystem using Finder, and (should be) entering only a very small set of shell and Matlab commands. What the hell is this, and more importantly, how do I fix it? I've not yet taken the nuclear option of removing Dropbox entirely from this computer and attempting a reinstall, both because it will derail several people's work until I can get it back online, and on the off chance of breaking something further before I know what's going on...
-
Answer:
Also, it really sounds like your direct access folder has become separate from your Finder folder. Are you sure there isn't a user error here, where you're actually working on two separate copies of the directory that have slowly diverged over time? Very sure? Very very sure?
heyforfour at Ask.Metafilter.Com Visit the source
Other answers
Oh frabjous day! Zozo, my terminal (or my clumsy hands) didn't support dragging files into the terminal, but you and RedOrGreen put me on the right track - at some point the dropbox sync location was changed (as was the pinned folder on the Dock), from /Users/myname/Dropbox to /Users/myname/Documents/Dropbox - I'm guessing by either a Dropbox upgrade, another user (or myself in a moment of amnesia!), meaning that all my terminal links were accessing the old copy. I'm terribly pleased to have this be user error rather than some undiscovered rift in the unix/mac continuum, and thanks to all for helping me sort this out!
heyforfour
Sudo your ls as a permissions issue may be hiding them from ls. Are you definitely in the Dropbox folder and not the invisible ~/.dropbox or ~/Dropbox/.dropbox.cache directories? What does the web interface show? Is the terminal user the same as the GUI user?
ridogi
Thanks for the questions! The web interface (and all other computers on the dropbox account) agree with Finder sudo ls -a also shows the terminal version/'wrong' directory I found and checked both ~/.dropbox and ~/Dropbox/.dropbox.cache, that's not where I am - this is definitely the main Dropbox folder.
heyforfour
Whoops, missed your last question - apologies if I'm missing some terminology here, but no signing out or user switching is involved, this is all occurring as a single user.
heyforfour
Is this problem unique to a single computer? Try pointing Dropbox at a different directory, let everything sync, and try again from there.
mkultra
What happens when you delete or modify files from the shell? Can you log into the Dropbox web interface and see what file changes it has logged in the 'Events' portion of the interface?
suedehead
Are there any symlinks in use?
ridogi
Does opening on of these files with a GUI text editor force a sync to happen?
ridogi
(An update while I try the longer syncing solution mkultra suggests...) - Unique to a single computer, yes! - On the dropbox web interface, it logs only events that were conducted in Finder - When I delete or modify files from the shell, they disappear from the shell, but persist in Finder. They are gone as far as ls -a is concerned, but still appear in the Finder and online in Dropbox, and no Dropbox event is logged. And on preview - assuming from my brief google that symlinks refers to the everyday kind of shortcut/alias that I am used to, no, not involved.
heyforfour
Related Q & A:
- Am I eligible for Financial aid if I'm not a Resident?Best solution by thesalliemaefund.org
- Who do I contact if i'm interested in medical transcription from home?Best solution by Yahoo! Answers
- What's a good job for me if I'm not a 'people' person?Best solution by Yahoo! Answers
- How do I know if I'm having a mental breakdown?Best solution by Yahoo! Answers
- How many stamps do I put if I'm sending a letter from California to someone in Canada?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.