Jump to content

System.UnauthorizedAccessException during camera sync


sansoo22

Recommended Posts

sansoo22

In my logs I am seeing a System.UnauthorizedAccessException for android 4.4.2 as well as 6.0.1 for the path /emby/Devices/CameraUploads.

 

Exact error for 6.0.1 device:

System.UnauthorizedAccessException: Access to the path "/media/Camera/Josh - GS7/Camera" is denied.

 

I have no idea how it decided to build this path.  I have Camera Upload turned on and pointing to the director /media/Camera.  I also have the box checked for "Create a sub directory for each device".  I have no idea where the last "/Camera" part of the above path is coming from.  I followed this link http://github.com/MediaBrowser/Wiki/wiki/Devices to setup a unique path for the device "Josh - GS7" which was /media/Camera/Josh - GS7.   I have noticed in the latest version 3.1.1.0 that there is no longer an option under each device so specify a unique camera upload path so I have no way to change it.

 

Server log:

https://drive.google.com/open?id=0B8f7mE7Uxua3V0oyTEdBRzlGVTA

Link to comment
Share on other sites

the last part is the name of the album for the image being uploaded. The server needs access to create that directory, which it does not have access to do. That's something you'll need to sort out. You'll need to make sure the Emby system user has write access to that location.

Link to comment
Share on other sites

sansoo22

Thanks for the quick reply Luke.  Stupid docker threw me off.  I created the directory in an ssh session with root privileges but forgot to enable write access in the docker within unRAID.  Stupid mistake on my part...thanks for schooling me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...