Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Camera upload not uploading in the background

2»

Answers

  • sa2000sa2000 Posts: 28,607Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    edited September 13

    Thanks. That would be understandable if the app is terminated

    Is there any evidence of no background camera uploads when the app is running in the background (not on display in foreground) but is running and terminated and with camera upload setting of
    upload automatically

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • mm98mm98 Posts: 392Members, Plex Pass Plex Pass
    edited September 13

    @sa2000 said:
    Thanks. That would be understandable if the app is terminated

    Is there any evidence of no background camera uploads when the app is running in the background (not on display in foreground) but is running and terminated and with camera upload setting of
    upload automatically

    If I do another test (image taken at 18:06:56), with the app running in the background - the iOS logs shows the following:

    2017/09/13 18:06:50.667 (47 MB) (9324) I PMKCameraUploadEngine.m:1426 | Fetching asset 35 out of 154
    2017/09/13 18:06:50.685 (47 MB) (9305) I PMKCameraUploadEngine.m:2149 | Ending background task.
    2017/09/13 18:09:53.429 (15 MB) (9305) I PMKCameraUploadEngine.m:1291 | Beginning background task.
    2017/09/13 18:09:53.435 (15 MB) (9305) I PMKCameraUploadEngine.m:2178 | Starting background timer with time: 1.797693134862316e+308
    2017/09/13 18:09:53.486 (15 MB) (9306) V PMKCastDeviceScanner.m:235 | CHROMECAST: -[GCKClearcutLogger closeLogWriters] - closeLogWriters
    2017/09/13 18:09:53.534 (29 MB) (9305) I PMKCameraUploadEngine.m:1426 | Fetching asset 36 out of 154
    2017/09/13 18:09:53.600 (29 MB) (5189) I PMKAppDelegate.m:207 | Application will enter foreground
    

    Notice "Ending background task." at 18:06:50.685 when the app is send to the background .. and no lines until it is in the foreground again (3 mins "missing" from the logs). Almost looks like it is "unloading" something, since memory usage is lower when starting foreground state (dunno).

    Only Errors (E) in the logs are (after app entered foreground state - kinda odd - PMS and WIFI is always-on and working):

    2017/09/13 18:09:53.810 (31 MB) (5189) E PMKServer+Sync.m:19 | Unable to refresh sync lists on <PMKServer: 0x1742e3400>[ standard server QNAP (hasPresence) - cce2b6f24266078c7991ebbb9819469a03b30efc ][ 1.9.0.4252-d07c1f408 ]: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x174c4c510 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://10-0-0-2.8c4dccdd141c4d57b9687406b49bf19b.plex.direct:32400/sync/refreshSynclists?X-Plex-Device-Name=iPhone%206, NSErrorFailingURLKey=https://10-0-0-2.8c4dccdd141c4d57b9687406b49bf19b.plex.direct:32400/sync/refreshSynclists?X-Plex-Device-Name=iPhone%206, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}
    

    Image is prepared for PMS here:

    2017/09/13 18:10:00.110 (37 MB) (9336) I PMKCameraUploadEngine.m:1779 | Created data transfer task to check for 2017-09-13 18.06.56.JPG
    

    Plex Media Server: QNAP TS-453 Pro (CPU Mark: 1864, Intel Celeron @ 1.99GHz Quad-Core, 8GB RAM, SSD, 2 x WD)
    Plex Media Clients: PlexWeb (app.plex.tv), Plex for LG, ChromeCast Ultra, iPhone 6, iPad Pro, Apple TV 4 and Sonos
    DVR Hardware: HDHomeRun EXPAND (HDHR3-4DC)
    Smart TV: LG UHD UH7500 (US) / UH750V (EU) (WebOS 3.0)

2»
Sign In or Register to comment.