[ISSUE] Can't even install the container when using 'Unraid'
Describe the bug Went to install the container for the first time using 'Unraid' and I'm getting an error with the installation. I have not changed any of the parameters.
To Reproduce Just trying to install will reproduce the issue
- Do this '...'
- See error
Expected behavior I expected the container to install like others.
Screenshots
Configuration Unraid on a Dell R520
Additional context Add any other context about the problem here.
Please refer to #94 , specifically https://github.com/mandarons/icloud-drive-docker/issues/94#issuecomment-1265712866
Looks like you need to create config.yaml first and then start the container.
I created config.yaml but container just restarts, no logs or console
I am not sure how else I can help here if there are no logs. :(
I don't have unraid to reproduce the problem. There is also nothing unique about this project. It's just yet another container from docker's perspective.
I am using icloud-drive-docker on Unraid without problems. Seems that you have not mounted the config.yaml corrctly to your container. please read the error output on your screenshot ;)
As mentioned above, you should manually place config.yaml into /mnt/user/appdata/icloud-drive-sync/ before installing app.
@mandarons, maybe it would be more convenient to create sample config.yaml on first launch?
@mikeyvt change the docker settings from Container Path to Container Variable: delete the Container Path config that comes in the template and create a Variable config
This issue is still present and not related to the config.yaml.
The container in Unraid with default settings keeps restarting so it's not possible to collect the log if we don't stop it first.
addgroup: gid '100' in use
====================================================
To support this project, please consider sponsoring.
https://github.com/sponsors/mandarons
https://www.buymeacoffee.com/mandarons
====================================================
Using UID as 99, GID as 100 and UMASK as 002...
adduser: unknown group icd
Changing ownership of /app ... This operation may take significantly longer depending on number of files in your local copy of icloud.
chown: unknown user/group icd:icd
su: unknown user icd
addgroup: gid '100' in use
The issue is related to the adduser and addgroup commands. More specifically, Unraid docker uses a default of UID=99 and GID=100.
Removing GID=100 allows the container to start with a default GID of 1000.
Upgrading to v1.20.0 should fix this problem. Please note the breaking changes as mentioned on https://github.com/mandarons/icloud-drive-docker/releases/tag/v1.20.0.