Jump to content

[Debian] Emby won't start - Why?


ThermoDust
Go to solution Solved by hurricanehrndz,

Recommended Posts

ThermoDust

Standard 8920. I do not know what caused this but since this was a retivily fresh install of Emby I went ahead and nuked it. 
 
FYI - apt-get remove and apt-get purge didn't cut it. apt-get autoremove is the one that helped. As it turns out the issue was with a dependence or something in the usr/bin.
 
This was it before I autoremoved

root@Tictac-PC:~# ls -lh /temp/emby-server/
total 12K
drwxrwxrwx 3 root root 4.0K Jan 21 19:41 etc
drwxrwxrwx 2 root root 4.0K Jan 22 02:34 ssl
drwxrwxrwx 4 root root 4.0K Jan 21 19:41 x86_64-linux-gnu
root@Tictac-PC:~# ls -lh /temp/emby-server/x86_64-linux-gnu/
total 4.0M
drwxrwxrwx 4 root root  4.0K Jan 21 19:41 EmbyMagick-6.9.6
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickCore-6.Q8.so -> libEmbyMagickCore-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickCore-6.Q8.so.2 -> libEmbyMagickCore-6.Q8.so.2.0.0
-rwxrwxrwx 1 root root  2.0M Dec  7 10:48 libEmbyMagickCore-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickWand-6.Q8.so -> libEmbyMagickWand-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickWand-6.Q8.so.2 -> libEmbyMagickWand-6.Q8.so.2.0.0
-rwxrwxrwx 1 root root 1009K Dec  7 10:48 libEmbyMagickWand-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    23 Jan  9 11:01 libembysqlite3.so -> libembysqlite3.so.0.8.6
lrwxrwxrwx 1 root root    23 Jan  9 11:01 libembysqlite3.so.0 -> libembysqlite3.so.0.8.6
-rwxrwxrwx 1 root root  1.1M Jan  9 11:01 libembysqlite3.so.0.8.6
drwxrwxrwx 2 root root  4.0K Jan 21 19:41 pkgconfig
root@Tictac-PC:~# ls -lh /temp/emby-server/x86_64-linux-gnu/pkgconfig/
total 36K
-rwxrwxrwx 1 root root 682 Dec  7 10:48 ImageMagick-6.Q8.pc
-rwxrwxrwx 1 root root 682 Dec  7 10:48 ImageMagick.pc
-rwxrwxrwx 1 root root 743 Dec  7 10:48 MagickCore-6.Q8.pc
-rwxrwxrwx 1 root root 743 Dec  7 10:48 MagickCore.pc
-rwxrwxrwx 1 root root 689 Dec  7 10:48 MagickWand-6.Q8.pc
-rwxrwxrwx 1 root root 689 Dec  7 10:48 MagickWand.pc
-rwxrwxrwx 1 root root 311 Jan  9 11:01 sqlite3.pc
-rwxrwxrwx 1 root root 688 Dec  7 10:48 Wand-6.Q8.pc
-rwxrwxrwx 1 root root 688 Dec  7 10:48 Wand.pc
root@Tictac-PC:~#

After a reinstall:

root@Tictac-PC:~# ls -lh /usr/lib/emby-server/
total 16K
drwxr-xr-x 3 root root 4.0K Jan 22 13:13 bin
drwxr-xr-x 3 root root 4.0K Jan 22 13:13 etc
-rwxr-xr-x 1 root root  512 Dec 28 15:23 restart.sh
drwxr-xr-x 4 root root 4.0K Jan 22 13:13 x86_64-linux-gnu
root@Tictac-PC:~# ls -lh /usr/lib/emby-server/
bin/              etc/              restart.sh        x86_64-linux-gnu/
root@Tictac-PC:~# ls -lh /usr/lib/emby-server/x86_64-linux-gnu
total 4.0M
drwxr-xr-x 4 root root  4.0K Jan 22 13:13 EmbyMagick-6.9.6
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickCore-6.Q8.so -> libEmbyMagickCore-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickCore-6.Q8.so.2 -> libEmbyMagickCore-6.Q8.so.2.0.0
-rw-r--r-- 1 root root  2.0M Dec  7 10:48 libEmbyMagickCore-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickWand-6.Q8.so -> libEmbyMagickWand-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickWand-6.Q8.so.2 -> libEmbyMagickWand-6.Q8.so.2.0.0
-rw-r--r-- 1 root root 1009K Dec  7 10:48 libEmbyMagickWand-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    23 Jan  9 11:01 libembysqlite3.so -> libembysqlite3.so.0.8.6
lrwxrwxrwx 1 root root    23 Jan  9 11:01 libembysqlite3.so.0 -> libembysqlite3.so.0.8.6
-rw-r--r-- 1 root root  1.1M Jan  9 11:01 libembysqlite3.so.0.8.6
drwxr-xr-x 2 root root  4.0K Jan 22 13:13 pkgconfig
root@Tictac-PC:~# ls -lh /usr/lib/emby-server/x86_64-linux-gnu/pkgconfig/
total 36K
-rw-r--r-- 1 root root 682 Dec  7 10:48 ImageMagick-6.Q8.pc
-rw-r--r-- 1 root root 682 Dec  7 10:48 ImageMagick.pc
-rw-r--r-- 1 root root 743 Dec  7 10:48 MagickCore-6.Q8.pc
-rw-r--r-- 1 root root 743 Dec  7 10:48 MagickCore.pc
-rw-r--r-- 1 root root 689 Dec  7 10:48 MagickWand-6.Q8.pc
-rw-r--r-- 1 root root 689 Dec  7 10:48 MagickWand.pc
-rw-r--r-- 1 root root 311 Jan  9 11:01 sqlite3.pc
-rw-r--r-- 1 root root 688 Dec  7 10:48 Wand-6.Q8.pc
-rw-r--r-- 1 root root 688 Dec  7 10:48 Wand.pc
root@Tictac-PC:~#

Edited by ThermoDust
Link to comment
Share on other sites

hurricanehrndz

 

Standard 8920. I do not know what caused this but since this was a retivily fresh install of Emby I went ahead and nuked it. 

 

FYI - apt-get remove and apt-get purge didn't cut it. apt-get autoremove is the one that helped. As it turns out the issue was with a dependence or something in the usr/bin.

 

This was it before I autoremoved

root@Tictac-PC:~# ls -lh /temp/emby-server/
total 12K
drwxrwxrwx 3 root root 4.0K Jan 21 19:41 etc
drwxrwxrwx 2 root root 4.0K Jan 22 02:34 ssl
drwxrwxrwx 4 root root 4.0K Jan 21 19:41 x86_64-linux-gnu
root@Tictac-PC:~# ls -lh /temp/emby-server/x86_64-linux-gnu/
total 4.0M
drwxrwxrwx 4 root root  4.0K Jan 21 19:41 EmbyMagick-6.9.6
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickCore-6.Q8.so -> libEmbyMagickCore-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickCore-6.Q8.so.2 -> libEmbyMagickCore-6.Q8.so.2.0.0
-rwxrwxrwx 1 root root  2.0M Dec  7 10:48 libEmbyMagickCore-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickWand-6.Q8.so -> libEmbyMagickWand-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickWand-6.Q8.so.2 -> libEmbyMagickWand-6.Q8.so.2.0.0
-rwxrwxrwx 1 root root 1009K Dec  7 10:48 libEmbyMagickWand-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    23 Jan  9 11:01 libembysqlite3.so -> libembysqlite3.so.0.8.6
lrwxrwxrwx 1 root root    23 Jan  9 11:01 libembysqlite3.so.0 -> libembysqlite3.so.0.8.6
-rwxrwxrwx 1 root root  1.1M Jan  9 11:01 libembysqlite3.so.0.8.6
drwxrwxrwx 2 root root  4.0K Jan 21 19:41 pkgconfig
root@Tictac-PC:~# ls -lh /temp/emby-server/x86_64-linux-gnu/pkgconfig/
total 36K
-rwxrwxrwx 1 root root 682 Dec  7 10:48 ImageMagick-6.Q8.pc
-rwxrwxrwx 1 root root 682 Dec  7 10:48 ImageMagick.pc
-rwxrwxrwx 1 root root 743 Dec  7 10:48 MagickCore-6.Q8.pc
-rwxrwxrwx 1 root root 743 Dec  7 10:48 MagickCore.pc
-rwxrwxrwx 1 root root 689 Dec  7 10:48 MagickWand-6.Q8.pc
-rwxrwxrwx 1 root root 689 Dec  7 10:48 MagickWand.pc
-rwxrwxrwx 1 root root 311 Jan  9 11:01 sqlite3.pc
-rwxrwxrwx 1 root root 688 Dec  7 10:48 Wand-6.Q8.pc
-rwxrwxrwx 1 root root 688 Dec  7 10:48 Wand.pc
root@Tictac-PC:~#

After a reinstall:

root@Tictac-PC:~# ls -lh /usr/lib/emby-server/
total 16K
drwxr-xr-x 3 root root 4.0K Jan 22 13:13 bin
drwxr-xr-x 3 root root 4.0K Jan 22 13:13 etc
-rwxr-xr-x 1 root root  512 Dec 28 15:23 restart.sh
drwxr-xr-x 4 root root 4.0K Jan 22 13:13 x86_64-linux-gnu
root@Tictac-PC:~# ls -lh /usr/lib/emby-server/
bin/              etc/              restart.sh        x86_64-linux-gnu/
root@Tictac-PC:~# ls -lh /usr/lib/emby-server/x86_64-linux-gnu
total 4.0M
drwxr-xr-x 4 root root  4.0K Jan 22 13:13 EmbyMagick-6.9.6
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickCore-6.Q8.so -> libEmbyMagickCore-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickCore-6.Q8.so.2 -> libEmbyMagickCore-6.Q8.so.2.0.0
-rw-r--r-- 1 root root  2.0M Dec  7 10:48 libEmbyMagickCore-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickWand-6.Q8.so -> libEmbyMagickWand-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    31 Dec  7 10:48 libEmbyMagickWand-6.Q8.so.2 -> libEmbyMagickWand-6.Q8.so.2.0.0
-rw-r--r-- 1 root root 1009K Dec  7 10:48 libEmbyMagickWand-6.Q8.so.2.0.0
lrwxrwxrwx 1 root root    23 Jan  9 11:01 libembysqlite3.so -> libembysqlite3.so.0.8.6
lrwxrwxrwx 1 root root    23 Jan  9 11:01 libembysqlite3.so.0 -> libembysqlite3.so.0.8.6
-rw-r--r-- 1 root root  1.1M Jan  9 11:01 libembysqlite3.so.0.8.6
drwxr-xr-x 2 root root  4.0K Jan 22 13:13 pkgconfig
root@Tictac-PC:~# ls -lh /usr/lib/emby-server/x86_64-linux-gnu/pkgconfig/
total 36K
-rw-r--r-- 1 root root 682 Dec  7 10:48 ImageMagick-6.Q8.pc
-rw-r--r-- 1 root root 682 Dec  7 10:48 ImageMagick.pc
-rw-r--r-- 1 root root 743 Dec  7 10:48 MagickCore-6.Q8.pc
-rw-r--r-- 1 root root 743 Dec  7 10:48 MagickCore.pc
-rw-r--r-- 1 root root 689 Dec  7 10:48 MagickWand-6.Q8.pc
-rw-r--r-- 1 root root 689 Dec  7 10:48 MagickWand.pc
-rw-r--r-- 1 root root 311 Jan  9 11:01 sqlite3.pc
-rw-r--r-- 1 root root 688 Dec  7 10:48 Wand-6.Q8.pc
-rw-r--r-- 1 root root 688 Dec  7 10:48 Wand.pc
root@Tictac-PC:~#

So it is working now? 

Link to comment
Share on other sites

  • Solution
hurricanehrndz

 

The problem is the ssl directory you created. It is bad practice for you to create directories that are manage by a package. Please use etc for your ssl certificates or var never usr lib.

  • Like 1
Link to comment
Share on other sites

ThermoDust

lol. I thought that might of been my problem. Guess I still have plenty more room to learn about best practice when it comes to Linux. Second time around I put it where Emby places its own self-signed certs and it has not had a issue since.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...