BrownServer Posted September 21, 2023 Share Posted September 21, 2023 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! Quote Link to comment
LocXar Posted October 8, 2023 Share Posted October 8, 2023 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. Quote Link to comment
Carltk Posted November 29, 2023 Share Posted November 29, 2023 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. Quote Link to comment
BrownServer Posted November 29, 2023 Author Share Posted November 29, 2023 Awesome! I will try that out! Thank you for the response, I had given up on it. 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.