bally12345 Posted March 1, 2023 Share Posted March 1, 2023 (edited) 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. Update. Published app after clicking the link and authorising it tries to go to localhost:8080 Edited March 1, 2023 by bally12345 Quote Link to comment
bally12345 Posted March 1, 2023 Share Posted March 1, 2023 (edited) 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. 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 March 1, 2023 by bally12345 Quote Link to comment
bally12345 Posted March 1, 2023 Share Posted March 1, 2023 Silly me... Moved token to Storage folder and it now works. Was definitely long winded having to run python on Windows to get it work as a work around but it did work.Could someone help with a user bash script that can run once week? Sent from my SM-G991B using Tapatalk Quote Link to comment
bthoven Posted March 2, 2023 Share Posted March 2, 2023 (edited) 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 March 2, 2023 by bthoven 1 Quote Link to comment
bally12345 Posted March 2, 2023 Share Posted March 2, 2023 Anyone know what the limitations are for syncing with gphotos? I get HTTPError: 429 Client Error: Too Many Requests for url: If I do another scan will it resume where it left off or start all over again? Quote Link to comment
Wvrent Posted April 6, 2023 Share Posted April 6, 2023 Regarding the GooglePhotoSync, this thread was super useful and did not come up easily for some reason Quote Link to comment
Recommended Posts
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.