Issue starting webui on docker compose[BUG]
See original GitHub issueDescribe the bug A clear and concise description of what the bug is. I just spun this up a few nights ago, it worked great (aside from me fighting with trying to get m4a best audio only with meta data and embedded thumbnails… Would appreciate any help on that as well) but I’ve rebooted a few times and docker-compose down and pull and up and I keep getting either no error but nothing works (playlists or subscriptions) or I get this error in the docker logs
root@debassist:/opt/ytdlMaterial# docker-compose up Creating network "ytdlmaterial_default" with the default driver Creating ytdlmaterial_ytdl_material_1 ... done Attaching to ytdlmaterial_ytdl_material_1 ytdl_material_1 | 2022-04-23T21:24:18: PM2 log: Launching in no daemon mode ytdl_material_1 | 2022-04-23T21:24:18: PM2 log: [Watch] Start watching YoutubeDL-Material ytdl_material_1 | 2022-04-23T21:24:18: PM2 log: App [YoutubeDL-Material:0] starting in -fork mode- ytdl_material_1 | 2022-04-23T21:24:18: PM2 log: App [YoutubeDL-Material:0] online ytdl_material_1 | 2022-04-23T21:24:21.570Z INFO: YoutubeDL-Material v4.2 started on PORT 17442 ytdl_material_1 | TypeError: req.isAuthenticated is not a function ytdl_material_1 | at /app/app.js:1321:24 ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at optionalJwt (/app/app.js:736:12) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:281:22 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | at next (/app/node_modules/express/lib/router/index.js:275:10) ytdl_material_1 | at compression (/app/node_modules/compression/index.js:220:5) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:284:7 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | TypeError: req.isAuthenticated is not a function ytdl_material_1 | at /app/app.js:1321:24 ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at optionalJwt (/app/app.js:736:12) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:281:22 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | at next (/app/node_modules/express/lib/router/index.js:275:10) ytdl_material_1 | at compression (/app/node_modules/compression/index.js:220:5) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:284:7 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | TypeError: req.isAuthenticated is not a function ytdl_material_1 | at /app/app.js:1658:26 ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at optionalJwt (/app/app.js:736:12) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:281:22 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | at next (/app/node_modules/express/lib/router/index.js:275:10) ytdl_material_1 | at compression (/app/node_modules/compression/index.js:220:5) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:284:7 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | TypeError: req.isAuthenticated is not a function ytdl_material_1 | at /app/app.js:1658:26 ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at optionalJwt (/app/app.js:736:12) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:281:22 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | at next (/app/node_modules/express/lib/router/index.js:275:10) ytdl_material_1 | at compression (/app/node_modules/compression/index.js:220:5) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:284:7 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | TypeError: req.isAuthenticated is not a function ytdl_material_1 | at /app/app.js:1321:24 ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at optionalJwt (/app/app.js:736:12) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:281:22 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | at next (/app/node_modules/express/lib/router/index.js:275:10) ytdl_material_1 | at compression (/app/node_modules/compression/index.js:220:5) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:284:7 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | TypeError: req.isAuthenticated is not a function ytdl_material_1 | at /app/app.js:1321:24 ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at optionalJwt (/app/app.js:736:12) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at next (/app/node_modules/express/lib/router/route.js:137:13) ytdl_material_1 | at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:281:22 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ytdl_material_1 | at next (/app/node_modules/express/lib/router/index.js:275:10) ytdl_material_1 | at compression (/app/node_modules/compression/index.js:220:5) ytdl_material_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) ytdl_material_1 | at trim_prefix (/app/node_modules/express/lib/router/index.js:323:13) ytdl_material_1 | at /app/node_modules/express/lib/router/index.js:284:7 ytdl_material_1 | at Function.process_params (/app/node_modules/express/lib/router/index.js:341:12) ^CGracefully stopping... (press Ctrl+C again to force) Stopping ytdlmaterial_ytdl_material_1 ... done
To Reproduce
Steps to reproduce the behavior:
- Go to docker compose with these settings
version: "2" services: ytdl_material: environment: ALLOW_CONFIG_MUTATIONS: 'true' restart: unless-stopped volumes: - ./appdata:/app/appdata - /media/nfs/The_Flash/ytdl/audio:/app/audio - /media/nfs/The_Flash/ytdl/videos:/app/video - /media/nfs/The_Flash/ytdl/subscriptions:/app/subscriptions - ./users:/app/users ports: - "8998:17442" image: tzahi12345/youtubedl-material:nightly
- Type ‘docker-compose up’
- See error
Expected behavior
A clear and concise description of what you expected to happen.
I expected the web ui to work and allow me to download youtube channels with youtube dlp
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- YoutubeDL-Material version
- Docker tag: <tag> (optional) See above Also using a local mongodb docker that it is successfully connected to as I intend to use this to handle many large channels and subscriptions once I’m up and running
Ideally you’d copy the info as presented on the “About” dialogue in YoutubeDL-Material. (for that, click on the three dots on the top right and then check “installation details”. On later versions of YoutubeDL- Material you will find pretty much all the crucial information here that we need in most cases!)
Additional context Add any other context about the problem here. For example, a YouTube link. for a test I’m trying to get this channel (or even just a small playlist for a test) in m4a audio only with metadata and embedded thumbnails. And… Playlists just try to load forever never showing videos and subscriptions do the same https://www.youtube.com/playlist?list=PLezvkLNQcE8qNTQb5LI_0wywye519OYSV or https://www.youtube.com/user/djearworm/videos
Issue Analytics
- State:
- Created a year ago
- Comments:10 (4 by maintainers)
Alright I’ll give that a shot. Thank you so much for your help!
Maybe yt-dlp tries to add a webp image into the audio file and the container may not support that image format. IDK
Maybe you look for support at the yt-dlp repo, because they are the ones who maintain the code to embed art into the downloaded video and audio files. (well, at least in your case, since you use yt-dlp, which is in my opinion a good choice)