Delaying the Start of iTunes to Avoid the Missing Library Error on macOS
If you're running a machine with external drives, it's possible that they won't be mounted when iTunes starts looking for data. AppleInsider explains how to get around this, with a simple AppleScript.