Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Interface for Mediatomb

Got problems with Bubba? Then this forum is for you.
Locked
Xargon
Posts: 34
Joined: 10 Nov 2007, 18:16

Interface for Mediatomb

Post by Xargon »

Is there any way I can access Mediatomb in an easy way like bubba:3689 the Firefly web interface?

I would like to access Mediatomb from my webbrowser.

/ X
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Xargon
Posts: 34
Joined: 10 Nov 2007, 18:16

Post by Xargon »

Doesn´t work. Maybe my mediatomb isnt running, how do i check that?

BR X
Xargon
Posts: 34
Joined: 10 Nov 2007, 18:16

Post by Xargon »

bubba:/etc/mediatomb# /etc/init.d/dbus-daemon restart
bubba:/etc/mediatomb# Restarting dbus daemon: dbus-daemonUnknown group "netdev" in message bus configuration file
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi

restart mediatomb

Code: Select all

/etc/init.d/mediatomb restart
when you look in /var/log/mediatomb, you should see something like this:
tail /var/log/mediatomb
2008-01-05 21:49:25 INFO: Initialized port: 49152
2008-01-05 21:49:25 INFO: Server bound to: 192.168.1.130
2008-01-05 21:49:26 INFO: MediaTomb Web UI can be reached by following this link:
2008-01-05 21:49:26 INFO: http://192.168.1.130:49152/
I have had a problem with mediatomb, and it showed up that i could no longer get the web interface. This was related to a corrupt sqllite database.
I fixed this by removing the sqllite database and then starting mediatomb.
Mediatomb then creates a new database and starts scanning for media files. In the web interface you should be able to see the progress.

Code: Select all

/etc/init.d/mediatomb stop
rm /var/db/sqlite3.db
/etc/init.d/mediatomb start
hope this solves your problem.
Eek
Xargon
Posts: 34
Joined: 10 Nov 2007, 18:16

Post by Xargon »

That did the trick! Thank´s a lot!
cyborgxs
Posts: 6
Joined: 31 Aug 2007, 08:49

Post by cyborgxs »

hiya

I have a problem with the sqlite3.db file, but when I try removing it and restarting mediatomb, I get the following at the end of the log file:

Code: Select all

2008-03-21 20:56:39    INFO: Configuration check succeeded.
2008-03-21 20:56:40   ERROR: Sqlite3Storage.init: could not open /var/db/sqlite3.db
cheers

henry
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi
what do you get when you do a

Code: Select all

ls -l /var/db
Did you stop mediatomb, before you removed the file?
Also see if all mediatomb processen are really gone

Code: Select all

ps -ef|grep mediatomb
cheers
Eek
cyborgxs
Posts: 6
Joined: 31 Aug 2007, 08:49

Post by cyborgxs »

hi

cheers for the quick reply eek

ls -l /var/db gives:

Code: Select all

-rw-rw-rw-  1 www-data www-data    128 Mar 21 20:21 mediatomb.html
-rw-r--r--  1 www-data www-data 209920 Mar 21 20:44 tf.db
and yes I did stop mediatomb using:

Code: Select all

/etc/init.d/mediatomb stop
and ps -ef | grep meditomb shows that no mediatomb processes are running after it has been stopped

cheers

henry
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Check the user under which mediatomb is running

Code: Select all

 head -20 /etc/init.d/mediatomb
maybe this user does not have (write) access to the /var/db directory
the USER and GROUP should match the user and group you get when you do

Code: Select all

ls -ld /var/db
cheers
Eek
cyborgxs
Posts: 6
Joined: 31 Aug 2007, 08:49

Post by cyborgxs »

problem solved, as you thought eek it was an issue with permisssions.

thanks for your time
Locked