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

Container Fails to Start with "No such file or directory" Error After Update to v1.0.1173_20-01-2025 #734

Closed
ratisil opened this issue Jan 22, 2025 · 24 comments
Assignees

Comments

@ratisil
Copy link

ratisil commented Jan 22, 2025

System:

  • OS: Synology DSM
  • Version 7.2.2-72806 Update 2

Describe the bug

  • Container can't start properly with error "No such file or directory" after the latest update v1.0.1173_20-01-2025. The last working version for me was 1.0.1096_15-01-2025 and versions before that.

Expected behaviour

  • No "No such file or directory" error

Actual behaviour

  • Can't start the container

Debug log file
2025-01-22 22:33:01 INFO ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-22 22:33:01 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-22 22:33:01 INFO Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-22 22:33:01 INFO Python version:
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-22 22:33:01 INFO icloud-photos-downloader version:
2025-01-22 22:33:01 INFO Loading configuration from:
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory
2025-01-22 22:33:17 INFO ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-22 22:33:17 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-22 22:33:17 INFO Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-22 22:33:17 INFO Python version:
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-22 22:33:17 INFO icloud-photos-downloader version:
2025-01-22 22:33:17 INFO Loading configuration from:
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory
2025-01-22 22:33:30 INFO ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-22 22:33:30 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-22 22:33:30 INFO Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-22 22:33:30 INFO Python version:
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-22 22:33:30 INFO icloud-photos-downloader version:
2025-01-22 22:33:30 INFO Loading configuration from:
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory
2025-01-22 22:33:43 INFO ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-22 22:33:43 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-22 22:33:43 INFO Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-22 22:33:43 INFO Python version:
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-22 22:33:43 INFO icloud-photos-downloader version:
2025-01-22 22:33:43 INFO Loading configuration from:
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory

@boredazfcuk
Copy link
Owner

What happens at the start of the script during initialisation? This is when the /tmp/icloudpd folder is created. Your container is complaining that it doesn't exist. Which is odd, as it's created every time the container starts (if cannot find it) and it should also generate an error, or halt the container, if the command to create it fails.

@ratisil
Copy link
Author

ratisil commented Jan 22, 2025

The container stopped and kept restarting while producing below log when I run with the latest version

2025-01-22 23:24:13 INFO ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-22 23:24:13 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-22 23:24:13 INFO Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-22 23:24:13 INFO Python version:
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-22 23:24:13 INFO icloud-photos-downloader version:
2025-01-22 23:24:13 INFO Loading configuration from:
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory

And below is when I switched to v1.0.1096_15-01-2025

2025-01-22 23:29:11 INFO ***** boredazfcuk/icloudpd container v1.0.1096_15-01-2025 started *****
2025-01-22 23:29:11 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-22 23:29:11 INFO Alpine Linux 3.21.2
2025-01-22 23:29:12 INFO Python version: 3.12.8
2025-01-22 23:29:14 INFO icloud-photos-downloader version: 1.26.0
2025-01-22 23:29:14 INFO Checking for updates...
2025-01-22 23:29:15 INFO - Current version (v1096) is out of date. Please upgrade to latest version (v1173). Continuing in 2 minutes...
2025-01-22 23:31:15 INFO Loading configuration from: /config/icloudpd.conf
2025-01-22 23:31:16 INFO Debug logging: Disabled
2025-01-22 23:31:16 INFO Apple ID: [remove]
2025-01-22 23:31:16 INFO Cookie path: /config/[remove]
2025-01-22 23:31:16 INFO Cookie expiry notification period: 7
2025-01-22 23:31:16 INFO Download destination directory: iCloud
2025-01-22 23:31:16 INFO Folder structure: {:%Y/%m/%d}
2025-01-22 23:31:16 INFO Keep Unicode: false
2025-01-22 23:31:16 INFO Live Photo MOV Filename Policy: suffix
2025-01-22 23:31:16 INFO File Match Policy: name-size-dedup-with-suffix
2025-01-22 23:31:16 INFO Synchronisation interval: 86400
2025-01-22 23:31:16 INFO Synchronisation delay (minutes): 0
2025-01-22 23:31:16 INFO Set EXIF date/time: false
2025-01-22 23:31:16 INFO Auto delete: false
2025-01-22 23:31:16 INFO Delete after download: false
2025-01-22 23:31:16 INFO Delete empty directories: false
2025-01-22 23:31:16 INFO Photo size: original
2025-01-22 23:31:16 INFO Align RAW: as-is
2025-01-22 23:31:16 INFO Single pass mode: false
2025-01-22 23:31:16 INFO Skip download check: false
2025-01-22 23:31:16 INFO Skip live photos: false
2025-01-22 23:31:16 INFO Number of most recently added photos to download: Download All Photos
2025-01-22 23:31:16 INFO Downloading photos from: Download All Photos
2025-01-22 23:31:16 INFO Stop downloading when prexisiting files count is: Download All Photos
2025-01-22 23:31:16 INFO Live photo size: original
2025-01-22 23:31:16 INFO Skip videos: false
2025-01-22 23:31:16 INFO Convert HEIC to JPEG: true
2025-01-22 23:31:16 INFO Telegram notifications enabled
2025-01-22 23:31:16 INFO Telegram token: [remove]
2025-01-22 23:31:16 INFO Telegram chat id: [remove]
2025-01-22 23:31:16 INFO Telegram polling: true
2025-01-22 23:31:16 INFO Telegram uses HTTP: false
2025-01-22 23:31:16 INFO Telegram base URL: [remove]
2025-01-22 23:31:16 INFO Telegram notification URL: [remove]
2025-01-22 23:31:16 INFO Check Telegram bot initialised...
2025-01-22 23:31:31 INFO - Bot has been initialised
2025-01-22 23:31:31 INFO Latest update id: 368869297
2025-01-22 23:31:31 INFO Sending Telegram startup notification
2025-01-22 23:31:32 INFO Downloading from: icloud.com
2025-01-22 23:31:32 INFO Fake user agent for curl: Disabled
2025-01-22 23:31:32 INFO Authentication domain: com
2025-01-22 23:31:32 INFO Ignore Synology extended attribute directories: Disabled
2025-01-22 23:31:32 INFO Container initialisation complete
2025-01-22 23:31:33 INFO Directory is writable: /config/python_keyring/
2025-01-22 23:31:33 INFO Check download directory mounted correctly...
2025-01-22 23:31:33 INFO Failsafe file iCloud/.mounted exists, continuing
2025-01-22 23:31:33 INFO Directory is writable: /config/python_keyring/
2025-01-22 23:31:33 INFO Keyring file exists, continuing
2025-01-22 23:31:33 INFO Sync user: ratisil
2025-01-22 23:31:33 INFO Synchronisation starting at 23:31:33
2025-01-22 23:31:33 INFO Keyring file exists, continuing
2025-01-22 23:31:33 INFO Check download directory mounted correctly...
2025-01-22 23:31:33 INFO Failsafe file iCloud/.mounted exists, continuing
2025-01-22 23:31:33 INFO Check for new files using password stored in keyring file
2025-01-22 23:31:33 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

