[Docker Nightly] Permission broken, UID/GID not working, overwritten with standard 1000:1000
See original GitHub issueThe UID and GID env with docker are getting ignored with the current image.
This has been done with a fresh install, so empty config dir etc. For example i have an user “docker” in the group “users” or in digits 1028:100
For the downloads i create a directory /data/youtube Before the run of the container the permissions are docker:users as they are supposed to be. Container runs with following log output:
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
INFO: Beginning migration: 4.1->4.2+
ERROR: EACCES: permission denied, scandir 'audio/'
ERROR: Migration failed: 4.1->4.2+
INFO: youtube-dl successfully updated!
INFO: YoutubeDL-Material v4.2 started on PORT 17442
(node:20) UnhandledPromiseRejectionWarning: Error: EACCES: permission denied, scandir 'audio/'
UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:20) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:20) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:20) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
If i look at the permissions now /data/youtube has 1000:1000 the config directory gets set to 1000:1000 as well.
This breaks it for anyone using
- PUID=not1000
- PGID=not1000
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
#336 is merged!
@ckykenken would you mind trying the
nightly
tag instead? It’s a year and change newer, v4.3 will drop fairly soon and then you can go back tolatest