I am in need of running two icloudpd dockers for two different icloud accounts. Therefore I first configured the first icloudpd container in UnRAID lets say for "user1@mail.com" which has been running fine for some months now and has been grabbing new photos and videos twice a day.
I created another icloudpd docker called "icloudpd2" for user "user2@mail.com" however this one is having issues while looking for new files. I was able to create its own photo directory with its own .mounted file. I was able to initialize correctly and setup 2FA using the keyring correctly as well using the phone and the code that was sent to it. However once starting the container i am getting the following:
2021-08-14 16:04:14 INFO boredazfcuk/icloudpd container for icloud_photo_downloader started
2021-08-14 16:04:14 INFO /usr/local/bin/sync-icloud.sh date: 2021/08/05_14:40
2021-08-14 16:04:14 INFO /usr/local/bin/sync-icloud.sh hash: 88908a8613c3c14df5da9ade016ebd51
2021-08-14 16:04:14 INFO Alpine Linux 3.13.5
2021-08-14 16:04:14 INFO Python version: 3.8.10
2021-08-14 16:04:14 INFO icloudpd version: 1.7.2
2021-08-14 16:04:22 INFO pyicloud-ipd version: 0.10.1
2021-08-14 16:04:23 INFO Local user: user:1000
2021-08-14 16:04:23 INFO Local group: group:1000
2021-08-14 16:04:23 INFO Force GID: False
2021-08-14 16:04:23 INFO LAN IP Address: 172.17.0.12
2021-08-14 16:04:23 INFO Apple ID: user2@mail.com
2021-08-14 16:04:23 INFO Authentication Type: 2FA
2021-08-14 16:04:23 INFO Cookie path: /config/user2mailcom
2021-08-14 16:04:23 INFO Cookie expiry notification period: 7
2021-08-14 16:04:23 INFO Download destination directory: /home/user/iCloud
2021-08-14 16:04:23 INFO Folder structure: {:%Y/%m/%d}
2021-08-14 16:04:23 INFO Directory permissions: 777
2021-08-14 16:04:23 INFO File permissions: 666
2021-08-14 16:04:23 INFO Synchronisation interval: 43200
2021-08-14 16:04:23 INFO Synchronisation delay (minutes): 0
2021-08-14 16:04:23 INFO Time zone: Europe/London
2021-08-14 16:04:23 INFO Set EXIF date/time: False
2021-08-14 16:04:23 INFO Auto delete: False
2021-08-14 16:04:23 INFO Photo size: original
2021-08-14 16:04:23 INFO Skip download check: False
2021-08-14 16:04:23 INFO Skip live photos: False
2021-08-14 16:04:23 INFO Number of most recently added photos to download: Download All Photos
2021-08-14 16:04:23 INFO Stop downloading when prexisiting files count is: Download All Photos
2021-08-14 16:04:23 INFO Live photo size: original
2021-08-14 16:04:23 INFO Skip videos: False
2021-08-14 16:04:23 INFO Convert HEIC to JPEG: False
2021-08-14 16:04:23 INFO Notification title: boredazfcuk/iCloudPD
2021-08-14 16:04:23 INFO Telegram notifications enabled
2021-08-14 16:04:23 INFO Telegram token 1900624662:AAFLjySFkSywphWjvuDUlmVe9LeddePMDBU
2021-08-14 16:04:23 INFO Telegram chat id -xxxxxprivatexxxxx
2021-08-14 16:04:23 INFO Telegram notification URL: https://api.telegram.org/xxxxxprivatexxxxx
2021-08-14 16:04:23 INFO Notification period: 7
2021-08-14 16:04:23 INFO Sending Telegram startup notification
2021-08-14 16:04:22 INFO pyicloud-ipd version: 0.10.1
2021-08-14 16:04:23 INFO Local user: user:1000
2021-08-14 16:04:23 INFO Local group: group:1000
2021-08-14 16:04:23 INFO Force GID: False
2021-08-14 16:04:23 INFO LAN IP Address: 172.17.0.12
2021-08-14 16:04:23 INFO Apple ID: user2@mail.com
2021-08-14 16:04:23 INFO Authentication Type: 2FA
2021-08-14 16:04:23 INFO Cookie path: /config/user2mailcom
2021-08-14 16:04:23 INFO Cookie expiry notification period: 7
2021-08-14 16:04:23 INFO Download destination directory: /home/user/iCloud
2021-08-14 16:04:23 INFO Folder structure: {:%Y/%m/%d}
2021-08-14 16:04:23 INFO Directory permissions: 777
2021-08-14 16:04:23 INFO File permissions: 666
2021-08-14 16:04:23 INFO Synchronisation interval: 43200
2021-08-14 16:04:23 INFO Synchronisation delay (minutes): 0
2021-08-14 16:04:23 INFO Time zone: Europe/London
2021-08-14 16:04:23 INFO Set EXIF date/time: False
2021-08-14 16:04:23 INFO Auto delete: False
2021-08-14 16:04:23 INFO Photo size: original
2021-08-14 16:04:23 INFO Skip download check: False
2021-08-14 16:04:23 INFO Skip live photos: False
2021-08-14 16:04:23 INFO Number of most recently added photos to download: Download All Photos
2021-08-14 16:04:23 INFO Stop downloading when prexisiting files count is: Download All Photos
2021-08-14 16:04:23 INFO Live photo size: original
2021-08-14 16:04:23 INFO Skip videos: False
2021-08-14 16:04:23 INFO Convert HEIC to JPEG: False
2021-08-14 16:04:23 INFO Notification title: boredazfcuk/iCloudPD
2021-08-14 16:04:23 INFO Telegram notifications enabled
2021-08-14 16:04:23 INFO Telegram token xxxxxprivatexxxxx
2021-08-14 16:04:23 INFO Telegram chat id -599313667
2021-08-14 16:04:23 INFO Telegram notification URL: https://api.telegram.org/xxxxxprivatexxxxx
2021-08-14 16:04:23 INFO Notification period: 7
2021-08-14 16:04:23 INFO Sending Telegram startup notification
2021-08-14 16:04:26 INFO Telegram startup notification sent successfully
2021-08-14 16:04:26 INFO Download notifications: Enabled
2021-08-14 16:04:26 INFO Delete notifications: Enabled
2021-08-14 16:04:26 INFO Group, group:1000, already created
2021-08-14 16:04:26 INFO User, user:1000, already created
2021-08-14 16:04:26 INFO Correct owner on config directory, if required
2021-08-14 16:04:26 INFO Correct group on config directory, if required
2021-08-14 16:04:26 INFO Using password stored in keyring file: /config/python_keyring/keyring_pass.cfg
2021-08-14 16:04:26 INFO Check download directory mounted correctly
2021-08-14 16:04:26 INFO Failsafe file /home/user/iCloud/.mounted exists
2021-08-14 16:04:26 INFO Set owner, user, on iCloud directory, if required
2021-08-14 16:04:26 INFO Set group, group, on iCloud directory, if required
2021-08-14 16:04:26 INFO Correct owner on icloudpd temp directory, if required
2021-08-14 16:04:26 INFO Correct group on icloudpd temp directory, if required
2021-08-14 16:04:26 INFO Correct owner on config directory, if required
2021-08-14 16:04:26 INFO Correct group on config directory, if required
2021-08-14 16:04:26 INFO Correct owner on keyring directory, if required
2021-08-14 16:04:26 INFO Correct group on keyring directory, if required
2021-08-14 16:04:26 INFO Set 777 permissions on iCloud directories, if required
2021-08-14 16:04:26 INFO Set 666 permissions on iCloud files, if required
2021-08-14 16:04:26 INFO Sync user user
2021-08-14 16:04:26 INFO Check 2FA Cookie
2021-08-14 16:04:26 INFO Cookie exists, check expiry date
2021-08-14 16:04:26 INFO Valid two factor authentication cookie found. Days until expiration: 89
2021-08-14 16:04:26 INFO Check download directory mounted correctly
2021-08-14 16:04:26 INFO Failsafe file /home/user/iCloud/.mounted exists
2021-08-14 16:04:26 INFO Check for new files using password stored in keyring file...
2021-08-14 16:04:26 INFO Telegram startup notification sent successfully
2021-08-14 16:04:26 INFO Download notifications: Enabled
2021-08-14 16:04:26 INFO Delete notifications: Enabled
2021-08-14 16:04:26 INFO Group, group:1000, already created
2021-08-14 16:04:26 INFO User, user:1000, already created
2021-08-14 16:04:26 INFO Correct owner on config directory, if required
2021-08-14 16:04:26 INFO Correct group on config directory, if required
2021-08-14 16:04:26 INFO Using password stored in keyring file: /config/python_keyring/keyring_pass.cfg
2021-08-14 16:04:26 INFO Check download directory mounted correctly
2021-08-14 16:04:26 INFO Failsafe file /home/user/iCloud/.mounted exists
2021-08-14 16:04:26 INFO Set owner, user, on iCloud directory, if required
2021-08-14 16:04:26 INFO Set group, group, on iCloud directory, if required
2021-08-14 16:04:26 INFO Correct owner on icloudpd temp directory, if required
2021-08-14 16:04:26 INFO Correct group on icloudpd temp directory, if required
2021-08-14 16:04:26 INFO Correct owner on config directory, if required
2021-08-14 16:04:26 INFO Correct group on config directory, if required
2021-08-14 16:04:26 INFO Correct owner on keyring directory, if required
2021-08-14 16:04:26 INFO Correct group on keyring directory, if required
2021-08-14 16:04:26 INFO Set 777 permissions on iCloud directories, if required
2021-08-14 16:04:26 INFO Set 666 permissions on iCloud files, if required
2021-08-14 16:04:26 INFO Sync user user
2021-08-14 16:04:26 INFO Check 2FA Cookie
2021-08-14 16:04:26 INFO Cookie exists, check expiry date
2021-08-14 16:04:26 INFO Valid two factor authentication cookie found. Days until expiration: 89
2021-08-14 16:04:26 INFO Check download directory mounted correctly
2021-08-14 16:04:26 INFO Failsafe file /home/user/iCloud/.mounted exists
2021-08-14 16:04:26 INFO Check for new files using password stored in keyring file...
iCloud Password:
/usr/lib/python3.8/getpass.py:91: GetPassWarning: Can not control echo on the terminal.
passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
2021-08-14 16:04:26 INFO Sending Telegram failure notification
2021-08-14 16:04:27 INFO Telegram failure notification sent successfully
2021-08-14 16:04:27 INFO Web cookie expires: 2021-10-13 @ 14:52:40
2021-08-14 16:04:27 INFO Two factor authentication cookie expires: 2021-11-12 @ 14:53:04
2021-08-14 16:04:27 INFO Days remaining until expiration: 89
2021-08-14 16:04:27 INFO iCloud login counter = 1
2021-08-14 16:04:27 INFO Next synchronisation at 04:04
I accidentally used the same config location as the first icloudpd session, which was a mistake, I made a different one for the second one and now everything is running fine.
Hi.
I am in need of running two icloudpd dockers for two different icloud accounts. Therefore I first configured the first icloudpd container in UnRAID lets say for "user1@mail.com" which has been running fine for some months now and has been grabbing new photos and videos twice a day.
I created another icloudpd docker called "icloudpd2" for user "user2@mail.com" however this one is having issues while looking for new files. I was able to create its own photo directory with its own .mounted file. I was able to initialize correctly and setup 2FA using the keyring correctly as well using the phone and the code that was sent to it. However once starting the container i am getting the following:
2021-08-14 16:04:14 INFO boredazfcuk/icloudpd container for icloud_photo_downloader started 2021-08-14 16:04:14 INFO /usr/local/bin/sync-icloud.sh date: 2021/08/05_14:40 2021-08-14 16:04:14 INFO /usr/local/bin/sync-icloud.sh hash: 88908a8613c3c14df5da9ade016ebd51 2021-08-14 16:04:14 INFO Alpine Linux 3.13.5 2021-08-14 16:04:14 INFO Python version: 3.8.10
2021-08-14 16:04:14 INFO icloudpd version: 1.7.2
2021-08-14 16:04:22 INFO pyicloud-ipd version: 0.10.1
2021-08-14 16:04:23 INFO Local user: user:1000 2021-08-14 16:04:23 INFO Local group: group:1000 2021-08-14 16:04:23 INFO Force GID: False 2021-08-14 16:04:23 INFO LAN IP Address: 172.17.0.12 2021-08-14 16:04:23 INFO Apple ID: user2@mail.com 2021-08-14 16:04:23 INFO Authentication Type: 2FA 2021-08-14 16:04:23 INFO Cookie path: /config/user2mailcom 2021-08-14 16:04:23 INFO Cookie expiry notification period: 7 2021-08-14 16:04:23 INFO Download destination directory: /home/user/iCloud 2021-08-14 16:04:23 INFO Folder structure: {:%Y/%m/%d} 2021-08-14 16:04:23 INFO Directory permissions: 777 2021-08-14 16:04:23 INFO File permissions: 666 2021-08-14 16:04:23 INFO Synchronisation interval: 43200 2021-08-14 16:04:23 INFO Synchronisation delay (minutes): 0 2021-08-14 16:04:23 INFO Time zone: Europe/London 2021-08-14 16:04:23 INFO Set EXIF date/time: False 2021-08-14 16:04:23 INFO Auto delete: False 2021-08-14 16:04:23 INFO Photo size: original 2021-08-14 16:04:23 INFO Skip download check: False 2021-08-14 16:04:23 INFO Skip live photos: False 2021-08-14 16:04:23 INFO Number of most recently added photos to download: Download All Photos 2021-08-14 16:04:23 INFO Stop downloading when prexisiting files count is: Download All Photos 2021-08-14 16:04:23 INFO Live photo size: original 2021-08-14 16:04:23 INFO Skip videos: False 2021-08-14 16:04:23 INFO Convert HEIC to JPEG: False 2021-08-14 16:04:23 INFO Notification title: boredazfcuk/iCloudPD 2021-08-14 16:04:23 INFO Telegram notifications enabled 2021-08-14 16:04:23 INFO Telegram token 1900624662:AAFLjySFkSywphWjvuDUlmVe9LeddePMDBU 2021-08-14 16:04:23 INFO Telegram chat id -xxxxxprivatexxxxx 2021-08-14 16:04:23 INFO Telegram notification URL: https://api.telegram.org/xxxxxprivatexxxxx 2021-08-14 16:04:23 INFO Notification period: 7 2021-08-14 16:04:23 INFO Sending Telegram startup notification 2021-08-14 16:04:22 INFO pyicloud-ipd version: 0.10.1
2021-08-14 16:04:23 INFO Local user: user:1000 2021-08-14 16:04:23 INFO Local group: group:1000 2021-08-14 16:04:23 INFO Force GID: False 2021-08-14 16:04:23 INFO LAN IP Address: 172.17.0.12 2021-08-14 16:04:23 INFO Apple ID: user2@mail.com 2021-08-14 16:04:23 INFO Authentication Type: 2FA 2021-08-14 16:04:23 INFO Cookie path: /config/user2mailcom 2021-08-14 16:04:23 INFO Cookie expiry notification period: 7 2021-08-14 16:04:23 INFO Download destination directory: /home/user/iCloud 2021-08-14 16:04:23 INFO Folder structure: {:%Y/%m/%d} 2021-08-14 16:04:23 INFO Directory permissions: 777 2021-08-14 16:04:23 INFO File permissions: 666 2021-08-14 16:04:23 INFO Synchronisation interval: 43200 2021-08-14 16:04:23 INFO Synchronisation delay (minutes): 0 2021-08-14 16:04:23 INFO Time zone: Europe/London 2021-08-14 16:04:23 INFO Set EXIF date/time: False 2021-08-14 16:04:23 INFO Auto delete: False 2021-08-14 16:04:23 INFO Photo size: original 2021-08-14 16:04:23 INFO Skip download check: False 2021-08-14 16:04:23 INFO Skip live photos: False 2021-08-14 16:04:23 INFO Number of most recently added photos to download: Download All Photos 2021-08-14 16:04:23 INFO Stop downloading when prexisiting files count is: Download All Photos 2021-08-14 16:04:23 INFO Live photo size: original 2021-08-14 16:04:23 INFO Skip videos: False 2021-08-14 16:04:23 INFO Convert HEIC to JPEG: False 2021-08-14 16:04:23 INFO Notification title: boredazfcuk/iCloudPD 2021-08-14 16:04:23 INFO Telegram notifications enabled 2021-08-14 16:04:23 INFO Telegram token xxxxxprivatexxxxx 2021-08-14 16:04:23 INFO Telegram chat id -599313667 2021-08-14 16:04:23 INFO Telegram notification URL: https://api.telegram.org/xxxxxprivatexxxxx 2021-08-14 16:04:23 INFO Notification period: 7 2021-08-14 16:04:23 INFO Sending Telegram startup notification 2021-08-14 16:04:26 INFO Telegram startup notification sent successfully 2021-08-14 16:04:26 INFO Download notifications: Enabled 2021-08-14 16:04:26 INFO Delete notifications: Enabled 2021-08-14 16:04:26 INFO Group, group:1000, already created 2021-08-14 16:04:26 INFO User, user:1000, already created 2021-08-14 16:04:26 INFO Correct owner on config directory, if required 2021-08-14 16:04:26 INFO Correct group on config directory, if required 2021-08-14 16:04:26 INFO Using password stored in keyring file: /config/python_keyring/keyring_pass.cfg 2021-08-14 16:04:26 INFO Check download directory mounted correctly 2021-08-14 16:04:26 INFO Failsafe file /home/user/iCloud/.mounted exists 2021-08-14 16:04:26 INFO Set owner, user, on iCloud directory, if required 2021-08-14 16:04:26 INFO Set group, group, on iCloud directory, if required 2021-08-14 16:04:26 INFO Correct owner on icloudpd temp directory, if required 2021-08-14 16:04:26 INFO Correct group on icloudpd temp directory, if required 2021-08-14 16:04:26 INFO Correct owner on config directory, if required 2021-08-14 16:04:26 INFO Correct group on config directory, if required 2021-08-14 16:04:26 INFO Correct owner on keyring directory, if required 2021-08-14 16:04:26 INFO Correct group on keyring directory, if required 2021-08-14 16:04:26 INFO Set 777 permissions on iCloud directories, if required 2021-08-14 16:04:26 INFO Set 666 permissions on iCloud files, if required 2021-08-14 16:04:26 INFO Sync user user 2021-08-14 16:04:26 INFO Check 2FA Cookie 2021-08-14 16:04:26 INFO Cookie exists, check expiry date 2021-08-14 16:04:26 INFO Valid two factor authentication cookie found. Days until expiration: 89 2021-08-14 16:04:26 INFO Check download directory mounted correctly 2021-08-14 16:04:26 INFO Failsafe file /home/user/iCloud/.mounted exists 2021-08-14 16:04:26 INFO Check for new files using password stored in keyring file... 2021-08-14 16:04:26 INFO Telegram startup notification sent successfully 2021-08-14 16:04:26 INFO Download notifications: Enabled 2021-08-14 16:04:26 INFO Delete notifications: Enabled 2021-08-14 16:04:26 INFO Group, group:1000, already created 2021-08-14 16:04:26 INFO User, user:1000, already created 2021-08-14 16:04:26 INFO Correct owner on config directory, if required 2021-08-14 16:04:26 INFO Correct group on config directory, if required 2021-08-14 16:04:26 INFO Using password stored in keyring file: /config/python_keyring/keyring_pass.cfg 2021-08-14 16:04:26 INFO Check download directory mounted correctly 2021-08-14 16:04:26 INFO Failsafe file /home/user/iCloud/.mounted exists 2021-08-14 16:04:26 INFO Set owner, user, on iCloud directory, if required 2021-08-14 16:04:26 INFO Set group, group, on iCloud directory, if required 2021-08-14 16:04:26 INFO Correct owner on icloudpd temp directory, if required 2021-08-14 16:04:26 INFO Correct group on icloudpd temp directory, if required 2021-08-14 16:04:26 INFO Correct owner on config directory, if required 2021-08-14 16:04:26 INFO Correct group on config directory, if required 2021-08-14 16:04:26 INFO Correct owner on keyring directory, if required 2021-08-14 16:04:26 INFO Correct group on keyring directory, if required 2021-08-14 16:04:26 INFO Set 777 permissions on iCloud directories, if required 2021-08-14 16:04:26 INFO Set 666 permissions on iCloud files, if required 2021-08-14 16:04:26 INFO Sync user user 2021-08-14 16:04:26 INFO Check 2FA Cookie 2021-08-14 16:04:26 INFO Cookie exists, check expiry date 2021-08-14 16:04:26 INFO Valid two factor authentication cookie found. Days until expiration: 89 2021-08-14 16:04:26 INFO Check download directory mounted correctly 2021-08-14 16:04:26 INFO Failsafe file /home/user/iCloud/.mounted exists 2021-08-14 16:04:26 INFO Check for new files using password stored in keyring file... iCloud Password: /usr/lib/python3.8/getpass.py:91: GetPassWarning: Can not control echo on the terminal. passwd = fallback_getpass(prompt, stream) Warning: Password input may be echoed.
Aborted! 2021-08-14 16:04:26 ERROR Check failed - Exit code: 1
2021-08-14 16:04:26 INFO Sending Telegram failure notification 2021-08-14 16:04:27 INFO Telegram failure notification sent successfully 2021-08-14 16:04:27 INFO Web cookie expires: 2021-10-13 @ 14:52:40 2021-08-14 16:04:27 INFO Two factor authentication cookie expires: 2021-11-12 @ 14:53:04 2021-08-14 16:04:27 INFO Days remaining until expiration: 89 2021-08-14 16:04:27 INFO iCloud login counter = 1 2021-08-14 16:04:27 INFO Next synchronisation at 04:04
Would you kindly be able to look into this?