@boredazfcuk
Copy link
Owner

The latest version of the container performs an initialisation prior to where you have copied the log from though. It's this that I'm interested in.

@THX723
Copy link

THX723 commented Jan 22, 2025

I've got the same issue. I thought I created an issue for that a couple days ago, but it disappeared.

Here's more detail from my side (FYI, hosting on Docker on top of a Synology box):

wc: /tmp/icloudpd/icloudpd_check.log: No such file or directory
2025-01-20 14:07:14 INFO Check successful
ash: out of range
cat: /tmp/icloudpd/icloudpd_check_exit_code: No such file or directory
su: unknown user user
/usr/local/bin/sync-icloud.sh: line 872: can't create /tmp/icloudpd/icloudpd_check_error: nonexistent directory
.
.
.
INFO Loading configuration from: /config/icloudpd.conf
INFO icloud-photos-downloader version:
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
INFO Python version:
cat: /tmp/icloudpd/python_version: No such file or directory
INFO Alpine Linux 3.21.2
INFO ***** For support, please go here: https://github.com/bor...
INFO ***** boredazfcuk/icloudpd container

Looks like an username/rights issue?

@mrblack7
Copy link

mrblack7 commented Jan 23, 2025

Same issue here when I updated about 5 mins ago. 4 containers out of action 😬

Synology NAS

24-01-2025 06:28 /usr/local/bin/sync-icloud.sh: source: line 13: can't open ": No such file or directory
24-01-2025 06:28 2025-01-24 06:28:24 INFO Loading configuration from:
24-01-2025 06:28 2025-01-24 06:28:24 INFO icloud-photos-downloader version:
24-01-2025 06:28 cat: /tmp/icloudpd/icloudpd_version: No such file or directory
24-01-2025 06:28 2025-01-24 06:28:24 INFO Python version:
24-01-2025 06:28 cat: /tmp/icloudpd/python_version: No such file or directory
24-01-2025 06:28 2025-01-24 06:28:24 INFO Alpine Linux

@boredazfcuk
Copy link
Owner

boredazfcuk commented Jan 23, 2025

Two of you are getting:

INFO Loading configuration from:
/usr/local/bin/sync-icloud.sh: source: line 13: can't open ": No such file or directory

Line 13 is simply: source "${config_file}"

This is saying that it can't find the configuration file, because the ${config_file} variable does not exist/is empty. However, this is hardcoded at build time in the container. Are you overriding the variable at launch somehow? config_file="" maybe?

Also, if you check this post: #736, you'll notice that the log file starts with "Initialising container..." then does all the stuff it needs to before running (ignore his error about libraries for now lol). Can you guys post this part of the log?

You're all running Synology devices too, so I don't think this is a coincidence. How are you all creating your container?

@boredazfcuk
Copy link
Owner

I've got the same issue. I thought I created an issue for that a couple days ago, but it disappeared.

That will have been the one that was deleted because it ignored the issue template.

@mrblack7
Copy link

I'm not sure where to get the log stuff before that. Synology container manager doens't show it

Here's what my variables are set to

Image

@boredazfcuk
Copy link
Owner

Can you check your /config volume and see if the icldoud.conf file has all these variables correctly set in it?

The bit of the log I'm referring to is just the output of the /usr/local/bin/launcher.sh file. This is the first thing that the container fires up, it then calls a 2nd script to create and initialise the icloudpd.conf file, after that completes control is returned to launcher.sh and it then hands over to the 3rd script sync-icloud.sh which handles everything from there on out.

Maybe your container is skipping over the first script. Where have you installed the container from? Dockerhub?

I know that in the past, someone created an UnRAID template, which hardcoded a bunch of stuff and invalidated future changes. I wonder if you'd all installed from a source which I have no control over, like the UnRAID template.

@yeshengfeng
Copy link

I have the same problem,this is the log
OS: Synology DSM

