Detailed FAQ about libraries after upgrading from V4 in the FAQ and linked below.
You are definitely still using V4 libraries as the library names all became singular in V5 i.e. you have ‘Capacitors_SMD’ but the V5 Libraries are ‘Capacitor_SMD’ . Do you have any environmental variables set (specifically KICAD_SYMBOL_DIR) with a trailing ‘/’ ?