Hi Kim,
I have had the same experience when I had permissions set wrong. I normally do upgrades logged in as root on my Linux Centos 7 server via WinSCP from my Windows 10 desktop. If I change any files I have to remember to reset permissions to any changed Moodle files from root, back to the web server, apache.