Some of my FLAC files can't be added to the Music library

Sounds like this bug Music Artist with no album groupings results in an error - regression with 4.121.1 which was just introduced in the hosted plex version.

As a workaround you should be able to use the embedded app from the your plex server.