wolf10851 0 Posted May 26, 2025 Posted May 26, 2025 I have been using Emby for a couple of years now without any major issues. It has worked great however it was running on it's own dedicated physical machine. Currently the way I have Emby configured it to look at a network share where all the media is stored. I want to turn that physical machine into a virtual machine.........should be simple enough I thought. I ran hdd2vhd to make an image of the physical machine, transferred the VHD to the VM host and spun it up. Everything looked great! It even remembered where I was in the middle of watching a movie and continued playing that movie from that point on. Awesome everything is good to go! it is seeing the network share since it is still playing media from there all is good in the world that was easy right! Wrong! I transferred new media and put it in the share and Emby did not pick it up. the naming structure is the same as other files already in the share. I tried to scan the library and nothing. I tried to rename the library.db file to something else and build a new library and no media was discovered. I spun the old physical machine back up after shutting down the VM of course and that picked up the new media immediately. What did I miss? why did the VM not see the new media but the physical machine did? what would be the best way to move this to a VM?
Luke 42078 Posted May 26, 2025 Posted May 26, 2025 HI there, can you please provide a specific example? How to Report a Problem Thanks !
wolf10851 0 Posted May 26, 2025 Author Posted May 26, 2025 To be honest I am not exactly sure which logs I should submit. I am attaching the logs from when I uploaded the content, and the logs from when I blew out the library embyserver-63883792564.txt embyserver-63883629469.txt
Luke 42078 Posted May 27, 2025 Posted May 27, 2025 OK here we go: Application path: C:\Users\wolf\AppData\Roaming\Emby-Server\system SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. This is actually in both log files, so before and after. Please take a look at this and let us know if it helps get you squared away: Corrupt Database
wolf10851 0 Posted May 27, 2025 Author Posted May 27, 2025 Well that is the interesting thing though. I took a complete image of the entire machine when I converted it to a VHD. The physical machine works just fine. and I loo0ked into that last night about a corrupt DB and that is why I renamed the library.DB file and built a new library so I took the appropriate steps for if the DB was corrupt but again when I renamed the library DB file and had it build a new library no media showed up at all. I did see it scanning the media with the little percentage wheel on each library (music, movies, and TV shows) but yet nothing populated after it was done scanning. And again once I fired up the physical machine again it picked up the new content immediately
Luke 42078 Posted May 31, 2025 Posted May 31, 2025 Is the VHD on a network drive? https://www.sqlite.org/useovernet.html
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