Magento update from 2.3.0 to 2.3.1 problem

That definitely should not happen if everything was setup correctly. You’ll benefit from going over this post: How to diagnose and fix Ownerships and Permission issues