I restored my entire moodle 2.6.7 from database and moodledata backup because I upgraded my server from Ubuntu 12.04 to 14.04. At first, I thought everything was fine, except for a few broken links to images on my front page but now I realise that all file resources and handed in files in assignments seem to be broken.
I thought that my moodledata directory had not been copied properly so attempted replacing with an older backup. This didn't solve the problem so I attempted a full restore with a new database backup taken at the same time the moodledata backup was taken. My front page pictures re-appeared but clicking on any file link (resource or submitted in an assignment) produces the error:
Sorry, the requested file could not be found
The only other change is that tIhe URL moodle.myschool.org/moodle used to work for accessing the site as well as moodle.myschool.org but now only the second URL works. I've moved from apache 2.2 to 2.4 but didn't think I'd changed anything in the virtual server config.
This is a bad situation! I'm pretty confident my moodledata backed up correctly as I've restored from backups the same way fairly recently. Any advice welcome.