Closed lmacfarlan closed 3 years ago
remove the "apple_password" from the settings of the container and apply changes. Then start the container and run the following from the terminal: docker exec -it icloudpd sync-icloud.sh --Initialise
You should then be prompted for 2FA.
Ok I dumped the variable but I can't get the --initialize command in before the container exits.
What am I missing?
edit: Fixed. Closing issue. After removing the option from the container, and waiting a day or so it worked. I may have hit a rate limiter on Apple's 2FA.
For anyone still struggling with this issue, running this in the terminal worked for me:
docker start icloudpd && docker exec -it icloudpd sync-icloud.sh --Initialise
When I run the latest container, I'm not able to get into the system while it's running to update my 2FA. Been running older versions just fine.
2021-06-24 16:44:43 INFO Sync user user
2021-06-24 16:44:43 INFO Check 2FA Cookie
2021-06-24 16:44:43 INFO Cookie exists, check expiry date
2021-06-24 16:44:43 ERROR Cookie has expired. Please run container interactively to generate - Retry in 5 minutes