I signed out and back in on the Android device, and restarted the server.
I enabled verbose logging in Settings, Web, Debug, but it doesn’t seem to log much:
http://pastebin.com/Z92R3sR9
Plex Media Server.log is here:
http://pastebin.com/EFtXjCR9
Looking at the error message about permissions on CloudAccess.dat, I can see that CloudAccess.dat.tmp.* files are accumulating alarmingly - there are a total of 7488 there at the moment. I purged those, and reset the SELinux security context on CloudAccess.dat appropriately to svirt_sandbox_file_t (Plex is running inside a Docker container).
Retrying sync manually from the Android side, I get this one line in the PMS log:
Aug 11, 2016 16:16:03.945 [0xe01ef400] INFO - Sync: downloaded 3 sync list(s) with 2 sync items(s): 0 new, 0 updated, 0 deleted
Still nothing gets synced to the Android device.
Edit:
A little later, this appears in the logs:
Aug 11, 2016 16:18:55.969 [0xe3977400] WARN - NAT: PMP, timed out waiting for response.
Aug 11, 2016 16:18:56.441 [0xf260b400] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier
Aug 11, 2016 16:18:56.637 [0xf2fcf400] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier
Aug 11, 2016 16:18:56.669 [0xf260b400] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier
Aug 11, 2016 16:19:18.058 [0xed077400] WARN - NAT: PMP, timed out waiting for response.
Aug 11, 2016 16:20:06.291 [0xf04ff400] WARN - LPE: falling back to slow path evaluation: /3
Aug 11, 2016 16:20:06.292 [0xf04ff400] ERROR - downloadContainer: expected MediaContainer element, found html
Aug 11, 2016 16:20:06.292 [0xf04ff400] ERROR - LPE: failed to get container for path: /3
Aug 11, 2016 16:20:06.293 [0xf04ff400] ERROR - Sync: failed to generate query for path library://849439ab-9fc6-4eae-88b5-d66521e5d949/directory/3 in sync item 13500264
Aug 11, 2016 16:20:06.293 [0xf04ff400] ERROR - Sync: skipping items for sync list 12658767, sync item 13500264: unable to generate sync set query
Aug 11, 2016 16:22:23.635 [0xf2fcf400] ERROR - handle_stream_read error 335544539 short read
Aug 11, 2016 16:22:54.621 [0xe76ff400] INFO - Sync: downloaded 3 sync list(s) with 2 sync items(s): 0 new, 0 updated, 0 deleted
Aug 11, 2016 16:22:55.464 [0xe3977400] INFO - Sync: downloaded 3 sync list(s) with 2 sync items(s): 0 new, 0 updated, 0 deleted