Plex Photo upload broken

From looking at the debug logs from my phone, it looks as if a half-finished upload of a video means that Plex is hitting an error and giving up on uploading. Is there a way I can delete whatever upload cache Plex uses for uploading photos from the phone app to a server? I’m using an iPhone and my server is running on Ubuntu, if that’s any help.

Here’s the debug log from my phone:

2019/01/14 11:56:28.887 (94 MB) (1841337) 🔧 PMKNetworkTask.m:232 | bairrd-nuc (3c379413e3ef9ec3988eb4a562d5cb1ffd20b05b): GET /library/sections/1/all?includeCollections=1
        X-Plex-Supported-Commands           :  abort,changeQuality
        User-Agent                          :  PlexMobile/5.9.1 (iPhone; iOS 12.1.2; Scale/3.00)
        X-Plex-Device-Screen-Density        :  3
        X-Plex-Device                       :  iPhone
        X-Plex-Platform                     :  iOS
        X-Plex-Sync-Version                 :  2
        X-Plex-Token                        :  tq9qbxxxxxxxxxxxxxxx
        X-Plex-Username                     :  bairrd
        X-Plex-Provides                     :  client,controller,sync-target,player,pubsub-player,server
        X-Plex-Version                      :  5.9.1
        X-Plex-Client-Platform              :  iOS
        X-Plex-Model                        :  11,6
        X-Plex-Product                      :  Plex for iOS
        X-Plex-Client-Identifier            :  E9B2E023-49DE-4DED-9D0A-D89868C725AD
        Accept-Language                     :  en-US;q=1
        X-Plex-Device-Screen-Resolution     :  1242x2688
        X-Plex-Device-Vendor                :  Apple
        X-Plex-Platform-Version             :  12.1.2
        Accept                              :  text/xml,application/xml
        X-Plex-Http-Pipeline                :  infinite
        X-Plex-Device-Name                  :  Thomas’s iPhone [param]
        includeCollections                  :  1 [param]
2019/01/14 11:56:28.967 (94 MB) (1780042) 🔧 PMKCameraUploadEngine.m:2601 | Updating album title.
2019/01/14 11:56:28.967 (94 MB) (1780042) 🔧 PMKCameraUploadEngine.m:2614 | Updated album title to Thomas’s iPhone.
2019/01/14 11:56:28.968 (94 MB) (1780042) ➖ PMKCameraUploadEngine.m:2185 | Ending background task.
2019/01/14 11:56:28.968 (94 MB) (1841236) ➖ PMKCameraUploadEngine.m:1315 | Beginning background task.
2019/01/14 11:56:28.969 (94 MB) (1841236) ➖ PMKCameraUploadEngine.m:1402 | Legacy CU server side tracking: NO
2019/01/14 11:56:28.990 (94 MB) (1841236) ➖ PMKCameraUploadEngine.m:1450 | Fetching asset 138 out of 151
2019/01/14 11:56:29.041 (95 MB) (1840481) ➖ PMKCameraUploadEngine.m:1813 | Created data transfer task to check for 2019-01-12 15.26.40.mov
2019/01/14 11:56:29.041 (95 MB) (1840481) ➖ PMKCameraUploadEngine.m:2185 | Ending background task.
2019/01/14 11:56:29.041 (95 MB) (1841207) ➖ PMKCameraUploadEngine.m:360 | Saving storage info for server bairrd-nuc
2019/01/14 11:56:29.044 (95 MB) (1840481) ➖ PMKCameraUploadEngine.m:381 | Saved storage info for server bairrd-nuc
2019/01/14 11:56:29.245 (95 MB) (1840482) ➖ PMKCameraUploadEngine.m:1315 | Beginning background task.
2019/01/14 11:56:29.245 (95 MB) (1840482) ➖ PMKCameraUploadEngine.m:2716 | Asset not found. Checking for partial upload.
2019/01/14 11:56:29.421 (95 MB) (1840482) ➖ PMKAssetController.m:304 | Video export completed successfully.
2019/01/14 11:56:29.431 (95 MB) (1841337) ➖ PMKCameraUploadEngine.m:1818 | Created data transfer task to check partial upload for 2019-01-12 15.26.40.mov
2019/01/14 11:56:29.431 (95 MB) (1841337) ➖ PMKCameraUploadEngine.m:2185 | Ending background task.
2019/01/14 11:56:29.621 (95 MB) (1840919) ➖ PMKCameraUploadEngine.m:1315 | Beginning background task.
2019/01/14 11:56:29.621 (95 MB) (1840919) ➖ PMKCameraUploadEngine.m:2745 | Found partial upload for asset. Beginning from offset 3093540
2019/01/14 11:56:29.629 (95 MB) (1841337) ➖ PMKFileCopier.m:226 | EOF
2019/01/14 11:56:29.636 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:1823 | Created data transfer task to upload 2019-01-12 15.26.40.mov
2019/01/14 11:56:29.636 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:2185 | Ending background task.
2019/01/14 11:56:29.761 (95 MB) (1841236) ➖ PMKCameraUploadEngine.m:1315 | Beginning background task.
2019/01/14 11:56:29.762 (95 MB) (1841236) ➖ PMKCameraUploadEngine.m:2772 | Something went wrong. Starting process over.
2019/01/14 11:56:29.762 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:1921 | Ending upload.
2019/01/14 11:56:29.762 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:1947 | In the middle of the upload process, attempting to finish up.
2019/01/14 11:56:29.762 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:1951 | No more tasks, all done.
2019/01/14 11:56:29.762 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:1982 | Upload ended.
2019/01/14 11:56:29.763 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:360 | Saving storage info for server bairrd-nuc
2019/01/14 11:56:29.763 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:2185 | Ending background task.
2019/01/14 11:56:29.769 (95 MB) (1840942) ➖ PMKCameraUploadEngine.m:381 | Saved storage info for server bairrd-nuc

