-
Notifications
You must be signed in to change notification settings - Fork 272
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
[BUG] MongoDB startup #412
Comments
Can you share your docker-compose.yml and the containers you have running? MongoDB should show up in both. |
I've experienced the same on my Debian-based LXC container with Docker when I tried switching to nightly yesterday. I'm also using nginx reverse proxy, so I'm accessing youtubedl-material through ytdl.daphne.io, routed through a local DNS server that redirects ytdl.daphne.io -> daphne.io (via CNAME) -> local IP (via DNS record) on the browser side. I believe this can get the mongodb stuff confused, as I specifically removed all published ports from the container and instead route it through nginx. This means both the hostname and the IP in my browser is definitely not the hostname and IP of the container, or even the server running docker that the container it's in. That said, it is working for me on latest for some reason. Had to switch back from nightly to get it working. It seems like it has lost data in the process though (videos show up in subscriptions, but not on the homepage) |
Hi Tzahi, I'm new to docker so I'm not familiar with the intricacies of the docker system. I pulled the image down using "docker pull tzahi12345/youtubedl-material:nightly" and started it through the GUI. I have no other containers running Hope this helps |
You probably want to use docker-compose instead, I suspect you've spinned up just this repo and not a mongodb to go with it. Using docker-compose you should get both the app and the db. |
I just modified the config files so MongoDB is not in by default unless specified in the docker compose. This should fix this issue for docker installs without compose. @QrchackOfficial a backup was made of the users.json and db.json files, if you use those it should be fixed! Also, if you want to use the nightly you still can, you just need to set use_local_db to true in the |
@Tzahi12345 it's back, had to manually copy over entries from the diff, but the crisis is averted. |
Oh nice! Well I think this issue is resolved due to the changes in the default config, I'd like confirmation from @blackops786187 though, let me know if you still need help! |
Hi Tzahi, Looks like its resolved now. Thanks |
Awesome, great to hear! |
Describe the bug
Using the latest nightly fails to start the youtube dl docker image with mongo db. Have to wait until it falls back to local db
To Reproduce
Steps to reproduce the behavior:
Download nightly on windows docker (WSL2 backend and launch)
Expected behavior
Youtube dl sucessfuly starts without having to wait for fallback
Screenshots
Environment
The text was updated successfully, but these errors were encountered: