Page 1 of 1

Interface for Mediatomb

Posted: 10 Jan 2008, 03:43
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

Posted: 10 Jan 2008, 04:31
by Eek

Posted: 10 Jan 2008, 09:40
by Xargon
Doesn´t work. Maybe my mediatomb isnt running, how do i check that?

BR X

Posted: 10 Jan 2008, 09:50
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

Posted: 10 Jan 2008, 12:38
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

Posted: 10 Jan 2008, 15:10
by Xargon
That did the trick! Thank´s a lot!

Posted: 21 Mar 2008, 16:00
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

Posted: 21 Mar 2008, 16:19
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

Posted: 21 Mar 2008, 16:37
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

Posted: 21 Mar 2008, 16:56
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

Posted: 21 Mar 2008, 17:31
by cyborgxs
problem solved, as you thought eek it was an issue with permisssions.

thanks for your time