This is resolved, and for anyone else facing the same issue in the future, the reason was pretty dumb: I was accessing the admin dashboard through the http url instead of the https, and we didn’t have auto redirect. That’s why the server didn’t let me upload anything.