Results 1 to 10 of 53

Thread: Guide to Installing and Running MiniDLNA on an Ubuntu Server

Threaded View

  1. #11
    Join Date
    Mar 2007
    Beans
    Hidden!

    Re: Guide to Installing and Running MiniDLNA on an Ubuntu Server

    My minidlna wouldn't update anymore, even if i did a rescan.

    After looking at the logs i noticed the SQL DB (/var/cache/minidlna/files.db) was corrupt/read only. I had to manually delete the db file to get it working again.

    Here is a sample of the errors I saw:
    Code:
    [2012/05/19 21:02:01] sql.c:40: error: SQL ERROR 8 [attempt to write a readonly database]
    INSERT into DETAILS (PATH, SIZE, TIMESTAMP, DURATION, DATE, CHANNELS, BITRATE, SAMPLERATE, RESOLUTION,  TITLE, CREATOR, ARTIST, GENRE, COMMENT, DLNA_PN, MIME, ALBUM_ART) VALUES ('/var/lib/storage/recordings/1012_20120519202800.mpg', 3356234468, 1337425320, '0:34:00.420', '2012-05-19T21:02:00', '5', '1644874', '48000', '1440x1080', '1012_20120519202800', NULL, NULL, NULL, NULL, 'MPEG_TS_HD_NA_ISO;DLNA.ORG_OP=01;DLNA.ORG_CI=0', 'video/mpeg', 0);
    [2012/05/19 21:02:01] scanner.c:498: warn: Unsuccessful getting details for /var/lib/storage/recordings/1012_20120519202800.mpg!
    [2012/05/19 21:22:12] sql.c:40: error: SQL ERROR 8 [attempt to write a readonly database]
    DELETE from DETAILS where ID = 32
    [2012/05/19 21:22:12] sql.c:40: error: SQL ERROR 8 [attempt to write a readonly database]
    DELETE from OBJECTS where DETAIL_ID = 32
    Last edited by styelz; May 20th, 2012 at 06:46 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •