I'm trying to set up a Media Server and I get the following errors on minidlna log. Do you guys know what could cause this? The path /tmp/sda1/DLNA is a network drive mounted via cifs with chmod of 777.
[2015/06/16 06:47:09] minidlna.c:1172: warn: Starting MiniDLNA version 1.1.4.
[2015/06/16 06:47:09] minidlna.c:357: warn: Creating new database at /tmp/mnt/sda1/DLNA/.minidlna/files.db
[2015/06/16 06:47:15] sql.c:41: error: SQL ERROR 5 [database is locked]
pragma default_cache_size = 8192;
[2015/06/16 06:47:15] sql.c:41: error: SQL ERROR 5 [database is locked]
pragma default_cache_size = 8192;
[2015/06/16 06:47:15] minidlna.c:1211: warn: HTTP listening on port 8200
[2015/06/16 06:47:20] sql.c:41: error: SQL ERROR 5 [database is locked]
INSERT into DETAILS (TITLE, PATH, CREATOR, ARTIST, GENRE, ALBUM_ART) VALUES ('DLNA', '/tmp/mnt/sda1/DLNA', NULL, NULL, NULL, 0);
[2015/06/16 06:47:25] sql.c:41: error: SQL ERROR 5 [database is locked]
UPDATE DETAILS set TIMESTAMP = 2 where ID = 0
[2015/06/16 06:47:25] scanner.c:757: warn: Scanning /tmp/mnt/sda1/DLNA
[2015/06/16 06:47:30] sql.c:41: error: SQL ERROR 5 [database is locked]
INSERT into DETAILS (TITLE, PATH, CREATOR, ARTIST, GENRE, ALBUM_ART) VALUES ('Clipes', '/tmp/mnt/sda1/DLNA/Clipes', NULL, NULL, NULL, 0);
[2015/06/16 06:47:36] sql.c:41: error: SQL ERROR 5 [database is locked]
INSERT into OBJECTS (OBJECT_ID, PARENT_ID, DETAIL_ID, CLASS, NAME) VALUES ('64$0', '64', 0, 'container.storageFolder', 'Clipes')
[2015/06/16 06:47:41] sql.c:41: error: SQL ERROR 5 [database is locked]
INSERT into DETAILS (PATH, SIZE, TIMESTAMP, DURATION, DATE, CHANNELS, BITRATE, SAMPLERATE, RESOLUTION, TITLE, CREATOR, ARTIST, GENRE, COMMENT, DLNA_PN, MIME, ALBUM_ART) VALUES ('/tmp/mnt/sda1/DLNA/Clipes/Benny Benassi - Satisfaction (Man Version).mp4', 5828755, 1429660892, '0:02:27.240', '2015-04-21T21:01:32', 1, 39586, 0, '0x0', 'Benny Benassi - Satisfaction (Man Version)', NULL, NULL, NULL, NULL, NULL, 'video/mp4', 0);
[2015/06/16 06:47:41] metadata.c:1587: error: Error inserting details for '/tmp/mnt/sda1/DLNA/Clipes/Benny Benassi - Satisfaction (Man Version).mp4'!
[2015/06/16 06:47:41] scanner.c:490: warn: Unsuccessful getting details for /tmp/mnt/sda1/DLNA/Clipes/Benny Benassi - Satisfaction (Man Version).mp4!
[2015/06/16 06:47:46] sql.c:41: error: SQL ERROR 5 [database is locked]
INSERT into DETAILS (PATH, SIZE, TIMESTAMP, DURATION, DATE, CHANNELS, BITRATE, SAMPLERATE, RESOLUTION, TITLE, CREATOR, ARTIST, GENRE, COMMENT, DLNA_PN, MIME, ALBUM_ART) VALUES ('/tmp/mnt/sda1/DLNA/Clipes/Benny Benassi Satisfaction HD.3gp', 1518697, 1429660892, '0:02:25.166', '2015-04-21T21:01:32', 1, 10461, 0, '0x0', 'Benny Benassi Satisfaction HD', NULL, NULL, NULL, NULL, NULL, 'video/3gpp', 0);
[2015/06/16 06:47:46] metadata.c:1587: error: Error inserting details for '/tmp/mnt/sda1/DLNA/Clipes/Benny Benassi Satisfaction HD.3gp'!
[2015/06/16 06:47:46] scanner.c:490: warn: Unsuccessful getting details for /tmp/mnt/sda1/DLNA/Clipes/Benny Benassi Satisfaction HD.3gp!
[2015/06/16 06:47:51] sql.c:41: error: SQL ERROR 5 [database is locked]
INSERT into DETAILS (PATH, SIZE, TIMESTAMP, DURATION, DATE, CHANNELS, BITRATE, SAMPLERATE, RESOLUTION, TITLE, CREATOR, ARTIST, GENRE, COMMENT, DLNA_PN, MIME, ALBUM_ART) VALUES ('/tmp/mnt/sda1/DLNA/Clipes/Eminem - Not Afraid_HD.mp4', 66359216, 1429660892, '0:04:18.708', '2015-04-21T21:01:32', 2, 256502, 0, '0x0', 'Eminem - Not Afraid_HD', NULL, NULL, NULL, NULL, NULL, 'video/mp4', 0);
[2015/06/16 06:47:51] metadata.c:1587: error: Error inserting details for '/tmp/mnt/sda1/DLNA/Clipes/Eminem - Not Afraid_HD.mp4'!
[2015/06/16 06:47:51] scanner.c:490: warn: Unsuccessful getting details for /tmp/mnt/sda1/DLNA/Clipes/Eminem - Not Afraid_HD.mp4!
[2015/06/16 06:47:56] sql.c:41: error: SQL ERROR 5 [database is locked]
INSERT into DETAILS (PATH, SIZE, TIMESTAMP, DURATION, DATE, CHANNELS, BITRATE, SAMPLERATE, RESOLUTION, TITLE, CREATOR, ARTIST, GENRE, COMMENT, DLNA_PN, MIME, ALBUM_ART) VALUES ('/tmp/mnt/sda1/DLNA/Clipes/Jar of Hearts - Christina Perri (Boyce Avenue feat. Tiffany Alvord acoustic cover) on iTunes.mp4_HD.mp4', 56269250, 1429660872, '0:04:56.200', '2015-04-21T21:01:12', 2, 189970, 0, '0x0', 'Jar of Hearts - Christina Perri (Boyce Avenue feat. Tiffany Alvord acoustic cover) on iTunes.mp4_HD', NULL, NULL, NULL, NULL, NULL, 'video/mp4', 0);