Syncing Scrivener on iOS takes a long time

Ka
Katherina_74
Posts: 115
Joined: Sat Aug 27, 2016 11:42 am
Platform: Mac + iOS

Wed Dec 13, 2017 12:45 am Post

For the past couple of days, I have been having a hard time syncing Scrivener on my iphone. When I start syncing, it goes on for a long time. Right now, it has been trying for at least 5 minutes. I tried closing the app. I checked my home wi-fi speed: 116.6 Mbps download; 11.6 Mbps upload.

I have only one file, which is a bit bigger than 2MB. The file is saved in Dropbox.

Any tips on how to make syncing faster?

User avatar
lunk
Posts: 2838
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Wed Dec 13, 2017 6:17 am Post

Is that the only file you have in your sync folder on Dropbox?
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, all running the latest MacOS
* iOS Scrivener 1 on an iPhone 8, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS

Ka
Katherina_74
Posts: 115
Joined: Sat Aug 27, 2016 11:42 am
Platform: Mac + iOS

Wed Dec 13, 2017 10:55 am Post

Here is the path where my scrivener file is located:

Mac HD > users >owner > Dropbox (Personal)* > Apps > Scrivener > [my file]

*I have one account with Dropbox but it it split into two: Dropbox (Personal) and Dropbox (Work). I do not have any Scrivener files in Dropbox for work.

Last night, after I synced Scrivener on my iphone, I did not open Scrivener on my laptop. But this morning when I opened the file on my laptop, I received a number of messages:

1. Resolve Conflicts: "Project structure modifications for "[filename] arent' in sync, possibly because conflicts caused by storing the project on a cloud service. Please choose which version of the binder structure to use." This window also had an option to show where the Scrivener file is located, but I did not save it. I thought that it displays the same path as the one above, but the form displayed the information from "Apps" on.

2. After this initial message, I received at least three more messages and resolving conflicts.

Currently, I can open the file, but I really need some guidance where to store the file. If I move this file on my hard drive, which looks like something I need to do, how will the Scrivener iphone app get to it?

Ka
Katherina_74
Posts: 115
Joined: Sat Aug 27, 2016 11:42 am
Platform: Mac + iOS

Wed Dec 13, 2017 11:09 am Post

lunk wrote:Is that the only file you have in your sync folder on Dropbox?


To answer your question, in the folder Apps, I have several other folders besides a folder named Scrivener and Scrivener Scratchpad Notes. These folders are named after apps. In the folder Scrivener, I have several other files besides my big file. I do not use the other files, so technically I can delete them.

Online
User avatar
rdale
Posts: 1337
Joined: Tue Jul 14, 2015 1:07 pm
Platform: Mac, Win + iOS
Location: St. Louis, MO
Contact:

Wed Dec 13, 2017 2:06 pm Post

Katherina_74 wrote:
lunk wrote:Is that the only file you have in your sync folder on Dropbox?


To answer your question, in the folder Apps, I have several other folders besides a folder named Scrivener and Scrivener Scratchpad Notes. These folders are named after apps. In the folder Scrivener, I have several other files besides my big file. I do not use the other files, so technically I can delete them.

That might help. Scrivener syncs everything it encounters from its sync folder, including the contents of sub-folders within its sync folder. Even files that aren't Scrivener projects get synced, so that can slow things down and/or take up space in Scrivener's storage area on your device... I think. I recall reading that, but I've recalled incorrectly before, so you might just try moving everything but your scrivener projects out of the scrivener sync folder and see if that helps.
FKA: robertdguthrie
AKA: R Dale Guthrie, Robert, Mr. Obscure, and "Oh, it's you again".

User avatar
kewms
Posts: 4139
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Wed Dec 13, 2017 4:54 pm Post

I suspect that the conflicts are a contributor to the slow down.

Therefore, I would suggest moving the project out of the Dropbox folder on the desktop system, and making sure all conflicts are resolved.

Then, delete all versions of the project from all Dropbox- connected devices (leaving the non-Dropbox copy alone), and sync everything to make sure it's really gone.

Finally, move the project on the desktop system back to the Dropbox folder, and allow everything to synchronize. This will take some time, as Dropbox will need to copy the whole project, but should clean things out for better performance going forward.

Katherine
Scrivener Support Team

Ka
Katherina_74
Posts: 115
Joined: Sat Aug 27, 2016 11:42 am
Platform: Mac + iOS

Wed Dec 13, 2017 10:03 pm Post

Katherine,
I followed your suggestions. I moved the file, which is actually 130 MB, not 2.8 MB, to my desktop. Then I synced the Scrivener on my phone. I restarted my phone and my laptop, and then I moved the file back to the Scrivener folder and synced again. This took a bit of time.

However, the problem with the long syncing persists. I opened the Scrivener file on my computer and did not do any changes. I closed it and then I opened the same file on the phone. The first thing that I do is sync the files first, and I get the following message:

"Syncing with Dropbox..."
[spin wheel]
"Downloading file list..."

This is the stage that takes the longest, more than a minute, with both the file that is 2.8 MB and the 130 MB file, and I do not even make any changes whatsoever in any of these files. Is there anything else I need to do?

I noticed that there is a folder called Scrivener Scratch Pad Notes, which resides in the iCloud Drive. I do not know if that may be the cause of the problem or that given the size of the file, this is to be expected.

Ka
Katherina_74
Posts: 115
Joined: Sat Aug 27, 2016 11:42 am
Platform: Mac + iOS

