-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Everyday with the same log:
2025-07-21 15:18:20,196 :: INFO :: root :: sync.py :: 75 :: Syncing drive...
2025-07-21 15:19:13,448 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-21 15:24:58,877 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-21 15:24:59,370 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-21 15:25:22,651 :: INFO :: root :: sync_drive.py :: 101 :: Changes detected: local_modified_time is 1607551422, remote_modified_time is 1607551422, local_package_size is 2111391 and remote_package_size is 2111319.
2025-07-21 15:25:22,659 :: INFO :: root :: sync_drive.py :: 181 :: Downloading /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAV.framework ...
2025-07-21 15:25:24,172 :: INFO :: root :: sync_drive.py :: 144 :: Unpacking /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAV.framework.zip to /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm
2025-07-21 15:25:24,257 :: INFO :: root :: sync_drive.py :: 165 :: Successfully unpacked the package /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAV.framework.zip.
2025-07-21 15:25:25,261 :: INFO :: root :: sync_drive.py :: 101 :: Changes detected: local_modified_time is 1607551433, remote_modified_time is 1607551433, local_package_size is 200877 and remote_package_size is 200798.
2025-07-21 15:25:25,264 :: INFO :: root :: sync_drive.py :: 181 :: Downloading /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAVWidgets.framework ...
2025-07-21 15:25:26,785 :: INFO :: root :: sync_drive.py :: 144 :: Unpacking /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAVWidgets.framework.zip to /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm
2025-07-21 15:25:26,797 :: INFO :: root :: sync_drive.py :: 165 :: Successfully unpacked the package /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAVWidgets.framework.zip.
2025-07-21 15:29:10,848 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-21 15:29:51,201 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-21 15:33:34,059 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-21 15:33:34,541 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-21 15:57:42,228 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-21 16:00:01,483 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-21 16:17:29,375 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-21 16:24:17,613 :: ERROR :: icloudpy.base :: base.py :: 180 :: Bad Gateway (502)
2025-07-21 16:33:53,994 :: INFO :: root :: sync.py :: 77 :: Drive synced
2025-07-21 16:33:53,994 :: INFO :: root :: config_parser.py :: 83 :: Syncing drive every 86400 seconds.
2025-07-21 16:33:53,994 :: INFO :: root :: sync.py :: 129 :: Resyncing at Tue Jul 22 16:33:53 2025 ...
2025-07-21 16:33:53,995 :: INFO :: root :: config_parser.py :: 83 :: Syncing drive every 86400 seconds.
2025-07-22 16:33:55,066 :: INFO :: root :: sync.py :: 75 :: Syncing drive...
2025-07-22 16:39:30,766 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-22 16:39:31,463 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-22 16:39:54,937 :: INFO :: root :: sync_drive.py :: 101 :: Changes detected: local_modified_time is 1607551422, remote_modified_time is 1607551422, local_package_size is 2111391 and remote_package_size is 2111319.
2025-07-22 16:39:54,961 :: INFO :: root :: sync_drive.py :: 181 :: Downloading /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAV.framework ...
2025-07-22 16:39:56,819 :: INFO :: root :: sync_drive.py :: 144 :: Unpacking /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAV.framework.zip to /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm
2025-07-22 16:39:56,879 :: INFO :: root :: sync_drive.py :: 165 :: Successfully unpacked the package /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAV.framework.zip.
2025-07-22 16:39:58,697 :: INFO :: root :: sync_drive.py :: 101 :: Changes detected: local_modified_time is 1607551433, remote_modified_time is 1607551433, local_package_size is 200877 and remote_package_size is 200798.
2025-07-22 16:39:58,700 :: INFO :: root :: sync_drive.py :: 181 :: Downloading /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAVWidgets.framework ...
2025-07-22 16:40:00,406 :: INFO :: root :: sync_drive.py :: 144 :: Unpacking /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAVWidgets.framework.zip to /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm
2025-07-22 16:40:00,417 :: INFO :: root :: sync_drive.py :: 165 :: Successfully unpacked the package /icloud/Documents/develop/QT/GraphicsVideoItem/lib_osx_x86_64_llvm/QtAVWidgets.framework.zip.
2025-07-22 16:43:26,539 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-22 16:43:58,024 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-22 16:47:21,384 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-22 16:47:21,761 :: WARNING :: icloudpy.services.drive.http :: base.py :: 137 :: Failed to parse response with JSON mimetype
2025-07-22 16:52:39,954 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-22 16:53:48,090 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-22 16:54:52,806 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-22 17:09:55,562 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-22 17:13:58,439 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-22 17:29:23,093 :: ERROR :: icloudpy.base :: base.py :: 180 :: Service Unavailable (503)
2025-07-22 17:42:49,415 :: INFO :: root :: sync.py :: 77 :: Drive synced
2025-07-22 17:42:49,415 :: INFO :: root :: config_parser.py :: 83 :: Syncing drive every 86400 seconds.
2025-07-22 17:42:49,415 :: INFO :: root :: sync.py :: 129 :: Resyncing at Wed Jul 23 17:42:49 2025 ...
2025-07-22 17:42:49,416 :: INFO :: root :: config_parser.py :: 83 :: Syncing drive every 86400 seconds.
Configuration
compose.yaml:
services:
icloud-drive:
image: mandarons/icloud-drive:latest
container_name: icloud-drive
network_mode: host
mem_limit: 1g
cpu_shares: 10
environment:
- TZ=Asia/Shanghai
- PUID=1026
- PGID=100
- ENV_CONFIG_FILE_PATH=/config/config.yaml
volumes:
- /volume2/balabala/Backup/iCloud/iCloud:/icloud
- /volume2/docker/icloud-drive/config:/config # Must contain config.yamlconfig.yaml
app:
logger:
# level - debug, info (default), warning or error
level: "info"
# log filename icloud.log (default)
filename: "/config/icloud.log"
credentials:
# iCloud drive username
username: balabalaemail.com
# Retry login interval - default is 10 minutes, specifying -1 will retry login only once and exit
retry_login_interval: 600
# Drive destination
root: "/"
telegram:
bot_token: balabalabottoken
chat_id: balabalachatid
region: china # For China server users, set this to - china (default: global)
drive:
destination: "icloud"
remove_obsolete: true
sync_interval: 86400Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working