I had a similar issue with images not showing after upgrade. Appeared to be something to do with Sort Order of Gallery Images under settings. SQL statement was giving an error as it ended “ORDER BY ASC” . Once I changed the default sort settings the images appeared