root@DS218plus:~# docker exec -it icloudpd sync-icloud.sh --Initialise
2025-01-23 20:05:09 INFO ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-23 20:05:09 INFO ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-23 20:05:09 INFO Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-23 20:05:09 INFO Python version:
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-23 20:05:09 INFO icloud-photos-downloader version:
2025-01-23 20:05:09 INFO Loading configuration from: /config/icloudpd.conf
hostname: icloudpd: Host not found
2025-01-23 20:05:09 DEBUG Running user id: 0
2025-01-23 20:05:09 DEBUG Running group id: 0
2025-01-23 20:05:09 DEBUG Local user: 22********:1026
2025-01-23 20:05:09 DEBUG Local group: ad********:101
2025-01-23 20:05:09 DEBUG Force GID:
2025-01-23 20:05:09 DEBUG LAN IP Address:
2025-01-23 20:05:09 DEBUG Default gateway: 192.168.3.254
2025-01-23 20:05:09 DEBUG DNS server: 8.8.8.8
114.114.114.114
2025-01-23 20:05:09 DEBUG IP address for icloud.com.cn: 103.115.248.1
2025-01-23 20:05:09 INFO Debug logging: Enabled
2025-01-23 20:05:09 INFO Apple ID: j9@1.com
2025-01-23 20:05:09 INFO Cookie path: /config/j91com
2025-01-23 20:05:09 INFO Cookie expiry notification period: 7
2025-01-23 20:05:09 INFO Download destination directory: /iCloud
2025-01-23 20:05:09 INFO Folder structure: {:%Y/%m/%d}
2025-01-23 20:05:09 DEBUG Directory permissions: 750
2025-01-23 20:05:09 DEBUG File permissions: 640
2025-01-23 20:05:09 INFO Keep Unicode: false
2025-01-23 20:05:09 INFO Live Photo MOV Filename Policy: suffix
2025-01-23 20:05:09 INFO File Match Policy: name-size-dedup-with-suffix
2025-01-23 20:05:09 INFO Synchronisation interval: 86400
2025-01-23 20:05:09 INFO Synchronisation delay (minutes): 0
2025-01-23 20:05:09 INFO Set EXIF date/time: false
2025-01-23 20:05:10 INFO Auto delete: false
2025-01-23 20:05:10 INFO Delete after download: false
2025-01-23 20:05:10 INFO Delete empty directories:
2025-01-23 20:05:10 INFO Photo size: original
2025-01-23 20:05:10 INFO Align RAW: as-is
2025-01-23 20:05:10 INFO Single pass mode: false
2025-01-23 20:05:10 INFO Skip download check: true
2025-01-23 20:05:10 INFO Skip live photos: false
2025-01-23 20:05:10 INFO Number of most recently added photos to download: Download All Photos
2025-01-23 20:05:10 INFO Downloading photos from: Download All Photos
2025-01-23 20:05:10 INFO Stop downloading when prexisiting files count is: Download All Photos
2025-01-23 20:05:10 INFO Live photo size:
2025-01-23 20:05:10 INFO Skip videos: false
2025-01-23 20:05:10 INFO Convert HEIC to JPEG: true
2025-01-23 20:05:10 DEBUG JPEG conversion quality: 100
2025-01-23 20:05:10 INFO Telegram notifications enabled
2025-01-23 20:05:10 DEBUG Notification title: boredazfcuk/iCloudPD
2025-01-23 20:05:10 DEBUG Telegram token: 60hg
2025-01-23 20:05:10 DEBUG Telegram chat id: 61
78
2025-01-23 20:05:10 DEBUG Telegram polling: true
2025-01-23 20:05:10 DEBUG Telegram uses HTTP:
2025-01-23 20:05:10 DEBUG Telegram base URL: https://api.telegram.org/bot60********hg
2025-01-23 20:05:10 DEBUG Telegram notification URL: https://api.telegram.org/bot60********hg/sendMessage
2025-01-23 20:05:10 DEBUG Telegram silent file notifications: false
2025-01-23 20:05:10 DEBUG Startup notification: Enabled
2025-01-23 20:05:10 INFO Sending Telegram startup notification
2025-01-23 20:05:13 DEBUG Telegram startup notification sent successfully
2025-01-23 20:05:13 DEBUG Download notifications: Enabled
2025-01-23 20:05:13 DEBUG Delete notifications: Enabled
2025-01-23 20:05:13 INFO Downloading from: icloud.com.cn
2025-01-23 20:05:13 DEBUG User agent impersonation for curl: Disabled
2025-01-23 20:05:13 INFO Authentication domain: cn
2025-01-23 20:05:13 DEBUG Nextcloud upload: Disabled
2025-01-23 20:05:13 INFO Ignore Synology extended attribute directories: Enabled
2025-01-23 20:05:13 DEBUG Activated Python virtual environment for icloudpd
2025-01-23 20:05:13 INFO Script launch parameters: --Initialise
2025-01-23 20:05:13 DEBUG Configure password
2025-01-23 20:05:13 DEBUG Using password stored in keyring file: /config/python_keyring/keyring_pass.cfg
2025-01-23 20:05:13 INFO Starting container initialisation
2025-01-23 20:05:13 DEBUG Generate MFA cookie using password stored in keyring file
su: unknown user 228269499
grep: /config/jacky0123456789163com: No such file or directory
ash: out of range
2025-01-23 20:05:13 ERROR Multifactor authentication information missing from cookie. Authentication has failed
2025-01-23 20:05:13 ERROR - Was the correct password entered?
2025-01-23 20:05:13 ERROR - Was the multifactor authentication code mistyped?
2025-01-23 20:05:13 ERROR - Can you log into icloud.com.cn without receiving pop-up notifications?
2025-01-23 20:05:13 ERROR - Are you based in China? You will need to set the icloud_china variable
2025-01-23 20:05:13 INFO Container initialisation complete

@boredazfcuk
Copy link
Owner

boredazfcuk commented Jan 24, 2025

Can you grab the container log files (rather than just running the sync-icloud.sh script in the existing container)?

Should be:

docker container logs icloudpd

That should have the output of the initialisation portion of when the container started.

@mrblack7
Copy link

Can you grab the container log files (rather than just running the sync-icloud.sh script in the existing container)?

Should be:

docker container logs icloudpd

That should have the output of the initialisation portion of when the container started.

The output is the same...

