Hello, I have been running Mediatomb on my old Ubuntu 12.04 headless server for a very long time, however my trusty old HP Microserver died a slow and painful death so I had a spare Dell T320 laying around and I have installed 16.04 LTS and migrated all of my data over.
Now my beloved Mediatomb is misbehaving on the new server.
If I do a sudo service mediatomb status, I see that it is running and I can get to it at: http://localhost:49153 no problem. However When I go to my uPNP device(s) such as my PS3 and WD Live TV's, Mediatomb is not there.
So, I head back to the server and type:
sudo mediatomb and bingo, it is running, can still get to the web page and can now see it on my PS3 and WD's, however this isn't so good as I want the service to be running and not have to manually invoke it.
So, I kill the service and run it as my root user by just typing meidatomb and I get this:
daniel@BINSVR2:~/.mediatomb$ ls -l
total 32
-rw-r--r-- 1 root root 5317 Jun 3 18:50 config.xml
-rw-r--r-- 1 root root 18432 Jun 7 08:22 mediatomb.db
-rw-r--r-- 1 root root 128 Jun 7 08:22 mediatomb.html
It seems to be ok to me (please now bear in mind that my Linux skills aren't so good.
So I look at these forums etc and see that there may be an issue with my username not being associated with mediatomb in /etc/group
So I add it like this:
mediatomb:x:126:daniel:
However, still no luck.
Is there something blatantly obvious that I am missing?
Thanks :)
Last edit: Daniel 2016-06-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I have been running Mediatomb on my old Ubuntu 12.04 headless server for a very long time, however my trusty old HP Microserver died a slow and painful death so I had a spare Dell T320 laying around and I have installed 16.04 LTS and migrated all of my data over.
Now my beloved Mediatomb is misbehaving on the new server.
If I do a sudo service mediatomb status, I see that it is running and I can get to it at: http://localhost:49153 no problem. However When I go to my uPNP device(s) such as my PS3 and WD Live TV's, Mediatomb is not there.
So, I head back to the server and type:
sudo mediatomb and bingo, it is running, can still get to the web page and can now see it on my PS3 and WD's, however this isn't so good as I want the service to be running and not have to manually invoke it.
So, I kill the service and run it as my root user by just typing meidatomb and I get this:
So I go and do a ls -l on the .mediatomb folder:
It seems to be ok to me (please now bear in mind that my Linux skills aren't so good.
So I look at these forums etc and see that there may be an issue with my username not being associated with mediatomb in /etc/group
So I add it like this:
However, still no luck.
Is there something blatantly obvious that I am missing?
Thanks :)
Last edit: Daniel 2016-06-07
You need to set the following values in
/etc/default/mediatomb
:MT_INTERFACE="eth0" #or whatever you external interface is
MT_USER="root"
MT_GROUP="root"
You should then be able to run it as a service again.
Last edit: Bryan Liff 2016-08-05