MiniDLNA does not start at boot

MiniDLNA does not start at boot

Postby hardy74 » Wed Sep 10, 2014 8:38 pm

With 15.2, there's no way to make MiniDLNA start at boot. Even when the setup page says "server enabled at boot", it does not start. I've also tested with "server is not enabled at boot" and obviously it doesn't start then either.
hardy74
 
Posts: 41
Joined: Wed Nov 07, 2012 3:43 am

Re: MiniDLNA does not start at boot

Postby Jocko » Wed Sep 10, 2014 9:39 pm

Hi hardy74,

It is amazing because this bug was present with version 15.0 and not 15.2.

To understand what happens, do :
- in minidlna menu, set "server enabled at boot".
- in putty,
Code: Select all
ls -l  /rw_fs/etc/minidlnaenable
, to check if the file is really present

Search also some fatal errors in /share/1000/minidlna/database/minidlna.log (maybe minidlna tries effectively to start...)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: MiniDLNA does not start at boot

Postby hardy74 » Thu Sep 11, 2014 7:36 pm

I noticed there was a newer 15.3. I'm right now installing that and hoping that MiniDLNA does start with this version.
hardy74
 
Posts: 41
Joined: Wed Nov 07, 2012 3:43 am

Re: MiniDLNA does not start at boot

Postby hardy74 » Sun Sep 14, 2014 3:29 pm

It is the same with 15.3. MiniDLNA does start at boot, even when status is set to "server will be enabled at boot".

Here's the tail of minidlna.log, nothing relevant there I believe i.e it starts ok when started manually:

[2014/09/11 17:53:37] minidlna.c:1107: warn: HTTP listening on port 8200
[2014/09/11 17:53:37] scanner.c:690: warn: Scanning /share/1000/Media/Musiikki
[2014/09/11 18:02:28] tagutils/tagutils-wav.c:224: warn: Invalid wav header in /share/1000/Media/Musiikki/Kiss/Greatest Hits [2005]/11 I Was Made for Loving You.wav
[2014/09/11 18:15:39] scanner.c:766: warn: Scanning /share/1000/Media/Musiikki finished (9965 files)!
[2014/09/11 18:15:39] scanner.c:690: warn: Scanning /share/1000/Media/Elokuvia
[2014/09/11 18:18:05] scanner.c:766: warn: Scanning /share/1000/Media/Elokuvia finished (10139 files)!
[2014/09/11 18:18:05] scanner.c:690: warn: Scanning /share/1000/Media/Kuvat
[2014/09/11 18:20:57] scanner.c:488: warn: Unsuccessful getting details for /share/1000/Media/Kuvat/Vaasa-kuvia/28369385.jpg!
[2014/09/11 18:20:58] scanner.c:488: warn: Unsuccessful getting details for /share/1000/Media/Kuvat/Vaasa-kuvia/37643963.jpg!
[2014/09/11 18:21:07] scanner.c:488: warn: Unsuccessful getting details for /share/1000/Media/Kuvat/Vaasa-kuvia/58979197.jpg!
[2014/09/11 18:21:09] scanner.c:488: warn: Unsuccessful getting details for /share/1000/Media/Kuvat/Vaasa-kuvia/84503491.jpg!
[2014/09/11 18:21:12] scanner.c:488: warn: Unsuccessful getting details for /share/1000/Media/Kuvat/Vaasa-kuvia/96073894.jpg!
[2014/09/11 18:23:33] scanner.c:766: warn: Scanning /share/1000/Media/Kuvat finished (13656 files)!
[2014/09/11 18:23:33] scanner.c:690: warn: Scanning /share/1000/Media/Videot
[2014/09/11 18:42:10] scanner.c:766: warn: Scanning /share/1000/Media/Videot finished (14005 files)!
[2014/09/11 18:42:17] playlist.c:125: warn: Parsing playlists...
[2014/09/11 18:42:17] playlist.c:256: warn: Finished parsing playlists.
[2014/09/11 21:39:20] minidlna.c:154: warn: received signal 15, good-bye
[2014/09/11 19:40:21] minidlna.c:1063: warn: Starting MiniDLNA version 1.1.0.
[2014/09/11 19:40:21] minidlna.c:1107: warn: HTTP listening on port 8200
[2014/09/11 22:54:37] upnpevents.c:361: warn: upnp_event_send: send(): Connection timed out
[2014/09/11 23:20:13] upnpevents.c:361: warn: upnp_event_send: send(): Connection timed out
[2014/09/12 00:31:43] upnpevents.c:361: warn: upnp_event_send: send(): Connection timed out
[2014/09/12 18:29:19] upnpevents.c:361: warn: upnp_event_send: send(): Connection timed out
[2014/09/12 20:31:22] upnpevents.c:361: warn: upnp_event_send: send(): Connection timed out
[2014/09/12 21:31:48] playlist.c:125: warn: Parsing playlists...
[2014/09/12 21:31:48] playlist.c:256: warn: Finished parsing playlists.
[2014/09/12 21:33:07] upnpevents.c:361: warn: upnp_event_send: send(): Connection timed out
[2014/09/13 00:51:17] playlist.c:125: warn: Parsing playlists...
[2014/09/13 00:51:17] playlist.c:256: warn: Finished parsing playlists.
[2014/09/13 13:57:52] minidlna.c:154: warn: received signal 15, good-bye
[2014/09/14 18:26:18] minidlna.c:1063: warn: Starting MiniDLNA version 1.1.0.
[2014/09/14 18:26:18] minidlna.c:1107: warn: HTTP listening on port 8200
[2014/09/14 18:27:21] minidlna.c:154: warn: received signal 15, good-bye
[2014/09/14 18:28:45] minidlna.c:1063: warn: Starting MiniDLNA version 1.1.0.
[2014/09/14 18:28:46] minidlna.c:1107: warn: HTTP listening on port 8200
hardy74
 
