Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

New Emby Docker

Featured Replies

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

  • Replies 752
  • Views 178.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Are you running embyserver:beta ? I got the same error but only with the latest beta (4.6.0.34)   You can wait for a fix or specify the previous beta in Repository: emby/embyserver:4.6.

  • It's in the beta. Switch your repository to emby/embyserver:beta or wait for the next release.

  • alturismo
    alturismo

    may start like this   change UID > 99 GID > 100 remove GIDLIST <<<< delete this entry   check /mnt > edit > check if its read / wri

Posted Images

I removed the docker and config via CA Cleanup Appdata and reinstalled. So far so good.

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).

  • 2 weeks later...

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/

  • 5 weeks later...
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.

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 by StevenD

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.

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?

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.

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.

Cleaning up some space on my cache drive and lowering the setting for Min Free Space resolved the Emby Docker stopping problem for me.

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?

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.

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.

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 by Joseph

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?)

Autostart means it starts automatically when the array is started.

Edited by CHBMB

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 by ken-ji

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!

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. 

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.

  • 1 month later...

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

Does anyone have any working post-processing scripts with this docker for removing commercials for Live TV recordings?

  • 1 month later...

ignore

Edited by nekromantik

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.