Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync-icloud.sh initialize won't ask for my password - how do I input my password? #583

Closed
BananaElf9 opened this issue Jun 18, 2024 · 4 comments

Comments

@BananaElf9
Copy link

Hey guys so I'm new to docker and trying to get this all running. any ideas why it won't ask for my password? I've also tried sync-icloud.sh --initialize -- username --password to no avail.

`PS F:\docker-icloudpd> docker exec -it docker-icloudpd-icloudpd_user-1 /bin/sh
root@icloudpd_user:/> sync-icloud.sh --initialize

2024-06-18 19:42:38 INFO ***** boredazfcuk/icloudpd container v1.0.846_17-06-2024 started *****
2024-06-18 19:42:38 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2024-06-18 19:42:38 INFO Alpine Linux 3.20.0
2024-06-18 19:42:38 INFO Python version: 3.12.3
2024-06-18 19:42:40 INFO icloud-photos-downloader version: 1.20.0
2024-06-18 19:42:40 INFO Loading configuration from: /config/icloudpd.conf
2024-06-18 19:43:09 INFO Apple ID: [email protected]
2024-06-18 19:43:09 INFO Authentication Type: MFA
2024-06-18 19:43:09 INFO Cookie path: /config/abcdcom
2024-06-18 19:43:09 INFO Cookie expiry notification period: 7
2024-06-18 19:43:09 INFO Download destination directory: /home/user/iCloud
2024-06-18 19:43:09 INFO Folder structure: {:%Y/%m/%d}
2024-06-18 19:43:09 INFO Keep Unicode: false
2024-06-18 19:43:09 INFO Live Photo MOV Filename Policy: suffix
2024-06-18 19:43:09 INFO File Match Policy: name-size-dedup-with-suffix
2024-06-18 19:43:09 INFO Synchronisation interval: 86400
2024-06-18 19:43:09 INFO Synchronisation delay (minutes): 0
2024-06-18 19:43:09 INFO Set EXIF date/time: false
2024-06-18 19:43:09 INFO Auto delete: false
2024-06-18 19:43:09 INFO Delete after download: false
2024-06-18 19:43:09 INFO Photo size: original
2024-06-18 19:43:09 INFO Align RAW: as-is
2024-06-18 19:43:09 INFO Single pass mode: false
2024-06-18 19:43:09 INFO Skip download check: false
2024-06-18 19:43:09 INFO Skip live photos: false
2024-06-18 19:43:09 INFO Number of most recently added photos to download: Download All Photos
2024-06-18 19:43:09 INFO Downloading photos from library: all libraries
2024-06-18 19:43:09 INFO Stop downloading when prexisiting files count is: Download All Photos
2024-06-18 19:43:09 INFO Live photo size: original
2024-06-18 19:43:09 INFO Skip videos: false
2024-06-18 19:43:09 INFO Convert HEIC to JPEG: false
2024-06-18 19:43:09 INFO Downloading from: icloud.com
2024-06-18 19:43:09 INFO Authentication domain: com
2024-06-18 19:43:09 INFO Ignore Synology extended attribute directories: Disabled
2024-06-18 19:43:10 INFO Script launch parameters: --initialize
usage: icloud [-h] [--username USERNAME] [--password PASSWORD] [-n] [--delete-from-keyring] [--list] [--llist] [--locate] [--device DEVICE_ID] [--sound] [--message MESSAGE] [--silentmessage SILENTMESSAGE]
[--lostmode] [--lostphone LOST_PHONE] [--lostpassword LOST_PASSWORD] [--lostmessage LOST_MESSAGE] [--outputfile] [--domain DOMAIN]
icloud: error: No password supplied
2024-06-18 19:43:12 ERROR Keyring file does not exist. Please try again.
`

@boredazfcuk
Copy link
Owner

Initialise is spelled incorrectly. I did think I'd made adjustments for that though, as you're not the first to do it lol. You can just use --init too.

Shouldn't need anything else. It prompts you for the password and the Apple ID will be pulled from the icloudpd.conf file, or the variable if the container was created with one.

Also, the shell should be /bin/ash, but I would have thought sh links to ash.

