[RESOLVED] MiniDLNA folders problem

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[RESOLVED] MiniDLNA folders problem

Postby cuwhenugetthere » Sun Jun 17, 2012 2:48 am

I've searched the forum for hours, but I cannot find a solution to my problem.

The problem is, MiniDLNA will not show me any files within folders.

As soon as they're in the root folder everything works as expected, but just 1 level down and it won't show.

I figure there must be some wrong permissions or similar, but for the life of me I cannot figure it out.

this is what "ls -l" shows me.

$this->bbcode_second_pass_code('', 'drwxr-xr-x 5 root root 4096 Jun 16 22:19 downloads
-rwxr-xr-x 1 root root 2269420040 Jun 16 22:16 hancock.avi
drwx------ 2 root root 16384 Jun 16 13:21 lost+found
drwxr-xr-x 2 root root 4096 Jun 16 21:11 Movies
drwxrwxrwx 3 root root 4096 Dec 31 1969 TV')

The movie exists once inside the movies folder and once in the root folder. both have the same exact permissions.

The root folder one shows up and plays, but the one in the movies folder doesn't even show up.

There are also some (null) folders. not sure what's up with those.

Any ideas?
Last edited by cuwhenugetthere on Sun Jun 17, 2012 6:55 pm, edited 2 times in total.
cuwhenugetthere
 
Posts: 2
Joined: Sun Jun 17, 2012 2:26 am

Re: MiniDLNA problem

Postby cuwhenugetthere » Sun Jun 17, 2012 3:35 am

After a lot more experimentation I found the solution. I'll leave it here for anyone with the same problem.

I stopped the MiniDLNA server

$this->bbcode_second_pass_code('', '/etc/rc.d/minidlna stop')

then deleted the files.db in /var/cache/minidlna

$this->bbcode_second_pass_code('', 'rm /var/cache/minidlna/files.db')

and then restarted the MiniDLNA server

$this->bbcode_second_pass_code('', '/etc/rc.d/minidlna start')

Everything works as it should again.
cuwhenugetthere
 
Posts: 2
Joined: Sun Jun 17, 2012 2:26 am

Re: [RESOLVED] MiniDLNA folders problem

Postby mamra » Sat Nov 03, 2012 7:04 pm

Ty so much! I had the same problem and i can't find the solution
mamra
 
Posts: 8
Joined: Thu Oct 27, 2011 6:28 pm

Re: [RESOLVED] MiniDLNA folders problem

Postby sambul13 » Sat Nov 03, 2012 11:18 pm

You may want to read quite comprehensive MiniDLNA ArchLinux Wiki. Keep in mind, by default MiniDLNA runs as nobody user, not root.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests