Womabre / unraid-docker-templates

unRAID Docker templates
19 stars 2 forks source link

container stops, cannot run script to update 2FA cookie expiry #5

Closed lmacfarlan closed 3 years ago

lmacfarlan commented 3 years ago

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

d-underhill commented 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.

lmacfarlan commented 3 years ago

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.

sgraaf commented 3 years ago

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