Jump to content

Emby: “Scan media library” hangs tasks stuck running


Recommended Posts

Belenkiy
Posted

Hi! I’m running Emby Server on Synology (DSM7.3.2 , package, x86_64). I’m trying to fix a long-standing issue: library scans hang and sometimes artwork doesn’t load / UI feels stalled.

Environment

  • Device: Synology NAS (DSM 7.3.2-86009 update 1), volume is Btrfs (/volume1)

  • Emby Server: 4.9.3.0, (also tested 10.0.4 and 10.0.5version, issue persists)

  • ProgramData: /var/packages/EmbyServer/var → symlink to /volume1/@appdata/EmbyServer

  • Libraries:

    TV: /volume1/video/Serials

    Movies: /volume1/video/Movies

Symptoms

  • “Scan media library” hangs

  • Logs stop showing “next step” as if the previous step was successful but the next one did not start:

  • In logs Emby completes some scan steps, then no further “start next step” entries appear for a long time, while server still shows “Scan media library” running.

What I already checked / tried

  • File system is fast; find /volume1/video/Serials -type f completes quickly.

  • Permissions: ProgramData cache/metadata folders are owned by emby:emby; emby user can write to them (su emby -c touch ... OK).

  • Removed local NFO files temporarily and disabled NFO metadata reader to avoid broken/empty NFO overriding online metadata.

  • Disabled UPnP mapping in Emby (auto port mapping) to prevent external influence.

Questions

Any recommended diagnostics to identify where the scan is blocked (e.g. enabling debug for TaskManager / library scanner)?


embyserver.txt logs around scan start and the hang point

Thanks!

embyserver.txt

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