Jump to content
binhex

[Support] binhex - MiniDLNA

116 posts in this topic Last Reply

Recommended Posts

Hello, binhex,

 

I used minidlna on vm before but am quite new to docker.

 

here is my command to start minidlna docker:

 

docker run -d \
    --net="host" \
    --name=minidlna \
    -v /ndisk1/media:/media \
    -v /ndisk1/apps/minidlna:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e SCHEDULE_SCAN_DAYS=06 \
    -e SCHEDULE_SCAN_HOURS=02 \
    -e SCAN_ON_BOOT=no \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-minidlna

 

Everything seems fine, but I can't connect to webui or see the server from DLNA client.

 

The docker host is a CentOS 7. 

 

I have a linux/transmission container running on same host w/o any issue.

 

I changed the network to default bridge mode with port as 

 

docker run -d \

 -p 8200:8200 -p 1900:1900 \
 -p 1900:1900/udp \

 

Then I can access the webui but still can't see the server from DLNA client.

 

Any idea?

 

Thanks in advance,

 

ziggy2018

 

===

 

Here is minidlna.log:

 

[2018/02/16 18:46:51] minidlna.c:1048: warn: Starting MiniDLNA version 1.2.1.
[2018/02/16 18:46:51] minidlna.c:1089: warn: HTTP listening on port 8200
[2018/02/16 18:46:51] monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [38] 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.

 

supervisord.log:

 

2018-02-16 18:46:49.972923 [info] System information Linux dp_centosm 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 GNU/Linux
2018-02-16 18:46:50.017875 [info] PUID defined as '0'
2018-02-16 18:46:50.075133 [info] PGID defined as '0'
2018-02-16 18:46:50.140959 [info] UMASK defined as '000'
2018-02-16 18:46:50.187453 [info] Permissions already set for volume mappings
2018-02-16 18:46:50.242281 [info] SCAN_ON_BOOT defined as 'no'
2018-02-16 18:46:50.290276 [info] SCHEDULE_SCAN_DAYS defined as '06'
2018-02-16 18:46:50.344725 [info] SCHEDULE_SCAN_HOURS defined as '02'
2018-02-16 18:46:50.391594 [info] Starting Supervisor...
2018-02-16 18:46:50,700 CRIT Set uid to user 0
2018-02-16 18:46:50,700 INFO Included extra file "/etc/supervisor/conf.d/minidlna.conf" during parsing
2018-02-16 18:46:50,702 INFO supervisord started with pid 7
2018-02-16 18:46:51,705 INFO spawned: 'start' with pid 56
2018-02-16 18:46:51,707 INFO spawned: 'crond' with pid 57
2018-02-16 18:46:51,707 INFO reaped unknown pid 8
2018-02-16 18:46:51,717 DEBG 'start' stdout output:
[info] PID file from previous run found, deleting file /home/nobody/.config/minidlna/minidlna.pid...

2018-02-16 18:46:51,717 INFO success: start entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2018-02-16 18:46:51,737 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 140497282205384 for <Subprocess at 140497282206392 with name start in state RUNNING> (stdout)>
2018-02-16 18:46:51,737 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 140497282203944 for <Subprocess at 140497282206392 with name start in state RUNNING> (stderr)>
2018-02-16 18:46:51,737 INFO exited: start (exit status 0; expected)
2018-02-16 18:46:51,737 DEBG received SIGCLD indicating a child quit
2018-02-16 18:46:52,739 INFO success: crond entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
 

 

 

 

 

 

Edited by ziggy2018

Share this post


Link to post

Hello

how i do that the changes in the share will be sync to the MiniDLNA that i see on the net?

beacuse if i move\delete now in the Unraid share something, i dont see this change 

 

thanks

Share this post


Link to post

Hi

 

I'm using miniDLNA but can this App could hide/exclude some sub folders ?  Thanks

 

 

Share this post


Link to post

I've been using miniDLNA for some time and only using it for sharing one folder of 6 channel flac music files.  The only issue I have is I have to restart the app just before I go use it or it doesn't show up for the client.  If I then listen long enough, the music will drop and I have to once again restart the app for it to be found again.  I've never time this but I"m guessing it's 30 minutes ish or less.

 

Any thoughts on what would be causing this or how to troubleshoot?

Share this post


Link to post

I've just accepted the latest MiniDLNA docker update.  Now minidlnad fails to run, producing the following error:

/usr/bin/minidlnad: error while loading shared libraries: libavformat.so.58: cannot open shared object file: No such file or directory

libavformat 57 is present, but not 58.

 

Edited by PeterB

Share this post


Link to post

Same here... - should have taken notice of the version tags...

Share this post


