Wordpress Media Library not refreshing with new upload
Not quite a complete answer yet, but I had the same problem with SiteGround and it is to do with file permissions. See Adding images in CKEditor for what I changed.

Also see my recent question file permissions with hosted wordpress about the wider issue.