mandarons / icloud-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
1.07k stars 50 forks source link

[BUG] Container not starting/ stuck in loop - unknown user/group icd:icd #211

Closed weichmut closed 3 months ago

weichmut commented 3 months ago

Describe the bug Container is not starting and stuck in loop. No matter what group id or user is used.

To Reproduce Steps to reproduce the behavior:

  1. Use CA Container in Unraid or create custom.
  2. Start container with default settings
  3. See error

Screenshots Bildschirmfoto 2024-05-27 um 19 22 54

Configuration

docker run -d --name='icloud-drive-sync' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Unraid-Server" -e HOST_CONTAINERNAME="icloud-drive-sync" -e 'PUID'='99' -e 'PGID'='100' -e '/app/config.yaml'='/mnt/user/appdata/icloud-drive-sync/config.yaml' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.icon='https://help.apple.com/assets/60AD31069883FC55AC222539/60AD310B9883FC55AC22254A/de_DE/712e44cf3701cf5bc9580c9367fa5526.png' -v '/mnt/user/icloud-drive-sync/':'/app/icloud/':'rw' --restart always 'mandarons/icloud-drive' 82ae4dc06f1004b6df5c4e939730201b693f34299c6285da100ea8eb89cfcc0b

mandarons commented 3 months ago

From https://www.reddit.com/r/unRAID/s/kTIkei5Jbw

Toggle the Basic/Advanced switch on top right corner, set Extra Parameters: to --user 99:100 if it's not.

weichmut commented 3 months ago

Solved by removing PUID and PGUID entirely in Docker settings. I also changed the variables according to the newer installation parameters on GitHub.

Bildschirmfoto 2024-05-27 um 20 07 45

Maybe update the Unraid template?

benblustey commented 3 months ago

@weichmut thank you for this direction. Also on unRaid, was able to get the container up and go through the authentication process. Although, still not functioning, nothing syncing, no errors, session_data being populated.