Closed brianbgarber closed 2 years ago
Having the same issue.
Got it. I ended up installing the Python version on Windows. Once I was able to authenticate in Google I received the .gphotos.token
file. Place that file in the place where /storage
points to in the Unraid docker and you are golden.
How exactly did you solve this? I'm stuck here, too, but I have no idea where you are coming from with the "installing the Python version on Windows". Thanks.
@Iceman248 what you need to do is install gphotos-sync on a workstation where you can also run a browser to do the initial authentication. Then you can copy over the token that gets generated to your server.
Hopefully this describes how to do it https://gilesknap.github.io/gphotos-sync/main/tutorials/installation.html#headless-gphotos-sync-servers
@Iceman248 what you need to do is install gphotos-sync on a workstation where you can also run a browser to do the initial authentication. Then you can copy over the token that gets generated to your server.
Hopefully this describes how to do it https://gilesknap.github.io/gphotos-sync/main/tutorials/installation.html#headless-gphotos-sync-servers
Thanks, I had figured it out from that, just now get it going on unRAID after having to regenerate token.
I was able to follow the tutorial all the way to the point of the Google sign in screen. After checking all the boxes and hitting 'Continue', my browser tries to redirect to localhost.
When I run the sync command, I see a url that starts with this...
https://accounts.google.com/o/oauth2/auth?response_
but in that same link there is thisapps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A8080
and so when I authenticate in Google, I'm redirected back to localhost:8080 and thegphotos-sync /storage
command does not finish.Running a just updated version on Unraid 6.10.3
Any thoughts?
Thanks, Brian