PhilTheGeek 1 Posted November 2, 2013 Posted November 2, 2013 I'm trying to install server version 3.0.5050.37565 It runs the installation but when it comes to start the following message appears: "There was an error launching Media Browser: unable to open database file." I've attached the log file. Thanks Phil server-63519007025.log
PhilTheGeek 1 Posted November 2, 2013 Author Posted November 2, 2013 I'm assuming that I should find the library.db file in AppData\Roaming\MediaBrowser-Server\data ? It's not in there so I can't delete it.
mboehler 94 Posted November 2, 2013 Posted November 2, 2013 I'm assuming that I should find the library.db file in AppData\Roaming\MediaBrowser-Server\data ? It's not in there so I can't delete it. Yes. Mine is located at: C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\data\library.db
PhilTheGeek 1 Posted November 2, 2013 Author Posted November 2, 2013 (edited) Please note this is a new install rather than an upgrade. Edited November 2, 2013 by PhilTheGeek
ebr 16169 Posted November 2, 2013 Posted November 2, 2013 Are you trying to run the server under a user other than the one who installed it?
mboehler 94 Posted November 2, 2013 Posted November 2, 2013 Are you installing as a user with administrator access? Try using the "Run as Administrator" option.
ebr 16169 Posted November 2, 2013 Posted November 2, 2013 I just noticed your command line is a UNC path...
Luke 42077 Posted November 2, 2013 Posted November 2, 2013 Oh yea, interesting. In theory that should work, but we don't know because we really haven't tested it.
ebr 16169 Posted November 2, 2013 Posted November 2, 2013 My guess is that SQLite cannot find the database folder relative to that path.
Solution PhilTheGeek 1 Posted November 3, 2013 Author Solution Posted November 3, 2013 Having removed the GPO that was redirecting the roaming AppData folder it works. Is there a particular reason it installs to Roaming rather than Local? 1
ebr 16169 Posted November 3, 2013 Posted November 3, 2013 Having removed the GPO that was redirecting the roaming AppData folder it works. Is there a particular reason it installs to Roaming rather than Local? Not really. That is just the location suggested by MS. You could make an argument for the server going into local but we use common routines for most of our installation so we just didn't do that.
gordon1000 0 Posted November 22, 2013 Posted November 22, 2013 I am getting the same error "unable to open database file" when launching because I use Windows roaming profile with folder redirection so my user's env APPDATA=\\server\users\username\AppData\Roaming After some googling I found the cause is in SQLite, see ticket http://system.data.sqlite.org/index.html/info/bbdda6eae2 It would be great if MB server could implement workaround 1) or 3) mentioned in the ticket.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now