I have been working with Macs for more than three decades (long before OS X), and with Scrivener since the V.1 days. I have a history of coding, and wrote an intro-to-programming book published by Osborne. Please bear these facts in mind when composing a reply. I am not a novice user of any of this software, by any means or stretch of the idea.
Here’s what’s happening. In brief, moving projects from Dropbox to an iCloud drive folder appears to result in deletion of all files within that project, leaving me with an empty binder.
I’ve been using Dropbox sync since before Scrivener came out on iOS, and I like using it with Scrivener, for the predictable reason. The experience has (for the most part) been trouble free.
When I’ve completed a project, I move it from the Dropbox folder to a finished-work folder that is not synced by DB, but is synced in iCloud. I have been doing this for years, and experienced no difficulties.
With the last two Scrivener projects I’ve created and completed, both of them begun in early October, what I have found is that after I’ve moved them out of Dropbox, the binders are emptied.
This does not happen immediately. I’m not certain when it happens. When I return to those projects in the completed-work folder, I find they’re KB in size, not MB, and when I open them, I’m presented with a fresh, empty binder.
There are no files within it anywhere — text, images, or anything else — and the inner structure I’ve given the projects (subfolders, etc.) is gone. Also gone are the settings for the general binder presentation; I’m quite literally presented with a brand-new, totally empty binder, without even an initial text file in it. Everything contained within the project has been deleted.
In both cases, I’ve had to restore from Scrivener’s backup. Doing so results in the restoration of the project, and subsequently, they remain intact. Nothing later vanishes from the binders under mysterious circumstances.
This is novel behavior that has never manifested in my entire experience using DB to sync Scrivener projects between Mac and iOS.
Surmise: There appears to be some sort of interaction going on between iCloud and Dropbox, and I’m beginning to wonder if it’s being caused by my DB sync folder being treated as an iCloud folder, despite the fact that it is located in /users/warren/Library/CloudStorage, which is not a folder that I have selected for (or should be part of) iCloud drive sync — and there is a conflict between iCloud and DB that’s causing them to disagree on what has been synced, moved, or deleted.
IOW, this feels like something that Apple and DB need to hash out between them.
System specs:
-
MacBook Air (2020, M1 Apple silicon), 16 GB RAM, 512 GB SSD, 235 GB available, macOS Sonoma 14.6.1
-
iCloud drive has 200 GB, 55 GB available
-
Dropbox storage has 9.75 GB, 8 GB available
-
iPad is 10th generation, iPadOS 18.0.1, 256 GB, 150 GB available
-
Most current Scrivener on both iOS and macOS
-
Dropbox desktop client version 209.4.3661
As an interim fix, I think what I’ll begin doing is a two-step move of my finished files.
- Move them from DB sync folder to a non-iCloud folder (i.e., not my “Documents” or “Desktop” folder).
- Let the finished projects sit in that folder for, say, 24 hours.
- Move the finished projects into the completed folder in my iCloud sync “Documents” folder.
The rationale is that if there is interaction between iCloud and DB, whatever flags have been set by whichever software for wholesale file deletion will (ideally) have been cleared after 24 hours’ time, and neither DB nor iCloud will be hell-bent on purging something it shouldn’t be touching at all.
This may be related to a report I posted a few days ago regarding binder.autosave and binder.backup file sync never finishing. Both sets of problems (that one, and this one) have begun appearing only since the first of October, and I’m now dubious as to my original suspicion, that the previously reported issue was somehow due to selecting fingerprint ID security on Scrivener for iPad.