I recently upgraded from 220.127.116.11 to 18.104.22.168 using the following instructions from Makarai:
pkg install libraw
service emby-server stop
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/22.214.171.124/emby-server-freebsd_126.96.36.199_amd64.txz
service emby-server start
Upgrade went smoothly and after initial database upgrade, library scan (4 & a half hours) and reinstall of some plugins, everything worked great...
I added some more media and did a manual library scan which took around 40 minutes (188.8.131.52 would scan in ~10 mins).
I have done a couple more scans and get the same results around 40 minutes per scan. The scan gets to around 90% in about 5 minutes and then the last 10% takes the rest of the time.
Any ideas about why it takes longer?