Closed cmfrazier closed 8 months ago
The script should just ask for text input. Maybe your home directory is missing or something because it crashes for FileNotFoundError when trying to create the cookie directory (~/.pyicloud).
Here is an example how it should look like:
2021-08-24 09:47:29 DEBUG Authenticating...
2021-08-24 09:47:31 INFO Two-step/two-factor authentication is required!
0: SMS to *******XX
1: Enter two-factor authentication code
Please choose an option: [0]: 1
Please enter two-factor authentication code: XXXXXX
2021-08-24 09:50:27 INFO Great, you're all set up. The script can now be run without user interaction until 2SA expires.
You can set up email notifications for when the two-step authentication expires.
(Use --help to view information about SMTP options.)
2021-08-24 09:50:28 DEBUG Looking up all photos and videos from album All Photos...
So do I simply ssh into my DSM and run the following?
When I do that I get the following:
I also know it's connecting to Apple as I get a code sent to my devices....I'm just unsure where to enter the code. Thanks