GooglePhotosSync


BrownServer

Recommended Posts

Hi All,

 

Very new to UNRAID and having some difficulty in following the installation instructions for this Google Photos Sync docker app that essentially lets you save gooogle photos to my UNRAID server. Link is below.

 

https://github.com/rix1337/docker-gphotos-sync

 

I managed to the json file but im not sure what to do with it and essentially how to successfully install the docker.

 

Hoping someone can hold my hand on this one! lol

 

Thanks all!

Link to comment
  • 3 weeks later...

Sounds like the same problem, i run into. 

 

If i place the secrets json in the config directory i get following Error.

 

docker exec GooglePhotosSync gphotos-sync --secret /config/client_secret.json /storage
10-08 16:41:20 WARNING  gphotos-sync 3.1.2 2023-10-08 16:41:20.623633 
10-08 16:41:28 ERROR    
Process failed. 
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/gphotos_sync/Main.py", line 506, in main
    self.setup(args, db_path)
  File "/usr/lib/python3.9/site-packages/gphotos_sync/Main.py", line 346, in setup
    self.auth = Authorize(
  File "/usr/lib/python3.9/site-packages/gphotos_sync/authorize.py", line 51, in __init__
    secrets = all_json["installed"]
KeyError: 'installed'
10-08 16:41:28 WARNING  Done.

 

 

I have followed the instructions. :/

Link to comment
  • 1 month later...

 

I have just solved this issue and found that the problem was that I had created the OAuth credential as a web app rather than a desktop app. Delete & recreate the credential, update the client_secret.json file and all should be good.

 

You can check the json file ..  the initial key should be "installed" not "web".

 

Hope this helps.

 

Link to comment

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.