Upgrade error - 2.9 -> 3.1 (Centos 6.6)

Re: Upgrade error - 2.9 -> 3.1 (Centos 6.6)

by Wes Matchett -
Number of replies: 0
SMH - thanks. I totally skipped checking SeLinux.  I ran restorecon -Rv /var/www/html/moodle and everything is fine - the upgrade is running.

Thanks again.

For those who are searcing for how to set the SeLinux context for apache when running Moodle in a Centos (Redhat) environment, here are the commands.  I run these after doing an install.  Only need to run once and then just run the restorecon command I listed above for each moodle area.  The directories must be changed if you installed to a different location.


semanage fcontext -a -t httpd_sys_content_t '/var/moodledata(/.*)?'

semanage fcontext -a -t httpd_sys_content_t '/var/www/html/moodle(/.*)?'


Average of ratings: Useful (1)