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 !

Mediatomb not accessible since last update

Got problems with Bubba? Then this forum is for you.
Locked
eeeuser1
Posts: 37
Joined: 03 Dec 2007, 05:06

Mediatomb not accessible since last update

Post by eeeuser1 »

Hi,
I've upgraded with the new update.

my web browser pointed to http://192.168.0.100:49152/ now give error message "media tomb cannot be reached" ,user:admin pass:excito, or any choice for that matter.

Also my upnp internet radio cannot find it now.

ps -ef does not show mediatomb
The service is ticked in web-admin

this is the only error in /var/log/mediatomb (twice) :-
There is already an Autoscan set on /var/samba/public/video
There is already an Autoscan set on /var/samba/public/video

although we only have music and /video is empty!

if i type ls -al in /var/log
mediatomb log is owned by nobody:nogroup

What can I do?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Hi

this is a coruption in de mediatomb sqlite database.
you can fix this by removing the database,
see the following link:

http://forum.excito.net//viewtopic.php?t=857

cheers
Eek
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Hi,

From which version did you upgrade? This is a known bug in Mediatomb that i actually thought we had avoided.

To fix this you have to edit your /etc/mediatomb/config.xml

Locate the three lines that looks something like

Code: Select all

<directory location="/var/samba/public/video/" mode="timed" interval="7200" level="basic" recursive="yes" hidden-files="no"/>
<directory location="/var/samba/public/music/" mode="timed" interval="7200" level="basic" recursive="yes" hidden-files="no"/>
<directory location="/var/samba/public/pictures/" mode="timed" interval="7200" level="basic" recursive="yes" hidden-files="no"/>
and remove the trailing slashes in the paths. Should end up something like

Code: Select all

<directory location="/var/samba/public/video" mode="timed" interval="7200" level="basic" recursive="yes" hidden-files="no"/>
<directory location="/var/samba/public/music" mode="timed" interval="7200" level="basic" recursive="yes" hidden-files="no"/>
<directory location="/var/samba/public/pictures" mode="timed" interval="7200" level="basic" recursive="yes" hidden-files="no"/>
Then restart Mediatomb.

/Tor
Co-founder OpenProducts and Ex Excito Developer
eeeuser1
Posts: 37
Joined: 03 Dec 2007, 05:06

Post by eeeuser1 »

Thanks for the prompt reply tor,

However I deleted the db as per the previous reply before I found yours

It's re-building the db now and seems ok.

Would it still benefit me to remove the slashes?

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

Post by Eek »

During the upgrade from 9 to 10
I got the question if i wanted the new config or keep the old.
I think i choose keep the old.
maybe if I choose for the new config,
the problem would not even occur.

Let's hope the bug is really fixed :)

cheers
Eek
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Ok, if you upgraded manually and kept the original config file you would get this error.

/Tor
Co-founder OpenProducts and Ex Excito Developer
Locked