I've just gone to activate Mini DLNA and all I'm getting in a popup box after it works for a while is:
An error has occured
communication failure
I've removed and reinstalled but still the same.
Did I beak it?
I've just gone to activate Mini DLNA and all I'm getting in a popup box after it works for a while is:
An error has occured
communication failure
I've removed and reinstalled but still the same.
Did I beak it?
What version of OMV? A while ago, I had to install a version of DLNA from a .deb, then install the plugin because the version in the repos was outdated.. but I believe that's been resolved for a while.
Under System Logs, you should have a DLNA log.. is there a clue in that log?
Another option, is to use Plexmediaserver. Just enable the Plex repository under omvextras.
I'm using V1. I'll attach a screen shot of the log.
Screenshot
Last error... missing database.
Maybe reinstall DLNA?
Greetings
David
Done that with the same result. But it looks as though it installed fine...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libid3tag0 minidlna
The following NEW packages will be installed:
libid3tag0 minidlna openmediavault-minidlna
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/211 kB of archives.
After this operation, 559 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libid3tag0 minidlna openmediavault-minidlna
Authentication warning overridden.
Selecting previously unselected package libid3tag0.
(Reading database ... 81396 files and directories currently installed.)
Unpacking libid3tag0 (from .../libid3tag0_0.15.1b-10_amd64.deb) ...
Selecting previously unselected package minidlna.
Unpacking minidlna (from .../minidlna_1.1.2+dfsg-1.1_amd64.deb) ...
Selecting previously unselected package openmediavault-minidlna.
Unpacking openmediavault-minidlna (from .../openmediavault-minidlna_1.0.2_all.deb) ...
Processing triggers for man-db ...
Processing triggers for openmediavault ...
Restarting engine daemon ...
Setting up libid3tag0 (0.15.1b-10) ...
Setting up minidlna (1.1.2+dfsg-1.1) ...
Starting DLNA/UPnP-AV media server : minidlna.
Setting up openmediavault-minidlna (1.0.2) ...
Add minidlna user to group: users
Processing triggers for openmediavault ...
Updating locale files ...
Updating file permissions ...
Restarting engine daemon ...
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
Done ...
Here's a new screenshot of the log...
Looks fine to me. Is it working now or not?
Greetings
David
No its not working. I've attached the var log
What is weird and interesting is that although I cannot activate it in OMV I can see it from my W8 box...
[2014/08/11 19:10:33] sql.c:117: warn: sql_get_int_field: step failed: SQL logic error or missing database
SELECT count(*) from DETAILS where MIME glob 'a*'
That error looks like it's complaining about a missing database.
cd /var/cache/minidlna/
Is files.db there?
Like I said... If you can't figure it out, install Plex. It has a DLNA server built in as well.
There was a coding error in openmediavault-minidlna ver. 1.0.2. Upgrade to newer version 1.0.3.
1.0.4 is out now.
That's for the help guys.
The files.db is there. Since the last post I've upgraded to 1.0.4 result same
Removed and re-installed - result same.
Can you give results of this:
dpkg -l | grep minidlna
and
ifconfig
and the output of: cat /etc/minidlna.conf
If your system is not using eth0 you will need to manually edit the /etc/minidlna.conf file to reflect the nic's proper location.
The plugin writes the line but it is commented out. So, it should use any adapter.
Here is the output:
root@homesrvr:/etc/udev# dpkg -l |grep minidlna
ii minidlna 1.1.2+dfsg-1.1 amd64
lightweight DLNA/UPnP-AV server targeted at embedded systems
ii openmediavault-minidlna 1.0.4 all
OpenMediaVault miniDLNA (DLNA server) plugin
root@homesrvr:/etc/udev# ifconfig
as0t0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
inet addr:172.27.224.1 P-t-P:172.27.224.1 Mask:255.255.240.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:0 (0.0 B) TX bytes:35950 (35.1 KiB)
eth0 Link encap:Ethernet HWaddr 00:0a:e4:83:ee:be
inet addr:10.0.0.110 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34749 errors:6 dropped:0 overruns:0 frame:6
TX packets:26050 errors:0 dropped:0 overruns:0 carrier:0
collisions:132 txqueuelen:1000
RX bytes:23369260 (22.2 MiB) TX bytes:18701790 (17.8 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2282 errors:0 dropped:0 overruns:0 frame:0
TX packets:2282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:601553 (587.4 KiB) TX bytes:601553 (587.4 KiB)
root@homesrvr:/etc/udev# cat /etc/minidlna.conf
# This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
# server.
#
# Unless otherwise noted, the commented out options show their default value.
#
# On Debian, you can also refer to the minidlna.conf(5) man page for
# documentation about this file.
# Specify the user name or uid to run as.
#user=minidlna
# Path to the directory you want scanned for media files.
#
# This option can be specified more than once if you want multiple directories
# scanned.
#
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
# * "A" for audio (eg. media_dir=A,/var/lib/minidlna/music)
# * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
# * "V" for video (eg. media_dir=V,/var/lib/minidlna/videos)
media_dir=/var/lib/minidlna
# Path to the directory that should hold the database and album art cache.
#db_dir=/var/cache/minidlna
# Path to the directory that should hold the log file.
#log_dir=/var/log
# Type and minimum level of importance of messages to be logged.
#
# The types are "artwork", "database", "general", "http", "inotify",
# "metadata", "scanner", "ssdp" and "tivo".
#
# The levels are "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# and "debug" the lowest.
#
# The types are comma-separated, followed by an equal sign ("="), followed by a
# level that applies to the preceding types. This can be repeated, separating
# each of these constructs with a comma.
#
# The default is to log all types of messages at the "warn" level.
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
# Use a different container as the root of the directory tree presented to
# clients. The possible values are:
# * "." - standard container
# * "B" - "Browse Directory"
# * "M" - "Music"
# * "P" - "Pictures"
# * "V" - "Video"
# If you specify "B" and the client device is audio-only then "Music/Folders"
# will be used as root.
#root_container=.
# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
#network_interface=
# IPv4 address to listen on (e.g. 192.0.2.1/24).
# If omitted, the mask defaults to 24. The IPs are added to those determined
# from the network_interface option above.
# This option can be specified more than once.
#listening_ip=
# Port number for HTTP traffic (descriptions, SOAP, media transfer).
# This option is mandatory (or it must be specified on the command-line using
# "-p").
port=8200
# URL presented to clients (e.g. http://example.com:80).
#presentation_url=/
# Name that the DLNA server presents to clients.
# Defaults to "hostname: username".
#friendly_name=
# Serial number the server reports to clients.
# Defaults to 00000000.
serial=681019810597110
# Model name the server reports to clients.
#model_name=Windows Media Connect compatible (MiniDLNA)
# Model number the server reports to clients.
# Defaults to the version number of minidlna.
#model_number=
# Automatic discovery of new files in the media_dir directory.
#inotify=yes
# List of file names to look for when searching for album art.
# Names should be delimited with a forward slash ("/").
# This option can be specified more than once.
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
# Strictly adhere to DLNA standards.
# This allows server-side downscaling of very large JPEG images, which may
# decrease JPEG serving performance on (at least) Sony DLNA products.
#strict_dlna=no
# Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
#enable_tivo=no
# Notify interval, in seconds.
#notify_interval=895
# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock
root@homesrvr:/etc/udev#
The plugin hasn't written the config file for some reason. Try:
omv-mkconf minidlna
cat /etc/minidlna.conf
Here it is.
root@homesrvr:/etc/udev# dpkg -l |grep minidlna
ii minidlna 1.1.2+dfsg-1.1 amd64
lightweight DLNA/UPnP-AV server targeted at embedded systems
ii openmediavault-minidlna 1.0.4 all
OpenMediaVault miniDLNA (DLNA server) plugin
root@homesrvr:/etc/udev# ifconfig
as0t0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
inet addr:172.27.224.1 P-t-P:172.27.224.1 Mask:255.255.240.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:0 (0.0 B) TX bytes:35950 (35.1 KiB)
eth0 Link encap:Ethernet HWaddr 00:0a:e4:83:ee:be
inet addr:10.0.0.110 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34749 errors:6 dropped:0 overruns:0 frame:6
TX packets:26050 errors:0 dropped:0 overruns:0 carrier:0
collisions:132 txqueuelen:1000
RX bytes:23369260 (22.2 MiB) TX bytes:18701790 (17.8 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2282 errors:0 dropped:0 overruns:0 frame:0
TX packets:2282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:601553 (587.4 KiB) TX bytes:601553 (587.4 KiB)
root@homesrvr:/etc/udev# cat /etc/minidlna.conf
# This is the configuration file for the MiniDLNA daemon, a DLNA/UPnP-AV media
# server.
#
# Unless otherwise noted, the commented out options show their default value.
#
# On Debian, you can also refer to the minidlna.conf(5) man page for
# documentation about this file.
# Specify the user name or uid to run as.
#user=minidlna
# Path to the directory you want scanned for media files.
#
# This option can be specified more than once if you want multiple directories
# scanned.
#
# If you want to restrict a media_dir to a specific content type, you can
# prepend the directory name with a letter representing the type (A, P or V),
# followed by a comma, as so:
# * "A" for audio (eg. media_dir=A,/var/lib/minidlna/music)
# * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
# * "V" for video (eg. media_dir=V,/var/lib/minidlna/videos)
media_dir=/var/lib/minidlna
# Path to the directory that should hold the database and album art cache.
#db_dir=/var/cache/minidlna
# Path to the directory that should hold the log file.
#log_dir=/var/log
# Type and minimum level of importance of messages to be logged.
#
# The types are "artwork", "database", "general", "http", "inotify",
# "metadata", "scanner", "ssdp" and "tivo".
#
# The levels are "off", "fatal", "error", "warn", "info" or "debug".
# "off" turns of logging entirely, "fatal" is the highest level of importance
# and "debug" the lowest.
#
# The types are comma-separated, followed by an equal sign ("="), followed by a
# level that applies to the preceding types. This can be repeated, separating
# each of these constructs with a comma.
#
# The default is to log all types of messages at the "warn" level.
#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
# Use a different container as the root of the directory tree presented to
# clients. The possible values are:
# * "." - standard container
# * "B" - "Browse Directory"
# * "M" - "Music"
# * "P" - "Pictures"
# * "V" - "Video"
# If you specify "B" and the client device is audio-only then "Music/Folders"
# will be used as root.
#root_container=.
# Network interface(s) to bind to (e.g. eth0), comma delimited.
# This option can be specified more than once.
#network_interface=
# IPv4 address to listen on (e.g. 192.0.2.1/24).
# If omitted, the mask defaults to 24. The IPs are added to those determined
# from the network_interface option above.
# This option can be specified more than once.
#listening_ip=
# Port number for HTTP traffic (descriptions, SOAP, media transfer).
# This option is mandatory (or it must be specified on the command-line using
# "-p").
port=8200
# URL presented to clients (e.g. http://example.com:80).
#presentation_url=/
# Name that the DLNA server presents to clients.
# Defaults to "hostname: username".
#friendly_name=
# Serial number the server reports to clients.
# Defaults to 00000000.
serial=681019810597110
# Model name the server reports to clients.
#model_name=Windows Media Connect compatible (MiniDLNA)
# Model number the server reports to clients.
# Defaults to the version number of minidlna.
#model_number=
# Automatic discovery of new files in the media_dir directory.
#inotify=yes
# List of file names to look for when searching for album art.
# Names should be delimited with a forward slash ("/").
# This option can be specified more than once.
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
# Strictly adhere to DLNA standards.
# This allows server-side downscaling of very large JPEG images, which may
# decrease JPEG serving performance on (at least) Sony DLNA products.
#strict_dlna=no
# Support for streaming .jpg and .mp3 files to a TiVo supporting HMO.
#enable_tivo=no
# Notify interval, in seconds.
#notify_interval=895
# Path to the MiniSSDPd socket, for MiniSSDPd support.
#minissdpdsocket=/run/minissdpd.sock
root@homesrvr:/etc/udev#
Why are there references to 192 and 172 addresses? I'm puzzled.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!