Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GPhotos-Sync

Featured Replies

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.

 

image.thumb.png.e3afd9e57e69a447e74ae9b23c73ec3f.png

Edited by Ladrek

Solved by Stringer

  • Author

Anyone?

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.

  • Author
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

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.

  • Solution

Yes! I made it work! Instructions:

  1. Stop all docker containers (to avoid possible interference on port 8080, see later steps)
  2. Install Firefox as docker and set it to network type "host"
  3. Also set GPhotosSync to network type "host"
  4. Assign port 8080 to GPhotos Sync
  5. Start both containers
  6. Go into unraid terminal and start the sync via: docker exec -it GooglePhotosSync gphotos-sync /storage
  7. 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)
  8. Sign in to you google account, follow the process and allow the access for the app.
  9. It should say "the authentication flow has completed" within firefox and in the terminal window the sync process should start.
  10. Wait for the first backup run to finish. (Just to be safe, probably not neccessary.)
  11. 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.
  12. 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 by Stringer

  • Author
1 hour ago, Stringer said:

Yes! I made it work! Instructions:

  1. Stop all docker containers
  2. Install Firefox as docker and set it to network type "host"
  3. Also set GPhotosSync to network type "host"
  4. Assign port 8080 to GPhotos Sync
  5. Start both containers
  6. Go into unraid terminal and start the sync via: docker exec -it GooglePhotosSync gphotos-sync /storage
  7. 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)
  8. Sign in to you google account, follow the process and allow the access for the app.
  9. It should say "the authentication flow has completed" within firefox and in the terminal window the sync process should start.
  10. Wait for the first backup run to finish. (Just to be safe, probably not neccessary.)
  11. 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.
  12. 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

  • Author

The user script command would be "docker exec -it GooglePhotosSync gphotos-sync /storage" wouldn't it?

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?

  • 1 month later...

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!

  • 1 month later...
On 12/28/2022 at 10:04 AM, Stringer said:

Yes! I made it work! Instructions:

  1. Stop all docker containers (to avoid possible interference on port 8080, see later steps)
  2. Install Firefox as docker and set it to network type "host"
  3. Also set GPhotosSync to network type "host"
  4. Assign port 8080 to GPhotos Sync
  5. Start both containers
  6. Go into unraid terminal and start the sync via: docker exec -it GooglePhotosSync gphotos-sync /storage
  7. 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)
  8. Sign in to you google account, follow the process and allow the access for the app.
  9. It should say "the authentication flow has completed" within firefox and in the terminal window the sync process should start.
  10. Wait for the first backup run to finish. (Just to be safe, probably not neccessary.)
  11. 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.
  12. 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

  • 3 weeks later...

Thank you very much for this solution !!!  it was driving me crazy 

  • 1 month later...

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.

  • 1 month later...
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??? 

  • 1 month later...
On 12/28/2022 at 7:04 AM, Stringer said:

Yes! I made it work! Instructions:

  1. Stop all docker containers (to avoid possible interference on port 8080, see later steps)
  2. Install Firefox as docker and set it to network type "host"
  3. Also set GPhotosSync to network type "host"
  4. Assign port 8080 to GPhotos Sync
  5. Start both containers
  6. Go into unraid terminal and start the sync via: docker exec -it GooglePhotosSync gphotos-sync /storage
  7. 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)
  8. Sign in to you google account, follow the process and allow the access for the app.
  9. It should say "the authentication flow has completed" within firefox and in the terminal window the sync process should start.
  10. Wait for the first backup run to finish. (Just to be safe, probably not neccessary.)
  11. 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.
  12. 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.

  • 3 months later...

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

  • 5 weeks later...
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?

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.