womabre / unraid-docker-templates Goto Github PK
View Code? Open in Web Editor NEWunRAID Docker templates
unRAID Docker templates
When starting the docker it gives this error in the log.
Error: Invalid value for "-d" / "--directory": Path "/home//iCloud" does not exist.
2020-05-18 19:13:10 ERROR Check failed - Exit code: 2
Recently my icloudPD installations have been failing the new file check. I initially thought it was the MFA check but I ran the initialization script and re-authorized it. Still fails with the following errors:
2023-03-27 15:41:26 ERROR - Can you log into iCloud.com without receiving pop-up notifications?
2023-03-27 15:41:26 ERROR Error debugging info:
2023-03-27 15:41:26 ERROR Traceback (most recent call last):
File "/usr/bin/icloudpd", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/icloudpd/base.py", line 288, in main
core(
File "/usr/lib/python3.10/site-packages/icloudpd/base.py", line 728, in core
download_photo(consecutive_files_found, item)
File "/usr/lib/python3.10/site-packages/icloudpd/base.py", line 361, in download_photo_
created_date = photo.created.astimezone(get_localzone())
File "/usr/lib/python3.10/site-packages/tzlocal/unix.py", line 203, in get_localzone
_cache_tz = _get_localzone()
File "/usr/lib/python3.10/site-packages/tzlocal/unix.py", line 161, in _get_localzone
tzenv = utils._tz_from_env()
File "/usr/lib/python3.10/site-packages/tzlocal/utils.py", line 125, in _tz_from_env
raise ZoneInfoNotFoundError(
tzlocal.utils.ZoneInfoNotFoundError: 'tzlocal() does not support non-zoneinfo timezones like %s. \nPlease use a timezone in the form of Continent/City'
2023-03-27 15:41:26 ERROR ***** Please report problems here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
2023-03-27 15:41:26 INFO Sending Discord failure notification
2023-03-27 15:41:26 INFO Discord failure notification sent successfully
2023-03-27 15:41:26 INFO Web cookie expires: 2023-05-26 @ 12:07:10
2023-03-27 15:41:26 INFO Two factor authentication cookie expires: 2023-06-25 @ 12:07:27
2023-03-27 15:41:26 INFO Days remaining until expiration: 89
2023-03-27 15:41:26 INFO iCloud login counter = 1
2023-03-27 15:41:26 INFO Synchronisation ended at 15:41:26
2023-03-27 15:41:26 INFO Total time taken: 00:00:15
2023-03-27 15:41:26 INFO Next synchronisation at 15:41:11
According to my Unraid Docker manager there are no updates available. There are no other popups on icloud.com other than the MFA check.
After the last update he can no longer find the .mounted file.
before it worked without problems..
no settings changed.
Hello,
I would like to install icloudpd as docker on my unraid server. That worked great. But since we are several people in the house, I need a 2 instance. However, the program always asks for the .mounted file in the iCloudpd folder, even though I renamed everything to iCloudpd_test. Is it possible to change the path of the failsafe file, .mounted? Original: /home/user/iCloud/.mounted Modified: /home/user/iCloud_test/.mounted. Thanks very much!
Constantly receiving error:
ERROR Destination volume not mounted - retry in 5 minutes
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
Hi, I am running Docker on Unraid with the icloudpd docker. The app has been working great and is running fine still, however the Telegram notification function has stopped working. Even though the logs say the notification was sent succesfully, no message was actually sent to telegram. The same telegram settings are used on other docker applications and is working fine. No changes to the configuration was made except of the updates that were pushed a day ago.
`2021-09-08 02:24:07 INFO ***** boredazfcuk/icloudpd container for icloud_photo_downloader started *****
2021-09-08 02:24:07 INFO ***** /usr/local/bin/sync-icloud.sh date: 2021/09/02_15:29 *****
2021-09-08 02:24:07 INFO ***** /usr/local/bin/sync-icloud.sh hash: 6f366e6533d0c89b0076318a4e73f149 *****
2021-09-08 02:24:07 INFO Alpine Linux 3.13.5
2021-09-08 02:24:07 INFO Python version: 3.8.10
2021-09-08 02:24:07 INFO icloudpd version: 1.7.2
2021-09-08 02:24:08 INFO pyicloud-ipd version: 0.10.1
2021-09-08 02:24:09 INFO Running user id: 0
2021-09-08 02:24:09 INFO Running group id: 0
2021-09-08 02:24:09 INFO Local user: user:1000
2021-09-08 02:24:09 INFO Local group: group:1000
2021-09-08 02:24:09 INFO Force GID: False
2021-09-08 02:24:09 INFO LAN IP Address: 172.17.0.4
2021-09-08 02:24:09 INFO Apple ID: [email protected]
2021-09-08 02:24:09 INFO Authentication Type: 2FA
2021-09-08 02:24:09 INFO Cookie path: /config/xxxxxoutlookcom
2021-09-08 02:24:09 INFO Cookie expiry notification period: 7
2021-09-08 02:24:09 INFO Download destination directory: /home/user/iCloud
2021-09-08 02:24:09 INFO Folder structure: {:%Y/%m/%d}
2021-09-08 02:24:09 INFO Directory permissions: 777
2021-09-08 02:24:09 INFO File permissions: 666
2021-09-08 02:24:09 INFO Synchronisation interval: 43200
2021-09-08 02:24:09 INFO Synchronisation delay (minutes): 0
2021-09-08 02:24:09 INFO Time zone: Europe/London
2021-09-08 02:24:09 INFO Set EXIF date/time: False
2021-09-08 02:24:09 INFO Auto delete: False
2021-09-08 02:24:09 INFO Photo size: original
2021-09-08 02:24:09 INFO Skip download check: False
2021-09-08 02:24:09 INFO Skip live photos: False
2021-09-08 02:24:09 INFO Number of most recently added photos to download: Download All Photos
2021-09-08 02:24:09 INFO Stop downloading when prexisiting files count is: Download All Photos
2021-09-08 02:24:09 INFO Live photo size: original
2021-09-08 02:24:09 INFO Skip videos: False
2021-09-08 02:24:09 INFO Convert HEIC to JPEG: False
2021-09-08 02:24:09 INFO Notification title: boredazfcuk/iCloudPD
2021-09-08 02:24:09 INFO Telegram notifications enabled
2021-09-08 02:24:09 INFO Telegram token: xxxxx:xxxxxxVe9LeddePMDBU
2021-09-08 02:24:09 INFO Telegram chat id: xxxxxx
2021-09-08 02:24:09 INFO Telegram notification URL: https://api.telegram.org/botxxxxx:xxxxxxVe9LeddePMDBU/sendMessage
2021-09-08 02:24:09 INFO Notification period: 7
2021-09-08 02:24:09 INFO Sending Telegram startup notification
2021-09-08 02:24:09 INFO Telegram startup notification sent successfully
2021-09-08 02:24:09 INFO Download notifications: Enabled
2021-09-08 02:24:09 INFO Delete notifications: Enabled
2021-09-08 02:24:09 INFO Creating directory: /home/user/.local/share/
2021-09-08 02:24:09 INFO Creating symbolic link: /home/user/.local/share/python_keyring/ to: /config/python_keyring/ directory
2021-09-08 02:24:09 INFO Creating group group:1000
2021-09-08 02:24:09 INFO Creating user user:1000
2021-09-08 02:24:09 INFO Correct owner on config directory, if required
2021-09-08 02:24:09 INFO Correct group on config directory, if required
2021-09-08 02:24:09 INFO Using password stored in keyring file: /config/python_keyring/keyring_pass.cfg
2021-09-08 02:24:09 INFO Check download directory mounted correctly
2021-09-08 02:24:09 INFO Failsafe file /home/user/iCloud/.mounted exists, continuing.
2021-09-08 02:24:09 INFO Set owner, user, on iCloud directory, if required
2021-09-08 02:24:10 INFO Set group, group, on iCloud directory, if required
2021-09-08 02:24:10 INFO Correct owner on icloudpd temp directory, if required
2021-09-08 02:24:10 INFO Correct group on icloudpd temp directory, if required
2021-09-08 02:24:10 INFO Correct owner on config directory, if required
2021-09-08 02:24:10 INFO Correct group on config directory, if required
2021-09-08 02:24:10 INFO Correct owner on keyring directory, if required
2021-09-08 02:24:10 INFO Correct group on keyring directory, if required
2021-09-08 02:24:10 INFO Set 777 permissions on iCloud directories, if required
2021-09-08 02:24:10 INFO Set 666 permissions on iCloud files, if required
2021-09-08 02:24:10 INFO Sync user user
2021-09-08 02:24:10 INFO Synchronisation starting at 02:24:10
2021-09-08 02:24:10 INFO Check 2FA Cookie
2021-09-08 02:24:10 INFO Cookie exists, check expiry date
2021-09-08 02:24:10 INFO Valid two factor authentication cookie found. Days until expiration: 66
2021-09-08 02:24:10 INFO Check download directory mounted correctly
2021-09-08 02:24:10 INFO Failsafe file /home/user/iCloud/.mounted exists, continuing.
2021-09-08 02:24:10 INFO Check for new files using password stored in keyring file.
2021-09-08 02:24:10 INFO Generating list of files in iCloud. This may take a long time if you have a large photo collection. Please be patient. Nothing is being downloaded at this time
2021-09-08 02:25:27 INFO Check successful
2021-09-08 02:25:27 INFO No new files detected. Nothing to download
2021-09-08 02:25:27 INFO Web cookie expires: 2021-10-14 @ 03:52:11
2021-09-08 02:25:27 INFO Two factor authentication cookie expires: 2021-11-13 @ 03:52:30
2021-09-08 02:25:27 INFO Days remaining until expiration: 66
2021-09-08 02:25:27 INFO iCloud login counter = 1
2021-09-08 02:25:27 INFO Synchronisation ended at 02:25:27
2021-09-08 02:25:27 INFO Total time taken: 00:01:17
2021-09-08 02:25:27 INFO Next synchronisation at 14:24:10`
I´d highly appreciate if you could look into this, many thanks
boredazfcuk/docker-icloudpd indeed supports Pushover notification type.
it would be nice if this docker template would support it also
My docker container stopped working and it was failing on sending the telegram notification.
I have three of these containers set up and it was working on all the others so i know knew it wasnt a telegram config issues.
The only major difference between this container is that there is an '_' in the apple id for this account.
Sure enough if i remove the underscore the container starts with the Telegram notification sent, (it then fails as the apple id is incorrect)
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 "[email protected]" 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 "[email protected]" 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: [email protected]
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: [email protected]
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?
If I delete old photos from my phone in order to make more space for my cloud storage are the photos also deleted on my NAS?
Thanks!
Getting this error on both my docker instances:
OCI runtime exec failed: exec failed: unable to start container process: open /dev/ptmx: no space left on device: uknown
I have plenty of space free on my array and I am not seeing any issues with other docker images.
I have recently had an issues where it wont check for new files. I have looked over the config and found zero issues. the logs show the bellow info over and over.
2022-07-24 01:39:05 ERROR Failed check for new files files
2022-07-24 01:39:05 ERROR Error debugging info:
2022-07-24 01:39:05 ERROR
2022-07-24 01:39:05 ERROR ***** Please report problems here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.