Jägs 72 Posted November 26, 2019 Share Posted November 26, 2019 Greetings: As I'm running out of space on Google Photos, I decided to try out the Camera Upload feature in Emby. I enabled it on the server side, and set it up in the iOS app on my iPhone, but nothing is syncing. Thinking it was a permission issue on the server side, I set up a path and gave Emby R/W access to it--I tested this by starting a shell with the Emby user and creating files and subfolders from the command line. In looking at the server log, it seems that when the process starts, I get the following error: 2019-11-26 14:42:38.518 Info HttpServer: HTTP GET http://127.0.0.1:8096/emby/emby/Devices/CameraUploads?DeviceId=87BE01D4-D128-4F70-8A9F-5510EC1267A2. UserAgent: Emby/1 CFNetwork/1120 Darwin/19.0.0 2019-11-26 14:42:38.519 Error HttpServer: Access token is invalid or expired. 2019-11-26 14:42:38.519 Info HttpServer: HTTP Response 401 to 107.77.210.67. Time: 1ms. http://127.0.0.1:8096/emby/emby/Devices/CameraUploads?DeviceId=87BE01D4-D128-4F70-8A9F-5510EC1267A2 Not sure if that is the issue or if it is unrelated. A review of the error on the forums indicates its a routine error with cached credentials. Here's how I have it set up on the server side: Again, I've verified that Emby has R/W to the specified path. On the app side, here's how it is configured: And I double checked that Emby has permissions to access my photo library: Any idea why photos are not uploading? eric@mcp:/media/docs/pictures/upload$ ls -la total 16 drwxrwxr-x 2 emby eric 4096 Nov 25 22:00 . drwxr-xr-x 110 eric eric 12288 Nov 25 18:26 .. eric@mcp:/media/docs/pictures/upload$ NOTE: I have a lifetime Premiere subscription. embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37062 Posted November 26, 2019 Share Posted November 26, 2019 Did you log out of the app? Link to comment Share on other sites More sharing options...
Jägs 72 Posted November 26, 2019 Author Share Posted November 26, 2019 No, but I did restart the app after making the changes. I'll try logging out and see what happens. Link to comment Share on other sites More sharing options...
Jägs 72 Posted November 27, 2019 Author Share Posted November 27, 2019 I've logged out of the app, restarted it, logged it back in and still no joy. I also restarted the Emby service, repeated the above, and still no joy. The log is still showing the same error: 2019-11-26 18:07:09.458 Info HttpServer: HTTP GET http://10.0.1.2:8096/emby/Devices/CameraUploads?DeviceId=87BE01D4-D128-4F70-8A9F-5510EC1267A2. UserAgent: Emby/1 CFNetwork/1120 Darwin/19.0.0 2019-11-26 18:07:09.462 Error HttpServer: Access token is invalid or expired. 2019-11-26 18:07:09.462 Info HttpServer: HTTP Response 401 to 10.0.1.22. Time: 5ms. http://10.0.1.2:8096/emby/Devices/CameraUploads?DeviceId=87BE01D4-D128-4F70-8A9F-5510EC1267A2 On the server side, I did have the original path pointing to a symlink, so before restarting, I changed the path to the direct path. Still no joy. Other suggestions? Link to comment Share on other sites More sharing options...
Jägs 72 Posted November 28, 2019 Author Share Posted November 28, 2019 NOTE: I just updated to 4.3.0.30 and am still experiencing the same issue. 2019-11-27 18:49:29.157 Info HttpServer: HTTP GET http://10.0.1.2:8096/emby/Devices/CameraUploads?DeviceId=87BE01D4-D128-4F70-8A9F-5510EC1267A2. UserAgent: Emby/1 CFNetwork/1120 Darwin/19.0.0 2019-11-27 18:49:29.163 Error HttpServer: Access token is invalid or expired. 2019-11-27 18:49:29.164 Info HttpServer: HTTP Response 401 to 10.0.1.22. Time: 6ms. http://10.0.1.2:8096/emby/Devices/CameraUploads?DeviceId=87BE01D4-D128-4F70-8A9F-5510EC1267A2 I did log out of the app and log back in. Link to comment Share on other sites More sharing options...
Jägs 72 Posted December 1, 2019 Author Share Posted December 1, 2019 @Luke, any other suggestions? Link to comment Share on other sites More sharing options...
Luke 37062 Posted December 5, 2019 Share Posted December 5, 2019 We're looking into this. Thanks for reporting. Link to comment Share on other sites More sharing options...
Luke 37062 Posted December 5, 2019 Share Posted December 5, 2019 Curious, did you log into the app using Emby Connect, or your local server login? Link to comment Share on other sites More sharing options...
Jägs 72 Posted December 10, 2019 Author Share Posted December 10, 2019 Thanks for getting back to me. I generally only log in via the local server login. I don't think I've ever used Emby Connect; certainly not recently. Link to comment Share on other sites More sharing options...
Luke 37062 Posted December 23, 2019 Share Posted December 23, 2019 Have you tried with the latest update to the app? Link to comment Share on other sites More sharing options...
Jägs 72 Posted January 11, 2020 Author Share Posted January 11, 2020 No joy. I'm running v1.8.9 on the app and my server is v4.1.3.0 and I'm still getting the same access token error: 2020-01-11 16:05:30.157 Info HttpServer: HTTP GET http://10.0.1.2:8096/emby/Devices/CameraUploads?DeviceId=87BE01D4-D128-4F70-8A9F-5510EC1267A2. UserAgent: Emby/7 CFNetwork/1121.2.2 Darwin/19.2.0 2020-01-11 16:05:30.159 Error HttpServer: Access token is invalid or expired. 2020-01-11 16:05:30.159 Info HttpServer: HTTP Response 401 to 10.0.1.96. Time: 2ms. http://10.0.1.2:8096/emby/Devices/CameraUploads?DeviceId=87BE01D4-D128-4F70-8A9F-5510EC1267A2 I use the DVR feature as well, so I double checked to make sure I have the same permissions set for the camera uploads folder as I do for DVR: eric@mcp:/media/.raid/md43$ ls -ld /media/docs/pictures/upload drwxrwxr-x 2 emby eric 4096 Dec 18 13:04 /media/docs/pictures/upload eric@mcp:/media/.raid/md43$ ls -ld /media/.raid/md41/dvr drwxrwxr-x 13 emby eric 4096 Dec 25 11:38 /media/.raid/md41/dvr Furthermore, when I sudo the "emby" user, I am able to create files and folders without error: eric@mcp:~$ sudo -u emby bash [sudo] password for eric: emby@mcp:~$ cd /media/docs/pictures/upload emby@mcp:/media/docs/pictures/upload$ touch test.txt emby@mcp:/media/docs/pictures/upload$ mkdir dummy emby@mcp:/media/docs/pictures/upload$ ls -la total 20 drwxrwxr-x 3 emby eric 4096 Jan 11 16:11 . drwxr-xr-x 111 eric eric 12288 Dec 8 10:44 .. drwxr-xr-x 2 emby emby 4096 Jan 11 16:11 dummy -rw-r--r-- 1 emby emby 0 Jan 11 16:11 test.txt emby@mcp:/media/docs/pictures/upload$ I also tested this on my wife's phone and created a separate account on Emby for her, but it did not work for her, either. So, I'm at a loss. Usually when I've experienced issues with Emby, it's a permission of some sort, but I've tried everything I can think of permission wise, and it's still not working. Other ideas? Link to comment Share on other sites More sharing options...
Luke 37062 Posted January 11, 2020 Share Posted January 11, 2020 Well the error is that the access token issued by your server is no longer valid. That could mean that the app is hanging onto an upload url for too long and not updating it as the access token changes. It also could just mean that the user has been signed out. Still looking into this. Thanks. Link to comment Share on other sites More sharing options...
Jägs 72 Posted January 12, 2020 Author Share Posted January 12, 2020 Well the error is that the access token issued by your server is no longer valid. That could mean that the app is hanging onto an upload url for too long and not updating it as the access token changes. It also could just mean that the user has been signed out. Still looking into this. Thanks. Great, thanks for your continued assistance! Link to comment Share on other sites More sharing options...
Jägs 72 Posted January 12, 2020 Author Share Posted January 12, 2020 For what it's worth, I saw v1.9.0 of the Emby app was available tonight so I updated to that. The good news is that I'm no longer seeing the access token error; however, I'm no longer seeing anything in the log regarding CameraUploads and it still doesn't appear to be uploading anything. Link to comment Share on other sites More sharing options...
Volfan6415 17 Posted January 14, 2020 Share Posted January 14, 2020 I am running v1.9.0 of the app with the latest beta and I am having the same issue. Link to comment Share on other sites More sharing options...
Luke 37062 Posted January 14, 2020 Share Posted January 14, 2020 Thanks. We are looking into it. Link to comment Share on other sites More sharing options...
maciejtreder 0 Posted April 28, 2020 Share Posted April 28, 2020 Any update on this? Exactly same issue on my end. Link to comment Share on other sites More sharing options...
Luke 37062 Posted April 30, 2020 Share Posted April 30, 2020 There will be some fixes with the next update to the app so i would try again with that. Thanks. Link to comment Share on other sites More sharing options...
Jägs 72 Posted September 27, 2020 Author Share Posted September 27, 2020 Any update on this? I've switched from an Ubuntu server to a NAS (Asustor) and though I'm running the latest update as of this post, I'm still not able to get this to work. Link to comment Share on other sites More sharing options...
Luke 37062 Posted September 27, 2020 Share Posted September 27, 2020 8 minutes ago, Jägs said: Any update on this? I've switched from an Ubuntu server to a NAS (Asustor) and though I'm running the latest update as of this post, I'm still not able to get this to work. Hi, can you please attach an emby server log from the latest version? thanks. Link to comment Share on other sites More sharing options...
Jägs 72 Posted September 27, 2020 Author Share Posted September 27, 2020 Attached is the latest log. A quick look—albeit with an untrained eye—didn't yield anything happening on the photo upload side, which is the problem I was having before. I also double checked that I had uploading enable in the app—and that it had permissions to the photo library on my phone—and everything seems correct. Let me know if you need any further information and thanks in advance for your assistance! embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37062 Posted September 29, 2020 Share Posted September 29, 2020 Ok please try again with the next update to the iOS app. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now