Sync stuck on "Waiting to download"

Sorry, trying to understand - is there a fix for this (or a workaround to be applied)? Asking I’m stuck in the sync loop (“Not syncing”, “Storage limit reached”), yet the sync settings show 5.6 GB in use, 26.4 GB available (more than needed to sync).

Thanks!

I believe I am seeing a similar issue, but without the “Sync Complete” status. I posted a separate thread here with logs:

In the latest android version I cancelled the stuck sync and restarted it. It got stuck a couple times, but after some pausing, exiting the app, and resuming, the sync did eventually complete successfully. Thanks!

Thought I’d try this and holy sh*t it works! I finally got my library to sync when it never would before. I did use 320kbps for the quality option, but I’ll try again w/ original later. Can’t thank you enough!

EDIT: Unfortunately, the issue with mobile data is still there. It tries to communicate with the server despite being in offline mode, and won’t load results until I toggle off mobile data (in an area with little to no connection).

I get some network noise in offline mode as well, mostly (I figured) because the android plex client is trying to report ‘now playing’ and other status info to the PMS. I can confirm ‘now playing’ is reported even for offline mode android plex clients, but not sure what other traffic is flowing. Luckily it’s never stopped me from playing synced music in offline mode, so I’ll take the increased sync stability as a huge win and big thanks to the team.

Perhaps your issue is that, with android OS mobile data on, the android plex client views not being able to see the PMS (weak signal) as an aberration and doesn’t fail over to true offline playback/library browse; while, with android OS mobile data off, the android plex client doesn’t expect PMS connection at all and plays/lists synced music without question. Does toggling off mobile data just long enough to start playback work at all?

It doesn’t seem like mobile data causes any problems with playing the music once I can access it, it’s more related to showing items on the device. Your hypothesis about my issue does seem very plausible, but a solution to that would be querying the internal PMS (synced content) for items first, and then communicate with the server as an afterthought; local items show up first (if no items are synced, skip this step), but items that aren’t synced to the device will show up if the server can be reached.

EDIT: Forgot to mention, but yes, turning off mobile data immediately causes Plex to display content and search results from the local device like it should. I was playing synced content on my morning drive w/ LTE enabled (strong enough signal to reach plex fairly fast), and again when I drove home w/ LTE disabled and I don’t recall any issues playing music at either point. I’ll be sure to pay close attention to the behavior of the app and provide any additional info if I can.

Agreed except, if offline mode, no need to fetch items from the server regardless of availability of connection. Would be nice if traffic was minimal/zero in offline mode since the user is likely dodging bandwidth limits.

The additional layer of complexity is, I don’t know where the info is stored that indicates what all servers are shared with the current account. It’s likely not as simple as a round trip to one server. Maybe any previously connected servers are stored in a list on the mobile client, or maybe it needs to hit the Plex infrastructure each time it loads a list. Too many possibilities to guess the problem, but at least playback is possible, if not optimal.

Agree’d on your first point.

On your second point, I’m not sure why it would be relevant to synced content. Is there an issue with syncing from multiple servers?

I was also able to sync several items with the latest Plex version (7.11.2.9149) that had previously caused issues, so this seems to be solved from my end as well. Thanks for nailing this down and getting it fixed, Plex team!

There have been fixes.
If you have an issue please collect the logs zip after the failure as well as server logs zip and attach together with screenshots of the error and available storage

See
https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/
and ensure debug logging enabled before attempting to sync

When issue arises, get server logs, see
https://support.plex.tv/articles/200250417-plex-media-server-log-files/

and collect android app logs through emailing to yourself and then attaching - see
https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/
and the screenshots

Will do - thanks!

I have a repeatable problem with sync. It hangs after doing a few hundred songs out of 3000. It hangs in a different place every time. Here is what I have tried…

  • Reverted back to Android 7.4.0.6424 and it works fine.
  • Removed the device from PMS, uninstalled the Android app, cleared data and cache. The problem reoccurs.
  • Updated to the latest PMS (1.15.1.710) and Android App (7.11.2.9149) and captured logs. I have PMed them to sa2000 with screenshots.

Let me know if you need anything else.

Thank you. There is an sqlite3 db error that arose within the Plex for Android app after downloading 491 files from the 2949 items. This has been seen before and extra diagnostics were to be added. I have passed the logs and details to the Plex for Android development team

Thanks! If the development team wants to modify or add more diagnostics, they can just send me a new apk, and I can install it and re-run the logs.

I was able to successfully get the sync working - after it would download a few tracks then go to waiting - by limiting the upload speed of plex to 12 mbit/s (1.5 MB/s) with netlimiter. I was specifically syncing FLAC Audio. It went from syncing a few tracks and stopping (pre limiting) to downloading all 66 remaining without issue. Not a permanent fix and not the fastest but its something.

While it was syncing my network traffics upload on the server side kept going to 100 mbits to 0 to 100 to 0 then 12ish … then 0 and the sync would freeze. Every time i forced the app to stop and restart it would happen over again so i capped the upload just under 12 and it stopped messing up. Idk if it’ll help anybody else but it worked for me.

1 Like

The main paid feature and it doesn’t work. For years.

1 Like

It would not be still the same code from years ago. The Plex for Android sync was re-written in the last 12 months

Please point me to posts where you have provided screenshots / logs of your sync issue and i will have a look

Same Problem here. I’am syncing any Playlist. Some are ok and other not as you see on the attached scr. It’s not finishing since 3 days.

You might have rewritten it 100 times, but it has never worked and it is still the main paid feature.

I will post screenshots and provide log files again later when I am home, but I don’t really think it will help. If Plex didn’t manage to make this work in 7 years they will never manage.

P.S., The only “solution” when Plex stops syncing is to remove all syncs and start again. Which is a pain in the butt because it takes forever and it will happen again sooner of later, so you just wasted your time again for the Nth-time.

2 Likes

For Android logs
https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/
Section Share Debugging Data and email zip to yourself and then attach please with screenshots and server logs

For Server logs
Ensure debug logging enabled before starting sync
https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/
and capture all logs when sync is stuck
https://support.plex.tv/articles/200250417-plex-media-server-log-files/