Plunky Posted July 28, 2018 Share Posted July 28, 2018 15 hours ago, Plunky said: Hi All, My emby docker keeps stopping itself, other docker are running OK. Rebooted my Unraid server but still happening. Lasts between 5 minutes to 15 minutes before it stops again. I can start it up again manually but it will eventually top itself again. Thanks in advance. I started a post over on the Emby forums if anyone else has the same issue: https://emby.media/community/index.php?/topic/61241-unraid-emby-server-issues/?p=603060 Quote Link to comment
Plunky Posted July 29, 2018 Share Posted July 29, 2018 I removed the docker and config via CA Cleanup Appdata and reinstalled. So far so good. Quote Link to comment
bungee91 Posted July 29, 2018 Share Posted July 29, 2018 Same issue, disabling TheAudioDB supposedly solves this for now. I just deleted my entire Music directory (I barely use it), and all is back to stable until they fix it (supposedly later today). Quote Link to comment
Necrotic Posted August 7, 2018 Share Posted August 7, 2018 For those of you having issues with crashes, I highly advise you seek support at the Emby forums. They don't really monitor this thread much from what I have seen, but you can get excelent support at theirs. Here is the thread specific for the docker: https://emby.media/community/index.php?/topic/9754-docker/ 1 Quote Link to comment
Joseph Posted September 6, 2018 Share Posted September 6, 2018 Does anyone know how to do this "vacuum" in unraid or the unraid console? It looks like you need sqlite3 but I have no idea where to get it much less how to install it on unraid. Thanks. HOWTO: Periodically clean up and reindex Emby Library.db https://emby.media/community/index.php?/topic/60715-howto-periodically-clean-up-and-reindex-emby-librarydb/ Quote Link to comment
JonathanM Posted September 6, 2018 Share Posted September 6, 2018 4 hours ago, Joseph said: Does anyone know how to do this "vacuum" in unraid or the unraid console? It looks like you need sqlite3 but I have no idea where to get it much less how to install it on unraid. Thanks. HOWTO: Periodically clean up and reindex Emby Library.db https://emby.media/community/index.php?/topic/60715-howto-periodically-clean-up-and-reindex-emby-librarydb/ This would probably need to be built into the emby docker, not the unraid system. Quote Link to comment
StevenD Posted September 7, 2018 Share Posted September 7, 2018 (edited) 5 hours ago, Joseph said: Does anyone know how to do this "vacuum" in unraid or the unraid console? It looks like you need sqlite3 but I have no idea where to get it much less how to install it on unraid. Thanks. HOWTO: Periodically clean up and reindex Emby Library.db https://emby.media/community/index.php?/topic/60715-howto-periodically-clean-up-and-reindex-emby-librarydb/ Thanks! I just shrank my library.db file from 588MB to 477MB. I constantly delete and re-add files, for various reasons, so Im sure the DB was quite a mess. Download SQLlite3 (for windows) from here: https://www.sqlite.org/2018/sqlite-tools-win32-x86-3240000.zip Then run these commands from a Windows box (AFTER you have stopped Emby and backed up the library.db file): c:\support\sqlite-tools-win32-x86-3240000\sqlite3.exe \\nas\cache\appdata\docker-embyserver\data\library.db "VACUUM" c:\support\sqlite-tools-win32-x86-3240000\sqlite3.exe \\nas\cache\appdata\docker-embyserver\data\library.db "ANALYZE" c:\support\sqlite-tools-win32-x86-3240000\sqlite3.exe \\nas\cache\appdata\docker-embyserver\data\library.db "REINDEX" You will likely need to change the path. The restart the Emby Docker. Edited September 7, 2018 by StevenD Quote Link to comment
Joseph Posted September 7, 2018 Share Posted September 7, 2018 Thanks...don't see why you can't just download a sqlite package made for unraid, install it (if its not stand alone) and run the commands from the unraid terminal. But, I'll try what you said with a VM. Thanks. Quote Link to comment
Joseph Posted September 8, 2018 Share Posted September 8, 2018 On 9/6/2018 at 7:46 PM, StevenD said: Download SQLlite3 (for windows) from here: https://www.sqlite.org/2018/sqlite-tools-win32-x86-3240000.zip Then run these commands from a Windows box (AFTER you have stopped Emby and backed up the library.db file): Ok, so I tried this last night. Not only did I back up the library.db file, but I also copied it to another location, ran the commands (which shaved about 100M) and then copied the new file back in place. After doing that, Emby would no longer launch. So, I put the old library.db file back in place and Emby launched ok. Thoughts from anyone as to why Emby doesn't like the vacuumed library.db? Quote Link to comment
StevenD Posted September 8, 2018 Share Posted September 8, 2018 6 hours ago, Joseph said: Ok, so I tried this last night. Not only did I back up the library.db file, but I also copied it to another location, ran the commands (which shaved about 100M) and then copied the new file back in place. After doing that, Emby would no longer launch. So, I put the old library.db file back in place and Emby launched ok. Thoughts from anyone as to why Emby doesn't like the vacuumed library.db? I dont claim to know how sqllite3 works, nor do I know how the Emby DB works. However, there are two more files....library.db-shm and library.db-wal. They all have the same date on them, so I would assume they are related. I would recommend backing up all three of those files, then running the command, pointing at the unraid appdata share. I bet it failed because you were missing the other two files. Quote Link to comment
Joseph Posted September 8, 2018 Share Posted September 8, 2018 1 hour ago, StevenD said: I dont claim to know how sqllite3 works, nor do I know how the Emby DB works. However, there are two more files....library.db-shm and library.db-wal. They all have the same date on them, so I would assume they are related. I would recommend backing up all three of those files, then running the command, pointing at the unraid appdata share. I bet it failed because you were missing the other two files. I'll give that a shot.... I should probably just backup the entire appdata folder as its been awhile since I've done that. Quote Link to comment
dougnliz Posted September 11, 2018 Share Posted September 11, 2018 Cleaning up some space on my cache drive and lowering the setting for Min Free Space resolved the Emby Docker stopping problem for me. Quote Link to comment
Joseph Posted September 11, 2018 Share Posted September 11, 2018 1 minute ago, dougnliz said: Cleaning up some space on my cache drive and lowering the setting for Min Free Space resolved the Emby Docker stopping problem for me. Where do you do that @dougnliz? Quote Link to comment
dougnliz Posted September 11, 2018 Share Posted September 11, 2018 6 minutes ago, Joseph said: Where do you do that @dougnliz? Settings -> Global Share Settings under Cache Settings. You'll need to stop the array to change it. Quote Link to comment
Joseph Posted September 11, 2018 Share Posted September 11, 2018 13 hours ago, dougnliz said: Settings -> Global Share Settings under Cache Settings. You'll need to stop the array to change it. Thanks... mine says 2000000000, which is 2GB; so I don't think mine needs to be changed. Quote Link to comment
Joseph Posted September 12, 2018 Share Posted September 12, 2018 (edited) On 9/8/2018 at 4:26 PM, StevenD said: I would recommend backing up all three of those files, then running the command, pointing at the unraid appdata share. I bet it failed because you were missing the other two files. I'll give that a shot.... I should probably just backup the entire appdata folder as its been awhile since I've done that. UPDATE: Took way too long to copy the 50GB appdata folder to an SSD. Also, I found a page on the EMBY site as to why Emby was crashing on search. Turns out, according to Luke the EMBY admin, the two choices to fix the crashing are: * Remove your music library, run a library scan, then add the music library back * Use a database editing tool to remove or update the saved audiodb urls I was unable to run the VACCUM cleaner successfully until I performed one of the two above (I used the first method.) If you want to use the 2nd one, you can follow the instructions from evil_beast666 found here in this discussion: https://emby.media/community/index.php?/topic/61373-emby-server-crashes-when-using-search/ After removing the music library and adding it back, I still had to copy the library.db folder to another directory to get the VACCUM commands to work. [I think I have permission issues in my appdata folder and I'm not sure what to do... if anything at all.] However, this time when I put the file back in the appdata folder EMBY launched ok with the smaller library file. I ran a library scan just to make sure. No crashes as of yet, and everything seems to be "working", but sadly, I don't think I'm seeing any performance improvements... in fact search seems to take longer for some reason. Edited September 12, 2018 by Joseph Quote Link to comment
ElectricBadger Posted September 16, 2018 Share Posted September 16, 2018 My Emby container keeps crashing. I've reported the issue over on the Emby forums — but I have autostart set to ON for that container. Should it not restart itself automatically after a crash? (If that's not what the autostart switch does — is there a way to configure a container to always be running in unRAID?) Quote Link to comment
CHBMB Posted September 16, 2018 Share Posted September 16, 2018 (edited) Autostart means it starts automatically when the array is started. Edited September 16, 2018 by CHBMB Quote Link to comment
ken-ji Posted September 16, 2018 Share Posted September 16, 2018 (edited) Auto start is exactly what it says - the docker will auto start on array start. What you want is to add --restart unless-stopped to the Extra Parameters option Edited September 16, 2018 by ken-ji 1 Quote Link to comment
ElectricBadger Posted September 16, 2018 Share Posted September 16, 2018 1 minute ago, ken-ji said: Auto start is exactly what it says - the docker will auto start on array start. What you want is to add --restart unless-stopped to the Extra Parameters option Just what I needed — thanks! Quote Link to comment
StevenD Posted September 16, 2018 Share Posted September 16, 2018 1 hour ago, ElectricBadger said: My Emby container keeps crashing. I've reported the issue over on the Emby forums — but I have autostart set to ON for that container. Should it not restart itself automatically after a crash? (If that's not what the autostart switch does — is there a way to configure a container to always be running in unRAID?) Are you sure its up to date? Mine was crashing daily a couple of updates ago. Its been rock solid for a while now. Quote Link to comment
ElectricBadger Posted September 17, 2018 Share Posted September 17, 2018 19 hours ago, StevenD said: Are you sure its up to date? Mine was crashing daily a couple of updates ago. Its been rock solid for a while now. Yup, I force updated it. It's not the music library issue that everybody was happening as I never configured it for music in the first place. It seems to be crashing when trying to process a particular .ogm file. Quote Link to comment
mweis Posted October 28, 2018 Share Posted October 28, 2018 hey ya - i am just new to unraid. i wanna install my emby docker and i dont know if i should go for uid 2 and gid 2 as the docker suggests or i should go for uid 99, gid 100 as the binhex emby container suggests? furthermore i havent found a tutorial how i can use my iGPU from the i7700 for hardware transcoding? and should i leave the standard docker settings (folder) for transcoding or should i go for a dedicated folder? thank u in advance Quote Link to comment
IamSpartacus Posted October 30, 2018 Share Posted October 30, 2018 Does anyone have any working post-processing scripts with this docker for removing commercials for Live TV recordings? Quote Link to comment
nekromantik Posted December 11, 2018 Share Posted December 11, 2018 (edited) ignore Edited December 12, 2018 by nekromantik Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.