Jump to content

Emby server crashed while watching a movie it had to transcode, now it won't start


marktaff
Go to solution Solved by Happy2Play,

Recommended Posts

marktaff

After it crashed, the admin interface was blank with just a'waiting' animation--restarting from there had no effect at all. I closed the browser tab, then reloaded it, and it wouldn't accept my login credentials.

I tried `service emby-server restart'.  Status shows a core dump due to no free space. Everything has oodles of space left, except for /, which has about 3GiB freespace, but sure that is enough?

root@columbia:/root> service emby-server status
emby-server.service - Emby Server is a personal media server with apps on just about every device.
  Loaded: loaded (/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
  Active: failed (Result: core-dump) since Thu 2020-07-09 19:57:03 CDT; 6s ago
 Process: 12978 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ABRT)
Main PID: 12978 (code=dumped, signal=ABRT)

Jul 09 19:57:03 columbia emby-server[12978]: Unhandled exception. System.IO.IOException: No space left on device
Jul 09 19:57:03 columbia emby-server[12978]:    at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)
Jul 09 19:57:03 columbia emby-server[12978]:    at System.IO.FileStream.FlushWriteBuffer()
Jul 09 19:57:03 columbia emby-server[12978]:    at System.IO.FileStream.FlushInternalBuffer()
Jul 09 19:57:03 columbia emby-server[12978]:    at System.IO.FileStream.Flush(Boolean flushToDisk)
Jul 09 19:57:03 columbia emby-server[12978]:    at Emby.Server.Implementations.Logging.FileLogger.Dispose()
Jul 09 19:57:03 columbia emby-server[12978]:    at Emby.Server.Implementations.Logging.SimpleLogManager.Dispose()
Jul 09 19:57:03 columbia emby-server[12978]:    at EmbyServer.Program.Main(String[] args)
Jul 09 19:57:03 columbia systemd[1]: emby-server.service: Main process exited, code=dumped, status=6/ABRT
Jul 09 19:57:03 columbia systemd[1]: emby-server.service: Failed with result 'core-dump'.

 

Any help would be appreciated.  Thanks! 🙂

ETA1: Hmm. `df' shows root is full, while KDE disk manager shows the 3GiB freespace.

embyserver_snippet.txt

Edited by marktaff
Better info
Link to comment
Share on other sites

  • Solution
Happy2Play

I don't personally have experience with this OS but have you run out of hard drive space?

Unhandled exception. System.IO.IOException: No space left on device

Is your transcoding folder full?

Link to comment
Share on other sites

marktaff
12 minutes ago, Happy2Play said:

I don't personally have experience with this OS but have you run out of hard drive space?


Unhandled exception. System.IO.IOException: No space left on device

Is your transcoding folder full?

I've dug into it some more, and emby is using 22+ GiB on /, including 2.5GiB in transcoding, and 19GiB in metadata.  / is only 48GiB in total, so, that was a poor choice on my part. 🙂

I'm going to have to resize root, or rebuild the server so I can reallocate 100GiB from /home.

Any suggestions on what I can delete temporarily to tide me over, especially to ensure emby will start if I give it some room?

Link to comment
Share on other sites

marktaff

I was able to free up 1.2GiB from my OS /tmp folder, and emby restarted.  All is good, except for the whole having to rebuild the server bit. 🙂

Thanks for your help.

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