Suppenkoch 0 Posted November 16, 2015 Posted November 16, 2015 Hi there, lets say Ive a local hdd connected to my router. On this router I put the whole installation of emby-server software with every single file, so that nothing is saved on local computers at all. Through shortcuts I can run from any computer this server now, which basically works quite well. There is only one annoying problem. When I build with one computer a library and than at another time with another computer make a change in the library (both computer not running at the same time), the whole library gets messed up and is fully lost, just for no reason. Does someone know why and how to get around the problem ?
mediacowboy 438 Posted November 17, 2015 Posted November 17, 2015 (edited) I don't know how to around this but there is a library.db created the first time you setup emby. Which is check time you rescind the library it updates this database. One possible solution would be to do the following. Example with three computer named a, b, c. Build library on a. When done with that server for the time rename a.library.db. Build library on b. When done with that server for the time rename to b.library.db. Build library on c. When done with that server for the time rename c.library.db. Now before you fire up one of the machines you rename the file back to library.db. Do not hold me to this as I have not done this but should work in theory. Please report if this works. Edited November 17, 2015 by mediacowboy
Suppenkoch 0 Posted November 17, 2015 Author Posted November 17, 2015 I already tried it with seperated libraries in different locations accessed through SymLinks. But there seem to be something else what causes the Library to break down.
MSattler 390 Posted November 17, 2015 Posted November 17, 2015 I already tried it with seperated libraries in different locations accessed through SymLinks. But there seem to be something else what causes the Library to break down. The problem with this is that the minute Emby launches it opens and locks the db file. The db file is then locked until Emby closes. The only real way to do this, would be for the Emby backend to switch to a mySQL database. There has been some talk of this but it is currently not planned.
legallink 187 Posted November 17, 2015 Posted November 17, 2015 The problem with this is that the minute Emby launches it opens and locks the db file. The db file is then locked until Emby closes. The only real way to do this, would be for the Emby backend to switch to a mySQL database. There has been some talk of this but it is currently not planned. That has me concerned. All the consumer oriented media applications that I have used that are based off of a mySQL database are fraught with disaster...sadly.
MSattler 390 Posted November 17, 2015 Posted November 17, 2015 That has me concerned. All the consumer oriented media applications that I have used that are based off of a mySQL database are fraught with disaster...sadly. Well if you don't like mySQL and instead want a different database then suggest it. But if someone wants to be able to have multiple hosts pointed at the same database, then you are going to need a real database that can handle multiple connections.
spootdev 56 Posted November 17, 2015 Posted November 17, 2015 That has me concerned. All the consumer oriented media applications that I have used that are based off of a mySQL database are fraught with disaster...sadly. While I hate Mysql for some of it's stupid design decisions speed and stability are not in that list of stupid. If you can't make a stable app with Mysql then you're doing it wrong. 1
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