Posts: 41
Joined: Wed Nov 07, 2012 3:43 am

Re: MiniDLNA does not start at boot

Postby Jocko » Sun Sep 14, 2014 4:29 pm

Hi Hardly,

Before restarting, your NAS, did you check if the file minidlnaenable is present in /rw_fs/etc
Jocko wrote: - in putty,
Code: Select all
ls -l  /rw_fs/etc/minidlnaenable
, to check if the file is really present


Maybe the folder /rw_fs/etc doesn't have the right permissions (should be 777)

I just test with a clean version 15.3, minidlna is running after rebooting if asked. :scratch

Note: but at least I found a small bug with transmission menu that displays wrong the enable-at-boot option status. ;)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: MiniDLNA does not start at boot

Postby hardy74 » Sun Sep 14, 2014 4:52 pm

Hi,

I did:

root@lacie:/ # ls -l /rw_fs/etc/minidlnaenable
-rw-r--r-- 1 nobody nobody 0 2014-09-14 18:28 /rw_fs/etc/minidlnaenable
root@lacie:/ # chmod 777 /rw_fs/etc
root@lacie:/ #

Strangely, after this, the setup page reported MiniDLNA as NOT set to start at boot, even though I had set it to start. I clicked to make it start, booted the box, and this time it did start. Hmm...

Thanks :)
hardy74
 
Posts: 41
Joined: Wed Nov 07, 2012 3:43 am

Re: MiniDLNA does not start at boot

Postby Jocko » Sun Sep 14, 2014 5:31 pm

So I assume that /rw_fs/etc didn't have run permissions for all user.

But wait if all stays ok after few times...
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: MiniDLNA does not start at boot

Postby hardy74 » Thu Sep 18, 2014 3:53 pm

Still ok, after a few boots.

Note though that I've never touched the system "manually", i.e. I've never done anything in the shell inside the Lacie. So whatever was wrong, came with the ROM. Sorry :)
hardy74
 
Posts: 41
Joined: Wed Nov 07, 2012 3:43 am


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 4 guests