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

[ISSUE] Can't even install the container when using 'Unraid' #200

Open
mikeyvt opened this issue Mar 4, 2024 · 8 comments
Open

[ISSUE] Can't even install the container when using 'Unraid' #200

mikeyvt opened this issue Mar 4, 2024 · 8 comments
Assignees
Labels
awaiting-info Awaiting more information to proceed support Need help with configuration, understanding etc.

Comments

@mikeyvt
Copy link

mikeyvt commented Mar 4, 2024

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

  1. Do this '...'
  2. See error

Expected behavior
I expected the container to install like others.

Screenshots
image

Configuration
Unraid on a Dell R520

Additional context
Add any other context about the problem here.

@mikeyvt mikeyvt added the bug Something isn't working label Mar 4, 2024
@mandarons
Copy link
Owner

Please refer to #94 , specifically #94 (comment)

Looks like you need to create config.yaml first and then start the container.

@mandarons mandarons added awaiting-info Awaiting more information to proceed support Need help with configuration, understanding etc. and removed bug Something isn't working labels Mar 8, 2024
@anubis-code
Copy link

I created config.yaml but container just restarts, no logs or console

@mandarons
Copy link
Owner

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.

@nicx
Copy link

nicx commented Mar 23, 2024

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 ;)

@Verkhovskyi
Copy link

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?

@Sev7nrayne
Copy link

@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

image

@cyruz-git
Copy link

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.

@mandarons
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-info Awaiting more information to proceed support Need help with configuration, understanding etc.
Projects
None yet
Development

No branches or pull requests

7 participants