From my server

Jan 14, 2019 12:09:39.181 [0x7f6151fff700] Debug — Auth: authenticated user 1 as bairrd
Jan 14, 2019 12:09:39.182 [0x7f6128bfd700] Debug — Request: [207.251.105.194:53136 (WAN)] GET /library/sections/1/firstCharacter?includeCollections=1 (11 live) TLS GZIP Signed-in Token (bairrd)
Jan 14, 2019 12:09:39.295 [0x7f61517fe700] Debug — Completed: [207.251.105.194:53136] 200 GET /library/sections/1/firstCharacter?includeCollections=1 (11 live) TLS GZIP 113ms 777 bytes (pipelined: 10)
Jan 14, 2019 12:09:39.406 [0x7f6151fff700] Debug — Auth: authenticated user 1 as bairrd
Jan 14, 2019 12:09:39.406 [0x7f6137fff700] Debug — Request: [207.251.105.194:53136 (WAN)] GET /library/sections/1/all?includeCollections=1 (11 live) TLS GZIP Signed-in Token (bairrd)
Jan 14, 2019 12:09:39.415 [0x7f6151fff700] Debug — Completed: [207.251.105.194:53136] 200 GET /library/sections/1/all?includeCollections=1 (10 live) TLS GZIP 9ms 844 bytes (pipelined: 11)
Jan 14, 2019 12:09:39.421 [0x7f61423ff700] Debug — Activity: updated activity 89421a9b-6cc6-4e80-873d-b40da9759723 - completed 68% - Generating video preview thumbnails
Jan 14, 2019 12:09:39.637 [0x7f61517fe700] Debug — Auth: authenticated user 1 as bairrd
Jan 14, 2019 12:09:39.637 [0x7f61517fe700] Debug — Request: [207.251.105.194:53155 (WAN)] POST /library/metadata?createdAt=1547324800&filename=2019-01-12%2015.26.40.mov&locationID=1&sectionID=1&subdirectory=Thomas%E2%80%99s%20iPhone&type=12 (11 live) TLS GZIP Signed-in Token (bairrd)
Jan 14, 2019 12:09:39.638 [0x7f61517fe700] Debug — Completed: [207.251.105.194:53155] 404 POST /library/metadata?createdAt=1547324800&filename=2019-01-12%2015.26.40.mov&locationID=1&sectionID=1&subdirectory=Thomas%E2%80%99s%20iPhone&type=12 (11 live) TLS GZIP 0ms 331 bytes
Jan 14, 2019 12:09:39.918 [0x7f6151fff700] Debug — Auth: authenticated user 1 as bairrd
Jan 14, 2019 12:09:39.918 [0x7f6122bf1700] Debug — Request: [207.251.105.194:53156 (WAN)] POST /library/metadata?createdAt=1547324800&filename=2019-01-12%2015.26.40.mov&locationID=1&sectionID=1&subdirectory=Thomas%E2%80%99s%20iPhone&type=12 (11 live) TLS GZIP Signed-in Token (bairrd)
Jan 14, 2019 12:09:39.922 [0x7f614cfff700] Debug — Activity: updated activity 89421a9b-6cc6-4e80-873d-b40da9759723 - completed 69% - Generating video preview thumbnails
Jan 14, 2019 12:09:39.955 [0x7f6151fff700] Debug — Completed: [207.251.105.194:53156] 308 POST /library/metadata?createdAt=1547324800&filename=2019-01-12%2015.26.40.mov&locationID=1&sectionID=1&subdirectory=Thomas%E2%80%99s%20iPhone&type=12 (11 live) TLS GZIP 36ms 228 bytes (pipelined: 1)
Jan 14, 2019 12:09:40.010 [0x7f6151fff700] Debug — Auth: authenticated user 1 as bairrd
Jan 14, 2019 12:09:40.010 [0x7f6151fff700] Debug — Request: [207.251.105.194:53156 (WAN)] POST /library/metadata?createdAt=1547324800&filename=2019-01-12%2015.26.40.mov&locationID=1&sectionID=1&subdirectory=Thomas%E2%80%99s%20iPhone&type=12 (11 live) TLS GZIP Signed-in Token (bairrd)
Jan 14, 2019 12:09:40.011 [0x7f6151fff700] Debug — Completed: [207.251.105.194:53156] 400 POST /library/metadata?createdAt=1547324800&filename=2019-01-12%2015.26.40.mov&locationID=1&sectionID=1&subdirectory=Thomas%E2%80%99s%20iPhone&type=12 (11 live) TLS GZIP 0ms 336 bytes (pipelined: 2)

Deleting the iOS app and reinstalling it just fixed this for me. Please add a feature to flush whatever local cache the app uses for uploading images, so that I don’t have to redownload offline videos whenever the image uploader breaks.

This issue keeps happening. Having to repeatedly uninstall and reinstall the plex iOS app anytime I want to back up my photos is a terrible way to get image uploading working.

Same issue here. Server running on Ubuntu And iphone

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.