2025-01-24 19:21:13 INFO     ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-24 19:21:13 INFO     ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-24 19:21:13 INFO     Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-24 19:21:13 INFO     Python version: 
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-24 19:21:14 INFO     icloud-photos-downloader version: 
2025-01-24 19:21:14 INFO     Loading configuration from: 
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory
2025-01-24 19:21:27 INFO     ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-24 19:21:27 INFO     ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-24 19:21:27 INFO     Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-24 19:21:27 INFO     Python version: 
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-24 19:21:27 INFO     icloud-photos-downloader version: 
2025-01-24 19:21:27 INFO     Loading configuration from: 
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory
2025-01-24 19:22:06 INFO     ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-24 19:22:06 INFO     ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-24 19:22:06 INFO     Alpine Linux 3.21.2
cat: /tmp/icloudpd/python_version: No such file or directory
2025-01-24 19:22:06 INFO     Python version: 
cat: /tmp/icloudpd/icloudpd_version: No such file or directory
2025-01-24 19:22:06 INFO     icloud-photos-downloader version: 
2025-01-24 19:22:06 INFO     Loading configuration from: 
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory

@mrblack7
Copy link

Can you check your /config volume and see if the icldoud.conf file has all these variables correctly set in it?

Here's the file (removed personal info)

agentid=
albums_with_dates=false
apple_id=****@***.***
auth_china=false
authentication_type=MFA
auto_delete=true
bark_device_key=
bark_server=
content_source_url=
convert_heic_to_jpeg=false
debug_logging=false
delete_accompanying=false
delete_after_download=false
delete_notifications=true
dingtalk_token=
directory_permissions=750
discord_id=
discord_token=
download_notifications=true
download_path=/photos/******
file_permissions=640
folder_structure={:%Y/%m/%d}
gotify_app_token=
gotify_https=
gotify_server_url=
group=administrators
group_id=101
icloud_china=
iyuu_token=
jpeg_path=
jpeg_quality=90
libraries_with_dates=false
media_id_delete=
media_id_download=
media_id_expiration=
media_id_startup=
media_id_warning=
nextcloud_delete=false
nextcloud_password=
nextcloud_upload=false
nextcloud_url=
nextcloud_username=
notification_days=7
notification_type=
photo_album=
photo_library=
photo_size=original
prowl_api_key=
pushover_sound=
pushover_token=
pushover_user=
recent_only=
set_exif_datetime=false
single_pass=false
skip_album=
skip_check=true
skip_download=false
skip_library=
skip_live_photos=false
skip_videos=false
startup_notification=true
synchronisation_delay=0
synchronisation_interval=86400
synology_ignore_path=false
telegram_chat_id=
telegram_polling=true
telegram_server=
telegram_silent_file_notifications=
telegram_token=
touser=
trigger_nextlcoudcli_synchronisation=
until_found=
user_id=1026
webhook_https=false
webhook_id=
webhook_path=/api/webhook/
webhook_port=8123
webhook_server=
wecom_id=
wecom_proxy=
wecom_secret=

Maybe your container is skipping over the first script. Where have you installed the container from? Dockerhub?

Yes, installed from Docker Hub

@THX723
Copy link

THX723 commented Jan 24, 2025

Two of you are getting:

INFO Loading configuration from:
/usr/local/bin/sync-icloud.sh: source: line 13: can't open ": No such file or directory

Line 13 is simply: source "${config_file}"

This is saying that it can't find the configuration file, because the ${config_file} variable does not exist/is empty. However, this is hardcoded at build time in the container. Are you overriding the variable at launch somehow? config_file="" maybe?

Yes, for the longest time I've had mine has been set to:

config_file="/config/icloudpd.conf"

@mrblack7
Copy link

I created a new container from scratch and got the same result

2025-01-25 06:32:15 INFO     ***** boredazfcuk/icloudpd container v1.0.1173_20-01-2025 started *****
2025-01-25 06:32:15 INFO     ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2025-01-25 06:32:15 INFO     Alpine Linux 3.21.2
2025-01-25 06:32:15 INFO     Python version: 3.12.8
2025-01-25 06:32:15 INFO     icloud-photos-downloader version: 1.26.0
2025-01-25 06:32:15 INFO     Loading configuration from: 
/usr/local/bin/sync-icloud.sh: source: line 13: can't open '': No such file or directory

@boredazfcuk
Copy link
Owner

Can you lost the results of a docker inspect icloupd?

There might be a boat load of info, I just want to see what it says for command/cmd and entrypoint

@mrblack7
Copy link

Can you lost the results of a docker inspect icloupd?

There might be a boat load of info, I just want to see what it says for command/cmd and entrypoint

[
    {
        "Id": "327c0bcef78ccadde387f586d1e62be64a0b5a663aef26a531a5de10c66dc34f",
        "Created": "2025-01-23T19:21:42.00333184Z",
        "Path": "/bin/sh",
        "Args": [
            "-c",
            "/usr/local/bin/sync-icloud.sh"
        ],
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 2,
            "Error": "",
            "StartedAt": "2025-01-24T08:22:06.514949255Z",
            "FinishedAt": "2025-01-24T08:22:06.578799705Z",
            "Health": {
                "Status": "unhealthy",
                "FailingStreak": 0,
                "Log": []
            },
            "StartedTs": 1737706926,
            "FinishedTs": 1737706926
        },
        "Image": "sha256:a461139e09b8f6ae9130c930d339b233ff7fc223291f81e192f83720d5f0c727",
        "ResolvConfPath": "/volume1/@docker/containers/327c0bcef78ccadde387f586d1e62be64a0b5a663aef26a531a5de10c66dc34f/resolv.conf",
        "HostnamePath": "/volume1/@docker/containers/327c0bcef78ccadde387f586d1e62be64a0b5a663aef26a531a5de10c66dc34f/hostname",
        "HostsPath": "/volume1/@docker/containers/327c0bcef78ccadde387f586d1e62be64a0b5a663aef26a531a5de10c66dc34f/hosts",
        "LogPath": "/volume1/@docker/containers/327c0bcef78ccadde387f586d1e62be64a0b5a663aef26a531a5de10c66dc34f/log.db",
        "Name": "/icloudpd-**********",
        "RestartCount": 0,
        "Driver": "btrfs",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/volume1/photos/**********:/photos/**********:rw",
                "/volume1/docker/icloudpd-**********/config:/config:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "db",
                "Config": {}
            },
            "NetworkMode": "bridge",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": [],
            "CapDrop": [],
            "CgroupnsMode": "host",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "TZ=Australia/Melbourne",
                "apple_id=**********@****.com",
                "download_path=/photos/**********",
                "user=**********",
                "user_id=1026",
                "group=administrators",
                "group_id=101",
                "auto_delete=true",
                "keep_unicode=false",
                "live_photo_mov_filename_policy=suffix",
                "align_raw=as-is",
                "file_match_policy=name-size-dedup-with-suffix",
                "notification_type=msmtp",
                "msmtp_host=smtp.******.com",
                "msmtp_port=465",
                "msmtp_tls=off",
                "msmtp_from=******@*******",
                "msmtp_user=**********@****.com",
                "msmtp_pass=*******",
                "live_photo_size=original"
            ],
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 50,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": null,
            "Name": "btrfs"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/volume1/photos/**********",
                "Destination": "/photos/**********",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/volume1/docker/icloudpd-**********/config",
                "Destination": "/config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "icloudpd-**********-copy",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": true,
            "OpenStdin": true,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "TZ=Australia/Melbourne",
                "apple_id=**********@****.com",
                "download_path=/photos/**********",
                "user=**********",
                "user_id=1026",
                "group=administrators",
                "group_id=101",
                "auto_delete=true",
                "keep_unicode=false",
                "live_photo_mov_filename_policy=suffix",
                "align_raw=as-is",
                "file_match_policy=name-size-dedup-with-suffix",
                "notification_type=msmtp",
                "msmtp_host=smtp.fastmail.com",
                "msmtp_port=465",
                "msmtp_tls=off",
                "msmtp_from=hungrynas@fastmail.to",
                "msmtp_user=**********@****.com",
                "msmtp_pass=6z7p7y6x7m2c6a9b",
                "live_photo_size=original"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "/usr/local/bin/sync-icloud.sh"
            ],
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "/usr/local/bin/healthcheck.sh"
                ],
                "Interval": 60000000000,
                "Timeout": 10000000000,
                "StartPeriod": 10000000000
            },
            "Image": "boredazfcuk/icloudpd:latest",
            "Volumes": {
                "/config": {}
            },
            "WorkingDir": "/",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "maintainer": "boredazfcuk"
            },
            "DDSM": false
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "31f59eb9db0c681d43e54b815b298c711790b6d9f4633f4dc3a643c1dfe0c78e",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/31f59eb9db0c",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "3f1b1ee9cfe59db530e8e920171346e338a2f4794077c6f3d414024f23d0eb2e",
                    "EndpointID": "",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "",
                    "DriverOpts": null
                }
            }
        }
    }
]

