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 with PGID since last patch #49

Open
kcross88 opened this issue Feb 21, 2024 · 4 comments
Open

Issue with PGID since last patch #49

kcross88 opened this issue Feb 21, 2024 · 4 comments

Comments

@kcross88
Copy link

Hello,

Since I've updated the container, I've been having some issues around the GID. I see in the logs:
adduser: The GID 1000 does not exist.

If I try to manually add another user replicating the command in runscript.sh, I get the same error around GID 1000:
adduser --uid 1001 autom4b2 --gid 1000 adduser: The GID 1000 does not exist.

Looking at the revision #43 - I think the GID needs to be created before the adduser command. If I create the group first with groupadd autom4b --gid 1000, I'm able to run it without issue.

Appreciate your help looking into this!

Thanks,
KC

@sebguilbaud
Copy link

quick and dirty solution :

docker exec -it auto-m4b bash -c "echo nogroup:x:1000: >> /etc/group"

:)

@adamtiley
Copy link

quick and dirty solution :

docker exec -it auto-m4b bash -c "echo nogroup:x:1000: >> /etc/group"

:)

Worked perfectly, thanks!

@ScoobyDoo27
Copy link

I'm getting this same error using docker compose on my Synology. Do I fix it the same way?

@nachobel
Copy link
Contributor

nachobel commented May 30, 2024

quick and dirty solution :

docker exec -it auto-m4b bash -c "echo nogroup:x:1000: >> /etc/group"

:)

This gets rid of the error, but it creates files with user 1000 and group "nogroup". Is there a way to use group 1000 as well?

e: I entered the container docker exec -u 0 -it auto-m4b /bin/bash and then ran groupadd -o autom4b --gid 1000, then chown -R autom4b:autom4b temp CONFIG (I set a config file for logs), and now everything looks good so far. Will report back if there's additional problems.

e2: that did not hold for newly converted items. They still have a 'nogroup' group when the completed m4bs end up in the untagged folder.

e3: modifited the run file to create the group before the user and it's working great now. Submitted a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants