I have just finished migrating my moodle (2.5.6) install to a new server (php 5.4.16, MySQL 5.5.37, Apache 2.4.6)
I backed up and imported the SQL db - no problems
rsync -avi the moodle web root across, that works fine
rsync -avi the moodledata folder across and that doesn't work...
The folder is there, the files that appear in the Apache error_log exists in /extra/moodledata/filedir/... but Moodle just returns a 404 when trying to access them (error_log says:
"Can not read file, either frile does not exist or there are permission problems [...] Error code: storedfilecannotread [...]
I tried permissions as stated in the documentation (nobody:apache 0770) and also other forms such as apache:apache 777, but I never get access to those files.
Would changing from lighttpd to Apache have anything to do with it? I'm sort of lost for solutions at the moment as the rest of my Moodle migration is working perfectly well