Music scan still deadlocks

I have looked at the logs but you have disabled debug logging !

Please re-enable it. Server General Settings / Show Advanced
Just debug. Don’t need verbose

See https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

There have been some database transaction improvements in the latest beta which came out earlier today - 1.18.8.2461

See Release Notice Plex Media Server - #322 by StSimm1

I suggest upgrading to this version and get me fresh logs with debug logging enabled beforehand (before the launch) if the problem remains