Mendeley + Dropbox = Multiple files everywhere?

13,383

Solution 1

Here is a related question on the Mendeley website with official answer. In short, they say that dropbox and Mendeley are imcompatible and you shouldn't combine them, especially not with the watch-folder setting.

I still want to try this solution with symlink, which I think tricks Mendeley into saving the files on dropbox. I cannot oversee what the consequences are, therefore I haven't tried it.

I suspect that the duplicates are made because Mendeley does not recognize that the dropbox folder is the same across computers. Therefore it adds the files anew on each computer that watches the dropbox folder. Even worse, it also creates a local copy of the articles from your cloud in a Mendeley download folder. If you save annotations, the file will by default be saved in that local folder, creating yet another potential duplicate with the original one in your dropbox folder, and a file that is not locally accessible on other computers. It took me a while to realize what a mess this created, but it is really bad.

It remains vague what exactly causes the recognition problems for Mendeley - whether it is the fact that the dropbox folder might have a different path on different machines, or more than that. I still hope that there is a way around it with clever choice of folders to save/watch.

Did you find a good solution or did the symlink work for you?

Solution 2

I have been able to run Mendeley in two computers successfully by using Dropbox and recently Google Drive.

The first thing to do is to ensure that the route to the Dropbox folder in both computers is the same. In other words, on my two computers (work + home) the dropbox folder is located in C:\Dropbox.

Second, I created a folder inside dropbox called "Mendeley" and I migrated all the data from Mendeley's current data directory. This directory can be found by opening Mendeley, hitting Crtl+Shift+D, Debug Tools tab, and clicking on Open Data Directory.

Third, I opened the registry folder of Mendeley (HKEY_CURRENT_USER\Software\Mendeley Ltd.\Mendeley Desktop) and created a registry key with the name "dataDirectory" and the value being the location of the newly created data directory C:/Dropbox/Mendeley

Fourth, open Mendeley and make sure everything work fine.

Fifth, go to your second. DO NOT OPEN MENDELEY. Modify the registry using the same steps as step three.

What is happening now is that both computers are reading the exact same database. It is very important that Mendeley is not open on both computers at the same time. Things can go pretty bad.

I did this procedure after finding an article in Mendeley's website that explained how to modify the location of the database files. However, it seems that they pulled the document out of their website.

Solution 3

I do not experience those problems with the following settings:

Screenshot Options -> File Organizer:

Share:
13,383

Related videos on Youtube

Matias Andina
Author by

Matias Andina

Updated on September 18, 2022

Comments

  • Matias Andina
    Matias Andina almost 2 years

    I am using Mendeley for managing my papers. I like it because of the reference manager and the multi-platform/OS. I have approximately 400 papers that weigh almost 380 MB, all of them stored in a Dropbox "Papers" folder. Inside that folder I have subfolders like "Theme A", "Theme B", "Theme C" in order to get quicker access when I manually search for something. I chose this setting because I can upload to Dropbox from any machine and I thought it could be a better idea than space provided by Mendeley (I still don't have a sound reason for this choice). So far, so good. I have configured Mendeley to use the "Papers" folder as a watchfolder so every file I put in there gets synced to Mendeley. Every time I want to download a paper I just throw it into one of the subfolders and voilá (I like this because papers often come with counter-productive titles, often with authoryear or author_year or whatever).

    I have noticed that every single time I log in to Mendeley Desktop (from my laptop or any of the Desktop computers I use (work + home)) duplicate files are created. Dropbox files are not getting duplicated, however, Mendeley files keep duplicating forever. I want to avoid searching for duplicates and merging or deleting files.

    I have asked other people that use Mendeley but they do not sync from dropbox as I do so they do not face this problem.

    I noticed that most of duplicates have to do with different information (e.g., doi, PMID, year, abstract ,etc...) that Mendeley is not getting right the first time it loads the article and I have to manually ask for it to search (which it does marvellously).

    I am about to migrate my data (new computer/job/etcetera) and seems to be the right time to learn to do the setup correctly or change to Readcube or another bibliography manager.

    UPDATE

    I have migrated my data. I currently have only one computer and switched strategies. I read outside of Mendeley because pdf readers keep comments with better compatibility that Mendeley (also not everybody has Mendeley nor reads on it). As November 2016, I have a 'papers to read' folder in which I download papers and a 'stored papers' folder that I will never ever touch again (read modified papers go here and here's from where Mendeley gets the references). This approach is still not perfect (i. e, Remember to move files after reading, When you want to cite something that is currently in the 'papers to read' you don't have it, Mendeley/Pubchase recommends you papers you already have in the 'papers to read'). I am not ready to go for a desktop computer and I might not want to have Mendeley installed there if I buy such computer.

    This must be intrinsic of Mendeley's functioning, meaning hard coded on purpose. We must remember that Elsevier's business is now to sell you cloud space for storing your papers. Hence, they are not happy with you paying Dropbox or anybody for a much more reasonable price per Gb. As always, their profit margins are all that matters.

    • Code42
      Code42 over 3 years
      I came across the same issue when starting to use Mendeley on my new iPad. I deleted one copy of the duplicated folders but later it wiped out the other copy!!! So I restored an earlier version on my mac, signed out from my ipad and signed back in from my ipad. Now things work well. Don't know which step actually worked but so far so good.
  • Matias Andina
    Matias Andina over 8 years
    I don't understand, I don't want Mendeley to organize my files...I want it to sync from dropbox
  • Matias Andina
    Matias Andina about 8 years
    That's quite discouraging...I indeed stopped using mendeley for reading, I kept only the bibliography add on for word. Since I was already doing a manual sort I figured out that I could keep it that way. When I have to look for a paper is a bit troublesome, I believe I'll get back and give it another try or use readcube or another one
  • Hanna
    Hanna about 8 years
    I still want to try this solution with symlink: azizlite.ezbio.net/index.php?p=blog&id=4 I think it tricks Mendeley into saving the files on dropbox but I cannot oversee what the consequences are (partly because I am not tech-savy enough and partly because Mendeley doesn't disclose how it operates), therefore I haven't tried it.
  • Matias Andina
    Matias Andina about 8 years
    Interesting! I will dig more into it. Still disappointed that "adaptor" apps would be the solution...mendeley is big enough for taking care of this