Posts made by Howard Miller

Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
That means you have two problems. You've fixed the permission one and now something else is going wrong.

Are you definitely logged in as an admin and have you definitely updated the software to a newer version?
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
It's not ideal, but it might get you out of trouble.

sudo chmod -R 0777 /data/vhosts/moodle/moodledata

As long as it's not shared hosting (in any way), it's probably ok. However, the correct solution is to properly understand ownership and file permissions for your particular system.