You are here: Home » Topic » Error: unable to open database file

Error: unable to open database file

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1123
    Anonymous
    Inactive

    Hi

    I would appreciate any help on this problem. Firefly is aborting under Windows XP as follows:
    007-02-21 09:26:22 (e0f29ce9): Starting with debuglevel 0
    2007-02-21 09:26:22 (e0f29ce9): Starting rendezvous daemon
    2007-02-21 09:26:22 (e0f29ce9): Initializing database
    2007-02-21 09:26:25 (e0f29ce9): Starting web server from C:Program FilesFirefly Media Serveradmin-root on port 9999
    2007-02-21 09:26:25 (e0f29ce9): Registering rendezvous names
    2007-02-21 09:26:25 (e0f29ce9): Serving 2476 songs. Startup complete in 3 seconds
    2007-02-21 09:26:25 (e0f29ce9): Rescanning database
    2007-02-21 09:26:34 (e0f29ce9): Starting playlist scan
    2007-02-21 09:26:35 (e0f29ce9): Scanned 2476 songs (was 2476) in 10 seconds
    2007-02-21 09:30:09 (e0f29ce9): Rescanning database
    2007-02-21 09:34:09 (e0f29ce9): Starting playlist scan
    2007-02-21 09:34:10 (e0f29ce9): Scanned 2476 songs (was 2476) in 241 seconds
    2007-02-21 09:40:45 (e0f29ce9): Rescanning database
    2007-02-21 09:41:30 (e0f29ce9): Query: INSERT INTO updated VALUES (463)
    2007-02-21 09:41:30 (e0f29ce9): Error: unable to open database file
    2007-02-21 09:41:30: Aborting

    I have checked that Firefly is registered as an exclusion to the Windows Firewall and it is. Also I have checked the share permissions on the iTunes music file and these are set to share.

    I run McAfee and tried switching this off, but it keeps re-starting. In any event I can’t keep my virus checker switched off permanently.

    Any advice greatly appreciated as to how to fix this.

    One other more minor query: Where does iTunes keep its playlists ? I would like to declare this file to Firefly as a “Play List File” within Firefly’s “Configuration” panel.

    Regards

    Alan

    #9284
    rpedde
    Participant

    @alanstedall wrote:

    Hi

    I would appreciate any help on this problem. Firefly is aborting under Windows XP as follows:
    007-02-21 09:26:22 (e0f29ce9): Starting with debuglevel 0
    2007-02-21 09:26:22 (e0f29ce9): Starting rendezvous daemon
    2007-02-21 09:26:22 (e0f29ce9): Initializing database
    2007-02-21 09:26:25 (e0f29ce9): Starting web server from C:Program FilesFirefly Media Serveradmin-root on port 9999
    2007-02-21 09:26:25 (e0f29ce9): Registering rendezvous names
    2007-02-21 09:26:25 (e0f29ce9): Serving 2476 songs. Startup complete in 3 seconds
    2007-02-21 09:26:25 (e0f29ce9): Rescanning database
    2007-02-21 09:26:34 (e0f29ce9): Starting playlist scan
    2007-02-21 09:26:35 (e0f29ce9): Scanned 2476 songs (was 2476) in 10 seconds
    2007-02-21 09:30:09 (e0f29ce9): Rescanning database
    2007-02-21 09:34:09 (e0f29ce9): Starting playlist scan
    2007-02-21 09:34:10 (e0f29ce9): Scanned 2476 songs (was 2476) in 241 seconds
    2007-02-21 09:40:45 (e0f29ce9): Rescanning database
    2007-02-21 09:41:30 (e0f29ce9): Query: INSERT INTO updated VALUES (463)
    2007-02-21 09:41:30 (e0f29ce9): Error: unable to open database file
    2007-02-21 09:41:30: Aborting

    I have checked that Firefly is registered as an exclusion to the Windows Firewall and it is. Also I have checked the share permissions on the iTunes music file and these are set to share.

    I run McAfee and tried switching this off, but it keeps re-starting. In any event I can’t keep my virus checker switched off permanently.

    Any advice greatly appreciated as to how to fix this.

    One other more minor query: Where does iTunes keep its playlists ? I would like to declare this file to Firefly as a “Play List File” within Firefly’s “Configuration” panel.

    Regards

    Alan

    Latest nightlies have an updated database that works harder to avoid the virus scanner problems. You can get it at http://nightlies.mt-daapd.org.

    WRT to playlists, it is in the “iTunes Music Library.xml” file, which should be in your “My Music” folder. If you add that folder as a music directory using hte web interface, it should pick up the itunes playlists.

    — Ron

    #9285
    Anonymous
    Inactive

    Ron

    Thanks very much for this.

    I have installed the 1498 version you recommended and (touch wood; touches head) it has now been running for over twenty minutes without aborting. Thanks.

    However, I am still struggling a bit to add the iTunes playlist file to Firefly. Thanks to your help I located it as “D:My DocumentsMy MusiciTunesiTunes Music Library”. However, when I try to add this as an additional Music Folder through Configuration in Web Admin I am getting an “error on page”. I have tried adding “.xml” to the above, but still get this error message. Clearly its something fairly small I am doing wrong. Can you advise, please.

    Thanks & regards

    Alan

    #9286
    Anonymous
    Inactive

    Ron

    I have fixed the last element of my query re playlists. I moved the iTunes music file back to the location as iTunes is storing its playlists (D:My DocumentsMy MusiciTunes) and pointed Firefly back to this same location. In this way I avoided declaring a further Music Folder to Firefly, which seemed to be causing an “error on page” for some reason.

    Firefly has now picked up all iTunes playlists.

    Thanks again for your help.

    Much appreciated.

    Regards

    Alan

    #9287
    Anonymous
    Inactive

    Sorry, Ron

    Looks like my celebrations wre slightly premature.

    Firefly has picked up all the music tracks OK and all the playlists from iTunes, but the Firefly versions of the playlists are shown empty, despite the iTunes versions (both fixed and smart) being full.

    Why should this be ?

    Thanks & regards

    Alan

    #9288
    rpedde
    Participant

    @alanstedall wrote:

    Sorry, Ron

    Looks like my celebrations wre slightly premature.

    Firefly has picked up all the music tracks OK and all the playlists from iTunes, but the Firefly versions of the playlists are shown empty, despite the iTunes versions (both fixed and smart) being full.

    Why should this be ?

    Thanks & regards

    Alan

    Not sure, because it should. Force it to do a full rescan, or a couple more background rescans and see if they appear. There was some messing with playlist handling that might cause it to take a couple scans before it settles down.

    If not, then I’d like to see your logfile to see whats happening. If you coule push your debuglevel in the web admin to 9, then force a full scan, and zip and email your firefly.log (from c:program filesfirefly media server) to [email protected], then I wouldn’t mind taking a look at it.

    — Ron

    #9289
    Anonymous
    Inactive

    Hi Ron

    On checking the Firefly playlists this morning, I find that they are now populated.

    I assume, as you indicated, Firefly needs a few runs before it settles down.

    I attach my log file below. I see it is flagging up a number of problems. Is this something I should deal with ?

    Thanks again for your guidance.

    Regards

    Alan

    2007-02-23 08:03:54 (84c7cd0a): Scanned 6386 songs (was 6386) in 634 seconds
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: daap.songalbumartist
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: daap.songcategory
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: daap.songcontentdescription
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: daap.songlongcontentdescription
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: daap.songkeywords
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.is-podcast
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.mediakind
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.series-name
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.network-name
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.episode-num-str
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.episode-sort
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.season-num
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: daap.songgapless
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.gapless-enc-del
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.gapless-heur
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.gapless-enc-dr
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.gapless-dur
    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: com.apple.itunes.gapless-resy
    2007-02-23 08:10:42 (c7374ef8): Unknown meta code: com.apple.itunes.is-podcast-playlist
    2007-02-23 08:10:42 (c7374ef8): Unknown meta code: com.apple.itunes.special-playlist

    #9290
    rpedde
    Participant

    @alanstedall wrote:

    2007-02-23 08:10:41 (c7374ef8): Unknown meta code: daap.songalbumartist

    Nope, these are normal. The are really just reminders to me to add support for that new metadata.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.