@ratisil
Copy link
Author

ratisil commented Jan 25, 2025

Can you lost the results of a docker inspect icloupd?

There might be a boat load of info, I just want to see what it says for command/cmd and entrypoint

Below is my container inspect

{
    "AppArmorProfile": "docker-unconfined",
    "Args": [
        "-c",
        "/usr/local/bin/sync-icloud.sh"
    ],
    "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/bin/sh",
            "-c",
            "/usr/local/bin/sync-icloud.sh"
        ],
        "DDSM": false,
        "Domainname": "",
        "Entrypoint": null,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "XDG_DATA_HOME=/config",
            "TZ=Asia/Bangkok",
            "ENV=/etc/profile",
            "config_dir=/config",
            "apple_id=REDACTED_EMAIL",
            "download_path=iCloud",
            "synology_photos_app_fix=True",
            "user=REDACTED_USERNAME",
            "keep_unicode=false",
            "live_photo_mov_filename_policy=suffix",
            "align_raw=as-is",
            "file_match_policy=name-size-dedup-with-suffix",
            "live_photo_size=original",
            "convert_heic_to_jpeg=true",
            "jpeg_quality=100"
        ],
        "Healthcheck": {
            "Interval": 60000000000,
            "StartPeriod": 10000000000,
            "Test": [
                "CMD-SHELL",
                "/usr/local/bin/healthcheck.sh"
            ],
            "Timeout": 10000000000
        },
        "Hostname": "icloudpd1-REDACTED",
        "Image": "boredazfcuk/icloudpd:latest",
        "Labels": {
            "maintainer": "boredazfcuk"
        },
        "OnBuild": null,
        "OpenStdin": true,
        "StdinOnce": false,
        "Tty": true,
        "User": "",
        "Volumes": {
            "/config": {}
        },
        "WorkingDir": "/"
    },
    "Created": "2025-01-22T15:32:12.631626651Z",
    "Driver": "btrfs",
    "ExecIDs": null,
    "GraphDriver": {
        "Data": null,
        "Name": "btrfs"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "/volume1/docker/icloudpd/Photos/REDACTED:/config/:rw",
            "/volume1/homes/REDACTED/Photos/iCloud:/iCloud:rw"
        ],
        "BlkioDeviceReadBps": null,
        "BlkioDeviceReadIOps": null,
        "BlkioDeviceWriteBps": null,
        "BlkioDeviceWriteIOps": null,
        "BlkioWeight": 0,
        "BlkioWeightDevice": null,
        "CapAdd": [],
        "CapDrop": [],
        "Cgroup": "",
        "CgroupParent": "",
        "CgroupnsMode": "host",
        "ConsoleSize": [
            0,
            0
        ],
        "ContainerIDFile": "",
        "CpuCount": 0,
        "CpuPercent": 0,
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpuShares": 50,
        "CpusetCpus": "",
        "CpusetMems": "",
        "DeviceCgroupRules": null,
        "DeviceRequests": null,
        "Devices": null,
        "Dns": [],
        "DnsOptions": [],
        "DnsSearch": [],
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "XDG_DATA_HOME=/config",
            "TZ=Asia/Bangkok",
            "ENV=/etc/profile",
            "config_dir=/config",
            "apple_id=REDACTED_EMAIL",
            "download_path=iCloud",
            "synology_photos_app_fix=True",
            "user=REDACTED_USERNAME",
            "keep_unicode=false",
            "live_photo_mov_filename_policy=suffix",
            "align_raw=as-is",
            "file_match_policy=name-size-dedup-with-suffix",
            "live_photo_size=original",
            "convert_heic_to_jpeg=true",
            "jpeg_quality=100"
        ],
        "ExtraHosts": null,
        "GroupAdd": null,
        "IOMaximumBandwidth": 0,
        "IOMaximumIOps": 0,
        "IpcMode": "private",
        "Isolation": "",
        "KernelMemory": 0,
        "KernelMemoryTCP": 0,
        "Links": null,
        "LogConfig": {
            "Config": {},
            "Type": "db"
        },
        "MaskedPaths": null,
        "Memory": 0,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": null,
        "NanoCpus": 0,
        "NetworkMode": "iCloudPD-Network",
        "OomKillDisable": false,
        "OomScoreAdj": 0,
        "PidMode": "",
        "PidsLimit": null,
        "PortBindings": {},
        "Privileged": true,
        "PublishAllPorts": false,
        "ReadonlyPaths": null,
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": "always"
        },
        "Runtime": "runc",
        "SecurityOpt": [
            "label=disable"
        ],
        "ShmSize": 67108864,
        "UTSMode": "",
        "Ulimits": null,
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "/volume1/@docker/containers/d34bc918d73bbad860177ad1538e3bc6a3e93bd2ab768958d621409584e169ef/hostname",
    "HostsPath": "/volume1/@docker/containers/d34bc918d73bbad860177ad1538e3bc6a3e93bd2ab768958d621409584e169ef/hosts",
    "Id": "d34bc918d73bbad860177ad1538e3bc6a3e93bd2ab768958d621409584e169ef",
    "Image": "sha256:84e9402ef128b81615e6614d8e063cf07331b8da5910e5e2b3da2eb09938fbe4",
    "LogPath": "/volume1/@docker/containers/d34bc918d73bbad860177ad1538e3bc6a3e93bd2ab768958d621409584e169ef/log.db",
    "MountLabel": "",
    "Mounts": [
        {
            "Destination": "/config",
            "Mode": "rw",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/volume1/docker/icloudpd/Photos/REDACTED",
            "Type": "bind"
        },
        {
            "Destination": "/iCloud",
            "Mode": "rw",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/volume1/homes/REDACTED/Photos/iCloud",
            "Type": "bind"
        }
    ],
    "Name": "/icloudpd1-REDACTED",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "iCloudPD-Network": {
                "Aliases": [
                    "d34bc918d73b",
                    "icloudpd1-REDACTED"
                ],
                "DriverOpts": null,
                "EndpointID": "",
                "Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": null,
                "IPAddress": "",
                "IPPrefixLen": 0,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "",
                "NetworkID": "14c34380d36c3b18f0704ce051d3fae2a566e49bcbff0f6584421c91afb2ce54"
            }
        },
        "Ports": {},
        "SandboxID": "726d35e0b9245e531a4fc5922838765bc3514b7959a8db3ba2f7434e594e5467",
        "SandboxKey": "/var/run/docker/netns/726d35e0b924",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null
    },
    "Path": "/bin/sh",
    "Platform": "linux",
    "ProcessLabel": "",
    "ResolvConfPath": "/volume1/@docker/containers/d34bc918d73bbad860177ad1538e3bc6a3e93bd2ab768958d621409584e169ef/resolv.conf",
    "RestartCount": 3,
    "State": {
        "Dead": false,
        "Error": "",
        "ExitCode": 2,
        "FinishedAt": "2025-01-22T15:35:53.152658228Z",
        "FinishedTs": 1737560153,
        "Health": {
            "FailingStreak": 0,
            "Log": [],
            "Status": "unhealthy"
        },
        "OOMKilled": false,
        "Paused": false,
        "Pid": 0,
        "Restarting": false,
        "Running": false,
        "StartedAt": "2025-01-22T15:35:53.067417186Z",
        "StartedTs": 1737560153,
        "Status": "exited"
    }
}