Wed Dec 13, 2017 10:07 pm Post

I just checked my computer to see how many folders I have named Scrivener. There are three:

MacHD > Users > owner >Dropbox (Personal) > Apps > Scrivener > [I have two files there]
MacHD > Users> owner >Dropbox (Personal) > Apps > Scrivener Scratchpad Notes > [contains one file]
iCloud Drive > Documents > Scrivener Scratch Pad Notes > [contains one file]

The two scratch pad folders spell scratchpad in a different way. I am mentioning this in case this is what causes the problem.

User avatar
lunk
Posts: 2838
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Wed Dec 13, 2017 11:07 pm Post

Katherina_74 wrote:
lunk wrote:Is that the only file you have in your sync folder on Dropbox?


In the folder Scrivener, I have several other files besides my big file. I do not use the other files, so technically I can delete them.


As Rdale pointed out, and which was the reason I asked, iOS Scrivener downloads everything in the folder you designate when you link to Dropbox in iOS Scrivener (Edit, gear wheel, Dropbox settings). What you name your folders on your Mac doesn’t matter, as long as you decide which folder (ONE folder, only one) you want to sync with your iDevice. inside that folder you should only have the project(s) that you really want to work with on your iDevice right now. Nothing else.
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, all running the latest MacOS
* iOS Scrivener 1 on an iPhone 8, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS

User avatar
kewms
Posts: 4139
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Wed Dec 13, 2017 11:09 pm Post

On the Mac, please locate the project in Finder, right-click, and select the option to Show Package Contents.

In the top-level folder, you'll see a file called ProjectName.scrivx. Are there any other files in that folder? Especially any with names like "Conflicted Copy of..." ?

Reviewing the file list is how Scrivener compares the files on the iOS device to the files on the Dropbox server to see if any have changed. It's always necessary, and the amount of time it takes will depend on the overall size of the project, not the number of changes. (iOS Scrivener doesn't know what might have changed on the server, it has to walk through the list to find out.)

Katherine
Scrivener Support Team

Ka
Katherina_74
Posts: 115
Joined: Sat Aug 27, 2016 11:42 am
Platform: Mac + iOS

Thu Dec 14, 2017 12:30 am Post

I was able to find a file, not a folder with an extension .scrivx. I have not opened it. Should I?

When I open my file (FineName.scriv), I have three folders with an exclamation mark:
1. "Conflicts" - contains a folder with a date. The folder itself has two documents.
2. "Recovered Files (Nov 24, 2017) -contains 93 items.
3. "Recovered Files (Dec 13, 2017) - contains 1 item.

I am attaching a picture from one of the windows I saw yesterday, which I hope may be helpful.

Attachments
Screen Shot 2017-12-13 at 7.26.09 PM.png
Screen Shot 2017-12-13 at 7.26.09 PM.png (285.01 KiB) Viewed 6403 times

Ka
Katherina_74
Posts: 115
Joined: Sat Aug 27, 2016 11:42 am
Platform: Mac + iOS

Thu Dec 14, 2017 12:41 am Post

lunk and rdale,

I just checked how my iOS Scrivener is linked. From the Gear icon, I have selected Apps/ Scrivener. I only store documents in that folder (Apps > Scrivener) on my laptop. If there are other folders on my computer, they are not intentional. I am trying to figure out if I have done something by mistake.

Currently, I have only two files in the Scrivener folder I use. One is my main file, and since it takes longer to open, I have created a smaller one (the second file) for quick entries. The Scratch Pad folders are a mystery to me. I use the Drafts app, and sometimes I wish to move text from there to Scrivener. I have not quite figured out how to do this, but I think that Drafts places the document in the Scratch Pad folders. I have used this feature only a couple of times because I want to be careful with the main file.

User avatar
kewms
Posts: 4139
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Thu Dec 14, 2017 5:51 am Post

You definitely want to resolve those conflicts in the main Scrivener project. It's very likely that they are contributing to your difficulties. Are you able to do so with Scrivener's own conflict resolution tool?

Also. 5300 files in the Binder? Yes, it would be completely normal for checking a project with that many items to require noticeable time. You might want to consider splitting it up.

The Scratch Pad folders are irrelevant to this discussion, precisely because they are outside the main Scrivener projects.

Katherine
Scrivener Support Team

Ka
Katherina_74
Posts: 115
Joined: Sat Aug 27, 2016 11:42 am
Platform: Mac + iOS

Thu Dec 14, 2017 12:23 pm Post

How can I resolve a conflict in Scrivener? I only have two files in the Conflicts folder.

What should I do with the Recovered folders files? I work with links a lot and I do not want to delete these files because I am afraid it will mess up the links.

p.s. I have to admit I am a bit disappointed that 5000+ files is too many for Scrivener. I am hoping that in another upgrade this won't be a problem, especially now that different projects can be viewed with tabs.

User avatar
lunk
Posts: 2838
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Thu Dec 14, 2017 3:04 pm Post

Katherina_74 wrote:p.s. I have to admit I am a bit disappointed that 5000+ files is too many for Scrivener. I am hoping that in another upgrade this won't be a problem, especially now that different projects can be viewed with tabs.


The number of files isn't a problem for the Mac version but may cause trouble when you sync it with you iDevice. Mac Scrivener only open the binder documents you currently edit, but in iOS the app has to download the whole project to be able to work with it, and that has nothing to do with Scrivener but is an effect of how iOS is constructed.
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, all running the latest MacOS
* iOS Scrivener 1 on an iPhone 8, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS