Context menu missing, and cannot sync files

The context (option to e.g., sync individual file) when I right click in Macbook version is missing.

Further, clicking on a .cloud file says "Either this file is not inside a valid odrive folder, or odrive is not initialized correctly (not logged in?).
I am logged in.

I have just sent diagnostics 2 mins ago.

Hi @lance_abel,
I am seeing sync activity in the sync activity log which indicates that the sync engine is working.

  1. What is an example file name and path you are trying to download that is not working?
  2. Is there anything about your setup or environment that could be of note (external drives, symlinked folders, etcā€¦)?
  3. Are you seeing right-click options on a folder like /Users/macbookpro15touchbar/odrive/OneDrive ?
  1. You are correct that syncing is occurring, but this only helps for files that already exist locally because they were downloaded before.
    That doesnā€™t help for files that only exist as .cloudf; these are not possible to access as when I double click in Finder I get the errors described.
  2. No external drives, one local drive (C: only)
  3. Inside /Users/macbookpro15touchbar/odrive/, I see a folder ā€œOneDriveā€ (which has the options to Sync/Unsync/Refresh)
    However that folder is a link, and takes me to /Users/macbookpro15touchbar/Library/CloudStorage/OneDrive-Personal
    Subfolders of this do not have the Sync/Unsync/Refresh options

Hi @lance_abel,
I see. That is the issue then. The odrive client wonā€™t follow shortcuts (although it will follow symlinks). It also has exclusions to ignore the Library folders.

It sounds like you have a shortcut to the Microsoft OneDrive MacOS desktop applicationā€™s sync root location in the root of your odrive folder, for some reason.

Do you know how that happened? You must also have the OneDrive client installed?

Yeah I have OneDrive too, that was the only way I could get it to sync.

What do you recommend? Removing OneDrive and moving the folder?
If so, how do I move the folder safely though?
I donā€™t want the files in my OneDrive to move folder too. That bit has always confused me about OneDrive/ODrive,

Hi @lance_abel,
Okay, got it. Yeah the odrive client is completely separate from the OneDrive client.

You should remove the OneDrive shortcut from the odrive folder, since odrive doesnā€™t know what to do with that. You definitely want to keep the OneDrive sync client and the odrive sync client separate from each other. They should never point to the same local folders, for example.

To sync OneDrive with odrive, if you want to do that, you will need to link your OneDrive storage to your odrive account. You can do this by going to odrive | Sign in, login to your odrive account, and click on ā€œ+ Link Storageā€). After doing that, a OneDrive placeholder folder will show-up in the root of the odrive folder and you can sync that.

Before doing that, however, can you tell me what your goal is? What are you wanting to accomplish with odrive? That will give me a better understanding of what you should do next.

Hi Tony, my odrive is already signed in. Iā€™ve also removed that link, and the placeholder folder has showed up in the root of the odrive folder. Still the same errors though trying to download .cloudf files

I donā€™t need OneDrive, I want oDrive (thatā€™s what I use on my PC, and was using it on my laptop for ages before these errors). I use features like syncing some files, leaving some only offline, conflict detection, selective deletion of trash etc.

Hi @lance_abel,
Okay, now that things are cleaned up a bit, can you do the following?

  1. Double-click on the cloudf file you are trying to sync
  2. Right-click->sync that cloudf file and see if you are able to sync it that way.
  3. Assuming those both fail, send another diagnostic and tell me the name of the cloudf file that you are trying to sync, and the path where it is located.
  1. Clicking on a .cloud file says "Either this file is not inside a valid odrive folder, or odrive is not initialized correctly (not logged in?).
  2. There is no option when I right-click to sync.
  3. Sent diagnostic; path is /Users/macbookpro15touchbar/Library/CloudStorage/OneDrive-Personal/Docs Sync/Jobs And Money/Careers/Study/Uni/USyd/2024S2/PSYC3914/PSYC3914 Assessments/Old/PSYC3914 Exam Notes v13.docx.cloud

