Ladrek Posted December 24, 2022 Share Posted December 24, 2022 (edited) I'm trying to setup GPhotos-Sync I run the command docker exec -it GooglePhotosSync gphotos-sync /storage and get prompted for "Please visit this URL to authorize this application" I click allow on google it then sends me to a new page "This site can’t be reached" I've gone on the machine locally as well and get same message. Edited December 24, 2022 by Ladrek Quote Link to comment
CWMLT Posted December 26, 2022 Share Posted December 26, 2022 I'm running into this problem as well. I can't get past it - tried URL manipulation away from localhost (put in the actual local IP address, 192.168.xx.yy), tried changing the port since the original was conflicting with my nzb downloader. No dice still. Quote Link to comment
Ladrek Posted December 26, 2022 Author Share Posted December 26, 2022 5 hours ago, CWMLT said: I'm running into this problem as well. I can't get past it - tried URL manipulation away from localhost (put in the actual local IP address, 192.168.xx.yy), tried changing the port since the original was conflicting with my nzb downloader. No dice still. Glad to know i'm not the only one lol Quote Link to comment
Stringer Posted December 28, 2022 Share Posted December 28, 2022 Same here 😞 Maybe it works if you set it up via the GUI mode directly on the unraid machine!? This would hopefully make the URL to localhost work. 1 Quote Link to comment
Solution Stringer Posted December 28, 2022 Solution Share Posted December 28, 2022 (edited) Yes! I made it work! Instructions: Stop all docker containers (to avoid possible interference on port 8080, see later steps) Install Firefox as docker and set it to network type "host" Also set GPhotosSync to network type "host" Assign port 8080 to GPhotos Sync Start both containers Go into unraid terminal and start the sync via: docker exec -it GooglePhotosSync gphotos-sync /storage Copy the URL and paste it into your firefox docker window (click on black dot, paste into text field, then right click within firefox address bar & paste) Sign in to you google account, follow the process and allow the access for the app. It should say "the authentication flow has completed" within firefox and in the terminal window the sync process should start. Wait for the first backup run to finish. (Just to be safe, probably not neccessary.) Afterwards it is probably a good idea to remove the port 8080 from the config again, because it could interfere with other apps as it's a popular port. Happy syncing! (I use the plugin User Scripts to schedule a daily backup of google photos. Just use the same terminal command as above.) Edited December 28, 2022 by Stringer 4 1 Quote Link to comment
Ladrek Posted December 28, 2022 Author Share Posted December 28, 2022 1 hour ago, Stringer said: Yes! I made it work! Instructions: Stop all docker containers Install Firefox as docker and set it to network type "host" Also set GPhotosSync to network type "host" Assign port 8080 to GPhotos Sync Start both containers Go into unraid terminal and start the sync via: docker exec -it GooglePhotosSync gphotos-sync /storage Copy the URL and paste it into your firefox docker window (click on black dot, paste into text field, then right click within firefox address bar & paste) Sign in to you google account, follow the process and allow the access for the app. It should say "the authentication flow has completed" within firefox and in the terminal window the sync process should start. Wait for the first backup run to finish. (Just to be safe, probably not neccessary.) Afterwards it is probably a good idea to remove the port 8080 from the config again, because it could interfere with other apps as it's a popular port. Happy syncing! (I use the plugin User Scripts to schedule a daily backup of google photos. Just use the same terminal command as above.) THANK YOU!! lol Quote Link to comment
Ladrek Posted December 29, 2022 Author Share Posted December 29, 2022 The user script command would be "docker exec -it GooglePhotosSync gphotos-sync /storage" wouldn't it? Quote Link to comment
Stringer Posted December 29, 2022 Share Posted December 29, 2022 13 hours ago, Ladrek said: The user script command would be "docker exec -it GooglePhotosSync gphotos-sync /storage" wouldn't it? Yes. I think I wrote the same command in my post, or did I miss something? Quote Link to comment
MaxwellHouse Posted February 16, 2023 Share Posted February 16, 2023 Sorry to hijack the thread but I was hoping to ask about disabling Google Photo Albums backup? I've found that the albums backup creates a soft link to the photo files on my nvme cache drive and mover doesn't move these links to the array device. I've tried to include the "--skip-albums" argument in both the Extra Parameters and Post Arguments in the advanced container setup but it appears as though that command is depreciated. Thanks! Quote Link to comment
GeekFreak Posted April 4, 2023 Share Posted April 4, 2023 On 12/28/2022 at 10:04 AM, Stringer said: Yes! I made it work! Instructions: Stop all docker containers (to avoid possible interference on port 8080, see later steps) Install Firefox as docker and set it to network type "host" Also set GPhotosSync to network type "host" Assign port 8080 to GPhotos Sync Start both containers Go into unraid terminal and start the sync via: docker exec -it GooglePhotosSync gphotos-sync /storage Copy the URL and paste it into your firefox docker window (click on black dot, paste into text field, then right click within firefox address bar & paste) Sign in to you google account, follow the process and allow the access for the app. It should say "the authentication flow has completed" within firefox and in the terminal window the sync process should start. Wait for the first backup run to finish. (Just to be safe, probably not neccessary.) Afterwards it is probably a good idea to remove the port 8080 from the config again, because it could interfere with other apps as it's a popular port. Happy syncing! (I use the plugin User Scripts to schedule a daily backup of google photos. Just use the same terminal command as above.) YOU ARE AMAZING THANK YOU SO MUCH IT WORKED Quote Link to comment
rdkay Posted April 19, 2023 Share Posted April 19, 2023 Thank you very much for this solution !!! it was driving me crazy Quote Link to comment
Noppy Posted May 22, 2023 Share Posted May 22, 2023 Having issues moving my client_secret.json to the config folder. It says I dont have permission to move the file to appdata/GooglePhotosSync every other docker app folder has rw permissions but gphotossync only seems to be read. Quote Link to comment
Freedomfries Posted June 22, 2023 Share Posted June 22, 2023 On 5/21/2023 at 11:09 PM, Noppy said: Having issues moving my client_secret.json to the config folder. It says I dont have permission to move the file to appdata/GooglePhotosSync every other docker app folder has rw permissions but gphotossync only seems to be read. Am having exactly the same issue. From Binhex Krusader I'm looking at the permissions for the /config folder you are referring to, and it does not seem to allow any writing. What's more concerning is that there isn't any data at all, which leads me to believe the docker app is installed somewhere else??? Quote Link to comment
Nex Posted August 20, 2023 Share Posted August 20, 2023 On 12/28/2022 at 7:04 AM, Stringer said: Yes! I made it work! Instructions: Stop all docker containers (to avoid possible interference on port 8080, see later steps) Install Firefox as docker and set it to network type "host" Also set GPhotosSync to network type "host" Assign port 8080 to GPhotos Sync Start both containers Go into unraid terminal and start the sync via: docker exec -it GooglePhotosSync gphotos-sync /storage Copy the URL and paste it into your firefox docker window (click on black dot, paste into text field, then right click within firefox address bar & paste) Sign in to you google account, follow the process and allow the access for the app. It should say "the authentication flow has completed" within firefox and in the terminal window the sync process should start. Wait for the first backup run to finish. (Just to be safe, probably not neccessary.) Afterwards it is probably a good idea to remove the port 8080 from the config again, because it could interfere with other apps as it's a popular port. Happy syncing! (I use the plugin User Scripts to schedule a daily backup of google photos. Just use the same terminal command as above.) This worked perfect of me as well! Thank you. Quote Link to comment
berger0 Posted December 6, 2023 Share Posted December 6, 2023 I just got this to work (Dec 2023). I was experiencing the same issue that the OP posted about. Sadly the instructions in the post above did not work for me. The hard part for me was getting the token file. This only generates after you login. I was able to get the token by running the application locally on my desktop, and moving the token manually to the docker container storage folder on my unraid instance. After that I was able to run the sync command and kick off the backup! Hope this helps someone in the future! Instructions from the person who built the photo sync application: https://gilesknap.github.io/gphotos-sync/main/tutorials/installation.html#execute-in-a-container The Github issue that helped me find my solution: https://github.com/gilesknap/gphotos-sync/issues/357#issuecomment-1159623596 Quote Link to comment
tinmice Posted January 6 Share Posted January 6 On 12/6/2023 at 8:39 PM, berger0 said: I just got this to work (Dec 2023). I was experiencing the same issue that the OP posted about. Sadly the instructions in the post above did not work for me. The hard part for me was getting the token file. This only generates after you login. I was able to get the token by running the application locally on my desktop, and moving the token manually to the docker container storage folder on my unraid instance. After that I was able to run the sync command and kick off the backup! Hope this helps someone in the future! Instructions from the person who built the photo sync application: https://gilesknap.github.io/gphotos-sync/main/tutorials/installation.html#execute-in-a-container The Github issue that helped me find my solution: https://github.com/gilesknap/gphotos-sync/issues/357#issuecomment-1159623596 Thanks @berger0, this was really helpful. I ended up running a local version on WSL to be able to go through the authentication process and then move the token over to the server. I've now syncd my photos, but the documentation suggests that there should be an albums folder as well? I haven't passed any additional arguments than the default sync command, so would have expected these to be done at the same time. I thought it might be a symlink issue but presumably that's not an issue when running it on a Linux machine and I can't see any options in the help output to force an sync of albums, only skip. Am I missing something obvious? 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.