11-21 08:29:22 gphotos.Main WARNING gphotos-sync 2.14.2 2021-11-21 08:29:22.369635 11-21 08:29:22 gphotos.Utils DEBUG MINIMUM_DATE = 1970-01-01 00:00:00 11-21 08:29:22 gphotos.Checks INFO Target filesystem /mnt/nas/photo/googlephotos is nfs 11-21 08:29:22 gphotos.Checks DEBUG Checking if is filesystem supports symbolic links... 11-21 08:29:22 gphotos.Checks DEBUG attempting to symlink /mnt/nas/photo/GooglePhotos/test_src_2125110347 to /mnt/nas/photo/GooglePhotos/test_dst_304296487 11-21 08:29:22 gphotos.Checks DEBUG Checking if File system supports unicode filenames... 11-21 08:29:22 gphotos.Checks INFO Filesystem supports Unicode filenames 11-21 08:29:22 gphotos.Checks DEBUG Checking if File system is case insensitive... 11-21 08:29:22 gphotos.Checks INFO Case sensitive file system found 11-21 08:29:22 gphotos.Checks INFO Max Path Length: 4096 11-21 08:29:22 gphotos.Checks INFO Max filename length: 255 11-21 08:29:22 gphotos.Main INFO version: 2.14.2, database schema version 5.7 11-21 08:29:23 gphotos.Main ERROR Process failed. Traceback (most recent call last): File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 478, in request url, http_method=method, body=data, headers=headers File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 198, in add_token raise TokenExpiredError() oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/gphotos/Main.py", line 417, in main self.setup(args, db_path) File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/gphotos/Main.py", line 309, in setup self.google_photos_client = RestClient(photos_api_url, self.auth.session) File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/gphotos/restclient.py", line 38, in __init__ service_document = self.auth_session.get(api_url).json() File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/requests/sessions.py", line 555, in get return self.request('GET', url, **kwargs) File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 497, in request self.auto_refresh_url, auth=auth, **kwargs File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 446, in refresh_token self.token = self._client.parse_request_body_response(r.text, scope=self.scope) File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 429, in parse_request_body_response self.token = parse_token_response(body, scope=scope) File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 425, in parse_token_response validate_token_parameters(params) File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 432, in validate_token_parameters raise_from_error(params.get('error'), params) File "/home/pi/.local/share/virtualenvs/pi-V9tpwFal/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/errors.py", line 402, in raise_from_error raise cls(**kwargs) oauthlib.oauth2.rfc6749.errors.InvalidGrantError: (invalid_grant) Token has been expired or revoked. 11-21 08:29:23 gphotos.Main WARNING Done. 11-21 08:29:23 gphotos.Main INFO Elapsed time = 0:00:00.848416