I usually launch mine like this:
docker exec -it icloudpd /bin/ash

Then sync-icloud.sh --init from the shell prompt and follow the on-screen instructions.

@BananaElf9
Copy link
Author

Thanks! I tried those steps but looks like it gave the same response

PS F:\docker-icloudpd> docker exec -it docker-icloudpd-icloudpd_user-1 /bin/ash
root@icloudpd_user:/> sync-icloud.sh --init

2024-06-18 20:48:15 INFO     ***** boredazfcuk/icloudpd container v1.0.846_17-06-2024 started *****
2024-06-18 20:48:15 INFO     ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2024-06-18 20:48:15 INFO     Alpine Linux 3.20.0
2024-06-18 20:48:15 INFO     Python version: 3.12.3
2024-06-18 20:48:16 INFO     icloud-photos-downloader version: 1.20.0
2024-06-18 20:48:16 INFO     Loading configuration from: /config/icloudpd.conf
2024-06-18 20:48:46 INFO     Apple ID: [email protected]
2024-06-18 20:48:46 INFO     Authentication Type: MFA
2024-06-18 20:48:46 INFO     Cookie path: /config/abcdgmailcom
2024-06-18 20:48:46 INFO     Cookie expiry notification period: 7
2024-06-18 20:48:46 INFO     Download destination directory: /home/user/iCloud
2024-06-18 20:48:46 INFO     Folder structure: {:%Y/%m/%d}
2024-06-18 20:48:46 INFO     Keep Unicode: false
2024-06-18 20:48:46 INFO     Live Photo MOV Filename Policy: suffix
2024-06-18 20:48:46 INFO     File Match Policy: name-size-dedup-with-suffix
2024-06-18 20:48:46 INFO     Synchronisation interval: 86400
2024-06-18 20:48:46 INFO     Synchronisation delay (minutes): 0
2024-06-18 20:48:46 INFO     Set EXIF date/time: false
2024-06-18 20:48:46 INFO     Auto delete: false
2024-06-18 20:48:46 INFO     Delete after download: false
2024-06-18 20:48:46 INFO     Photo size: original
2024-06-18 20:48:46 INFO     Align RAW: as-is
2024-06-18 20:48:46 INFO     Single pass mode: false
2024-06-18 20:48:46 INFO     Skip download check: false
2024-06-18 20:48:46 INFO     Skip live photos: false
2024-06-18 20:48:46 INFO     Number of most recently added photos to download: Download All Photos
2024-06-18 20:48:46 INFO     Downloading photos from library: all libraries
2024-06-18 20:48:46 INFO     Stop downloading when prexisiting files count is: Download All Photos
2024-06-18 20:48:46 INFO     Live photo size: original
2024-06-18 20:48:46 INFO     Skip videos: false
2024-06-18 20:48:46 INFO     Convert HEIC to JPEG: false
2024-06-18 20:48:46 INFO     Downloading from: icloud.com
2024-06-18 20:48:46 INFO     Authentication domain: com
2024-06-18 20:48:46 INFO     Ignore Synology extended attribute directories: Disabled
2024-06-18 20:48:47 INFO     Script launch parameters: --init
usage: icloud [-h] [--username USERNAME] [--password PASSWORD] [-n] [--delete-from-keyring] [--list] [--llist] [--locate] [--device DEVICE_ID] [--sound] [--message MESSAGE] [--silentmessage SILENTMESSAGE]
              [--lostmode] [--lostphone LOST_PHONE] [--lostpassword LOST_PASSWORD] [--lostmessage LOST_MESSAGE] [--outputfile] [--domain DOMAIN]
icloud: error: No password supplied
2024-06-18 20:48:49 ERROR    Keyring file does not exist. Please try again.

@SandraCHC
Copy link

SandraCHC commented Jun 18, 2024

Maybe it is the same issue like in the main package?
icloud-photos-downloader/icloud_photos_downloader#871
I have the same issue

With your older Version boredazfcuk/icloudpd:1.0.825 it works. After Keyring is createt, you can use the newest version

@boredazfcuk
Copy link
Owner

Is this still an issue with latest version?

@boredazfcuk boredazfcuk closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants