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 !

Database version mismatch; need to recreate...

Got problems with your B2 or B3? Share and get helped!
Post Reply
yooakim
Posts: 43
Joined: 08 May 2007, 08:58

Database version mismatch; need to recreate...

Post by yooakim »

I am very pleased with the new DLNA server MiniDLNA. Finally it just works! With my PS3, XBOX 360 and my Samsung SmartTV! Very nice!

But I am curious as to why the MiniDLNA server thinks that the database is corrupt everytime it starts? I keep getting this message in the log when I start MiniDLNA

Code: Select all

Database version mismatch; need to recreate...
There is also something relating to inotify which i don't know how to fix? What would be the right numer of max_user_wtaches for Inotify?

Here's the output from minidlna.log:

Code: Select all

[2011/08/04 23:58:01] minidlna.c:848: warn: Starting MiniDLNA version 1.0.19 [SQLite 3.7.3].
[2011/08/04 23:58:01] minidlna.c:875: warn: Database version mismatch; need to recreate...
[2011/08/04 23:58:01] minidlna.c:936: warn: HTTP listening on port 8200
[2011/08/04 23:58:01] scanner.c:726: warn: Scanning /home/storage/music
[2011/08/05 00:00:31] scanner.c:794: warn: Scanning /home/storage/music finished (2883 files)!
[2011/08/05 00:00:31] scanner.c:726: warn: Scanning /home/storage/video
[2011/08/05 00:01:21] metadata.c:670: warn: Opening /home/storage/video/Westins.mp4 failed!
[2011/08/05 00:01:29] scanner.c:794: warn: Scanning /home/storage/video finished (2947 files)!
[2011/08/05 00:01:29] scanner.c:726: warn: Scanning /home/storage/pictures
[2011/08/05 00:10:52] scanner.c:505: warn: Unsuccessful getting details for /home/storage/pictures/Headers/header_10.jpg!
[2011/08/05 00:10:57] scanner.c:794: warn: Scanning /home/storage/pictures finished (28513 files)!
[2011/08/05 00:11:26] inotify.c:182: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [1488] and I do not have permission to increase this limit.  Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
Any ideas why this happens?

Cheers,
Joakim
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Database version mismatch; need to recreate...

Post by Cheeseboy »

What would be the right numer of max_user_wtaches for Inotify?
No idea, I would just increase it, like this:
http://ubuntuforums.org/showthread.php?t=1439759
Post Reply