Issue #3052271 by amateescu, catch, mikelutz, alexpott, xaqrox, jimik42, plach, phenaproxima, rfmarcelino, mzvaan: media_library_update_8701() fails during update from 8.6.15 to 8.7.0 (cherry picked from commit f0b2fde4)