Hi @lance_abel,
From what you are describing it seems like you may have copied odrive placeholder files from the odrive folder into the OneDrive desktop client folder.

odrive placeholder files represent cloud storage files within the odrive folder and they donā€™t have any data or information in them. If the placeholder files are copied out of the odrive folder they can no longer be used. This is why you are seeing that error when clicking on the file. The message is correct that the file is not inside a valid odrive folder.

At some point were you trying to migrate data from a storage folder in odrive into OneDrive by copying items from the odrive desktop client folder to the Microsoft OneDrive desktop folder?

Quite probably thatā€™s what I was doing as I recall having issues.

How do I fix it? Right now Iā€™m in the worst of both worlds as I simply cannot access files - with neither OneDrive nor oDrive downloading them to my local device from the cloud.

Seems youā€™re suggesting moving everything into /Users/macbookpro15touchbar/odrive/OneDrive ?

Just thinking about moving everything like that certainly gives me some anxiety (at least I can access everything now in the browser by logging on to OneDrive), however if you recommend doing it so that oDrive can function and it wonā€™t harm anything else, I will!

Hi @lance_abel,
First, I want to make sure you are clear on the difference between odrive and the OneDrive client.

Microsoft has their own sync client, which is used solely for accessing your OneDrive storage.

odrive allows you to link your different storages (OneDrive, Google Drive, Dropbox, etcā€¦) and access them using the odrive desktop client.

The odrive desktop client is completely unrelated to the OneDrive desktop client, knows nothing about it, and cannot work with it.

If you want to use odrive to access your OneDrive data, you need to link your OneDrive to your odrive account. Then you will access your linked OneDrive account from the odrive folder. For example: /Users/macbookpro15touchbar/odrive/OneDrive

ā€œSeems youā€™re suggesting moving everything into /Users/macbookpro15touchbar/odrive/OneDrive ?ā€

I am not suggesting this. Please do not move anything.

The odrive client will allow you to access all of the data that is currently in your OneDrive account. You do not need to move anything to do this. Anything that you can currently access from your browser, you can already access from the odrive folder, once you have linked your OneDrive storage.

Where I think the confusion lies here is that you have orphaned placeholder files in your OneDrive account. These are placeholder files that were likely copied from somewhere in your odrive folder over to the OneDrive folder, outside of odrive. These are files that have no meaning outside of the odrive folder, are no longer connected to any remote storage, and cannot be downloaded as real files.

Please let me know if you have any questions on the information above. I want to make sure we are on the same page before doing anything else.

Hi Tony,
I understand the difference between odrive and OneDrive.

As mentioned, my odrive already appears to be linked to my OneDrive account.
Under the oDrive tray at the top of my screeen, I see the authorized user is the account associated with my Microsoft OneDrive account (in turn, associated with my outlook/hotmail account name).

Thus - unless being authorized does not constitute being ā€˜linkedā€™, I donā€™t understand why you say that "Anything that you can currently access from your browser, you can already access from the odrive folder, once you have linked your OneDrive storage.
As mentioned the reason Iā€™m posting here is that there are presently many unsynced files not available locally which cannot be downloaded (via right-click sync) and accessed. These files can only be accessed through a browser.

Simply speaking, I seek your solution to this impasse Iā€™m in where I cannot sync files.
You said that there are orphaned placeholder files, and that once ā€œthe placeholder files are copied out of the odrive folder they can no longer be used.ā€
So please help me on this - what is your solution? How do I get them unorphaned or otherwise fix my problem.

Thank you for your patience.

Hi @lance_abel,
Thanks for the response. I know this is frustrating and I just want to make sure we are on the same page.

Can you post a screenshot what you see in your odrive account when you login to it on the web?

If you see your OneDrive link listed, browse into it.
Do you see the files that you are unable to download locally, listed?
If so, what are their extensions?

