Dropbox folder not syncing after move
It turns out the issue is with the fact that I moved my dropbox folder to an external drive. In that case, OSX creates a bunch of files named ._filename, which dropbox cannot sync. To clean these files, someone wrote this small script that works in the background. I installed and ran it, and my problems were solved.