@boredazfcuk
Copy link
Owner

boredazfcuk commented Jan 25, 2025

These bits are both wrong somehow:

    "Args": [
        "-c",
        "/usr/local/bin/sync-icloud.sh"
    ],

        "Cmd": [
            "/bin/sh",
            "-c",
            "/usr/local/bin/sync-icloud.sh"
        ],

They should look like this:

        "Args": [
            "-c",
            "/usr/local/bin/launcher.sh"
        ],

            "Cmd": [
                "/bin/sh",
                "-c",
                 "/usr/local/bin/launcher.sh"
            ],

I can also see the variables are not correctly set:

        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "XDG_DATA_HOME=/config",
            "TZ=Asia/Bangkok",
            "ENV=/etc/profile",
            "config_dir=/config",
...
        ],

This is what it looks like in my inspect:

            "Env": [
                "TZ=Europe/London",
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "XDG_DATA_HOME=/config",
                "ENV=/etc/profile",
                "config_file=/config/icloudpd.conf"
            ],

The config_dir variable hasn't been set in the Dockerfile, for ages. It's been config_file for a long time now.

The only variable I set at creation time is TZ, all the other variables are hardcoded into the container, and in there TZ="UTC" so I'm overriding it. You can validate that here: https://hub.docker.com/layers/boredazfcuk/icloudpd/latest/images/sha256-5cb37f7c3f124367ad561522fbbe0892f8bbd659a574d790247c1e3ada8d7fc7 (it also shows the CMD as /usr/local/bin/launcher.sh)

