Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

myuseridbws

Members
  • Joined

  • Last visited

  1. After restarting the service and changing 'drive.remove_obsolete' to 'true', the renamed/moved files files were sync-d properly and the deleted directory also was removed locally. In conclusion, the synchronization seems to be working properly after restart (including local file removal of deleted cloud files/directories). However, I haven't observed the synchronization working without restarting the container.
  2. After my initial sync, I performed a test where I added a new (file), renamed a file and deleted a directory (from the iCloud side of things). I have waited almost 24 hours and I don't see the new or renamed files in my local directory. The directory also continues to exist in my local directory; however, I'm not entirely sure if I should expect it to be deleted considering I have 'remove_obsolete: false'. Docker version: # docker inspect mandarons/icloud-drive [ { "Id": "sha256:0d650efec70df99f1fc94027e60234eba13c76c00c57a87721b32596de89e62f", "RepoTags": [ "mandarons/icloud-drive:latest" ], "RepoDigests": [ "mandarons/icloud-drive@sha256:5cb57c084f6fa66a78f5f7fe19b7e95bfa4b217085831d2ab4d98836ecf503ba" ], "Parent": "", "Comment": "buildkit.dockerfile.v0", "Created": "2024-08-09T14:05:43.656611499Z", config.yaml snippet: drive: destination: "drive" remove_obsolete: false sync_interval: 300 filters: folders: - "Documents" file_extensions: # File extensions to be included - "xlsx" - "XLSX" - "pdf"
  3. I seem to be having some problems since I didn't save the password in the 'keyring' when I first logged in successfully. My first login had some problems (due to a misconfiguration in my config.yaml file, i believe). The error I got after providing my password was such (NOTE: not my real username): ============================================================== COMMAND: ========= # docker exec -it --user=abc $(docker ps --filter "ancestor=mandarons/icloud-drive" -q) /bin/sh -c "icloud [email protected] --session-directory=/config/session_data" OUTPUT: ======== Enter iCloud password for [email protected]: Save password in keyring? [y/N]: N Traceback (most recent call last): File "/lsiopy/bin/icloud", line 8, in <module> sys.exit(main()) ^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/cmdline.py", line 295, in main for dev in api.devices: ^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/base.py", line 556, in devices return FindMyiPhoneServiceManager( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/services/findmyiphone.py", line 28, in __init__ self.refresh_client() File "/lsiopy/lib/python3.11/site-packages/icloudpy/services/findmyiphone.py", line 36, in refresh_client req = self.session.post( ^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/requests/sessions.py", line 635, in post return self.request("POST", url, data=data, json=json, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/base.py", line 129, in request return self.request(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/base.py", line 131, in request self._raise_error(response.status_code, response.reason) File "/lsiopy/lib/python3.11/site-packages/icloudpy/base.py", line 187, in _raise_error raise api_error icloudpy.exceptions.ICloudPyAPIResponseException: Authentication required for Account. (450) ====================================================================== After I fixed the config.yaml file, I tried re-running the above and then I got: Enter iCloud password for [email protected]: Bad username or password for [email protected] ====================================================================== Then, I tried uninstalling the app and deleting/re-creating the /mnt/.../appdata/icloud directory & config.yaml file. I also tried with and without setting the ENV_ICLOUD_PASSWORD environment variable in the docker settings without success. After re-installing without the password, I get the following message: =================================================================== 2024-10-21 15:26:00,119 :: ERROR :: root :: sync.py :: 116 :: Password is not stored in keyring. Please save the password in keyring. 2024-10-21 15:26:00,120 :: INFO :: root :: config_parser.py :: 69 :: Retrying login every 600 seconds. 2024-10-21 15:26:00,120 :: INFO :: root :: sync.py :: 126 :: Retrying login at Mon Oct 21 15:36:00 2024 ... =================================================================== At this point, I thought by uninstalling the application, I would be able to start over, but it seems like something is still referencing my original authentication & 2FA confirmation (which I did originally see the prompt on my iPhone). Is there some way I can force the 2FA authentication again and/or redo the authentication such that I can store the password in the 'keyring' (although I don't really want to do it...but if storing in the keyring is required, then I guess I have no other choice). Sorry for the lengthy post. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UPDATED 10/21/24 16:20PM EST ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I restored a previous version of my /config/session_data directory and tried responding with 'y' to save the password in the 'keyring', but I got the following error: =================================== COMMAND (from inside the container): =================================== $ icloud [email protected] --session-directory=/config/session_data OUTPUT: ======== Enter iCloud password for [email protected]: Save password in keyring? [y/N]: y Traceback (most recent call last): File "/lsiopy/bin/icloud", line 8, in <module> sys.exit(main()) ^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/cmdline.py", line 295, in main for dev in api.devices: ^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/base.py", line 556, in devices return FindMyiPhoneServiceManager( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/services/findmyiphone.py", line 28, in __init__ self.refresh_client() File "/lsiopy/lib/python3.11/site-packages/icloudpy/services/findmyiphone.py", line 36, in refresh_client req = self.session.post( ^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/requests/sessions.py", line 635, in post return self.request("POST", url, data=data, json=json, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/base.py", line 129, in request return self.request(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lsiopy/lib/python3.11/site-packages/icloudpy/base.py", line 131, in request self._raise_error(response.status_code, response.reason) File "/lsiopy/lib/python3.11/site-packages/icloudpy/base.py", line 187, in _raise_error raise api_error icloudpy.exceptions.ICloudPyAPIResponseException: Authentication required for Account. (450) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UPDATED (again) 10/21/24 16:25 -- Apparently, it is beginning to sync in spite of the above errors. I can see the following messages in the log file: 2024-10-21 16:14:29,566 :: WARNING :: root :: config_parser.py :: 164 :: Warning: password is not found in app > smtp > password 2024-10-21 16:14:29,566 :: WARNING :: root :: notify.py :: 131 :: Not sending 2FA notification because SMTP is not configured 2024-10-21 16:24:30,204 :: INFO :: root :: sync.py :: 82 :: Syncing drive... 2024-10-21 16:24:34,396 :: INFO :: root :: sync_drive.py :: 203 :: Downloading /icloud/drive/Documents/....xlsx ... 2024-10-21 16:24:39,491 :: INFO :: root :: sync_drive.py :: 203 :: Downloading /icloud/drive/Documents/....pdf ... 2024-10-21 16:24:40,723 :: INFO :: root :: sync_drive.py :: 203 :: Downloading /icloud/drive/Documents/...e.pdf ... etc... NEVERMIND ... please feel free to ignore this post (or retain it for others). If this continues to work like this, I think you have earned a coffee or two !! Thank you!
  4. For me, I updated the above command to automatically determine the icloud container id (instead of hardcoding 'icloud' as the container id) as such: docker exec -it --user=abc $(docker ps --filter "ancestor=mandarons/icloud-drive" -q) /bin/sh -c "icloud --username=<icloud-username> --session-directory=/config/session_data"

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.