[support] rix's Docker Repository


rix

Recommended Posts

Hi All, I am trying to setup gphotos-sync but seem to come across this error. I believe I have setup oauth correctly but think its to do with the consent screen.

image.png.238b0e711989b83d8439a79594db9281.png

 

Update. Published app after clicking the link and authorising it tries to go to localhost:8080

Edited by bally12345
Link to comment
On 12/5/2022 at 7:30 AM, bthoven said:

As eventually I want to run it headless on Unraid server, the only way to get the Google authorized token is by installing gphotos-sync app on my Windows (or Linex/Mac) first, and then follow the whole process on Windows until I get the similar link as above. Now clicking the link on Windows can complete the authorization process and a token was created inside my Windows storage folder. I then copied the token file to my Unraid GooglePhotosSync storage folder (the folder where all the photos will be downloaded to). It's now working.image.png.e5a0e94edd2f2129f9a416fd2d0e86ce.png

 

I am having exact issue by the looks of it, had to run virtual python instance and change execution policy but finally got to 

The authentication flow has completed. You may close this window.

But when I go back to unraid and run gphotos-sync /storage I still get need to authorise

Where does .gphotos.token go? In the Unraid app data folder? I currently have it in same folder of client_secret.json

Edited by bally12345
Link to comment

You can create and schedule the following bash script with User Script plugin.

#!/bin/bash
# run in background
docker exec -d GooglePhotosSync gphotos-sync /storage
# run interactively for testing
#docker exec -it GooglePhotosSync gphotos-sync /storage

 

Edited by bthoven
  • Like 1
Link to comment
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.