Hi ZerxXes,
Can you check the permissions of the subfolders of the data
directory, particularly data/users
? The profile pictures were moved around as part of the upgrade process so it's possible the owner got switched if the upgrade wasn't done using the mattermost account.