gilesknap / gphotos-sync

Google Photos and Albums backup with Google Photos Library API
Apache License 2.0
1.97k stars 161 forks source link

Documentation fixes #401

Closed europacafe closed 1 year ago

europacafe commented 1 year ago

After publishing the project, I run the following sync command in Unraid console: docker exec -it GooglePhotosSync gphotos-sync /storage It did provide a link and I followed the link, and chose my google user, then it said not safe due to not a verified app, but I proceed anyway. Then I checked how I want to access Google Photo, then it forwarded to the following URL which can't be found. I'm not sure how to proceed because I didn't see any syncing going. http://[localhost](http://localhost:8080/?state=8hs7KYyUvqfQbH5FswLsfb19TcjuAn&code=4/0AfgeXvsN8t__rDR3r8mQPnG2MkHDvLHUw54fp0W07tsraGoWvt6s2F4Wlyvfs0kbSoXz_w&scope=https://www.googleapis.com/auth/photoslibrary.sharing%20https://www.googleapis.com/auth/photoslibrary.readonly):8080/?state=8hs7KYyUvqfQbH5FswLsfb19TcjuAn&code=4/0AfgeXvsN8t__rDR3r8mQPnG2MkHDvLHUw54fp0W07tsraGoWvt6s2F4Wlyvfs0kbSoXz_w&scope=https://www.googleapis.com/auth/photoslibrary.sharing%20https://www.googleapis.com/auth/photoslibrary.readonly

gilesknap commented 1 year ago

From this issue I think you may be running gphotos-sync on a sever? The auth process runs a web process that serves on 8080 but you need to run locally on a machine with a browser for the first run. See if this helps https://gilesknap.github.io/gphotos-sync/main/tutorials/installation.html#headless-gphotos-sync-servers

europacafe commented 1 year ago

Thanks. I don't know I have to install gphotos-sync on my Windows and follow the whole process on Windows till I got the token and then copy the token to my Unraid gphotos-sync storage folder. It is working now...thanks.

gilesknap commented 1 year ago

@europacafe thanks for letting me know. I think the documentation does not highlight this fact well as it is hidden in container discussion. I'll take a look at restructuring.

europacafe commented 1 year ago

I can only partly follow the headless command lines as described in the document. Maybe it was due to my python installation on my Windows. I somehow had to improvise it till it is working now. For example, my Windows can't find the "source" and gphotos-sync commands even I add path. Anyway, I'm happy now and thank you again.

gilesknap commented 1 year ago

ah - that's because those are linux instructions ! They are inherited from the python skeleton project that I recently adopted so I had not noticed this issue. Thanks for the heads up.

gilesknap commented 1 year ago

Reopened as issues with Docs

caseyjhol commented 1 year ago

Also, in the "Running gphotos-sync" section, the --max-threads option is incorrectly listed as --threads.

gilesknap commented 1 year ago

Consolidating docs issues into #417