charts
charts copied to clipboard
permission issues about icloudpd
App Name
icloudpd
Operating System
TrueNAS SCALE 22.12.4.2
App Version
latest_3.0.9
Application Events
2023-12-11 4:56:55
Add eth0 [172.16.0.82/16] from ix-net
2023-12-11 4:56:55
Container image "tccr.io/truecharts/icloudpd:latest@sha256:41b078386d2e20b580d135eb48390aa4d48e2b74f5a202fee74299fcbdc8a308" already present on machine
2023-12-11 4:56:55
Created container icloudpd
2023-12-11 4:56:55
Started container icloudpd
2023-12-11 4:56:54
Created pod: icloudpd-5ccb965486-w64d5
2023-12-11 4:56:54
Successfully assigned ix-icloudpd/icloudpd-5ccb965486-w64d5 to ix-truenas
2023-12-11 4:56:42
Job completed
2023-12-11 4:56:42
Deleted pod: icloudpd-74bd64fc76-pwzl6
2023-12-11 4:56:42
Stopping container icloudpd
2023-12-11 4:56:42
(combined from similar events): Scaled up replica set icloudpd-5ccb965486 to 1
2023-12-11 4:56:39
Add eth0 [172.16.0.81/16] from ix-net
2023-12-11 4:56:39
Container image "tccr.io/truecharts/alpine:v3.18.4@sha256:17cd77e25d3fa829d168caec4db7bb5b52ceeb935d8ca0d1180de6f615553dc4" already present on machine
2023-12-11 4:56:39
Created container icloudpd
2023-12-11 4:56:39
Started container icloudpd
2023-12-11 4:56:38
Created pod: icloudpd-autopermissions-5f2ll
2023-12-11 4:56:38
Successfully assigned ix-icloudpd/icloudpd-autopermissions-5f2ll to ix-truenas
2023-12-11 4:51:31
Add eth0 [172.16.0.80/16] from ix-net
2023-12-11 4:51:31
Container image "tccr.io/truecharts/icloudpd:latest@sha256:41b078386d2e20b580d135eb48390aa4d48e2b74f5a202fee74299fcbdc8a308" already present on machine
2023-12-11 4:51:31
Created container icloudpd
2023-12-11 4:51:31
Started container icloudpd
2023-12-11 4:51:30
Scaled up replica set icloudpd-74bd64fc76 to 1
2023-12-11 4:51:30
Created pod: icloudpd-74bd64fc76-pwzl6
2023-12-11 4:51:30
Successfully assigned ix-icloudpd/icloudpd-74bd64fc76-pwzl6 to ix-truenas
2023-12-11 4:50:56
Scaled down replica set icloudpd-b6d457577 to 0 from 1
2023-12-11 4:50:56
Deleted pod: icloudpd-b6d457577-smsnp
2023-12-11 4:50:56
Stopping container icloudpd
2023-12-11 4:46:49
error killing pod: failed to "KillContainer" for "icloudpd" with KillContainerError: "rpc error: code = Unknown desc = Error response from daemon: No such container: 7a6eef24c07a94ecf23e71385a2b45e766cd84c9c9a0010001f8e20ae4280e37"
2023-12-11 4:45:55
Started container icloudpd
2023-12-11 4:45:54
Scaled up replica set icloudpd-b6d457577 to 1
2023-12-11 4:45:54
Created pod: icloudpd-b6d457577-smsnp
2023-12-11 4:45:54
Successfully assigned ix-icloudpd/icloudpd-b6d457577-smsnp to ix-truenas
2023-12-11 4:45:54
Add eth0 [172.16.0.79/16] from ix-net
2023-12-11 4:45:54
Container image "tccr.io/truecharts/icloudpd:latest@sha256:41b078386d2e20b580d135eb48390aa4d48e2b74f5a202fee74299fcbdc8a308" already present on machine
2023-12-11 4:45:54
Created container icloudpd
2023-12-11 4:45:48
Scaled down replica set icloudpd-65746d4b47 to 0 from 1
2023-12-11 4:45:48
Deleted pod: icloudpd-65746d4b47-lnqv6
2023-12-11 4:45:48
Stopping container icloudpd
2023-12-11 4:44:21
error killing pod: failed to "KillContainer" for "icloudpd" with KillContainerError: "rpc error: code = Unknown desc = Error response from daemon: No such container: 787f0c6608b4b0d87c049a4efa42469a33bc7a13674a293aa9180bec84167f6e"
2023-12-11 4:44:14
Add eth0 [172.16.0.78/16] from ix-net
2023-12-11 4:44:14
Container image "tccr.io/truecharts/icloudpd:latest@sha256:41b078386d2e20b580d135eb48390aa4d48e2b74f5a202fee74299fcbdc8a308" already present on machine
2023-12-11 4:44:14
Created container icloudpd
2023-12-11 4:44:14
Started container icloudpd
2023-12-11 4:44:13
Scaled up replica set icloudpd-65746d4b47 to 1
2023-12-11 4:44:13
Created pod: icloudpd-65746d4b47-lnqv6
2023-12-11 4:44:13
Successfully assigned ix-icloudpd/icloudpd-65746d4b47-lnqv6 to ix-truenas
2023-12-11 4:44:10
Scaled down replica set icloudpd-6c5c959f7c to 0 from 1
2023-12-11 4:44:10
Deleted pod: icloudpd-6c5c959f7c-mgkrg
2023-12-11 4:44:10
Stopping container icloudpd
2023-12-11 4:43:26
Add eth0 [172.16.0.77/16] from ix-net
2023-12-11 4:43:26
Container image "tccr.io/truecharts/icloudpd:latest@sha256:41b078386d2e20b580d135eb48390aa4d48e2b74f5a202fee74299fcbdc8a308" already present on machine
2023-12-11 4:43:26
Created container icloudpd
2023-12-11 4:43:26
Started container icloudpd
2023-12-11 4:43:25
Scaled up replica set icloudpd-6c5c959f7c to 1
2023-12-11 4:43:25
Created pod: icloudpd-6c5c959f7c-mgkrg
2023-12-11 4:43:25
Successfully assigned ix-icloudpd/icloudpd-6c5c959f7c-mgkrg to ix-truenas
2023-12-11 4:43:20
Scaled down replica set icloudpd-cbc8f7c6 to 0 from 1
2023-12-11 4:43:20
Deleted pod: icloudpd-cbc8f7c6-fvzjq
2023-12-11 4:43:20
Stopping container icloudpd
2023-12-11 4:36:41
Add eth0 [172.16.0.76/16] from ix-net
2023-12-11 4:36:41
Container image "tccr.io/truecharts/icloudpd:latest@sha256:41b078386d2e20b580d135eb48390aa4d48e2b74f5a202fee74299fcbdc8a308" already present on machine
2023-12-11 4:36:41
Created container icloudpd
2023-12-11 4:36:41
Started container icloudpd
2023-12-11 4:36:40
Scaled up replica set icloudpd-cbc8f7c6 to 1
2023-12-11 4:36:40
Created pod: icloudpd-cbc8f7c6-fvzjq
2023-12-11 4:36:40
Successfully assigned ix-icloudpd/icloudpd-cbc8f7c6-fvzjq to ix-truenas
Application Logs
023-12-10 20:56:55.199938+00:002023-12-10T20:56:55.199938577Z
2023-12-10 20:56:55.203386+00:002023-12-11 04:56:55 INFO ***** boredazfcuk/icloudpd container for icloud_photo_downloader v1.0.684 started *****
2023-12-10 20:56:55.204568+00:002023-12-11 04:56:55 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2023-12-10 20:56:55.209522+00:002023-12-11 04:56:55 INFO Alpine Linux 3.18.3
2023-12-10 20:56:55.216646+00:002023-12-11 04:56:55 INFO Python version: 3.11.5
2023-12-10 20:56:55.397060+00:002023-12-11 04:56:55 INFO Loading configuration from: /config/icloudpd.conf
2023-12-10 20:56:55.434510+00:002023-12-11 04:56:55 WARNING The local user id for synchronisation cannot be 0
2023-12-10 20:56:55.437574+00:002023-12-11 04:56:55 WARNING The local group id for synchronisation cannot be 0
2023-12-10 20:57:20.158668+00:002023-12-11 04:57:20 INFO Apple ID: [email protected]
2023-12-10 20:57:20.161970+00:002023-12-11 04:57:20 INFO Authentication Type: MFA
2023-12-10 20:57:20.165211+00:002023-12-11 04:57:20 INFO Cookie path: /config/robinqugmailcom
2023-12-10 20:57:20.168627+00:002023-12-11 04:57:20 INFO Cookie expiry notification period: 7
2023-12-10 20:57:20.171705+00:002023-12-11 04:57:20 INFO Download destination directory: /home/apps/iCloud
2023-12-10 20:57:20.174785+00:002023-12-11 04:57:20 INFO Folder structure: {:%Y/%m/%d}
2023-12-10 20:57:20.177933+00:002023-12-11 04:57:20 INFO Synchronisation interval: 86400
2023-12-10 20:57:20.180906+00:002023-12-11 04:57:20 INFO Synchronisation delay (minutes): 0
2023-12-10 20:57:20.183982+00:002023-12-11 04:57:20 INFO Set EXIF date/time: false
2023-12-10 20:57:20.187100+00:002023-12-11 04:57:20 INFO Auto delete: false
2023-12-10 20:57:20.190066+00:002023-12-11 04:57:20 INFO Delete after download: false
2023-12-10 20:57:20.193266+00:002023-12-11 04:57:20 INFO Photo size: original
2023-12-10 20:57:20.196277+00:002023-12-11 04:57:20 INFO Single pass mode: false
2023-12-10 20:57:20.199408+00:002023-12-11 04:57:20 INFO Skip download check: false
2023-12-10 20:57:20.202445+00:002023-12-11 04:57:20 INFO Skip live photos: false
2023-12-10 20:57:20.205498+00:002023-12-11 04:57:20 INFO Number of most recently added photos to download: Download All Photos
2023-12-10 20:57:20.208504+00:002023-12-11 04:57:20 INFO Downloading photos from: Download All Photos
2023-12-10 20:57:20.211645+00:002023-12-11 04:57:20 INFO Stop downloading when prexisiting files count is: Download All Photos
2023-12-10 20:57:20.214752+00:002023-12-11 04:57:20 INFO Live photo size: original
2023-12-10 20:57:20.217827+00:002023-12-11 04:57:20 INFO Skip videos: false
2023-12-10 20:57:20.220814+00:002023-12-11 04:57:20 INFO Convert HEIC to JPEG: false
2023-12-10 20:57:20.224066+00:002023-12-11 04:57:20 INFO Converted JPEGs path: /home/apps/iCloud
2023-12-10 20:57:20.227327+00:002023-12-11 04:57:20 INFO Downloading from: icloud.com.cn
2023-12-10 20:57:20.230481+00:002023-12-11 04:57:20 WARNING You have the icloud_china variable set, but auth_china is false. Are you sure this is correct?
2023-12-10 20:57:20.233378+00:002023-12-11 04:57:20 INFO Authentication domain: com
2023-12-10 20:57:20.236571+00:002023-12-11 04:57:20 INFO Ignore Synology extended attribute directories: Disabled
2023-12-10 20:57:20.325838+00:002023-12-11 04:57:20 INFO Directory is writable: /config/python_keyring/
2023-12-10 20:57:20.328974+00:002023-12-11 04:57:20 INFO Check download directory mounted correctly...
2023-12-10 20:57:20.330930+00:002023-12-11 04:57:20 INFO Failsafe file /home/apps/iCloud/.mounted exists, continuing
2023-12-10 20:57:20.340227+00:002023-12-11 04:57:20 INFO Directory is writable: /config/python_keyring/
2023-12-10 20:57:20.341949+00:002023-12-11 04:57:20 INFO Keyring file exists, continuing
2023-12-10 20:57:20.343605+00:002023-12-11 04:57:20 INFO Sync user: apps
2023-12-10 20:57:20.348172+00:002023-12-11 04:57:20 INFO Synchronisation starting at 04:57:20
2023-12-10 20:57:20.352903+00:002023-12-11 04:57:20 INFO Keyring file exists, continuing
2023-12-10 20:57:20.363802+00:002023-12-11 04:57:20 INFO Check download directory mounted correctly...
2023-12-10 20:57:20.365437+00:002023-12-11 04:57:20 INFO Failsafe file /home/apps/iCloud/.mounted exists, continuing
2023-12-10 20:57:20.367056+00:002023-12-11 04:57:20 INFO Check for new files using password stored in keyring file
2023-12-10 20:57:20.368698+00:002023-12-11 04:57:20 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
2023-12-10 20:57:20.708245+00:002023-12-11 04:57:20 ERROR Failed check for new files files
2023-12-10 20:57:20.708817+00:002023-12-11 04:57:20 ERROR - Can you log into icloud.com.cn without receiving pop-up notifications?
2023-12-10 20:57:20.709423+00:002023-12-11 04:57:20 ERROR Error debugging info:
2023-12-10 20:57:20.710697+00:002023-12-11 04:57:20 ERROR Usage: icloudpd <options>
2023-12-10 20:57:20.710712+00:00Try 'icloudpd -h' for help.
2023-12-10 20:57:20.710719+00:002023-12-10T20:57:20.710719698Z
2023-12-10 20:57:20.710735+00:00Error: Invalid value for '-d' / '--directory': Path '/home/apps/iCloud' is not readable.
2023-12-10 20:57:20.711272+00:002023-12-11 04:57:20 ERROR ***** Please report problems here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
2023-12-10 20:57:20.712604+00:00ash: out of range
2023-12-10 20:57:20.714059+00:002023-12-11 04:57:20 INFO Web cookie expires: 2024-02-08 @ 12:46:55
2023-12-10 20:57:20.714690+00:002023-12-11 04:57:20 INFO Multifactor authentication cookie expires: 2024-03-09 @ 12:47:07
2023-12-10 20:57:20.715275+00:002023-12-11 04:57:20 INFO Days remaining until expiration: 89
2023-12-10 20:57:20.717042+00:002023-12-11 04:57:20 INFO Synchronisation ended at 04:57:20
2023-12-10 20:57:20.718324+00:002023-12-11 04:57:20 INFO Total time taken: 00:00:00
2023-12-10 20:57:20.719524+00:002023-12-11 04:57:20 INFO Next synchronisation at 04:57:20
Application Configuration
Describe the bug
icloudpd complains about lack of permissions for accesing /home/apps/iCloud and aborts afterwards.
2023-12-11 04:57:20 ERROR Failed check for new files files
2023-12-11 04:57:20 ERROR - Can you log into icloud.com.cn without receiving pop-up notifications?
2023-12-11 04:57:20 ERROR Error debugging info:
2023-12-11 04:57:20 ERROR Usage: icloudpd <options>
Try 'icloudpd -h' for help.
Error: Invalid value for '-d' / '--directory': Path '/home/apps/iCloud' is not readable.
My wild guess:
- icloudpd triggers
traceroutewhich requires root permission, set uid/gid other than 0 (e.g. 568) will cause script fail at first place. - only
appsis granted full control on dataset backing/home/apps/iCloud, so root user in docker won't be able to access.
To Reproduce
- a dataset with ACL entry for
apps. - icloudpd with uid/gid=0, puid=568, fsgroup=568, privileged container
- setup credentials for icloud account and try to sync for the first time
Expected Behavior
icloudpd process start to sync
Screenshots
Additional Context
none
I've read and agree with the following
- [X] I've checked all open and closed issues and my issue is not there.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.