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

Youtube-dl crashes with custom GID and UID #3

Open
Skaronator opened this issue May 5, 2018 · 4 comments
Open

Youtube-dl crashes with custom GID and UID #3

Skaronator opened this issue May 5, 2018 · 4 comments

Comments

@Skaronator
Copy link

I tried to start your YT-DL container with GID=100 and UID=1000 and it just crashed before even starting. I'm guessing it tries to chown with a user that doesn't exist.

chown -R youtube-dl:youtube-dl /var/www /var/run/php-fpm.sock /var/lib/nginx /tmp


Updating to version 2018.05.01 ...,
Updated youtube-dl. Restart youtube-dl to use the new version.,
2018-05-05 20:15:35,243 INFO exited: php-fpm (exit status 78; not expected),addgroup: gid '100' in use,
chown: unknown user/group youtube-dl:youtube-dl,
2018-05-05 20:15:33,162 CRIT Supervisor running as root (no user in config file),
2018-05-05 20:15:33,168 INFO supervisord started with pid 12,
2018-05-05 20:15:34,170 INFO spawned: 'nginx' with pid 15,
2018-05-05 20:15:34,172 INFO spawned: 'php-fpm' with pid 16,
2018-05-05 20:15:34,192 INFO exited: nginx (exit status 1; not expected),
2018-05-05 20:15:34,216 INFO exited: php-fpm (exit status 78; not expected),
2018-05-05 20:15:35,220 INFO spawned: 'php-fpm' with pid 18,
2018-05-05 20:15:35,218 INFO spawned: 'nginx' with pid 17,
2018-05-05 20:15:35,235 INFO exited: nginx (exit status 1; not expected),
2018-05-05 20:15:37,246 INFO spawned: 'nginx' with pid 19,
2018-05-05 20:15:37,248 INFO spawned: 'php-fpm' with pid 20,
2018-05-05 20:15:37,264 INFO exited: nginx (exit status 1; not expected),
2018-05-05 20:15:40,277 INFO spawned: 'php-fpm' with pid 22,
2018-05-05 20:15:40,294 INFO gave up: nginx entered FATAL state, too many start retries too quickly,
2018-05-05 20:15:40,294 INFO exited: nginx (exit status 1; not expected),
2018-05-05 20:15:40,301 INFO exited: php-fpm (exit status 78; not expected),
2018-05-05 20:15:41,302 INFO gave up: php-fpm entered FATAL state, too many start retries too quickly,
2018-05-05 20:15:40,276 INFO spawned: 'nginx' with pid 21,
2018-05-05 20:15:37,271 INFO exited: php-fpm (exit status 78; not expected)
@Skaronator Skaronator changed the title Youtube-dl not working with custom Youtube-dl crashes with custom GID and UID May 5, 2018
@PixiBixi
Copy link
Owner

PixiBixi commented May 5, 2018

What's the GID 100 on your system?

@Skaronator
Copy link
Author

Skaronator commented May 5, 2018

A user account with in the users group. I'm using the same account in other containers without any issues (linuxserver/syncthing for example)

root@OMV-NAS:/# id niklas
uid=1000(niklas) gid=100(users) Gruppen=100(users)
root@OMV-NAS:/#

@PixiBixi
Copy link
Owner

PixiBixi commented May 5, 2018

I'll try to work on your case asap :)

@Skaronator
Copy link
Author

Cool thanks. Take your time

Repository owner deleted a comment from Soumya6Tiwari Feb 23, 2024
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

2 participants