Git Product home page Git Product logo

minidlna-docker's Issues

container restarts everytime

Hi,

If I use your image and deploy the stack in portainer I get this error message in the log files of the container

"minidlna.c:1028: fatal: Failed to open log file '/log/minidlna.log': Permission denied"

could you please check and advise ?

THX
Matthias

Permission denied for log file

I got this error in the log.
minidlna.c:1028: fatal: Failed to open log file '/log/minidlna.log': Permission denied.

And I think the container keeps restarting.

I've got the user 1000:1000 as per default.

How to exclude dirs from being recognized?

Hi @GioF71

first and foremost, many thanks for your nice work!
I've been using Twonky Server till now but it used to be quite unreliable recently, hence I found your minidlna-docker project and it seems to be quite fast.
Regarding stability it's too early for me to judge about, but I'm sure it will be performing pretty well!

So, I am running this minidlna on my Synology NAS inside docker.
Typically, there is in each and every folder another folder (hidden one) that's called @eaDir.
And I'm currently looking for a method how to exclude all of these, e.g. by adding some ENV variable to the container.
The reason why I want to exclude all @eaDir is because they do not contain real data (files) so to say, just "extended attributes".
And in the minidlna.log I thus get a flood of errors, for example:

monitor.c:130: error: inotify_add_watch(/music/Neu/Full CD/@eaDir) [No space left on device]

In Twonky Server UI there used to be an option to exclude desired folder via comma separated list.

So, is there already some (hidden) option to exclude dirs with a specific name or could you probably add such option as ENV variable?

Many thanks!

Option notify_interval won't be inherited

Hello. Thanks for the great implementation of minidlna in docker(-compose). Unfortunately the environment-option
" - MINIDLNA_NOTIFY_INTERVAL=20"
in the docker-compose.yml-file won't be implemented in the "/app/conf/minidlna.conf" in the container. The option will be ignored. Is there an hidden option to set for implementing it?

The option "notify_interval" set the time to broadcast and the value of 20 is the only way to getting recognized by my TV after powering on.

Great thanks for checking.

Add log level

Hi,
Could you add log level parameter to the list?
Thank you!

Increase the " Inotify max_user_watches"

Hello, i have this error :
monitor.c:222: warn: WARNING: Inotify max_user_watches [54938] is low or close to the number of used watches [6] 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.

How we can changed the "max_user_watches" ?

Thanks in advance
Regards

Syntax error in run-minidlna.sh

Hi there

I'm trying to run MiniDLNA using your Docker image. Unfortunately, I'm getting this error message:

/app/bin/run-minidlna.sh: line 97: [: too many arguments
/app/bin/run-minidlna.sh: line 97: [: too many arguments

I use this command to start the container:

$ docker run -d --name=minidlna \
  -e USER_MODE=Y \
  -e MINIDLNA_ROOT_CONTAINER=V \
  -e MINIDLNA_DIR_V_1=/media/videos \
  -e MINIDLNA_ENABLE_INOTIFY=YES \
  -e MINIDLNA_FRIENDLY_NAME=MiniDLNA \
  -v /.../videos:/media/videos \
  -v /.../log:/log \
  -v /.../db:/db \
  --net=host \
  giof71/minidlna
$ docker logs minidlna 
Current user id is [0]
t=A
Processing media_dir for ENV_NAME=[]
t=P
Processing media_dir for ENV_NAME=[]
t=V
Processing media_dir for ENV_NAME=[/media/videos]
t=A
Processing media_dir for ENV_NAME=[]
t=P
Processing media_dir for ENV_NAME=[]
t=V
Processing media_dir for ENV_NAME=[]
t=A
Processing media_dir for ENV_NAME=[]
t=P
Processing media_dir for ENV_NAME=[]
t=V
Processing media_dir for ENV_NAME=[]
t=A
Processing media_dir for ENV_NAME=[]
t=P
Processing media_dir for ENV_NAME=[]
t=V
Processing media_dir for ENV_NAME=[]
t=A
Processing media_dir for ENV_NAME=[]
t=P
Processing media_dir for ENV_NAME=[]
t=V
Processing media_dir for ENV_NAME=[]
/app/bin/run-minidlna.sh: line 97: [: too many arguments
/app/bin/run-minidlna.sh: line 97: [: too many arguments
# MINIDLNA CONFIG
media_dir=V,/media/videos
db_dir=/db
log_dir=/log
root_container=V
port=8200
friendly_name=gioDLNA
inotify=yes
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
force_sort_criteria=
CMD_LINE=/usr/sbin/minidlnad -S -f /tmp/minidlna.conf -P /tmp/minidlnad.pid
USER_MODE=[N]
$ cat /.../log/minidlna.log 
minidlna.c:521: warn: Unset locale
minidlna.c:1126: warn: Starting MiniDLNA version 1.3.0.
sql.c:88: error: prepare failed: no such table: SETTINGS
SELECT VALUE from SETTINGS where KEY = 'UPDATE_ID'
minidlna.c:393: warn: Creating new database at /db/files.db
minidlna.c:405: fatal: Failed to clean old file cache!  Exiting...

Am I doing something wrong?

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.