Git Product home page Git Product logo

Comments (21)

MarcAndrea avatar MarcAndrea commented on September 24, 2024 1

Hello, I have good news, it works now.

I deleted containers, images and docker. After reinstallation it works.
I think the container was set to "host" on my openvpn card.

Is it possible to force the container to use my eth0 card?
I think it's no longer necessary to make the call, then we can still do it so you can see if it could come back?

from minidlna-docker.

MarcAndrea avatar MarcAndrea commented on September 24, 2024 1

Hello, really really thank you! I will try this new version this evening after work.
I want to thank you again, I didn't expect you to make a feature and even less so quickly. You made my day happy! :D

For information in the case where you create a qbittorrent container with an option to put a VPN under openVPN, know that I will be the first to download it 😄

Have a nice day.

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024 1

Hello, thank you for the kind words, please star the repo if you can, this is always encouraging

from minidlna-docker.

MarcAndrea avatar MarcAndrea commented on September 24, 2024 1

It's done, i have put a star on the repo ! 😃

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Hello, this change should be done on the host machine.
See this issue on github.

TL,DR:

quoted from that post:

I resolved by running the command on docker host machine:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf

sudo sysctl -p

Success, thanks!

Let me know if this helps.
However, the warning is very anticipative of a potential issue, as you are only using 6 watches. However, it's good to know how to avoid that.
It this is successful as I hope, I will add the instructions to the README file.

Regards

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Hello, did this work? I tried myself and it worked for me. Thank you

from minidlna-docker.

MarcAndrea avatar MarcAndrea commented on September 24, 2024

Hello, i will try this day. I come back to give you a feed back :) Thanks for your answer.

from minidlna-docker.

MarcAndrea avatar MarcAndrea commented on September 24, 2024

Hello, i have did the workaround and he doesn't work (See the picture).
minidlna

Here is some additional information:

  1. Error in the log file:
    monitor.c:222: warn: WARNING: Inotify max_user_watches [54938] is low or close to the number of used watches [529] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.

  2. I tried to change the value but the FS does not have write permissions:
    root@46dc232cecd3:/app/bin# mount | grep /proc/sys
    proc on /proc/sys type proc (ro,nosuid,nodev,noexec,relatime)

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Hello, you should execute those commands from the host system, not inside the container. The /proc filesystem is usually read-only inside a docker container.
Also, you were already root, so no need for sudo (which is not installed in the image anyway).
Please try without entering the container.
Let me know if this helps

from minidlna-docker.

MarcAndrea avatar MarcAndrea commented on September 24, 2024

Hello, well now it's good!
Thanks for your help.

I have another question because now the database is created but I didn't see the DLNA server on VLC. (For information on the server on which I have DLNA I have 2 active VPNs)
Can VPNs create network flow problems to detect the server? I have access to the port 8200 WEB site

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Hello, well now it's good! Thanks for your help.

Ok good to hear!

I have another question because now the database is created but I didn't see the DLNA server on VLC. (For information on the server on which I have DLNA I have 2 active VPNs) Can VPNs create network flow problems to detect the server? I have access to the port 8200 WEB site

Usually DLNA libraries require to be in the same network in order to be used. So having access to the 8200 port is usually not enough to be able to access the libraries.
For these scenarios, usually it might be advisable to use other kind of media servers, like for example Jellyfin (video and audio), or Navidrome (audio), Lightweight Music Server (audio) etc which are web-based.

How did you create your VPN?

from minidlna-docker.

MarcAndrea avatar MarcAndrea commented on September 24, 2024

My PC's connection to the DLNA server remains within the LAN network.
I have 1 VPN used to connect to the NAS to access movies via NFS and another VPN to access services such as AD, DNS, ansible, etc ...

If you want we can do a call, and i will show you my problem.

Thank you.

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Sure, we probably can arrange a call. Which is your timezone?

from minidlna-docker.

MarcAndrea avatar MarcAndrea commented on September 24, 2024

Hello, my timezone is UTC +1, i'm at work today we can do call at 20 hours ?
Which platform ? Discord or other ?

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Same timezone :-)
That time is a bit too late for today, is there any chance for 18:00, (almost) any other day?
Discord is OK although I never used that for call, but yes, I have an account, so it's good to go I think.

from minidlna-docker.

MarcAndrea avatar MarcAndrea commented on September 24, 2024

Es tu francais ?

I finish my work at 18h30, i can Friday all the afternoon or this week.

Have a nice day

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

I'm from Italy :-)
What about 18:00 this friday?

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Hello, I believe what you ask should be possible, although a change in the container image code is needed.
See here, there is the option to select the network interfaces to serve.
In your case, supposing the NETWORK_INTERFACE variable is available (it will be soon), you would still need to use network_mode: host, but you will be able to restrict minidlna to only use a subset of network interfaces.

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Hello, the new variable should be available with the newest images.

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

Thank you
Did the new variable work?

from minidlna-docker.

GioF71 avatar GioF71 commented on September 24, 2024

I assume it should be working. Closing this, feel free to open another one if needed. Thank you

from minidlna-docker.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.