The only thing can think is that Synology have switched the default Docker registry to something different and you're not getting the one I publish on Dockerhub. Can you recreate your container, but use docker.io/boredazfcuk/icloudpd as the image name, instead of just boredazfcuk/icloudpd? e.g.:

   icloudpd_ipad:
      hostname: icloudpd_ipad
      container_name: icloudpd_ipad
      networks:
         - icloudpd_network
      environment:
         - TZ=Europe/London
      image: docker.io/boredazfcuk/icloudpd
      restart: always
      volumes:
         - icloudpd_ipad_config:/config/
         - /home/ipad/iCloud/:/home/ipad/iCloud/

@mrblack7
Copy link

Some progress today...

Container Manager was showing an update avaialble for the image, so I updated it, but the original continer still didn't work.

Image

Created a new one and its working now

Not sure what changed, but in Docker Hub it is showing 2 updates pushed pretty close to each other

https://registry.hub.docker.com/r/boredazfcuk/icloudpd/tags

Image

@boredazfcuk
Copy link
Owner

Created a new one and its working now

Good news

Not sure what changed, but in Docker Hub it is showing 2 updates pushed pretty close to each other

https://registry.hub.docker.com/r/boredazfcuk/icloudpd/tags

Image

That's one update. It's a list of tags. 1.0.1178_23-01-2025 is also tagged as "latest" because it is the latest version.

You can tell the tags point to the same image as the digests are the same for both tags.

@THX723
Copy link

THX723 commented Jan 26, 2025

Also now working for me, after creating a new container. Creating a new container did not do the trick for me previously. Weird.

@ratisil
Copy link
Author

ratisil commented Jan 26, 2025

It's now working for me as well by creating a new container. Thank you!

Few notes

  • Args is now using usr/local/bin/launcher.sh instead of /usr/local/bin/sync-icloud.sh
  • Env is displaying similarly my non-working instance (v1.0.1173_20-01-2025) with config_dir
 "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "XDG_DATA_HOME=/config",
            "TZ=Asia/Bangkok",
            "ENV=/etc/profile",
            "config_file=/config/icloudpd.conf",
            "config_dir=/config",

here's my inspect from the latest version (1.0.1179_25-01-2025) for your reference.

{
    "AppArmorProfile": "docker-unconfined",
    "Args": [
        "-c",
        "/usr/local/bin/launcher.sh"
    ],
    "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": [
            "/bin/sh",
            "-c",
            "/usr/local/bin/launcher.sh"
        ],
        "DDSM": false,
        "Domainname": "",
        "Entrypoint": null,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "XDG_DATA_HOME=/config",
            "TZ=Asia/Bangkok",
            "ENV=/etc/profile",
            "config_file=/config/icloudpd.conf",
            "config_dir=/config",
            "apple_id=REDACTED_EMAIL",
            "download_path=iCloud",
            "synology_photos_app_fix=True",
            "user=REDACTED_USERNAME",
            "keep_unicode=false",
            "live_photo_mov_filename_policy=suffix",
            "align_raw=as-is",
            "file_match_policy=name-size-dedup-with-suffix",
            "live_photo_size=original",
            "convert_heic_to_jpeg=true",
            "jpeg_quality=100"
        ],
        "Healthcheck": {
            "Interval": 60000000000,
            "StartPeriod": 10000000000,
            "Test": [
                "CMD-SHELL",
                "/usr/local/bin/healthcheck.sh"
            ],
            "Timeout": 10000000000
        },
        "Hostname": "icloudpd1-REDACTED",
        "Image": "boredazfcuk/icloudpd:latest",
        "Labels": {
            "maintainer": "boredazfcuk"
        },
        "OnBuild": null,
        "OpenStdin": true,
        "StdinOnce": false,
        "Tty": true,
        "User": "",
        "Volumes": {
            "/config": {},
            "/iCloud": {}
        },
        "WorkingDir": "/"
    },
    "Created": "2025-01-26T00:33:40.633992418Z",
    "Driver": "btrfs",
    "ExecIDs": null,
    "GraphDriver": {
        "Data": null,
        "Name": "btrfs"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": [
            "/volume1/homes/REDACTED/Photos/iCloud:/iCloud",
            "/volume1/docker/icloudpd/Photos/REDACTED:/config"
        ],
        "BlkioDeviceReadBps": null,
        "BlkioDeviceReadIOps": null,
        "BlkioDeviceWriteBps": null,
        "BlkioDeviceWriteIOps": null,
        "BlkioWeight": 0,
        "BlkioWeightDevice": null,
        "CapAdd": [
            "AUDIT_WRITE",
            "CHOWN",
            "DAC_OVERRIDE",
            "FOWNER",
            "FSETID",
            "KILL",
            "MKNOD",
            "NET_BIND_SERVICE",
            "NET_RAW",
            "SETFCAP",
            "SETGID",
            "SETPCAP",
            "SETUID",
            "SYS_CHROOT"
        ],
        "CapDrop": [
            "AUDIT_CONTROL",
            "BLOCK_SUSPEND",
            "DAC_READ_SEARCH",
            "IPC_LOCK",
            "IPC_OWNER",
            "LEASE",
            "LINUX_IMMUTABLE",
            "MAC_ADMIN",
            "MAC_OVERRIDE",
            "NET_ADMIN",
            "NET_BROADCAST",
            "SYSLOG",
            "SYS_ADMIN",
            "SYS_BOOT",
            "SYS_MODULE",
            "SYS_NICE",
            "SYS_PACCT",
            "SYS_PTRACE",
            "SYS_RAWIO",
            "SYS_RESOURCE",
            "SYS_TIME",
            "SYS_TTY_CONFIG",
            "WAKE_ALARM"
        ],
        "Cgroup": "",
        "CgroupParent": "",
        "CgroupnsMode": "host",
        "ConsoleSize": [
            0,
            0
        ],
        "ContainerIDFile": "",
        "CpuCount": 0,
        "CpuPercent": 0,
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpuShares": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "DeviceCgroupRules": null,
        "DeviceRequests": [],
        "Devices": [],
        "Dns": [],
        "DnsOptions": null,
        "DnsSearch": null,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "XDG_DATA_HOME=/config",
            "TZ=Asia/Bangkok",
            "ENV=/etc/profile",
            "config_file=/config/icloudpd.conf",
            "config_dir=/config",
            "apple_id=REDACTED_EMAIL",
            "download_path=iCloud",
            "synology_photos_app_fix=True",
            "user=REDACTED_USERNAME",
            "keep_unicode=false",
            "live_photo_mov_filename_policy=suffix",
            "align_raw=as-is",
            "file_match_policy=name-size-dedup-with-suffix",
            "live_photo_size=original",
            "convert_heic_to_jpeg=true",
            "jpeg_quality=100"
        ],
        "ExtraHosts": [],
        "GroupAdd": null,
        "IOMaximumBandwidth": 0,
        "IOMaximumIOps": 0,
        "Init": false,
        "IpcMode": "private",
        "Isolation": "",
        "KernelMemory": 0,
        "KernelMemoryTCP": 0,
        "Links": null,
        "LogConfig": {
            "Config": {},
            "Type": "db"
        },
        "MaskedPaths": null,
        "Memory": 0,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": null,
        "NanoCpus": 0,
        "NetworkMode": "iCloudPD-Network",
        "OomKillDisable": false,
        "OomScoreAdj": 0,
        "PidMode": "",
        "PidsLimit": null,
        "PortBindings": {},
        "Privileged": true,
        "PublishAllPorts": false,
        "ReadonlyPaths": null,
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": "always"
        },
        "Runtime": "runc",
        "SecurityOpt": [
            "label=disable"
        ],
        "ShmSize": 67108864,
        "UTSMode": "",
        "Ulimits": null,
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "/volume1/@docker/containers/REDACTED/hostname",
    "HostsPath": "/volume1/@docker/containers/REDACTED/hosts",
    "Id": "REDACTED",
    "Image": "sha256:REDACTED",
    "LogPath": "/volume1/@docker/containers/REDACTED/log.db",
    "MountLabel": "",
    "Mounts": [
        {
            "Destination": "/iCloud",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/volume1/homes/REDACTED/Photos/iCloud",
            "Type": "bind"
        },
        {
            "Destination": "/config",
            "Mode": "",
            "Propagation": "rprivate",
            "RW": true,
            "Source": "/volume1/docker/icloudpd/Photos/REDACTED",
            "Type": "bind"
        }
    ],
    "Name": "/icloudpd1-REDACTED",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "",
        "Networks": {
            "iCloudPD-Network": {
                "Aliases": [
                    "REDACTED",
                    "icloudpd1-REDACTED"
                ],
                "DriverOpts": null,
                "EndpointID": "REDACTED",
                "Gateway": "192.168.115.1",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": {},
                "IPAddress": "192.168.115.100",
                "IPPrefixLen": 24,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "REDACTED",
                "NetworkID": "REDACTED"
            }
        },
        "Ports": {},
        "SandboxID": "REDACTED",
        "SandboxKey": "/var/run/docker/netns/REDACTED",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null
    },
    "Path": "/bin/sh",
    "Platform": "linux",
    "Portainer": {
        "ResourceControl": {
            "Id": 9,
            "ResourceId": "REDACTED",
            "SubResourceIds": [],
            "Type": 1,
            "UserAccesses": [],
            "TeamAccesses": [],
            "Public": false,
            "AdministratorsOnly": true,
            "System": false
        }
    },
    "ProcessLabel": "",
    "ResolvConfPath": "/volume1/@docker/containers/REDACTED/resolv.conf",
    "RestartCount": 0,
    "State": {
        "Dead": false,
        "Error": "",
        "ExitCode": 0,
        "FinishedAt": "0001-01-01T00:00:00Z",
        "FinishedTs": -62135596800,
        "Health": {
            "FailingStreak": 0,
            "Log": [
                {
                    "End": "2025-01-26T07:51:58.27637996+07:00",
                    "ExitCode": 0,
                    "Output": "iCloud Photos Downloader successful and MFA cookie valid for 29 day(s)\n",
                    "Start": "2025-01-26T07:51:58.215922704+07:00"
                },
                {
                    "End": "2025-01-26T07:52:58.96379834+07:00",
                    "ExitCode": 0,
                    "Output": "iCloud Photos Downloader successful and MFA cookie valid for 29 day(s)\n",
                    "Start": "2025-01-26T07:52:58.911341454+07:00"
                },
                {
                    "End": "2025-01-26T07:53:59.422598252+07:00",
                    "ExitCode": 0,
                    "Output": "iCloud Photos Downloader successful and MFA cookie valid for 29 day(s)\n",
                    "Start": "2025-01-26T07:53:59.365706613+07:00"
                },
                {
                    "End": "2025-01-26T07:55:00.28543343+07:00",
                    "ExitCode": 0,
                    "Output": "iCloud Photos Downloader successful and MFA cookie valid for 29 day(s)\n",
                    "Start": "2025-01-26T07:55:00.223190462+07:00"
                },
                {
                    "End": "2025-01-26T07:56:01.292886041+07:00",
                    "ExitCode": 0,
                    "Output": "iCloud Photos Downloader successful and MFA cookie valid for 29 day(s)\n",
                    "Start": "2025-01-26T07:56:01.230981343+07:00"
                }
            ],
            "Status": "healthy"
        },
        "OOMKilled": false,
        "Paused": false,
        "Pid": 21844,
        "Restarting": false,
        "Running": true,
        "StartedAt": "2025-01-26T00:33:47.536529106Z",
        "StartedTs": 1737851627,
        "Status": "running"
    }
}

@boredazfcuk
Copy link
Owner

Strange, I can see you've not even prefixed the container image name with docker.io/ so literally nothing should have been different from the last time it was recreated.

@boredazfcuk boredazfcuk closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 2025
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

5 participants