Whatever you see when browsing the odrive web client is what you should be able to see when browsing the corresponding local odrive folder.

For orphaned placeholder files, there isnā€™t a way to unorphan them. When placeholders are copied outside of the odrive folder they are just copies of placeholders and not representative of remote files any longer. For example, letā€™s say you copied file1.txt.cloud from your linked Google Drive account in odrive at /Users/macbookpro15touchbar/odrive/Google Drive/ into the OneDrive client folder at /Library/CloudStorage/OneDrive-Personal/Docs Sync/. The file1.txt.cloud file now inside the /Library/CloudStorage/OneDrive-Personal/Docs Sync/ folder has no relation to any remote storage. It is an orphaned placeholder file that has no meaning/purpose anymore. The only way to download it would be to download it in the original location /Users/macbookpro15touchbar/odrive/Google Drive/file1.txt.cloud

When I log into odrive on the web, the file that appears as file.docx.cloud in Finder appears as file.docx there and is viewable when I click on it.
So there is a discrepency which you are saying is unexpected.

I still have no idea how Iā€™m supposed to get all my files downloaded locally.

Hi @lance_abel,
Okay, that is good news then!

For next steps:

  1. Ignore the /Users/macbookpro15touchbar/Library/CloudStorage/OneDrive-Personal folders, completely, for now. odrive wonā€™t be able to do anything with that path.

  2. Navigate into the OneDrive folder in odrive. I am not sure of the exact name of the link, but this will be the same as what you were looking at when using the odrive web client, so something like /Users/macbookpro15touchbar/odrive/OneDrive.

  3. Inside /Users/macbookpro15touchbar/odrive/OneDrive you should be able to navigate and download all of the data that currently exists in your OneDrive account.

If you are not seeing what you expect there, then it may be best to deauthorize and reauthorize the odrive client, so we can make sure we are starting with a fresh, correct view. To do this:

  1. Close any open files to make sure nothing is locking the local odrive folder.

  2. Go to the odrive tray menu and select ā€œAuthorized Userā€ ā†’ ā€œDeauthorizeā€. This will reset the odrive folder and rename the existing odrive folder to a ā€œbackupā€ name, as a backup (this backup can be deleted later, if you wish).

  3. Login to the odrive client.

  4. Wait a minute or so after login and you should now have a fresh odrive folder with placeholder folders inside for your linked storage.

  5. Navigate into the OneDrive folder inside your local odrive folder and you should be able to download anything you see in there.

Just let me know if you have any questions on the above. If you run into an issue, let me know what step you are on and what you are seeing.

Thanks!

Oh yes, excellent news indeed.
Basically everything is working again now just as it used to, as long as I go into /Users/macbookpro15touchbar/odrive/OneDrive

So basically I now have

  1. The dysfunctional files @ /Users/macbookpro15touchbar/Library/CloudStorage/OneDrive-Personal/Docs Sync
  2. The functional files @
    /Users/macbookpro15touchbar/odrive/OneDrive/Docs Sync

So I take it now I should copy the files in from 1 to 2? Iā€™ve seen before that if you have a file a.docx.cloud and you move in a.docx that is identical to the one stored on OneDrivee, then the .cloud onee just disappears (which is desirable behaviour!)

But I would then have duplicate files, and I take it removing them from the MS OneDrive (i.e. not odrive) folder might also cause them to be deleted?

Is there a graceful way to do this such that I am left with the files only in the correct odrive but not on OneDrive folder? Or maybe I should just make all the OneDrive files offline files and then proceed to re-download the odrive files from placeholders?

Really appreciate your help!

Hi @lance_abel,

I think this would be the safest way to proceed. I am wary of the current contents of the OneDrive folder since there were placeholders found in there, so I think a fresh download in the odrive folder makes sense.

1 Like

Thanks Tony. Really appreciate your help

1 Like