question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue starting webui on docker compose[BUG]

See original GitHub issue

Describe 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:

  1. Go to docker compose with these settings
  2. 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
  3. Type ‘docker-compose up’
  4. 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. image

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:closed
  • Created a year ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Glynaxcommented, Apr 24, 2022

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)

Alright I’ll give that a shot. Thank you so much for your help!

0reactions
GlassedSilvercommented, Apr 24, 2022

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)

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug]: docker-compose up errors during build. · Issue #1416
This is on a freshly provisioned cloud host. Worked fine for me a couple days ago on localhost. Version. 0.0.1 (Default) ...
Read more >
Cannot access Web UI - Docker-Compose - Installation
Hey, I want to install HA via docker-compose (already have some other containers running) on a Debian machine.
Read more >
`docker-compose up` Airflow web UI connection not available
I tried solving that issue by adding airflow upgradedb to the entrypoint.sh. Under the github link, airflow directory contains the dockerfile ...
Read more >
Error 500 on gitlab web UI after docker-compose up (latest)
I've an issue with gitlab. After a docker-compose rm & docker-compose up, i think git was upgraded with the latest version without migration ......
Read more >
Docker Desktop - Docker Documentation
What's included in Docker Desktop? What are the key features of Docker Desktop? Docker Engine; Docker CLI client; Docker Buildx · Docker Compose...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found