Link to post
2 hours ago, ken-ji said:

Same here... - should have taken notice of the version tags...

I've reverted to 1.2.1-2-01.  Tags are shown on the docker hub tags page!

Share this post


Link to post
7 minutes ago, PeterB said:

I've reverted to 1.2.1-2-01.  Tags are shown on the docker hub tags page!

I forgot about checking that... ?

Share this post


Link to post

ok guys, the image is now fixed up, its not ideal as i had to perform a full system update in order to bring the packages back inline during the build, so its larger than i wanted, but its the simplest approach, if sizes start ballooning in the future then i will have to rethink things.

Share this post


Link to post

Thank you, sir!  That is up and running now.

Share this post


Link to post
On 5/9/2018 at 10:49 PM, TODDLT said:

I've been using miniDLNA for some time and only using it for sharing one folder of 6 channel flac music files.  The only issue I have is I have to restart the app just before I go use it or it doesn't show up for the client.  If I then listen long enough, the music will drop and I have to once again restart the app for it to be found again.  I've never time this but I"m guessing it's 30 minutes ish or less.

 

Any thoughts on what would be causing this or how to troubleshoot?

 

 

Does anyone have any thoughts on why this is happening to me?

 

 

Share this post


Link to post

The docker working.. but im having a hard time to stop/restart it.. 

hate to do force reboot

Share this post


Link to post

I'm having the same issue. miniDLNA is great, but after a certain amount of uptime, as far as I can tell the only way to stop/start it anymore is to reboot unRAID. I was about to post a simple reply to Cekodok to agree with the situation described, but I was in the middle of rebooting at the time, and now that unRAID is back I'm testing to get some logs to post -- and miniDLNA seems fine. I'll post again in a couple of days, with log data...

Share this post


Link to post

Hi Guys, any thought on why minidlna is not starting? Here is the generate log file.

Created by...
___.   .__       .__                   
\_ |__ |__| ____ |  |__   ____ ___  ___
 | __ \|  |/    \|  |  \_/ __ \\  \/  /
 | \_\ \  |   |  \   Y  \  ___/ >    < 
 |___  /__|___|  /___|  /\___  >__/\_ \
     \/        \/     \/     \/      \/
   https://hub.docker.com/u/binhex/

2019-02-11 19:10:58.669054 [info] System information Linux Tower 4.18.20-unRAID #1 SMP Fri Nov 23 11:38:16 PST 2018 x86_64 GNU/Linux
2019-02-11 19:10:58.687740 [info] PUID defined as '99'
2019-02-11 19:10:59.132531 [info] PGID defined as '100'
2019-02-11 19:10:59.939410 [info] UMASK defined as '000'
2019-02-11 19:10:59.959945 [info] Permissions already set for volume mappings
2019-02-11 19:10:59.976632 [info] SCAN_ON_BOOT defined as 'no'
2019-02-11 19:10:59.994948 [info] SCHEDULE_SCAN_DAYS defined as '06'
2019-02-11 19:11:00.016028 [info] SCHEDULE_SCAN_HOURS defined as '02'
2019-02-11 19:11:00.034358 [info] Starting Supervisor...
2019-02-11 19:11:00,262 INFO Included extra file "/etc/supervisor/conf.d/minidlna.conf" during parsing
2019-02-11 19:11:00,262 INFO Set uid to user 0 succeeded
2019-02-11 19:11:00,264 INFO supervisord started with pid 8
2019-02-11 19:11:01,265 INFO spawned: 'start' with pid 63
2019-02-11 19:11:01,266 INFO spawned: 'crond' with pid 64
2019-02-11 19:11:01,266 INFO reaped unknown pid 9
2019-02-11 19:11:01,315 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 23220399460008 for <Subprocess at 23220399001256 with name start in state STARTING> (stdout)>
2019-02-11 19:11:01,315 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 23220399064704 for <Subprocess at 23220399001256 with name start in state STARTING> (stderr)>
2019-02-11 19:11:01,315 INFO success: start entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2019-02-11 19:11:01,315 INFO exited: start (exit status 0; expected)
2019-02-11 19:11:01,315 DEBG received SIGCLD indicating a child quit
2019-02-11 19:11:02,316 INFO success: crond entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

 

Share this post


Link to post
Posted (edited)

I'm getting "Access Denied by server" errors when trying to browse Albums. I can browse genre and artist OK but Albums throws an error - any ideas?


I'm also trying to set the server name using the "friendly_name" variable in the config file but the name still shows as MiniDLNA. Also tried setting as a container variable but again, no luck.

 

Great work by the way. Another vote here for DSD support - hopefully a stable release becomes available soon!

Edited by tw332

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now