Closed bt-beardedtechie closed 8 months ago
I've got the same error codes and still not solved...
Wanted to add, I'm running the latest version. I can login to iCloud without pop ups, I'm on a Synology NAS and ADP is not turned on as required. File system is btrfs. Edit 2: container executed using high privilege
I've got the same error codes and still not solved...
Have you been able to do anything to get it to work?
I've got the same error codes and still not solved...
Have you been able to do anything to get it to work?
[- Can you log into icloud.com without receiving pop-up notifications?] is no longer appear when I reseted my appleid password. But I got new errors, eg.
/icloud/2016/10/04/IMG 2893.JPG /iCloud/2016/04/11/IMG 1610.JPG 2023-08-09 14:37:01 INFO Check successful 2023-08-09 14:37:01 INFO New files detected: 8674 2023-08-09 14:37:01 DEBUG Starting download of new files for user: czxtech 2023-08-09 14:37:01 DEBUG Downloading new files using password stored in keyring file... 2023-08-09 14:37:01 DEBUG Switched to icloudpd: 1.14.5 ash: out of range grep: /tmp/icloudpd/icloudpd sync.log: No such file or directory grep: /tmp/icloudpd/icloudpd_sync.log: No such file or directory grep: /tmp/icloudpd/icloudpd sync.log: No such file or directory grep: /tmp/icloudpd/icloudpd sync.log: No such file or directory 2023-08-09 14:37:12 DEBUG Set owner on iCloud directory, if required 2023-08-09 14:37:12 DEBUG Set group on iCloud directory, if required 2023-08-09 14:37.12 DEBUG Set 750 permissions on iCloud directories, if required 2023-08-09 14:37:12 DEBUG Set 640 permissions on icloud files, if required 2023-08-09 14:37:12 INFO Synchronisation complete for czxtech 2023-08-09 14:37.12 DEBUG Web cookie exists. 2023-08-09 14:37:12 INFO Web cookie expires: 2023-10-08 @ 06:31:25 2023-08-09 14-37-12 INFO Two factor authentication cookie expires: 2023-11-07 @ 06:31:37 2023-08-09 14:37:12 TNFO Days remaining until expiration: 89
I've no idea about ash: out of range
ash: out of range
It means that the script is attempting to compare the value of a variable, but the variable is unexpectedly empty.
grep: /tmp/icloudpd/icloudpd sync.log: No such file or directory grep: /tmp/icloudpd/icloudpd_sync.log: No such file or directory grep: /tmp/icloudpd/icloudpd sync.log: No such file or directory grep: /tmp/icloudpd/icloudpd sync.log: No such file or directory
It's attempting to read from the log files it creates during a check/download, but they are not there. This screams permission issue as the directory that these live in, should have the correct permissions assigned during the container's startup process, which should then allow the process to create the file.
I've pushed a new version which creates the log file at startup, so that it should exist and have the correct permissions before it attempts to write to the file.
I don't know if this will help, but it's worth a shot.
I am facing the same issue.
...
user-icloudpd | 2023-08-23 16:09:38 INFO Ignore Synology extended attribute directories: Disabled
user-icloudpd | 2023-08-23 16:09:39 INFO Directory is writable: /config/python_keyring/
user-icloudpd | 2023-08-23 16:09:39 INFO Directory is writable: /home/user/.local/share/
user-icloudpd | 2023-08-23 16:09:39 INFO Check download directory mounted correctly...
user-icloudpd | 2023-08-23 16:09:39 INFO Failsafe file /icloud/.mounted exists, continuing
user-icloudpd | 2023-08-23 16:09:39 INFO Directory is writable: /config/python_keyring/
user-icloudpd | 2023-08-23 16:09:39 INFO Directory is writable: /home/user/.local/share/
user-icloudpd | 2023-08-23 16:09:39 INFO Keyring file exists, continuing
...
I get at the end
ash: out of range
Can some one tell me whats the last working docker image ?
So I'm getting this same problem. Any ideas? Anyone figure this out?
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 INFO Next synchronisation at 13:45:24
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 INFO Total time taken: 00:00:01
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 INFO Synchronisation ended at 01:45:25
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 INFO Days remaining until expiration: 90
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 INFO Two factor authentication cookie expires: 2023-12-15 @ 04:30:13
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 INFO Web cookie expires: 2023-11-15 @ 04:29:49
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 ERROR ***** Please report problems here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
2023/09/16 00:45:25,stdout,Error: Invalid value for '-d' / '--directory': Path '/icloud' is not readable.
2023/09/16 00:45:25,stdout,
2023/09/16 00:45:25,stdout,Try 'icloudpd -h' for help.
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 ERROR Usage: icloudpd <options>
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 ERROR Error debugging info:
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 ERROR - Can you log into icloud.com without receiving pop-up notifications?
2023/09/16 00:45:25,stdout,2023-09-16 01:45:25 ERROR Failed to download new files
2023/09/16 00:45:24,stdout,2023-09-16 01:45:24 INFO Failsafe file /icloud/.mounted exists, continuing
2023/09/16 00:45:24,stdout,2023-09-16 01:45:24 INFO Check download directory mounted correctly...
2023/09/16 00:45:24,stdout,2023-09-16 01:45:24 INFO Keyring file exists, continuing
2023/09/16 00:45:24,stdout,2023-09-16 01:45:24 INFO Synchronisation starting at 01:45:24
What does the line in the log file which starts iCloudPD launch command:
say?
这个1026不是我设置的用户
I'm getting this same problem.
2023-10-11T09:26:12.218742715Z 2023-10-11 17:26:12 INFO Check for new files using password stored in keyring file
2023-10-11T09:26:12.220116534Z 2023-10-11 17:26:12 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-10-11T09:26:13.039186244Z 2023-10-11 17:26:13 ERROR Failed check for new files files
2023-10-11T09:26:13.040148812Z 2023-10-11 17:26:13 ERROR - Can you log into icloud.com.cn without receiving pop-up notifications?
2023-10-11T09:26:13.041810555Z 2023-10-11 17:26:13 ERROR Error debugging info:
2023-10-11T09:26:13.043811889Z 2023-10-11 17:26:13 ERROR Usage: icloudpd
use /bin/sh chmod 777 /iCloud to reset the path private with 777 in the docker can fix this.
This can be cause by mounting the folder on the host to an alternate location such as a CIFS or NFS share. Closing as cannot reproduce.
use /bin/sh chmod 777 /iCloud to reset the path private with 777 in the docker can fix this.
thanks!!!It worked!
I've set up the container, and able to list all the albums from iCloud, I also do not have any popups when logging into iCloud.
But no photos are being downloaded, I get two error codes, please see log below and advise: