Opening camera upload settings resets all of its settings.

android-mobile

#1

90% of the time when I open the camera upload settings either from the side bar or the main settings menu, I get the error 'the library no longer exists'. This happens whether or not I am currently connected to the server or not (both lan and wan)

With that error camera upload turns off and library/album reset to default.


#2

I currently kinda have the same problem with an added “home” account.
The plex admin seems to work.

Process

  1. Connect to plex app with an account which as been added to a plex server and authorized to use “camera upload”
  2. Set camera upload in the Android app settings
  3. Validate and start to upload, the upload is functionnal
  4. Go back to home screen and return to camera upload
  5. A pop-up appear displaying the message “Camera upload error” : “Sorry, but the library section… doesn’t exist anymore. Please select a new one.” and it deactivate the camera upload.
  6. Check on the server, the library is still there containing the pictures.

Details

Manufacturer: Xiaomi
Device: kenzo
Model: Redmi Note 3
Product: kenzo
Version: 6.0.1

Logs

The log between reenabling camera upload, one upload and going back to get the reset.

-14 20:27:13.189  i: [CameraUploader] Uploading file IMG_20180414_202628.jpg with URL https://*:32400/library/metadata?locationID=2&sectionID=2&subdirectory=Android.DD&filename=2018-04-14%2020.26.28.jpg&type=13&createdAt=1523730388&X-Plex-Token=...zUCW from initial offset 0
04-14 20:27:13.206  i: [server] Knowledge complete: liu version: 1.12.2.4929-29f6d1796 owned: false home: true videoTranscode: true audioTranscode: true deletion: false class: null
04-14 20:27:13.206  i: [conn] Device liu response time is 85.98865 ms
04-14 20:27:13.206  i: [conn] Connection SUCCESS liu ~ localConn: false conn: https://*-68.0359a38878b24c918975e4098ba4fa01.plex.direct:10729
04-14 20:27:14.166  i: [conn] Updating reachability for liu with 5 connections.
04-14 20:27:14.167  i: [conn] Testing connection for liu: https://*-40.0359a38878b24c918975e4098ba4fa01.plex.direct:32400 (Active Pool: 0)
04-14 20:27:14.169  i: [conn] Testing connection for liu: https://*-68.0359a38878b24c918975e4098ba4fa01.plex.direct:10729 (Active Pool: 0)
04-14 20:27:14.169  i: [conn] liu: ignoring relay connection https://*-171.0359a38878b24c918975e4098ba4fa01.plex.direct:8443 because relay is not enabled for this server.
04-14 20:27:14.170  i: [conn] Ignoring insecure connection for liu (Never): http://*:32400
04-14 20:27:14.170  i: [conn] Ignoring insecure connection for liu (Never): http://*:10729
04-14 20:27:14.175  i: Fetching [method:GET] https://*:32400/?X-Plex-Token=...zUCW
04-14 20:27:14.262  i: [server] Knowledge complete: liu version: 1.12.2.4929-29f6d1796 owned: false home: true videoTranscode: true audioTranscode: true deletion: false class: null
04-14 20:27:14.263  i: [conn] Device liu response time is 86.403175 ms
04-14 20:27:14.265  i: [conn] Connection SUCCESS liu ~ localConn: true conn: https://10-99-0-40.0359a38878b24c918975e4098ba4fa01.plex.direct:32400
04-14 20:27:14.266  i: [conn] (liu) We found the first connection.
04-14 20:27:14.266  i: [conn] Connectivity test to liu completed in 0.1 SECONDS -> Connection: https://1*.0359a38878b24c918975e4098ba4fa01.plex.direct:32400 token used: true types: [discovered, myplex] state: Reachable
04-14 20:27:14.267  i: Fetching [method:GET] https://*-68.0359a38878b24c918975e4098ba4fa01.plex.direct:10729/?X-Plex-Token=...zUCW
04-14 20:27:14.267  i: [CameraUploader] Enqueuing next photo, queue size: 0
04-14 20:27:14.268  i: [CameraUploader] All content uploaded.
04-14 20:27:14.268  i: [CameraUploader] Checking if new content has been added when previous one was being uploaded.
04-14 20:27:14.283  i: [server] Knowledge complete: liu version: 1.12.2.4929-29f6d1796 owned: false home: true videoTranscode: true audioTranscode: true deletion: false class: null
04-14 20:27:14.285  i: [conn] Device liu response time is 18.489792 ms
04-14 20:27:14.285  i: [conn] Connection SUCCESS liu ~ localConn: false conn: https://**-*-**-68.0359a38878b24c918975e4098ba4fa01.plex.direct:10729
04-14 20:27:14.286  i: [FileSystemUtil] Skipping path (/storage/emulated/0/Android/data/com.plexapp.android/files) as appears to be emulated.
04-14 20:27:14.312  i: [FileSystemUtil] Skipping path (/storage/emulated/0/Android/data/com.plexapp.android/files) as appears to be emulated.
04-14 20:27:14.324  i: [CameraUploader] There isn't new content to be uploaded, finishing process.
04-14 20:27:14.324  i: [CameraUploader] Finishing camera upload
04-14 20:27:38.761  i: [FocusService] App focus lost.
04-14 20:27:38.862  i: [Cast] Application unfocused, stopping active scan.
04-14 20:27:38.865  i: [PubSub] Application unfocused, disconnecting...
04-14 20:27:38.908  e: [PubSub] Error detected.
04-14 20:27:38.908  e: An exception occurred: java.lang.NullPointerException: ssl == null
04-14 20:27:38.910  e: Stacktrace: java.lang.NullPointerException: ssl == null
	at com.android.org.conscrypt.NativeCrypto.SSL_read_BIO(Native Method)
	at com.android.org.conscrypt.OpenSSLEngineImpl.unwrap(OpenSSLEngineImpl.java:477)
	at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:1014)
	at org.jboss.netty.handler.a.c.a(SourceFile:912)
	at org.jboss.netty.handler.a.c.e(SourceFile:488)
	at org.jboss.netty.channel.as.b(SourceFile:112)
	at org.jboss.netty.channel.v.e(SourceFile:360)
	at org.jboss.netty.channel.socket.nio.o.b(SourceFile:595)
	at org.jboss.netty.channel.socket.nio.e.a(SourceFile:101)
	at org.jboss.netty.channel.aa.b(SourceFile:771)
	at org.jboss.netty.channel.v.a(SourceFile:736)
	at org.jboss.netty.handler.a.d.a(SourceFile:1150)
	at org.jboss.netty.channel.x.a(SourceFile:53)
	at org.jboss.netty.handler.a.c.h(SourceFile:1110)
	at org.jboss.netty.handler.a.c.a(SourceFile:433)
	at org.jboss.netty.channel.aa.b(SourceFile:776)
	at org.jboss.netty.handler.codec.a.b.a(SourceFile:60)
	at org.jboss.netty.channel.v.h(SourceFile:720)
	at org.jboss.netty.channel.a.i(SourceFile:200)
	at tylerjroach.com.eventsource_android.a.a.a.a(SourceFile:255)
	at tylerjroach.com.eventsource_android.a.c(SourceFile:171)
	at com.plexapp.plex.application.a.h.e(SourceFile:119)
	at com.plexapp.plex.application.a.h.b(SourceFile:22)
	at com.plexapp.plex.application.a.h$1.onReceive(SourceFile:49)
	at android.support.v4.content.i.a(SourceFile:308)
	at android.support.v4.content.i.a(SourceFile:46)
	at android.support.v4.content.i$1.handleMessage(SourceFile:118)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:157)
	at android.app.ActivityThread.main(ActivityThread.java:5555)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)

04-14 20:27:38.911  i: [PubSub] Disconnected (reconnect: false)
04-14 20:27:40.320  i: [PlexHome] Locking application because screen has been turned off.
04-14 20:28:38.664  i: [ServerSelectionHelper] Jumping to home screen because selected server has become reachable.
04-14 20:28:38.664  i: [ServerClaimingHelper] Server liu cannot be claimed: it doesn't have required conditions
04-14 20:28:38.674  i: Resuming HomeActivity.