Hi, Is it possible to sync Google Photos with a shared folder on a TrueNAS Scale? and how?
thx
Hallo, and thank you for the information, I did all that, but I got an error :
[EINVAL] attributes.folder: Pulling from the root directory is not allowed. Please, select a specific directory.
So what is the wrong I did here ? Could you please help ?
Apologies. There has been a significant overhaul to that article in preparation for 24.10 that includes better instructions and troubleshooting for that error. I had forgotten those improvements weren’t included in the 24.04 branch. Try this one:
Thank you very much for your effort but when i try to sync I got this error
[EFAULT] Errors: 1 (retrying may help) Elapsed time: 0.2s <6>INFO : Google Photos path “album”: Committing uploads - please wait… Failed to sync: couldn’t list albums: Get “https://photoslibrary.googleapis.com/v1/albums?pageSize=50”: couldn’t fetch token: invalid_client: if you’re using your own client id/secret, make sure they’re properly set up following the docs.
This is very strange, could you please help and if there is some tutorial video?
Thank you very much
again this error :
Pulling from the root directory is not allowed. Please, select a specific directory.
More info…
Error: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 469, in run
await self.future
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 511, in __run_body
rv = await self.method(*args)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 187, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/cloud_sync.py”, line 1077, in sync_onetime
verrors.check()
File “/usr/lib/python3/dist-packages/middlewared/service_exception.py”, line 70, in check
raise self
middlewared.service_exception.ValidationErrors: [EINVAL] attributes.folder: Pulling from the root directory is not allowed. Please, select a specific directory.
As the error says, the task is targeting the wrong directory. The Before You Begin and Troubleshooting sections of the updated article explain how to set this up.
I’ve never seen the other error, but it seems to indicate a misconfiguration with your Google Photos API ID and Secret credentials.
I’m not aware of any video tutorials, but my advice would be to start over from the beginning, following the instructions in the updated article, and see where that gets you.
Hi again,
I checked everything, including the Photos API ID, and everything looks fine. However, I don’t think TrueNAS has a real function to deal with Google Photos. It can handle Google Drive, which I have no problem syncing, but with Google Photos, there is no way. I searched online, and no one seems to have successfully synced with Google Photos. Unfortunately, I think this is one of the downsides of TrueNAS.
Thank you anyway for your replies.