Search the Community
Showing results for tags 'sqlite'.
-
HOWTO: Periodically clean up and reindex Emby Library.db
Widestorm posted a topic in General/Windows
Important Update Vacuuming is built into newer server versions. Please see here: https://emby.media/community/index.php?/topic/75510-42032-vacuum-database-config-switch/ So I recently had the problem that Emby took forever to show any Channels when switching to Live TV and was generally slow. I'm using a HomeRun Expand with approximately 350 channels. Keep in mind I have already tried disabling any plugins I'm not using without any success. Reading through some forum posts I fould a fix that has seemed to improve the performance of the loading by quite a bit. Thank you kjp4756 https://emby.media/community/index.php?/topic/47386-extremely-slow-web-ui-performance/ His solution was intended for a Linux installation, but that's not a problem. On https://www.sqlite.org/download.html you can get the sqlite3 utility seperately. You can find it under "Precompiled Binaries for Windows" under sqlite-tools-win36-x86-xxxxxx.zip So what you can do is just run that command in a cmd. The easiest way to do this is to shift+right-click in the folder you extracted sqlite3.exe to and klick "Open command window here" and running the commands as following: Make sure to stop Emby before executing the query! sqlite3 %AppData%\Emby-Server\programdata\data\library.db "VACUUM" sqlite3 %AppData%\Emby-Server\programdata\data\library.db "ANALYZE" sqlite3 %AppData%\Emby-Server\programdata\data\library.db "REINDEX" After that you can restart the server and hopefully enjoy some faster browsing. I have also created a script that automatically stops, cleans up the database and starts Emby again. Useful if you want to create a scheduled task that does the work. Make sure to put both scripts as well as sqlite3.exe in the same folder or alternatively adjust the Parameters in the reindex-embydb.ps1 file. And keep in mind to run the script with the user Emby was installed with. I'm stopping and starting the server using these functions (it's also creating a logfile in the specified directory): # Shutdown Emby function Emby-Shutdown { param([Parameter(Mandatory=$true,ValueFromPipelineByPropertyName=$true,Position=0)]$Hostname, [Parameter(Mandatory=$true,ValueFromPipelineByPropertyName=$true,Position=0)]$Port) $Url= "http://" + $Hostname + ":" + "$Port" + "/emby/System/Shutdown" $Status = Invoke-WebRequest -Uri $Url -Method POST -Body ($params|ConvertTo-Json) -ContentType "application/json" if ($Status.StatusCode -eq 204){ LogWrite "Emby is shutting down..." } } Emby-Shutdown -Hostname localhost -Port 8096 # Start Emby function Emby-Start { $ProcessActive = Get-Process EmbyServer.exe -ErrorAction SilentlyContinue if($ProcessActive -eq $null) { LogWrite "Emby is starting..." & $env:APPDATA\Emby-Server\system\EmbyServer.exe } else { LogWrite "Emby was already running!" -ForegroundColor Red } } Start-Emby reindex-embydb.zip- 19 replies
-
- 3
-
Hey there, I've recently had to perform a restore from backup of Emby on my Qnap TS-451+, For the most part everything is restored and is currently functioning to my satisfaction. Having said that, my current issue is a cosmetic effect rather than some issue that concerns Emby's functioning or operation. I'm trying to restore the 'Recently Added' view. In restoring from backup, I first did a complete uninstall of the previous instance of Emby Server. I then re-installed Emby Server and restored from backup. The detailed process that I followed came from Emby Wiki. As you might expect, the order of movies displayed in the Recently Added view has been randomized. My desire is to have the order of this view restored to what it was when the backup was originally taken. What I've been able to gather is that the library.db file is the database for the Emby library. There are many tables in this database but I think the table that has the info I wish to restore/change is the MediaItems table. There are 4 date fields in that table. DateCreated, DateModified, DateLastSaved & DateLastRefreshed. Using a single movie, I queried those fields from the backed up version of the library.db database. I constructed a SQL query that would update the timestamps for this movie in a copy of the Live library.db file. The query finished without issue, but I didn't get the desired result. So, my question is, do I have the correct database and fields? Are there any additional tables/fields that I need to be changing/updating in addition to these fields? What other precautions should I be considering? TIA
- 22 replies
-
- sqlite
- mediaitems
- (and 5 more)
-
Hi, I would like to group my movies with different multi-version quality unfortunately functionality doesn't work with multidirectory library. I know manual method: multi-select content and next "group versions". The most convenient method for me is to use a script for this. I can write a script, but I need a description of the structure of the database, which unfortunately I can't see anywhere. Can somebody explain me relation of sql data in sqlite db for multiversion video? Maybe there is some documentation describing the sql structure?
-
Greetings! I have been living with a "ghost" playlist issue for some time now (placed a m3u file in a lib folder, then deleted it, then added it back, and since the playlist contents have been "frozen"), so today decided to give a manual fix a try inspecting/manipulating the db directly. I think the root cause is that the record in the db does not have a path to the corresponding m3u file anymore Because of this I decided (after a db backup) to attempt both UPDATE and DELETE of the record, but in both cases I get back the error in the title... My experience with sqlite is non-existent, so I tried doing this from multiple clients (extenal dBeaver adapter, TNAS's pre-installed 'sqlite3' binary, and again using the TNAS's python + sqlite adapter), but the error is consistent. Does anybody have any suggestion / had similar issues? Thanks in advance ---- Device: F2-220 TOS version: 4.0.13 Emby Server version: 4.1.0.1
- 3 replies
-
- sqlite
- library.db
-
(and 4 more)
Tagged with:
-
Metadaten-Bearbeitung in SQLite - Import von Genres - guid / PresentationUniqueKey?
sf53892 posted a topic in German
Hallo, ich mache gerade meine ersten Gehversuche mit Emby nach Umstieg von Synology auf FreeNAS. Da ich eine ziemlich große Sammlung von TV-Beiträgen (technisch also: home video) nach emby umgezogen habe, würde ich mir gerne die Arbeit ersparen, alle Metadaten (vor allem Titel, Kategorien) manuell erneut eingeben zu müssen, und wollte stattdessen die Metadaten direkt durch Bearbeiten der SQLite-DB ergänzen. Mit den Titeln hat das schon funktioniert (Zuordnung über den Dateinamen). Nun habe ich eine Frage zur Speicherung der Genres in Emby 4.0.1.0. Gibt es da "best practices", Genre-Einträge per SQL zu importieren? Wenn ich es recht sehe, werden Genres bei "Home Video"-Inhalten an zwei Stellen in der Relation "MediaItems" abgelegt: Einmal in der Spalte "Genres" beim jeweiligen Dateieintrag, jeweils getrennt durch pipe-Symbol | ; und dann nochmals für jedes Genre ein eigener Eintrag mit Type 21. D.h. wenn ich zu den Dateieinträgen Genre-Angaben in SQL ergänzen möchte, muss ich wahrscheinlich sowohl die Genre-Spalte des Eintrags füllen als auch einen eigenen Eintrag mit MediaType 21 anlegen? Punkt 2 (eigener Eintrag) macht mir Kopfzerbrechen, da hier noch zwei Spalten zu befüllen wären, von denen ich nicht weiss, wie man hier die Werte manuell generieren kann: guid und PresentationUniqueKey. Kann ich die Werte hierfür irgendwie im Rahmen des SQL Insert generieren, oder geht das zuverlässig nur über das Web-UI? Bin für jeden Tip dankbar! -
First install sqlite crash on startup SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
grid-hibiscus-pancake posted a topic in Linux
Hi, I am hoping this is the right place to ask. I am trying to install emby for the first time and facing some issues. I am using docker and ansible to get it working. Ansible script is pretty simple - name: Install Emby docker: name: emby image: emby/embyserver:latest state: reloaded pull: always privileged: yes restart_policy: always volumes: - "{{ appdata }}/emby/test:/config:rw" - "/tmp:/tmp:rw" - "{{ media }}:/media:ro" ports: - "8096:8096" #host:container - "8920:8920" env: APP_UID: 1050 APP_GID: 1050 APP_USER: "{{dockeruser}}" VERSION: latest The "APPDATA" folder is a CIFS mount on the remote NAS, the all required folders are created and dockeruser has access and permissions to write. bash-4.4# cd /config/ bash-4.4# ls -lah total 4.0K drwxrwxr-x 2 dockeruser dockeruser 0 Dec 26 2017 . drwxr-xr-x 41 root root 4.0K Dec 26 02:46 .. drwxrwxr-x 2 dockeruser dockeruser 0 Dec 26 2017 cache drwxrwxr-x 2 dockeruser dockeruser 0 Dec 26 2017 config drwxrwxr-x 2 dockeruser dockeruser 0 Dec 26 2017 data drwxrwxr-x 2 dockeruser dockeruser 0 Dec 26 2017 localization drwxrwxr-x 2 dockeruser dockeruser 0 Dec 26 2017 logs But I get an exception on startup of emby: 2017-12-26T02:46:45.103737485Z *** Error Report *** 2017-12-26T02:46:45.103745195Z Version: 3.2.60.0 2017-12-26T02:46:45.103749733Z Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -restartpath /usr/lib/emby-server/restart.sh 2017-12-26T02:46:45.103755378Z Operating system: Unix 3.16.0.4 2017-12-26T02:46:45.103759083Z 64-Bit OS: True 2017-12-26T02:46:45.103762662Z 64-Bit Process: True 2017-12-26T02:46:45.103766230Z User Interactive: False 2017-12-26T02:46:45.103770132Z Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Sun Oct 1 17:55:43 UTC 2017) 2017-12-26T02:46:45.103775094Z Processor count: 2 2017-12-26T02:46:45.103779418Z Program data path: /config 2017-12-26T02:46:45.103783731Z Application directory: /usr/lib/emby-server/bin 2017-12-26T02:46:45.103787682Z System.AggregateException: One or more errors occurred. ---> SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. 2017-12-26T02:46:45.103793143Z at SQLitePCL.pretty.SQLiteException.CheckOk (SQLitePCL.sqlite3 db, System.Int32 rc) [0x0001a] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 2017-12-26T02:46:45.103797254Z at SQLitePCL.pretty.SQLiteException.CheckOk (SQLitePCL.sqlite3_stmt stmt, System.Int32 rc) [0x00006] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 2017-12-26T02:46:45.103801365Z at SQLitePCL.pretty.StatementImpl.MoveNext () [0x00056] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 2017-12-26T02:46:45.103805152Z at SQLitePCL.pretty.DatabaseConnection.ExecuteAll (SQLitePCL.pretty.IDatabaseConnection This, System.String sql) [0x0001d] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 2017-12-26T02:46:45.103811208Z at Emby.Server.Implementations.Data.ManagedConnection.ExecuteAll (System.String sql) [0x00000] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.103815564Z at Emby.Server.Implementations.Data.BaseSqliteRepository.RunDefaultInitialization (Emby.Server.Implementations.Data.ManagedConnection db) [0x00079] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.103819573Z at Emby.Server.Implementations.Data.SqliteUserRepository.Initialize () [0x00008] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.103823603Z at Emby.Server.Implementations.ApplicationHost.GetUserRepository () [0x00027] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.103827786Z at Emby.Server.Implementations.ApplicationHost+<RegisterResources>d__308.MoveNext () [0x005ce] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.103831952Z --- End of stack trace from previous location where exception was thrown --- 2017-12-26T02:46:45.103873899Z at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.103898654Z at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104062434Z at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104067354Z at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104071357Z at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104075767Z at Emby.Server.Implementations.ApplicationHost+<Init>d__303.MoveNext () [0x0024c] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.104202780Z --- End of inner exception stack trace --- 2017-12-26T02:46:45.104461756Z at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00242] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104468762Z at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104472933Z at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104477195Z at MediaBrowser.Server.Mono.MainClass.RunApplication (Emby.Server.Implementations.ServerApplicationPaths appPaths, MediaBrowser.Model.Logging.ILogManager logManager, Emby.Server.Implementations.StartupOptions options) [0x000d4] in <ce6ca2d6e906484ab100b2c0b72cc4b9>:0 2017-12-26T02:46:45.104481691Z at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00085] in <ce6ca2d6e906484ab100b2c0b72cc4b9>:0 2017-12-26T02:46:45.104723594Z ---> (Inner Exception #0) Busy: database is locked 2017-12-26T02:46:45.104743338Z SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. 2017-12-26T02:46:45.104748462Z at SQLitePCL.pretty.SQLiteException.CheckOk (SQLitePCL.sqlite3 db, System.Int32 rc) [0x0001a] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 2017-12-26T02:46:45.104758565Z at SQLitePCL.pretty.SQLiteException.CheckOk (SQLitePCL.sqlite3_stmt stmt, System.Int32 rc) [0x00006] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 2017-12-26T02:46:45.104763157Z at SQLitePCL.pretty.StatementImpl.MoveNext () [0x00056] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 2017-12-26T02:46:45.104766973Z at SQLitePCL.pretty.DatabaseConnection.ExecuteAll (SQLitePCL.pretty.IDatabaseConnection This, System.String sql) [0x0001d] in <926d5dc8f35f4aae9a6008f11f233fd0>:0 2017-12-26T02:46:45.104770851Z at Emby.Server.Implementations.Data.ManagedConnection.ExecuteAll (System.String sql) [0x00000] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.104774649Z at Emby.Server.Implementations.Data.BaseSqliteRepository.RunDefaultInitialization (Emby.Server.Implementations.Data.ManagedConnection db) [0x00079] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.104795683Z at Emby.Server.Implementations.Data.SqliteUserRepository.Initialize () [0x00008] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.104801831Z at Emby.Server.Implementations.ApplicationHost.GetUserRepository () [0x00027] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.104805745Z at Emby.Server.Implementations.ApplicationHost+<RegisterResources>d__308.MoveNext () [0x005ce] in <a12a7c6217e143eaa39430af322cb07e>:0 2017-12-26T02:46:45.104809863Z --- End of stack trace from previous location where exception was thrown --- 2017-12-26T02:46:45.104814200Z at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104819577Z at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 2017-12-26T02:46:45.104823695Z at System.Runtime.CompilerServices.TaskAwaiter. If I don't mount the location of the emby APPDATA (where I want to store DB files etc...) then emby seems to start. but this isn't ideal at all I don't want to keep this data in the VM or in Docker. Please help. server-63649853436.txt unhandled_f3903ef0-3e41-4099-954d-13d897bd6838.txt -
What's the trick to opening the library.db database file? I have the latest version of SQLite and it won't open that file. I want to create a report that contains data elements not currently available in the Report to Excel export utility within the Reports system. Thanks
-
Good day, CentOS7.2.1511 Emby Server: 3.0.8500.0 I ran a yum update today and was greeted by the following error (bottom portion): Resolving Dependencies --> Running transaction check ---> Package embymagick.x86_64 0:6.9.5-9.1 will be updated ---> Package embymagick.x86_64 0:6.9.6+6-1.1 will be an update --> Processing Dependency: libgs.so.9()(64bit) for package: embymagick-6.9.6+6-1.1.x86_64 ---> Package embysqlite.x86_64 0:3.15.0-1.1 will be obsoleted --> Processing Dependency: embysqlite for package: emby-server-3.0.8500-89.1.x86_64 ---> Package libembysqlite3-0.x86_64 0:3.15.0+1-6.1 will be obsoleting --> Running transaction check ---> Package embysqlite.x86_64 0:3.15.0-1.1 will be obsoleted --> Processing Dependency: embysqlite for package: emby-server-3.0.8500-89.1.x86_64 ---> Package ghostscript.x86_64 0:9.07-18.el7 will be installed --> Processing Dependency: urw-fonts >= 1.1 for package: ghostscript-9.07-18.el7.x86_64 --> Processing Dependency: poppler-data for package: ghostscript-9.07-18.el7.x86_64 --> Processing Dependency: ghostscript-fonts for package: ghostscript-9.07-18.el7.x86_64 --> Processing Dependency: libXt.so.6()(64bit) for package: ghostscript-9.07-18.el7.x86_64 --> Running transaction check ---> Package embysqlite.x86_64 0:3.15.0-1.1 will be obsoleted --> Processing Dependency: embysqlite for package: emby-server-3.0.8500-89.1.x86_64 ---> Package ghostscript-fonts.noarch 0:5.50-32.el7 will be installed --> Processing Dependency: xorg-x11-font-utils for package: ghostscript-fonts-5.50-32.el7.noarch ---> Package libXt.x86_64 0:1.1.4-6.1.el7 will be installed ---> Package poppler-data.noarch 0:0.4.6-3.el7 will be installed ---> Package urw-fonts.noarch 0:2.4-16.el7 will be installed --> Running transaction check ---> Package embysqlite.x86_64 0:3.15.0-1.1 will be obsoleted --> Processing Dependency: embysqlite for package: emby-server-3.0.8500-89.1.x86_64 ---> Package xorg-x11-font-utils.x86_64 1:7.5-20.el7 will be installed --> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64 --> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64 --> Running transaction check ---> Package embysqlite.x86_64 0:3.15.0-1.1 will be obsoleted --> Processing Dependency: embysqlite for package: emby-server-3.0.8500-89.1.x86_64 ---> Package libXfont.x86_64 0:1.5.1-2.el7 will be installed ---> Package libfontenc.x86_64 0:1.1.2-3.el7 will be installed --> Finished Dependency Resolution Error: Package: emby-server-3.0.8500-89.1.x86_64 (@home_emby) Requires: embysqlite Removing: embysqlite-3.15.0-1.1.x86_64 (@home_emby) embysqlite = 3.15.0-1.1 Obsoleted By: libembysqlite3-0-3.15.0+1-6.1.x86_64 (home_emby) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest I understand there were some changes recently revolving around sqlite. How do I go around this correctly? Thank you!
-
Hello, my MediaBrowserServer is no longer starting and gives the following error: One or more errors occurred System.AggregateException at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager, MediaBrowser.Server.Startup.Common.StartupOptions options) [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 InnerException: System.DllNotFoundException libsqlite3.so.0 libsqlite3.so.0 at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_libversion () at System.Data.SQLite.SQLite3.get_SQLiteVersion () [0x00000] in <filename unknown>:0 at System.Data.SQLite.SQLiteConnection.get_SQLiteVersion () [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Implementations.Persistence.SqliteExtensions+<ConnectToDb>c__async0.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Data.IDbConnection].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Implementations.Persistence.SqliteUserRepository+<Initialize>c__async0.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Startup.Common.ApplicationHost+<GetUserRepository>c__async4.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.Persistence.IUserRepository].GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>c__async2.MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>c__async0[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 at MediaBrowser.Server.Startup.Common.ApplicationHost+<Init>c__async1.MoveNext () [0x00000] in <filename unknown>:0 From what I can see, it does not see the sqlite lib. I use MediaBrowserServer-dev on a centos7 and use the repository from MediaBrowser. To make sure, I verified if sqlite is installed correctly: yum list sqlite sqlite.x86_64 3.8.2-2.1 @MediaBrowserServer-Dependancies so it is installed. Let's see if the files that it is unable to find are there: find / -name libsqlite3.so.0 /usr/lib64/libsqlite3.so.0 so the file does exist. Where is MediaBrowserServer looking for the file? Or what is going wrong?