miniDLNA not showing contents

Status
Not open for further replies.

Skyfox

Explorer
Joined
Jul 15, 2013
Messages
50
Using FreeNAS 9.1 - FreeNAS-9.1.0-RELEASE-x64 (dff7d13)

I have set up miniDLNA and it is viewable on devices on the network however no videos are found.

I set up a STORAGE in the jail that pointed the source from my MEDIA folder to the MEDIA folder in the jail.

However still nothing is displayed. Any idea what I could be doing wrong?

I created another storage and then attempted to delete the storage in the 'View Jail' options and it seems to throw up an error. So I now I have two storage options and I seem to be unable to delete any.

Help would be greatly appreciated!

Request Method: GET
Request URL: http://192.168.50.99/admin/jails/nullmountpoint/delete/2/
Software Version: FreeNAS-9.1.0-RELEASE-x64 (dff7d13)
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'jail_host'
Exception Location: /usr/local/www/freenasUI/../freenasUI/jails/forms.py in __init__, line 724
Server time: Mon, 5 Aug 2013 16:59:52 +0100

Environment:

Software Version: FreeNAS-9.1.0-RELEASE-x64 (dff7d13)
Request Method: GET
Request URL: http://192.168.50.99/admin/jails/nullmountpoint/delete/2/


Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
109. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
165. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
25. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in wrapper
158. return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
91. response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
89. response = view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py" in inner
140. return view(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in delete
605. mf = mf(instance=instance)
File "/usr/local/www/freenasUI/../freenasUI/jails/forms.py" in __init__
724. jail_path = "%s/%s" % (self.jc.jc_path, self.jail.jail_host)

Exception Type: AttributeError at /admin/jails/nullmountpoint/delete/2/
Exception Value: 'NoneType' object has no attribute 'jail_host'
 
D

dlavigne

Guest
Were you using the storage tab to try to create and delete the storage? If so, do you still get errors if you use the Storage folder in the tree menu for the jail?
 

Skyfox

Explorer
Joined
Jul 15, 2013
Messages
50
I couldn't see a way to delete the storage via the tree menu, only seemed to be an option to create.

In the end, I downloaded the plugin via the FreeNAS website. I attempted to create my own Jail then selected 'upload' to install the pbi. It still seemed to create it's own template though.

The miniDLNA plugin works perfectly now. Created a storage for it (in the same way i did in the automatically installed version) and it finds all the files first time.

I'm reluctant to start deleting storage now seeing as I have it working ok :D

Cheers!
 

cbourner

Cadet
Joined
Jun 23, 2012
Messages
3
I have just about got all this working - except that I need to chmod -R 777 /media to get MiniDLNA to index. If I chmod -R 774 and restart, no files are presented to the client. So: what should I set the owner to so that I can avoid write access for everyone?

Cheers!
 

adamtd

Cadet
Joined
Dec 12, 2013
Messages
1
My media is all under one group, and my dataset with perms rwx on group 'home'. Mine was not showing any media found at all, and minidlna log showed;

scanner.c:766: warn: Scanning /media/Video finished (0 files)!

So I saw that the jail had my user and groups within it, so I;

jls
jexec X /bin/csh
pw groupmod home -m dlna


Then I had to stop the jail and start it and it came up and I could see all the files in /media with the right permissions within the jail. Scan worked.
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
It's ususally permissions that cause the scanning issues with MiniDLNA..
 
Status
Not open for further replies.
Top